Coding and Scripts
Coding is the process of creating instructions for computers to follow. Just like people use different languages such as English and Spanish, so do programs. Roblox uses the coding language Lua.
In Roblox, lines of Lua code are held in scripts. These scripts can be used to create traps, health parts, or even a rain of beach balls! In this case, you’ll be using code to place traps on this path after the second checkpoint. The traps you create will give players a more challenging (but fun) experience as they have to dodge obstacles to escape the island.
Find the Red Cube
The starter project has an example trap script added to the red cube near the second checkpoint. Every time a player touches the cube, they lose health points.
Previous Next Page