FAQ
Common questions about writing your own Roblox scripts in Lua. New to coding? Start with understanding Lua basics.
Get a free executor
You need an executor to run any Roblox script. Grab one free.
Do I need to know how to code to use scripts?
No. Running a script from Blox Paste is copy-and-paste — see the getting started with scripts guide. This Development section is for the separate goal of writing your own scripts.
What language do Roblox scripts use?
Luau, Roblox's fast dialect of Lua. It is beginner-friendly and the same language whether you are writing a full game or a small utility. Begin with understanding Lua basics.
Where do I write and test my own scripts?
In Roblox Studio, the free official editor — not in an executor. Studio is a safe sandbox for learning; getting started with Lua scripting walks through setup.
What's the difference between a Script and a LocalScript?
A Script runs on the server and is authoritative; a LocalScript runs on one player's client and handles UI, input and camera. Putting code on the wrong side is one of the most common beginner mistakes.
How do I fix an error in my script?
Read the Output window — the error names the line and reason. debugging your scripts covers reading errors, print debugging and pcall.
How do I make my script run faster?
Cache references, avoid tight loops without waits, and disconnect events you no longer need. The whole Performance section is about exactly this.