Change with evidence: Experiments, error reports and alerts

Test a change on part of your players with Roblox Experiments and per-player configs, read the result honestly, and watch a live game with Error Report, alerts and a custom dashboard, using Beacon Yard's Speed price.

Tool lesson, about 85 minutes, 16 steps

By the end you can

  • Write an experiment plan before the change, with a hypothesis, a goal metric, a guardrail and a decision rule
  • Run a per-player price experiment on Beacon Yard's Speed item with ConfigService and Roblox Experiments, and read its result by confidence interval
  • Find a new error in Error Report and set an alert and a custom dashboard that watch a live game for you

Before this: Analytics: funnels, economy events, retention, Monetization: products, passes, subscriptions, economy

Step 1 of 16

Forty coins or twenty-five?

A teammate opens a pull request that changes one line in Config.luau: SPEED_PRICE = 25 becomes SPEED_PRICE = 40. Their reason is the economy cell from the monetization lesson. A new player earns about 30 coins a round, so Speed costs less than one round and players buy it before they understand the shop.

They might be right. The question is how you would know. The usual first idea is to ship the change on Monday and compare this week's numbers with last week's. Last week, though, had a different number of new players, a weekend event and a bug fix in the crawler. A change in coins spent on Speed could come from any of those, or from nothing at all.

	SPEED_PRICE = 25,
	SHIELD_PRICE = 40,
Choose one

Beacon Yard raises Speed to 40 coins on Monday, and Speed sales per player drop 20 percent compared with the week before. What can you conclude?

Beacon Yard raises Speed to 40 coins on Monday, and Speed sales per player drop 20 percent compared with the week before. What can you conclude?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 2 of 16

Split the players, not the weeks

An experiment, also called an A/B test, runs two versions of the game at the same time. Roblox puts each player at random into one group: the control gets today's value and a variant gets the new one. Everything else is the same for both, so a difference between the groups comes from the change1.

Stored dataExperiments (A/B tests) is a blind taste test: two cups, and a coin toss decides who drinks which.
In the pictureIn Roblox
The two cupsThe control value and the variant value of one config key
The coin tossRoblox enrolling each player at random on the first GetValue of a per-player snapshot
Asking the tasters which cup they preferredThe goal metric and its confidence interval after the planned days

See the whole analogy cast

An experiment is a blind taste test. Two cups look the same, and a coin toss decides who drinks which. Nobody picks their own cup, so the people in each group are alike, and the only real difference is what is in the cup.

Think of it as A blind taste test: two cups, and a coin toss decides who drinks which

Roblox has two kinds. An in-game experiment tests values of a 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. key, with up to two variants and one control. A matchmaking experiment tests matchmaking settings and needs no code. In-game experiments run between 14 and 60 days1.

You also choose how many players take part. The rollout is the share of all players who join the experiment, and the variant percentages split that share. Players outside the rollout get the control value and do not count. Roblox's advice, when in doubt, is one variant, one control, 50/50, on a large rollout.

A 40 percent rollout split 50/50All players flow into two boxes: 60 percent stay outside the experiment on the control value, 40 percent join it and split into a control group and a variant group of 20 percent each.All players100%Outside60%, control valueIn the rollout40%Control20%Variant20%
Only the two groups inside the rollout are compared.
Work it out

A game has 2,000 players a day. The experiment has a 40 percent rollout split 50/50 between control and one variant. About how many players a day see the variant?

players

Link to this step · This confused me

Step 3 of 16

Write the plan before the change

The docs' first piece of advice is to start with a hypothesis: what you change, what you expect to happen, and why1. For the Speed argument:

Raising Speed from 25 to 40 coins makes new players play another round before they buy it, so they spend more coins in the shop overall, without making fewer of them come back the next day.

Every experiment then needs four things written down before it starts.

PartWhat it isBeacon Yard
VariantThe one value you changespeed_price 40 against a control of 25
Goal metricThe single number that decidesAverage coin sink per player, filtered to the Speed SKU
GuardrailA number that must not get worseD1 retention
Decision dateWhen you read it, and not beforeThe planned end, 14 days after the start

The goal metric comes from events Beacon Yard already logs. ShopService sends an economy sink event with the SKU Speed for every purchase, and an in-game experiment can turn that into a custom metric: an economy metric on Coins, average sink per player, filtered to one item SKU. The docs use almost exactly this example, a speed boost price cut, to explain custom metrics. Custom metrics can only use events that already have data, and they cannot change once the experiment starts.

Match the pairs

Match each line of the Speed experiment plan to its role.

Link to this step · This confused me

Step 4 of 16

A value for this player, read at the shop

In-game experiments are configs underneath. The live-ops lesson later uses ConfigService:GetConfigAsync() for the Scrap Rush flag, a value shared by the whole server. An experiment needs the per-player call, ConfigService:GetConfigForPlayerAsync(player), because GetConfigAsync() does not apply experiments1. ConfigService is server-only, and a first load can throw, so the call goes in pcall2.

Today the price is a constant. The shop prompt's handler only opens the panel, and buySpeed charges Config.SPEED_PRICE:

local function buySpeed(player: Player)
	local profile = DataService.get(player)
	if profile.speedOwned then
		feedback(player, "deny", "Already owned")
		return
	end
	if not DataService.trySpend(player, Config.SPEED_PRICE) then

The moment of enrolment matters. Calling GetValue on a player's snapshot enrolls that player, and every later call returns the same value. The docs advise waiting until the player reaches the feature: enrol everyone at join and half your "Speed buyers" are players who never walked to the shop, which waters the result down.

luau
-- In ShopService, called when the shop prompt is triggered.
local function speedPriceFor(player: Player): number
	local ok, raw = pcall(function()
		return ConfigService:GetConfigForPlayerAsync(player):GetValue("speed_price")
	end)
	return ExperimentPrice.speedPrice(if ok then raw else nil, Config.SPEED_PRICE, 10, 60)
end
Predict the output

This version enrolls every player on join. 1,000 players join during the experiment and 300 of them ever open the shop. Who is in the experiment?

Players.PlayerAdded:Connect(function(player)
	local snapshot = ConfigService:GetConfigForPlayerAsync(player)
	prices[player] = snapshot:GetValue("speed_price")
end)
This version enrolls every player on join. 1,000 players join during the experiment and 300 of them ever open the shop. Who is in the experiment?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 5 of 16

The server owns the price

Two rules keep a price experiment safe.

First, a config value is input, even though your team typed it. A typo can turn 40 into "40", a slip can make it 400, and a missing key returns nil. The pure function speedPrice checks the type, rounds to whole coins and clamps the value between 10 and 60, so the shop never charges a price nobody meant.

Second, the server remembers the price it showed. The shop panel reads Config.SPEED_PRICE on the client when it builds itself. With an experiment, the server writes the player's price into a player attribute before it fires ShopOpen, the panel shows that number, and buySpeed charges the value the server stored. The client never sends a price: if it did, an exploiter would pick their own.

Luau
Ctrl Enter runs the cell. Checked against the expected output
Choose one

During the experiment, which value should buySpeed pass to DataService.trySpend?

During the experiment, which value should buySpeed pass to DataService.trySpend?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 6 of 16

Set it up in the Creator Hub

Create a number config named speed_price with the value 25 (File, Open Configs in Studio, or the Configs page in the Creator Hub). A new config is staged, so it reaches Studio play sessions but not live players until you publish it2. Then, on the game's Experiments page, choose Create experiment1:

  1. Type In-experience, a name such as "Speed price 40", and the Custom metric set.
  2. Add the custom metric: source Economy, currency Coins, Average currency sink delta, filtered to the item SKU Speed. Make it the goal metric. D1 retention, D7 retention, playtime, ARPU, ARPPU, payer conversion and session time are tracked anyway.
  3. Duration 14 days, rollout 100 percent, one variant of 40 at 50 percent.
  4. Start now, or schedule it. A scheduled experiment cannot be edited, only rescheduled.

When it starts, Roblox locks the speed_price key until it ends, and the docs warn you not to change how your code sends analytics events while it runs.

Browser
The Creator Hub's Create experiment page on the variants step, with the speed_price key, a control of 25 and one variant of 40 split 50/50, and the minimum detectable effect shown below.

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

The variants step for speed_price. The pins mark the control, the variant, the split and the minimum detectable effect.

Choose one

A week into the Speed experiment, a designer wants to try 35 instead of 40 in the variant. What happens?

A week into the Speed experiment, a designer wants to try 35 instead of 40 in the variant. What happens?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 7 of 16

Will it ever answer?

Before you start, the setup page shows a minimum detectable effect: the smallest change in the goal metric the experiment can reliably detect with your player count, rollout and duration. If it says 60 percent, a real 10 percent change will never show up. Roblox warns that games with fewer than 1,000 daily active users might struggle to get useful data1.

Early harm checks have a floor too. During the first 24 hours, playtime, ARPU and payer conversion update every 5 minutes, but Roblox makes no harm decision until 10,000 players are enrolled across the variant and the control.

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

A game at Beacon Yard's stage would not reach the floor in 14 days. That is a result too: run the experiment at 100 percent rollout for the full 60 days, test a bigger change, or accept that this question waits for more players.

Choose one

The setup page shows a minimum detectable effect of 80 percent for the Speed goal metric. What is the sensible move?

The setup page shows a minimum detectable effect of 80 percent for the Speed goal metric. What is the sensible move?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 8 of 16

Reading the result

Stored dataRemember: Experiments (A/B tests) is a blind taste test: two cups, and a coin toss decides who drinks which.

Results update every 24 hours. Each metric shows the variant's percent change against the control, with a confidence interval: the range the true change probably lies in. A metric is statistically significant when its interval does not overlap 0 percent. The docs' example: ARPU up 2.37 percent, between 0.55 and 4.19, is significant1. An interval from -0.5 to 2.5 is not, however good 1 percent looks.

Read it in this order. A sample ratio mismatch banner means players were not split in the planned proportions: stop and restart, because the data is spoiled. Before the decision date, wait: novelty makes early results swing. Then the goal metric. Then the guardrails. Goal up and a guardrail significantly down is a trade-off for people to weigh, not a win.

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

When you decide, Make decision walks you through a rollout: keep the control, or make the winning variant the config's new default value.

Choose all that apply

Which of these results are statistically significant?

Which of these results are statistically significant?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 9 of 16

Where the taste test breaks

Where does it break?“A blind taste test: two cups, and a coin toss decides who drinks which” is a good picture of experiments (a/b tests). Where does it stop being true?

It breaks here. The tasters share a room: control and variant players share one server, see each other's prices and talk, and the change is noticed because it is new.

The true model. An in-game experiment assigns each enrolled player a control or variant value of a config key for its whole duration and compares metrics between the groups. Groups can influence each other in shared servers, so per-player values that a player meets alone give the cleanest results.

A taste test keeps its tasters apart. Beacon Yard does not. Control and variant players share one yard: they run past each other, fight the same drone and talk in chat. A variant player who pays 40 coins for Speed can watch a control player buy it for 25. Friends compare prices in a party. Players also see the change because it is new, and that novelty fades.

So an experiment on a shared, visible value is less clean than the split suggests. The docs' advice covers part of it: run for the full duration, and do not run experiments at the same time unless you are sure they cannot interact. The rest is your judgement: test values players feel alone, and treat a price that others can see as a test of fairness too.

Choose one

Which Beacon Yard change fits a clean per-player experiment best?

Which Beacon Yard change fits a clean per-player experiment best?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 10 of 16

Error Report: what broke in the new version

An experiment ships new code, and new code breaks in ways Studio did not show. Players' servers report their errors to Error Report in the Creator Hub, under the game's Monitoring section: up-to-the-minute Luau errors and warnings from servers and clients, with a count, a type (server or client), the first version that logged each message, and a stack trace when you expand a row3. The debugging lesson reads it in more depth.

Two filters fit a release. Show version marks each place publish on the error chart, and New errors since keeps only messages first seen after a version you pick. Error Report tracks up to 500 unique errors and 500 unique warnings by count, plus the top 100 new errors per version, and these counts reset every 6 hours. So a noisy warning can push a rare error out of view; custom rules on the Rules tab ignore or group messages you have already understood, from the moment you save them.

Creator Hub (illustration)
Illustration with sample data, not a live Creator Hub capture: Error Report filtered to new errors since v14, with the v14 publish marker on the chart, one Server error row for [ErrorDrill] and its expanded stack trace.

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

The deliberate [ErrorDrill] error from the build-along, filtered to new errors since the latest version. Illustration with sample data, not a live Creator Hub capture.

Choose one

You published the version that reads speed_price per player. Which Error Report setting shows only errors that this version introduced?

You published the version that reads speed_price per player. Which Error Report setting shows only errors that this version introduced?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 11 of 16

Alerts: let the numbers call you

Nobody watches a dashboard all night. Alerts watch performance and data store metrics for you and send a message when one crosses a line4. You create them under Configurations, Alerts: a metric such as client crash rate, server memory or server frame rate, a trigger (a fixed value, or a percent change against the hour, day or week before), how many checks in a row must break the rule (1 to 10, at least 5 for minute checks), and a severity. They arrive at an experience-level webhook, so a Discord or Slack channel can receive them, with a summary that says "fired" or "recovered".

Alerts need the performance dashboard's eligibility, 100 or more daily active users, and up to 20 can exist per game. They do not watch Error Report counts. Roblox's advice is to look at 7 to 14 days of the metric first: if crash rate usually sits near 1.2 percent, alert at 2.5 or 3, and use a duration of 5 so a single spike does not wake anyone.

Experiments have their own warning: if early harm is found, the owner gets an email, a Creator Hub notification and, optionally, a webhook call.

Predict the output

An alert watches client crash rate every minute, fires above 5, with a duration of 5. These are the last seven checks. Does it fire?

-- crash rate, oldest to newest
3.1, 4.0, 6.2, 7.5, 5.0, 8.1, 6.4
An alert watches client crash rate every minute, fires above 5, with a duration of 5. These are the last seven checks. Does it fire?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 12 of 16

One page for one question

The built-in pages answer general questions. A custom dashboard answers yours. Under Custom dashboards, Manage all, Create, you name a dashboard, add widgets (charts, tables and summary cards), set its default time range and press Publish: a dashboard is only saved when you publish it. A game can have up to 20, everyone on the team who can view analytics sees them, and Pin to sidebar keeps one a click away. Any chart built on the Explore page can be sent to a dashboard with Add to dashboard5.

For Beacon Yard, a "Scrap Rush" dashboard holds what the team checks during the double-coin weekend: coin sources by item SKU (are pickups paying double?), coin sinks for Speed and Shield, concurrent users and a D1 retention summary card. It answers one question, "is the event healthy?", on one page.

What watches a Beacon Yard releaseFour boxes in a row: a new version feeds Error Report, an alert webhook and a custom dashboard, each answering a different question.New versionspeed_price readError Reportwhat broke?Alertis it bad now?Dashboardis it healthy?
Each tool answers one question about a release.
Match the pairs

Match each question during the Scrap Rush weekend to the tool that answers it.

Link to this step · This confused me

Step 13 of 16

How studios test and watch

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Roblox ExperimentsBuilt-in A/B tests on config keys or matchmaking, with confidence intervals, early harm checks and a guided rollout.Any in-game value you can read from a config, in a game with enough daily players.Needs players: under about 1,000 daily users the minimum detectable effect is often too large; keys lock while it runs.
Before and after comparisonShip the change and compare periods.Only for changes you cannot split, such as a new map, read alongside player feedback.Every other change in those weeks mixes into the result.
Your own split and data pipelineHash the user id into groups and send events to your own backend through HttpService.Studios with a data team and questions the built-in metrics do not cover.You build the statistics, the storage and the privacy rules yourself.
Thumbnail personalizationRoblox shows different thumbnails and measures play through rate.Testing the store page, not the game.Answers which picture brings players in, nothing about what they do inside.
Choose one

The Speed experiment ends with no significant change in coin sink and no change in D1. What does a professional team do?

The Speed experiment ends with no significant change in coin sink and no change in D1. What does a professional team do?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 14 of 16

Build along: a Speed price experiment

This extends the finished game. Work on a branch of m14-ship and a private test copy of the experience, never the live one.

Build along

m14-ship

  • challenges/work/experiment_rules.luau
  • src/server/ShopService.luau
  • src/client/ShopGui.luau
  1. Write speedPrice in challenges/work/experiment_rules.luau and run the experiments-and-alerts test from the server command bar.

    You should see The level 3 challenge prints TEST PASS for every check, including price_text, price_nan and price_clamped.

  2. Copy the passing speedPrice into a new server module. In ShopService, read speed_price with GetConfigForPlayerAsync in pcall when the prompt is triggered, store the price per player, set the SpeedPrice attribute, then fire ShopOpen. Make buySpeed charge the stored price and log it as the sink amount.

    You should see Opening the shop in Play sets a SpeedPrice attribute of 25 on your player, and buying Speed spends 25.

  3. Make ShopGui read the SpeedPrice attribute for the Speed label and update when the attribute changes.

    You should see The shop label shows the SpeedPrice attribute when it is set, and Config.SPEED_PRICE before it is.

  4. Create a staged speed_price config of 25. Press Play and, before you visit the shop, run game:GetService("ConfigService"):SetTestingValue("speed_price", 40) in the server command bar, then open the shop. Stop, play again and repeat with 400. Testing values last only for that server; ClearTestingValue removes them.

    You should see With a testing value of 40, the first shop visit sets SpeedPrice to 40; in a new session with 400, it sets 60.

  5. Add a temporary server Script named ErrorDrill that runs error("[ErrorDrill] deliberate test error"), publish to your private test copy, join it from the Roblox app, then open Error Report with New errors since. Delete the script and publish again.

    You should see Error Report lists one server error containing [ErrorDrill], first seen in the version you just published.

Link to this step · This confused me

Step 15 of 16

Challenges

Level 1, Apprentice

Challenge

Write the experiment plan for a change you would like to test in Beacon Yard, such as a starter coin bonus or the Shield price.

Start from
The game at milestone m14 (download)

Done means

  • An issue in your game repository titled with the change, such as Speed price 40
  • A one-sentence hypothesis with the change, the expected effect and the reason
  • One goal metric built from an event Beacon Yard already logs, one guardrail, and a decision date
  • What you will do if the result is not significant

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

Level 2, Builder

Challenge

Set up the watch for a Scrap Rush weekend: one dashboard, one webhook and one alert rule.

Start from
A private test copy of Beacon Yard

Done means

  • A published custom dashboard named Scrap Rush with a coin sources chart by item SKU and at least one summary card
  • An experience webhook pointing at a channel you own, with Test Response passing
  • An alert on client crash rate with a duration of 5 and the webhook as its delivery channel, or, if the game is below 100 daily users, the same rule written into the issue for later

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

Choose one

Day 14. The goal metric is significantly up, and a Sample Ratio Mismatch banner is showing. What should the team do?

Day 14. The goal metric is significantly up, and a Sample Ratio Mismatch banner is showing. What should the team do?

Press 1 to 4 to choose, Enter to check.

Level 3, Professional

Challenge

Write the five rules in challenges/work/experiment_rules.luau. The test is challenges/experiments-and-alerts.luau and the written solution is challenges/solutions/experiments-and-alerts.md. Run it with the command in the footer.

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

Done means

  • speedPrice returns the default for nil, text and NaN, rounds to whole coins and clamps between min and max
  • significant is true only when the interval is entirely above or entirely below 0
  • decide returns restart, wait, keep control, trade-off with the first guardrail in alphabetical order, or ship variant, in that order of checks
  • durationValid and alertFires follow the Alerts rules: 1 to 10 whole checks, at least 5 for minute, strictly above the threshold
  • challenges/experiments-and-alerts.luau prints TEST PASS for every check

The Course Runner prints this code when the test passes.

Link to this step · This confused me

Step 16 of 16

Recap

Retiring the analogy

You no longer need “a blind taste test: two cups, and a coin toss decides who drinks which”. An in-game experiment assigns each enrolled player a control or variant value of a config key for its whole duration and compares metrics between the groups. Groups can influence each other in shared servers, so per-player values that a player meets alone give the cleanest results.

Recap

  1. An experiment splits players at random into a control and up to two variants over the same days, so a difference comes from the change; write the hypothesis, goal metric, guardrail and decision date first.
  2. In code, read the value with ConfigService:GetConfigForPlayerAsync(player) when the player reaches the feature, because GetValue enrolls them; clamp it on the server and charge the price the server stored.
  3. A result is significant only when its confidence interval does not overlap 0; check the split and the duration first, and expect a small game to wait.
  4. Error Report shows new errors by version, alerts send performance and data store breaches to a webhook, and a custom dashboard puts one question on one page.

Experiments (A/B tests) is a blind taste test: two cups, and a coin toss decides who drinks which, until the tasters share a room: control and variant players share one server, see each other's prices and talk, and the change is noticed because it is new.

Next Game design for Roblox: loops, retention, fairness

Link to this step · This confused me

Sources
  1. Experiments. Roblox Creator Documentation, checked 2026-11-13.
  2. Experience configs. Roblox Creator Documentation, checked 2026-11-13.
  3. Error Report. Roblox Creator Documentation, checked 2026-11-13.
  4. Alerts. Roblox Creator Documentation, checked 2026-11-25.
  5. Custom dashboards. Roblox Creator Documentation, checked 2026-11-25.