Pinned FAQ: What is the scripting language?

[CS] Tylorfoot
Joined 03/06/2017
Posts 2931
07:55 AM 09/10/2019
Normally, the client uses GML (Game Maker Language) for its scripting language. This is what is used when you host from the site, or playtest using the workshop. This is commonly referred to as "Legacy Server", or just "Legacy" for short. Inserting scripts involves selecting a brick and clicking the blue button with this symbol: </>

If you are using node-hill however, the language switches to javascript, and any GML scripts that you have will not work. Instead, you must insert scripts by putting them into the user_scripts folder included with the node-hill template. While node-hill is not as straightforward to setup and use as Legacy is, it is much better in nearly every other aspect.

In addition, the language will be switching to javascript whenever the new client releases.
The client does NOT use LUA. Do NOT let anybody get misinformed like that.

PS: No matter if your using Legacy or node-hill, you MUST port forward in order to host your games at all.
https://blog.brick-hill.com/how-to-portforward-and-host-games/

[idot] paw
Joined 17/11/2018
Posts 10962
07:57 AM 09/10/2019
yeah ik that but now atleast i wont have to answer questions about how do u script

[GANG] cheats
Joined 28/07/2019
Posts 275
05:45 PM 09/10/2019
pin this

[BBB] 6SD
Joined 21/06/2019
Posts 25
06:08 PM 09/10/2019
great post!

[なくなった] Martin
Joined 12/12/2017
Posts 748
12:38 AM 10/10/2019
okay nice

[im] cylito
Joined 27/08/2018
Posts 510
05:31 PM 10/10/2019
bookmarked

Compass
Joined 20/03/2019
Posts 27016
01:26 AM 11/10/2019
Idk about scripting.

Alex_comedys
Joined 31/12/2018
Posts 71
09:12 PM 19/10/2019
IDK: don't have workshop

Tom_Dev
Joined 19/06/2019
Posts 49
12:26 PM 20/10/2019
This was helpful! Thanks alot!

Compass
Joined 20/03/2019
Posts 27016
03:47 PM 20/10/2019
Idk bro.
1