Search Header Logo

Roblox Studio: Lua Scripting

Authored by owa91 roblox

Other

1st Grade

Used 1+ times

Roblox Studio: Lua Scripting
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language is used for scripting in Roblox Studio?

C++

Python

JavaScript

Lua

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the file extension for Lua scripts in Roblox Studio?

.lu

.lua

.roblox

.script

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new script in Roblox Studio?

Click on the 'File' menu and select 'New Script'.

Drag and drop a script from the Toolbox into the Workspace.

Type '/newscript' in the command bar.

Right-click on an object in the Explorer panel, hover over 'Insert Object', and select 'Script'.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function used to print text to the output console in Lua?

output()

display()

print()

write()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you comment a single line in Lua scripting?

-- This is a single line comment

/* This is a single line comment */

# This is a single line comment

// This is a single line comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to define a function in Lua?

func

function

def

method

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in Lua?

value = variableName

value : variableName

variableName = value

variableName : value

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?