Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Roblox Scripting Quiz 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What programming language is primarily used for scripting in Roblox?

a)

Python

b)

Lua

c)

JavaScript

d)

C++

2.

Which event is triggered when a player joins a Roblox game?

a)

on Enter

b)

onPlayerJoin

c)

onJoin

d)

PlayerAdded

3.

In Roblox, which function is used to create a new part in a game?

a)

CreatePart()

b)

AddPart()

c)

Instance.new("Part")

d)

MakeNewPart()

4.

What is the purpose of the "wait" function in Roblox scripting?

a)

Pauses the game for a specified amount of time

b)

Waits for user input

c)

Stops the script execution

d)

Creates a new thread

5.

Which data type is used to store text in Roblox Lua scripting?

a)

string

b)

int

c)

boolean

d)

number

6.

How do you access the position of a part in Roblox?

a)

part.position

b)

part.getPosition()

c)

part.get_position

d)

part.getPosition

7.

What event is triggered when a player clicks on a part in the game?

a)

onClick

b)

onInteract

c)

Touched

d)

onClicked

8.

Which function is used to change the color of a part in Roblox?

a)

SetColor()

b)

Change PartColor()

c)

part.setColor()

d)

part.BrickColor

9.

What does the "workspace" object represent in Roblox scripting?

a)

The player's inventory

b)

The game's lighting settings

c)

The game world and all its objects

d)

The game's GUI elements

10.

What method is used to make a part in Roblox move to a new position over time?

a)

part.teleport()

b)

part.set_position()

c)

part.translateBy()

d)

part.Anchored = false