Roblox is an online gaming site designed for kids where players create and customise their own worlds using building blocks. You can code scripts in Roblox to have your character perform automated sequences of actions such as outputting text, moving your arms around and even having your head fall off. You can use the Roblox Studio to add your own custom scripts to the game, which use the Roblox Lua scripting language.
- Skill level:
Open Roblox Studio by clicking the Windows "Start" button, click "All Programs", click "ROBLOX" and click "Roblox Studio." Make sure you are in "Edit" mode in Roblox Studio by clicking your profile name and clicking "Edit."
Add a new script to Roblox Studio by clicking "Insert", click "Object", click "Script" and click "Ok." This creates a blank new script in the "Workspace." If the "Workspace" isn't visible, click "View" and click "Explorer."
Double-click the script's name in the "Explorer" window. This opens the script in a text editor.
Add the Lua code you want your script to execute in Roblox. For example, you can print text by adding the following code:
print ("Text here!")
A more complicated example removes your character's head with the following code:
Replace "MyNameHere" with the name of your Roblox character. Save the file when you are finished adding code.
Execute your script by selecting the script in the "Explorer" window and changing the "Disabled" property in the "Properties Window" to "false."
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for