How do you test scripts on Roblox?
How do you wait until Lua?
Not only is it a design problem, but it has its own issues. A major issue is that wait() (and also wait(n) ) can wait for MUCH longer than you want it to. The more you call wait() , the longer it will take. wait() can easily last seconds, leading to a very laggy game experience.
Is Wait bad Roblox?
To customize your character size, click “Avatar” in the Roblox website’s sidebar to go to the Avatar Customizer. You have to be R15 to change your scale, so make sure that your Avatar Type is set to R15. Below the Avatar Type is a section titled “Scaling” with a sliding scale for Height and Width.
Lua programming language
The Roblox game engine uses the Lua programming language, which is simple to learn and to use, powerful and widely used. The purpose of this book is to teach readers to use the tools and the scripting API Roblox provides so they can be used for game creation.
If you’re working on a game with others in Team Create mode, you can test as follows:
The wait function takes an optional argument, which is the time that the script should sleep. If you don’t supply an argument, then the function will typically return in 0.03 seconds. That means the script is looking for an enemy to attack 30 times a second!
Testing the Script