Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Roblox Lua Scripting Quiz

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

What will this output?

print("Hello World")

a)

Hello World

b)

Error

2.

Numbers, Strings, and Booleans are all Data types

a)

True

b)

False

3.

A boolean can store numbers as well as true / false

a)

True

b)

False

4.

A 'local' variable can only be accessed from within the script

a)

True

b)

False

5.

the 'print' command will display data to the output screen

a)

True

b)

False

6.

What would this code do?

game.Workspace.PracticePart.BrickColor = BrickColor.new(0.9,0.8,0.1)

a)

Changes the brick color of PracticePart

b)

Outputs an error

7.

While loops will loop through the commands inside until it meets a condition, that tells it to end the loop.

a)

True

b)

False

8.

Making a script a child of a brick(Parent-Child) will allow the script to interact with the brick, similar to how a local script only interacts with the script.

a)

True

b)

False