WorksheetsRoblox Scripting Quiz 1
Total questions: 10
Worksheet time: 5mins
What programming language is primarily used for scripting in Roblox?
Python
Lua
JavaScript
C++
Which event is triggered when a player joins a Roblox game?
on Enter
onPlayerJoin
onJoin
PlayerAdded
In Roblox, which function is used to create a new part in a game?
CreatePart()
AddPart()
Instance.new("Part")
MakeNewPart()
What is the purpose of the "wait" function in Roblox scripting?
Pauses the game for a specified amount of time
Waits for user input
Stops the script execution
Creates a new thread
Which data type is used to store text in Roblox Lua scripting?
string
int
boolean
number
How do you access the position of a part in Roblox?
part.position
part.getPosition()
part.get_position
part.getPosition
What event is triggered when a player clicks on a part in the game?
onClick
onInteract
Touched
onClicked
Which function is used to change the color of a part in Roblox?
SetColor()
Change PartColor()
part.setColor()
part.BrickColor
What does the "workspace" object represent in Roblox scripting?
The player's inventory
The game's lighting settings
The game world and all its objects
The game's GUI elements
What method is used to make a part in Roblox move to a new position over time?
part.teleport()
part.set_position()
part.translateBy()
part.Anchored = false
