Lesson 2 of 4

What Roblox is: experiences, places, Creator Hub and the economy

Learn what Roblox actually is to a developer, from experiences, places and place files to servers, Creator Hub, Robux and DevEx, using Beacon Yard as the example.

Concept lesson, about 65 minutes, 9 steps

By the end you can

  • Tell apart an experience, a place, a place file, Studio, Creator Hub and the Roblox app
  • Explain why Play in Studio is one local server and one client, while a published game runs many servers
  • Describe how Robux flow from a purchase to a developer, including DevEx and its thresholds

Before this: How to use this course

1Four things with one name

Open Beacon Yard in Studio before you press Play and the viewport is empty sky. No walls, no pads, no beacon. Press Play and the whole yard appears. Press Stop and it is gone again.

Nothing is broken. You just met four different things that beginners all call "the game": the files in the game's repository, the place Studio has open, the copy that runs when you press Play, and the published game players join. Most early confusion comes from editing one of them and looking for the change in another.

Here are the names this course uses:

  • The repository is the folder of Luau files and the project file. It is the source. You edit it.
  • Roblox Studio is the editor that opens a place, runs it and publishes it.
  • Creator Hub (create.roblox.com) is the website where you manage what you published: settings, products, analytics, payouts.
  • The Roblox app is what players install to join a published game. You do not test this course with it.
Browser
Creator Hub in a browser, showing the Creations list with one private experience marked for playtesters only.

Select a numbered pin, or a row below, to read what it marks.

Figure 1.1.

Creator Hub's Creations page. Each card is one experience you own. This one is private, so players cannot find or join it.

Match each thing to what it is for.

  1. The game repository
  2. Roblox Studio
  3. Creator Hub
  4. The Roblox app
Answer

The game repository: The source files you edit and commit; Roblox Studio: The editor that opens, runs and publishes a place; Creator Hub: The website where you manage published games; The Roblox app: What players install to join a released game. The repository is the source, Studio is the editor, Creator Hub is the management website and the Roblox app is for players.

Open this step in lesson mode · Link to this step · This confused me

2Experiences and places

An experienceExperienceA game on Roblox as players see it: one name, one page, one or more places inside.Think of it as a campus with one or more buildings. is the game players find: one icon, one name, one page. Inside it are one or more placesPlaceOne world inside an experience, with its own parts, scripts and interface.Think of it as one building on the campus.. Roblox's own docs compare places to scenes in Unity or maps in Unreal: each place holds its own world, parts, scripts and interface1. A lobby and an arena are two places in one experience. Older engine APIs call the experience a universe, so you will see UniverseId next to PlaceId.

Beacon Yard is one experience with one place until module 6 (A lobby place: reserved servers and teleports), where it gains a lobby place.

Server sideExperiences and places is a campus of buildings.
In the pictureIn Roblox
The campusThe experience players find and join
A buildingA place: one world with its own parts and scripts
The main gateThe start place, where players arrive
Walking to another buildingA teleport to another place

See the whole analogy cast

An experience is a campus. Each place is a building on it, with its own rooms and its own rules. Players arrive at the start place, the main gate, and can be sent to other buildings.

Think of it as A campus of buildings

A place is saved as a place filePlace fileA place saved to disk: .rbxl is binary, .rbxlx is XML.Think of it as a snapshot of one building's contents.. .rbxl is binary and compact. .rbxlx is XML: bigger, but readable as text. Roblox accepts places up to 100 MB (104,857,600 bytes)2. Beacon Yard's place file is tiny, because almost nothing is stored in it: a script builds the yard every time the server starts.

Beacon Yard later adds a lobby where players queue before a round. How does that change its structure?

  1. The experience gains a second place
  2. Roblox creates a second experience for the lobby
  3. The lobby becomes a folder inside the yard's place file
  4. Nothing; a lobby is just a part with a script
Answer

The experience gains a second place. One experience can hold many places. The lobby is a second place in the same experience, and players move between them with a teleport.

Open this step in lesson mode · Link to this step · This confused me

3Who runs the game

Roblox games are multiplayer from the first line. When players join a published experience, Roblox starts a serverServerThe machine Roblox runs for each copy of your game. It holds the authoritative world.Think of it as the referee with the only real scoreboard. for them in its data centres, copies the place onto it, and every player's device runs a clientClientOne player's device running its own copy of the game for display and input.Think of it as your screen and controller at home. that receives a copy from that server3. Your computer is not the host.

When a server fills up, Roblox starts another one. Each server runs its own copy of the place. Players on server A do not share coins, a drone or a round with players on server B.

Studio's Play button imitates this on your machine: it starts one server and one client, side by side, and throws both away when you press Stop. That is why the yard appears at Play. MapBuilder.build() runs on the server when it starts, and builds Workspace.Yard in that running copy. The saved place never contained it.

Remotes.init()
WorldLook.start()
-- The wrench has to exist before the first character spawns. MapBuilder
-- and DataService can yield, and StarterPack only copies tools at spawn.
CombatService.start()
local map = MapBuilder.build()
DataService.start()
MonetizationService.start()
CoinService.start(map.pads)
Figure 3.1
Figure 3.2.

Edit mode, then Play, then Stop. The source files are the same at the end as at the start.

Transcript
  1. 0:01 Edit mode has no Yard folder. MapBuilder has not run.
  2. 0:04 Play starts a server and a client on this machine.
  3. 0:11 The server script builds Workspace.Yard.
  4. 0:17 Stop throws that runtime copy away.
  5. 0:22 The source files in the repo are unchanged.

Server sideRemember: Experiences and places is a campus of buildings.

You press Play, walk around the yard, collect coins, then press Stop. What is still there in Studio afterwards?

  1. The scripts in ServerScriptService
  2. A part you inserted before pressing Play
  3. Workspace.Yard
  4. The coins your character collected during that session
Answer

The scripts in ServerScriptService; A part you inserted before pressing Play. Stop throws away the running copy, including the yard MapBuilder built and anything the session changed. What was in the place before Play, scripts and parts you inserted by hand, is still there.

Open this step in lesson mode · Link to this step · This confused me

4Where the campus picture breaks

A campus has one copy of each building. Hold that picture against what you just learned about servers, and try to say where it stops being true before you open the breakdown.

Where does it break?“A campus of buildings” is a good picture of experiences and places. Where does it stop being true?

It breaks here. A campus has one copy of each building, but Roblox runs many copies of the same place at once, one per server, and those copies know nothing about each other.

The true model. An experience holds places. Every server runs its own copy of one place for the players on it. Servers share nothing unless the game uses a cross-server service such as DataStores or MessagingService.

Beacon Yard is published and busy. Ana is on server 1 and Ben is on server 2. Ana starts the drill at the beacon. What does Ben see?

-- RoundService, on Ana's server
workspace:SetAttribute("RoundPhase", "Active")
  1. Nothing changes for Ben; his server has its own round
  2. Ben's round turns Active a moment later
  3. Ben sees Ana's drill, but cannot join it
  4. Both servers merge into one round
Answer

Nothing changes for Ben; his server has its own round. Every server runs its own copy of the place, with its own round state. Sharing anything between servers needs a cross-server service, which module 6 teaches.

Open this step in lesson mode · Link to this step · This confused me

5Where the repository lands in Studio

The repository is plain files. A tool called RojoRojoA tool that syncs files on your disk into Roblox Studio.Think of it as a photocopier from your folder to Studio. reads default.project.json and builds the place from them: src/server becomes a Script named Server in ServerScriptService, src/client becomes a LocalScript under StarterPlayerScripts, and src/shared becomes a folder in ReplicatedStorage that both sides can read. The setup lessons install Rojo; the data model lesson explains every one of those containers.

That split is also why a professional never "fixes it in Studio" for code. A change typed into the synced script inside Studio is overwritten the next time Rojo syncs from disk. The files are the truth.

Two ways teams share one game

OptionWhat it isWhen pros pick itTrade-offs
Team CreateSeveral people edit one cloud-hosted place in Studio at the same time; Roblox keeps the version history.Builders and designers shaping a map together, and teams who keep everything in Studio.The place is a binary blob to Git, so code review and automated tests need extra tools.
Git with RojoCode and the project file live in a repository; Rojo copies them into Studio.Scripters, open-source games and any team that wants code review and CI.Hand-built parts and terrain still live in the place file, outside Git.
Team Create with Script SyncStudio's built-in sync writes scripts to files on disk, both ways, inside a Team Create place.Studio-first teams that want Git for scripts without changing how the place is stored.Syncs scripts and folders only; models, terrain and properties stay in the place.

Rojo is connected. You fix a typo directly inside ServerScriptService.Server.CoinService in Studio, then later save a different change to src/server/CoinService.luau. What happens to your typo fix?

  1. It is overwritten by the file on disk
  2. Rojo copies it back into the file
  3. Studio keeps both versions side by side
  4. The sync stops with a conflict warning and waits
Answer

It is overwritten by the file on disk. Rojo writes the files on disk over the matching instances in Studio. An edit made only inside Studio is lost on the next sync. Make the change in the file.

Open this step in lesson mode · Link to this step · This confused me

6How money moves

Players buy RobuxRobuxRoblox's virtual currency, bought by players and spent inside experiences.Think of it as tokens bought at the campus gate and spent in its shops. with real money and spend them inside experiences. A developer sells three main things:

  • A pass is bought once and belongs to that player for good, such as a speed boost.
  • A developer product can be bought again and again, such as a pack of coins.
  • Subscriptions, private servers and paid access are monthly or one-off fees for an experience4.

Beacon Yard sells one developer product, the Coin Pack, worth COIN_PACK_COINS = 50. At m14-ship, the server handler adds the coins and records the purchase ID in the same profile update. It tells Roblox the purchase is granted after that update saves successfully. If Roblox delivers the same receipt again, the handler finds the record and grants nothing. The product id lives in Ids.luau and is 0 in the repository, which switches the Coin Pack off until you create your own product. Studio simulates purchase prompts, so testing never spends Robux.

Luau
-- A tiny copy of the rule MonetizationService follows:
-- grant once per purchase id, even if the receipt arrives twice.
local granted = {}
local coins = 0
 
local function processReceipt(purchaseId)
	if granted[purchaseId] then
		return "PurchaseGranted (already done)"
	end
	coins += 50
	granted[purchaseId] = true
	return "PurchaseGranted"
end
 
print(processReceipt("p-1"))
print(processReceipt("p-1")) -- Roblox retried the same receipt
print(processReceipt("p-2"))
print("coins:", coins)
Figure 6.1. Expected output: PurchaseGranted PurchaseGranted (already done) PurchaseGranted coins: 100

A player buys the Coin Pack twice. Roblox delivers the first receipt three times because of a network hiccup, and the second receipt once. How many coins does the player gain?

Answer

100 coins. Two purchase ids, 50 coins each. The two repeated deliveries of the first receipt find the record and grant nothing.

Open this step in lesson mode · Link to this step · This confused me

7From Robux to real money

Robux a player spends in your experience become Earned Robux in your account or group, after Roblox's share. To turn them into money you use the Developer Exchange, DevExDevExThe Developer Exchange: Roblox's program for exchanging Earned Robux for real money.Think of it as the counter where tokens become cash, open only above a minimum.5. As of November 2026:

  • Among other requirements, you must be at least 13, hold at least 30,000 Earned Robux, have a verified email address, have a DevEx portal account and have a tax form (W-9 or W-8) on file, and follow the Terms of Use and Community Standards. The full list is on the DevEx page5.
  • The standard rate is 0.0038 US dollars per Earned Robux: 30,000 Earned Robux is $114.
  • Some purchases from US players who verified they are 18 or older earn a higher rate of 0.0054 in eligible games.
  • Roblox cashes out eligible US 18+ earnings first, then earnings from before September 5, 2025 at 10 a.m. Pacific at the old rate of 0.0035, then standard-rate earnings.

Rates and rules change. Read the DevEx page before you plan a budget around them.

Selling tools to other developers is a separate market. Models and plugins on the Creator Store can be sold for US dollars, with Roblox deducting only taxes and payment fees6.

At the standard DevEx rate of 0.0038 USD per Earned Robux, how many US dollars is 50,000 Earned Robux?

Answer

190 USD. 50,000 × 0.0038 = 190 US dollars.

Open this step in lesson mode · Link to this step · This confused me

8Challenges

Level 1, Apprentice

Challenge

Explain, out loud or in writing, the four things people call "the game", and why Studio shows sky until you press Play.

Start from
No Studio needed

Done means

  • You can say what the repository, Studio, Creator Hub and the Roblox app are each for
  • You can say why the yard is missing before Play

Hints

  1. One is a folder, one is an editor, one is a website and one is the players' app.
  2. Which script runs when the server starts?

Level 2, Builder

Challenge

Model how Roblox isolates servers: finish makeServer and startRound so each server keeps its own state, then press Run.

Start from
The code cell below, right in your browser (no Studio needed)
Check it here
Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.

Done means

  • makeServer() returns a fresh server table starting in Idle with 0 coins
  • Starting a round on serverA leaves serverB in Idle
  • Awarding coins on serverA does not change serverB's coins

Hints

  1. Create and return a brand-new table inside makeServer() each time it is called.
  2. Do not store the state in a shared outer table that both servers reference.
Solution
luau
local function makeServer()
	return { phase = "Idle", coins = 0 }
end
 
local function startRound(server)
	server.phase = "Active"
end
Luau
-- Each call to makeServer() must return a separate server copy
-- starting with phase = "Idle" and coins = 0.
local function makeServer()
end
 
-- Switch only the given server's phase to "Active".
local function startRound(server)
end
Figure 8.1. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Your experience has earned 24,000 Earned Robux so far. Can you cash out through DevEx today?

  1. No; DevEx requires at least 30,000 Earned Robux
  2. Yes; any amount over 10,000 can cash out
  3. Yes, at half the standard rate
  4. Only if you publish a second place first
Answer

No; DevEx requires at least 30,000 Earned Robux. DevEx requires at least 30,000 Earned Robux (along with meeting the age and compliance rules). Below 30,000, the payout is 0.

Level 3, Professional

Challenge

Combine the two economy rules from this lesson in plain Luau: guard a developer-product receipt so retries never double-pay, and compute a DevEx payout with the 30,000 minimum. Assume the entire balance earns the standard rate and the creator meets the other DevEx conditions. (The Studio project-file challenge waits until Set up your machine, part 3: connect, play, and the optional extras, once Rojo is installed.)

Start from
The code cell below, right in your browser (no Studio needed)
Check it here
Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.

Done means

  • grantPack grants 50 coins only the first time a purchaseId arrives
  • A repeated purchaseId returns 'PurchaseGranted' without adding coins a second time
  • For a standard-rate balance, devExUsd returns 0 below 30,000 Earned Robux and earnedRobux * 0.0038 at or above 30,000

Hints

  1. Check if granted[purchaseId] is already true before adding 50 coins.
  2. For devExUsd, check earnedRobux < 30000 first and return 0.
Solution
luau
local function grantPack(state, purchaseId)
	if state.granted[purchaseId] then
		return "PurchaseGranted"
	end
	state.coins += 50
	state.granted[purchaseId] = true
	return "PurchaseGranted"
end
 
local function devExUsd(earnedRobux)
	if earnedRobux < 30000 then
		return 0
	end
	return earnedRobux * 0.0038
end
Luau
-- state is { coins = 0, granted = {} }.
-- Add 50 coins once per purchaseId, mark it granted, and return "PurchaseGranted".
local function grantPack(state, purchaseId)
end
 
-- Assume all Earned Robux are at the standard rate and other DevEx conditions are met.
-- Return 0 below 30000, otherwise return earnedRobux * 0.0038.
local function devExUsd(earnedRobux)
end
Figure 8.2. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Open this step in lesson mode · Link to this step · This confused me

9Recap

Recap

  1. An experience holds one or more places; each place is a data model saved as a place file, and the repository is the source you edit.
  2. Play in Studio is one local server and one client; a published game runs many servers that do not share state.
  3. Save a developer product grant and its purchase ID together, then acknowledge the receipt. DevEx turns at least 30,000 Earned Robux into money at a published rate.

Experiences and places is a campus of buildings, until a campus has one copy of each building, but Roblox runs many copies of the same place at once, one per server, and those copies know nothing about each other.

Next Set up your machine, part 1: Studio, an editor and Git

Open this step in lesson mode · Link to this step · This confused me