Game design for Roblox: loops, retention, fairness

Design for Roblox with Beacon Yard as the case study, covering core loops, session length, onboarding, retention, fairness and pay-to-win, and iterating with analytics, experiments and configs.

Concept lesson, about 65 minutes, 10 steps

By the end you can

  • Describe a core loop and a session, using Beacon Yard's real numbers
  • Plan an onboarding funnel that gets new players to the fun in the first minute
  • Judge when a paid item becomes pay-to-win, and what Roblox's paid random items policy requires
  • Use retention, funnels, Experiments and Configs to change one thing at a time and measure it

Before this: The round loop: a state machine, Analytics: funnels, economy events, retention

Step 1 of 10

One round of Beacon Yard

Back in Core loop design: act, reward, spend, repeat you traced Beacon Yard's Config.luau numbers (40-second drill, 8-second cooldown, 5 coins a pad, 10-coin survival bonus, 34 wrench damage against 100 drone health, Speed 25, Shield 40):

	ROUND_SECONDS = 40,
	COOLDOWN_SECONDS = 8,
	COIN_VALUE = 5,
	COIN_RESPAWN_SECONDS = 4,
	SURVIVAL_BONUS = 10,
	DRONE_SPEED = 12,
	DRONE_DAMAGE = 15,
	DRONE_HIT_COOLDOWN = 1,
	DRONE_MAX_HEALTH = 100,
	WRENCH_DAMAGE = 34,
	WRENCH_RANGE = 14,
	STUN_SECONDS = 1.6,
	WALK_SPEED = 16,
	BOOST_SPEED = 24,
	SPEED_PRICE = 25,
	SHIELD_PRICE = 40,

None of those numbers is just code: together they shape session length, multi-day retention, fairness and whether paying players have an edge. This lesson is the fundamentals overview of operating a live game; Module 14 (Game design craft) takes each section below to studio depth on Beacon Yard.

Work it out

How many wrench hits does it take to bring a drone from full health to 0 or below?

hits

Link to this step · This confused me

Step 2 of 10

The core loop

Recap from Core loop design: act, reward, spend, repeat: Roblox splits a core loopCore loopThe cycle of play a game is built on: constant interaction, the actions repeated most, and the progression they feed.Think of it as the engine of a game: what turns, what it drives, and what it charges up. into minute-to-minute interaction (moving and dodging), repeated actions (coins and combat) and a progression engine (the shop)1. Notice how thin Beacon Yard's progression engine is: two items, and Speed is bought once. That is the first thing a live-game designer would expand (deep dives in Module 14: Pillars and loops: moment, session, meta and Progression: curves, unlocks and prestige).

Match the pairs

Match each part of the core loop to Beacon Yard.

Link to this step · This confused me

Step 3 of 10

Loops and arcs

Loops and arcs

Designer Daniel Cook separates loops, systems you exercise again and again until you understand them deeply, from arcs, content you go through once, like a story beat or a tutorial: "an arc is a broken loop you exit immediately"2. Loops keep people playing; arcs give them reasons and moments.

Beacon Yard is almost all loop. There is no first-time story, no milestone after buying Speed, nothing that unfolds over days. That is fine for a teaching game. A live game would add arcs on top of the loop: a first-drill tutorial, a weekly event, a badge for the tenth drone.

Choose one

Which of these would add an arc to Beacon Yard rather than more loop?

Which of these would add an arc to Beacon Yard rather than more loop?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 4 of 10

Designing the session

Server sideRemember: A round state machine is a traffic light.

A session is one visit, from join to leave. Players on Roblox hop between games with friends, so a session needs natural stopping points and natural reasons to stay3. Beacon Yard's round is a 48-second cycle (40 active, 8 cooldown) plus however long the beacon waits for a press. Short rounds suit phones and quick visits; the risk is that each round feels the same. Module 14 builds return reasons and wave pacing in Retention by design: quests, dailies, streaks, return reasons and Difficulty curves and balancing with data.

Work it out

If players press the beacon the moment the cooldown ends, how many full rounds fit in a 10-minute session?

rounds
Where does it break?“A traffic light” is a good picture of a round state machine. Where does it stop being true?

It breaks here. A traffic light only changes on a timer, but real transitions have conditions (a press, everyone down, a path blocked) and side effects (gates, lighting, re-pathing) that must run exactly once.

The true model. A state machine is a current state plus a set of transitions. Each transition has a guard condition and side effects. One owner changes the state and publishes it, so no other code can put it in an impossible combination.

Choose one

Beacon Yard's round stays Idle until someone presses the beacon. What design risk does that create for a server with one new player?

Beacon Yard's round stays Idle until someone presses the beacon. What design risk does that create for a server with one new player?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 5 of 10

Onboarding: the first minute

Roblox's onboarding guide names three goals for the first-time user experience: teach the essentials, get to the fun quickly, and leave players wanting more. Its success is measured by day 1 retention and by how many players get through each step of the onboarding funnel4.

In Beacon Yard a new player spawns at the spawn pad, 30 studs from the centre, with pads on a 22-stud ring and a sign board nearby. A funnel turns "did they get it?" into numbers: log one event when each step is first reached, then see where players drop off5. Module 14 expands this into a full five-minute state machine and experiment in The first five minutes: an FTUE that keeps players.

There is a catch. If you log a later step without an earlier one, the funnel counts the earlier steps as complete5. A player can press the beacon before picking up any coin, and logging drill_started would then show first_coin as passed when it never happened. Either enforce the order in the game, or read the funnel as "got at least this far" instead of "did every step". Beacon Yard's Analytics.onboarding takes the second path: it saves the furthest step in the profile and never logs an earlier step late.

Roblox Studio
Beacon Yard during an active round in a Studio playtest: the HUD shows the phase and time left, the player holds the wrench near a coin pad, and the drone is closing in.

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

The first round a new player should reach. The pins mark the round timer, the coin counter, a pad with a coin, the drone and the beacon.

Put in order

Put Beacon Yard's onboarding funnel steps in the order a new player should reach them.

  1. first_coin
  2. drill_started
  3. joined
  4. first_purchase

Link to this step · This confused me

Step 6 of 10

Economy: how long until the shop?

How fast players earn decides when progression kicks in. Predict how many rounds a 3-pickup player needs to buy both Speed (25) and Shield (40) with the 10-coin survival bonus before pressing Run. For a full sources-and-sinks spreadsheet and 30-day simulation across player types, continue with Economy design: sources, sinks and the spreadsheet in Module 14.

Luau
Ctrl Enter runs the cell. Checked against the expected output
Predict the output

You raise COIN_VALUE from 5 to 10 and leave everything else alone. How many rounds does the 3-pickup player now need for both items (65 coins)?

local perRound = 3 * 10 + 10
print(math.ceil(65 / perRound))
You raise COIN_VALUE from 5 to 10 and leave everything else alone. How many rounds does the 3-pickup player now need for both items (65 coins)?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 7 of 10

Fairness and pay-to-win

Server sideRemember: The server is the referee with the only real scoreboard.

The Coin Pack sells 50 coins for Robux. Coins buy Speed and Shields. So money buys an advantage. Whether that is pay-to-win depends on who it is an advantage over. Beacon Yard is cooperative: everyone fights the same drone, so a faster teammate helps the team. In a game where players race or fight each other, the same item would let money beat skill, which drives free players away and, with them, the crowd the payers came for. Roblox's monetization guide separates enhancement items (speed, protection, tools) from expression items (skins, emotes)6; expression is the safe default for anything competitive.

Fairness also needs a referee. Beacon Yard decides coins, damage and purchases on the server, so a cheat cannot simply claim them.

If you ever sell random rewards, Roblox's policy applies: any random item bought directly or indirectly with Robux, including through a currency Robux can buy, must show every outcome and its numerical odds, as percentages summing to 100%7. Module 14 audits value ladders, contextual offers and ethics in Monetization design players respect, and co-op roles and trading risks in Designing for groups: co-op, competition, trading.

Choose all that apply

You add a Scrap Crate that costs 30 coins and gives a random cosmetic. Which statements are true?

You add a Scrap Crate that costs 30 coins and gives a random cosmetic. Which statements are true?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 8 of 10

Measure, then change one thing

Beacon Yard already logs three custom events from the server, through one guarded function:

function Analytics.log(player: Player, eventName: string, value: number?)
	safely(function()
		AnalyticsService:LogCustomEvent(player, eventName, value)

Those events (round_started, coin_collected, item_bought) show what players do; retention (D1, D7 and D30) shows whether they come back8. When a design hypothesis needs causal proof rather than a week-over-week guess, wire a per-player configExperience configA value you change from the Creator Hub that running servers pick up without a restart.Think of it as a dial on the yard office wall that every live server can read. and Experiment using the ConfigService:GetConfigForPlayerAsync(player) workflow from Change with evidence: Experiments, error reports and alerts910. For cohort LTV, ARPDAU and recommender signals, see The metrics that matter: retention, ARPDAU, conversion, LTV.

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Creator Hub analyticsBuilt-in dashboards: engagement, retention, monetization, funnels, custom and economy events.Every Roblox game. It is free and needs no setup beyond logging events.Events only from the server and only in published games; you work within its charts.
Experiments and ConfigsRoblox's per-player A/B tests and live global config values (covered in the previous lesson).Testing one per-player design change against a hypothesis and guardrail before shipping to everyone.Server-only, needs enough players over 14 to 60 days, and cannot split a shared server timer per player.
Third-party analytics over HttpServiceSending your own events to an external service or warehouse.Studios with a data team that wants raw events and custom queries.Privacy and data-protection duties, HTTP limits, and code to maintain.
Playtests and watching playersSitting next to a player, or recording sessions with consent.Early, before you have numbers, and whenever numbers say where but not why.Small samples; your friends are not your audience.
Choose one

Day 1 retention rose the week you added a first-drill arrow, and a big YouTuber also played that week. Why is comparing this week's retention with last week's misleading?

Day 1 retention rose the week you added a first-drill arrow, and a big YouTuber also played that week. Why is comparing this week's retention with last week's misleading?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 9 of 10

Challenges

Level 1, Apprentice

Challenge

Write a one-page design note for Beacon Yard as a live game.

Start from
Beacon Yard at m06-drone-wrench

Done means

  • One page naming Beacon Yard's minute-to-minute interaction, repeated actions and progression engine
  • Two arcs you would add, each with the day it would appear for a new player
  • One number from Config.luau you would change first, and why

Meet the criteria above, then record your own result. No test grades this check.

Level 2, Builder

Challenge

Design Beacon Yard's first-minute onboarding arc and a policy-compliant cosmetic Scrap Crate table, ready to test against your funnel and retention numbers.

Start from
Beacon Yard at m06-drone-wrench

Done means

  • A first-minute onboarding plan that solves the Idle-beacon risk and maps each beat to a funnel step
  • A cosmetic-only Scrap Crate table listing every item and its numerical odds summing to exactly 100%
  • One primary retention metric and one monetization guardrail you would watch after shipping the change

Meet the criteria above, then record your own result. No test grades this check.

Choose one

Your Speed-price experiment (20 vs 25 coins) has day 1 retention as its primary metric. Which guardrail fits Beacon Yard best?

Your Speed-price experiment (20 vs 25 coins) has day 1 retention as its primary metric. Which guardrail fits Beacon Yard best?

Press 1 to 4 to choose, Enter to check.

Level 3, Professional

Challenge

Start from the m14-ship tag in the game repo, then build the onboarding funnel tracker that feeds AnalyticsService:LogOnboardingFunnelStepEvent. This tracker accepts known steps in any order, and the test needs that: a first_coin logged first must still log. So it does not stop a skipped step. The dashboard will count any step before the one you log as complete, so read its numbers as "got at least this far". Run it with game.ServerScriptService.RunGameTests:Invoke("game-design").

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("game-design") in the server command bar. Copy the pass code from Output.

Done means

  • challenges/work/onboarding_funnel.luau lists steps starting with joined, with first_coin before drill_started
  • Each step logs once per tracker, with its position in STEPS
  • Repeats and unknown steps log nothing
  • The game-design challenge prints TEST PASS for all four checks

The Course Runner prints this code when the test passes.

Choose one

You wire the tracker into CoinService and play in Studio. The funnel page on the Creator Hub stays empty. Why?

You wire the tracker into CoinService and play in Studio. The funnel page on the Creator Hub stays empty. Why?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 10 of 10

Recap

Retiring the analogy

You no longer need “the referee with the only real scoreboard”. The server runs the authoritative copy of the whole game world. Anything that matters (coins, damage, purchases) is decided there, and clients only see what it replicates to them.

With server-owned rules keeping Beacon Yard fair and a 48-second round cycle giving players a clear session rhythm, you can retire both metaphors and read the real Config.luau numbers directly.

Retiring the analogy

You no longer need “a traffic light”. A state machine is a current state plus a set of transitions. Each transition has a guard condition and side effects. One owner changes the state and publishes it, so no other code can put it in an impossible combination.

Recap

  1. A core loop is minute-to-minute play, the actions you repeat and a progression engine; Beacon Yard's engine (two shop items) is the thinnest part.
  2. Sessions and onboarding decide retention: get a new player to a coin and a drill in the first minute, and measure each step with a funnel.
  3. Money for advantage is pay-to-win only where players compete; paid random items need full odds; change one Config value at a time through an Experiment.

A round state machine is a traffic light, until a traffic light only changes on a timer, but real transitions have conditions (a press, everyone down, a path blocked) and side effects (gates, lighting, re-pathing) that must run exactly once.

The server is the referee with the only real scoreboard, until the server is also the field itself, and it cannot see things that exist only on a client, such as a player's GUI or a LocalScript's effects.

Next Blender basics for Roblox, part 1: the window, the camera and the stud

Link to this step · This confused me