Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 37 Β· Getting Started

What Are Roblox Studio and Luau?

Learn what Roblox Studio and Luau are, how an experience is built from places and scripts, and what you can and cannot run on this site while following the course.

Roblox is a platform where millions of people play games and interactive worlds made by other people. Roblox calls each of these an experience. Roblox Studio is the free desktop program you use to build one, and Luau is the programming language you write inside it to make things happen: doors that open, coins that count, enemies that chase, shops that take payments.

This course starts from zero. You do not need to know how to program, and you do not need to pay anything. By the end you will have built, scripted, saved and published your own experience.

The pieces of the puzzle

It helps to name the main pieces before you touch anything.

  • An experience is the thing players join. It is made of one or more places.
  • A place is a single 3D world, such as a lobby or a race track. It is stored as a .rbxl file (or in the cloud).
  • Instances are the objects that fill a place: parts, lights, sounds, characters, scripts. Everything is an instance with a class, such as Part or Sound.
  • Properties are the settings of an instance, such as a part's Color or Size.
  • Scripts are instances that hold Luau code. They read and change other instances.

How an experience is built

Experience What players join and play.
Places One or more 3D worlds.
Instances Parts, lights, sounds, scripts.
Luau Code that changes the world.

Everything in Studio is an instance with properties.

1 / 2

What is Luau?

Luau (pronounced "LOO-ow") is Roblox's programming language. It began as Lua 5.1, a small and friendly language used in many games, and Roblox has extended it for years. Today Luau adds:

  • Gradual types. You may add type annotations such as local score: number = 0, and Studio will warn you about mistakes before you run the game. Types are optional.
  • Speed. Roblox's virtual machine is tuned for games that run thousands of scripts at once.
  • Safety. Scripts run in a sandbox, so one script cannot damage a player's computer.
  • Handy syntax such as continue, compound assignment (x += 1), string interpolation and if expressions.

If you already know Lua, you will feel at home; see the Lua tutorial for the core language. If you know JavaScript or Python, the ideas carry over, and this course points out the differences.

Here is a first taste of Luau. Do not worry about every detail yet; it only needs to look readable.

LUA
local playerName = "Sam"
local coins = 12

if coins >= 10 then
	print(`{playerName} can afford the sword!`)
end

Read it aloud: make a variable, make another, and if the coins are at least ten, print a message. The backtick string with is Luau's interpolation. Output (shown in Studio's Output window):

TEXT
Sam can afford the sword!

What runs on this site and what does not

Be clear on this before you start. Roblox Studio is a desktop program for Windows and macOS, and the Roblox engine only runs inside it. A web page cannot run real Luau scripts that touch parts, players or Roblox services.

So in this course:

  • Roblox code is shown read-only in lua blocks, with output only when it is certain.
  • Runnable examples are stand-ins, clearly labelled, written in JavaScript. They are small models of the idea (a tree of instances, a vector, an event) that you can edit and run right here to see how the concept behaves.
  • To run the real thing, use Studio. Copy any Luau snippet into a Script and press Play.

Here is the first stand-in. It models how everything in a place is a tree of instances with a parent. You will meet this tree again in the Explorer lesson.

JS Stand-in: a tiny instance tree (JavaScript)

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Change a name, add a Part called Rock, or move leaves into the baseplate and run again. Whatever you do, every object has exactly one parent, and the world is the tree.

Why learn Roblox development?

  • Low barrier. Studio is free and an experience can be live in an afternoon.
  • Built-in multiplayer. Servers, matchmaking, voice and chat are provided for you.
  • Real programming skills. Variables, functions, tables, events, data and client-server design all transfer to other languages.
  • A way to earn. Creators can sell passes and items and earn Robux, which can be exchanged for money once they qualify (the publishing and monetization chapters come later in the course).

Roblox Studio and its rules change often. Menu names and some features in this course may move between releases. The Luau language itself changes slowly, so the scripting lessons stay stable.

Check your understanding

Quick check Β· 4 questions

of 4 answered You scored / 4 Β· perfect!

  1. 1. What does Roblox call a game or world that players join?

    Roblox calls its games experiences. Each is made of one or more places.
  2. 2. What is Luau?

    Luau is the language you write scripts in. It started as Lua 5.1 and Roblox extended it.
  3. 3. Why are the runnable examples in this course written in JavaScript?

    A web page cannot run the Roblox engine, so the site shows real Luau read-only and runs small JavaScript models of the concepts.
  4. 4. What is a property?

    Properties are the values stored on an instance, such as Color, Size and Anchored.

Summary

  • Roblox Studio is the free editor; Luau is the language; an experience is what players join.
  • An experience has places, and a place is a tree of instances with properties.
  • Luau is Lua 5.1 plus gradual types, speed and friendlier syntax.
  • Real Luau runs only inside Studio; this site shows it read-only and runs labelled JavaScript stand-ins.

Next: Installing Studio and Your First Experience