RW / Roblox WorldReading room

Independent field notes / 0106

Start with one script

Roblox scripts use Luau, derived from Lua 5.1, with optional typing. A script can respond to input or change a world, but where it runs matters. A Script can execute on the server or client according to its location and RunContext; LocalScripts run on the client, while ModuleScripts provide reusable code.

Start with a small experiment: write a message to Output, change one variable and predict the result before running it. If nothing happens, check the script type, its Explorer location and its execution context before adding more code. This is an editorial exercise, not a claim that we tested your project.

Scripting documentation ↗Script types and locations ↗