Recurring revenue: subscriptions and a season pass

Add a monthly Yard Crew subscription to Beacon Yard with server-side status checks, a daily stipend, and pure season-track claim and rollover rules that feed into Module 15's live season pipeline.

Project lesson, about 70 minutes, 11 steps

By the end you can

  • Sell a Yard Crew subscription and check it on the server on join and whenever it changes, without ever saving the status
  • Pay a daily stipend through CrewService and test pure season-track reward and rollover rules
  • Apply Roblox's subscription rules and payout terms, and choose between a subscription, a pass and a per-season product for premium content

Before this: Monetization: products, passes, subscriptions, economy, ProfileStore: the library pros use

Step 1 of 11

Yard Crew: a membership, not a purchase

A new card sits in the quartermaster's shop: Yard Crew, every month: 20 coins each day you play, a copper trail behind your character, and the premium Scrap Rush rewards. It renews until the player cancels it.

That is a subscription. A game pass is bought once and kept. A subscription keeps its benefits only while the player keeps paying. It renews every month, and you price it in Robux (49 Robux or more) or in local currency at $2.99, $4.99, $7.99, $9.99 or $14.99. Local currency needs an account verified by ID or phone, sells on the web, the App Store and Google Play, and is not offered in some countries1.

Two limits shape the design. A game can have up to 50 subscriptions, and a player can own all of them at once: Roblox does not support "Bronze, Silver, Gold" tiers where one replaces another1. So Yard Crew is one clear bundle, not a ladder.

Choose one

A teammate wants Yard Crew Bronze, Silver and Gold, where buying Gold replaces Silver. What do you tell them?

A teammate wants Yard Crew Bronze, Silver and Gold, where buying Gold replaces Silver. What do you tell them?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 2 of 11

Checking the card at the door

Server sideSubscription status is a gym membership card checked at the door.
In the pictureIn Roblox
The membership cardAn active, paid subscription (IsSubscribed true)
The check at the doorGetUserSubscriptionStatusAsync on the server when the player joins
The front desk phone ringing when a membership changesPlayers.UserSubscriptionStatusChanged, which only server scripts receive
Member perks: towels, classesThe daily stipend, the trail and the premium season track

See the whole analogy cast

A subscription is a gym membership card. The gym checks it at the door, and the front desk gets a call when a membership starts or ends. Members get the perks for as long as the card is valid.

Think of it as A gym membership card checked at the door

The check at the door is MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionId) on the server. It returns IsSubscribed and IsRenewing. IsSubscribed is true only once the payment has gone through, so a first purchase still processing reads false2. The subscription id is a string such as "EXP-11111111", not a number1.

The phone call is Players.UserSubscriptionStatusChanged(player, subscriptionId). Only server scripts receive it, and the server re-checks only after the purchase window closes. A player who subscribes from the game's Store tab while already playing is noticed the next time you prompt them: the prompt tells them they are subscribed, and the event fires when it closes3.

The client opens the prompt with PromptSubscriptionPurchase and reads the localized price with GetSubscriptionProductInfoAsync, which works only on the client2.

Match the pairs

Match each call to where Yard Crew runs it.

Link to this step · This confused me

Step 3 of 11

Where the card picture breaks

Server sideRemember: Subscription status is a gym membership card checked at the door.

Beacon Yard keeps the answer the way PassService keeps the Speed Pass: a new CrewService asks on join and on every status change, and writes a server-set player attribute, YardCrew. A client cannot set it. A failed web call keeps the old answer, so a hiccup never strips a member mid-session. The trail, the stipend and the premium track all read that attribute.

Where does it break?“A gym membership card checked at the door” is a good picture of subscription status. Where does it stop being true?

It breaks here. A gym can photocopy your card and keep it on file. Your game must not: the status is asked from Roblox every session, and only what was granted (the stipend day, the claimed tiers) is saved in the profile.

The true model. MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionId) on the server returns IsSubscribed and IsRenewing. Check it on join and again on Players.UserSubscriptionStatusChanged. Keep the answer in server memory or a server-set attribute, and save only the grants it led to.

Choose one

To skip a web call, a teammate wants to save YardCrew = true in the player's profile and read it on the next join. What goes wrong?

To skip a web call, a teammate wants to save YardCrew = true in the player's profile and read it on the next join. What goes wrong?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 4 of 11

The rules of a subscription

Roblox's subscription guidelines are short and strict1:

  • Give the same benefits whatever platform the player bought on.
  • Honour the benefits for the full term, and never revoke them behind the scenes.
  • Never ask for extra tasks, such as a social media post, to unlock what was paid for.
  • Never tell players in the game to buy somewhere else.
  • Name and price each subscription clearly. A battle pass may be sold as a subscription.

The words on the card are a promise. "20 coins each day you play" is exactly what the code pays: one stipend per UTC day on which the player joins, with no back pay for days away.

Choose all that apply

Which of these Yard Crew changes would break the guidelines?

Which of these Yard Crew changes would break the guidelines?

Press 1 to 5 to choose, Enter to check.

Link to this step · This confused me

Step 5 of 11

What a subscription earns

Subscription revenue arrives as Robux either way, but the split differs. Priced in Robux, you earn 70 percent every month, held about 5 days like other sales. Priced in local currency, you earn 70 percent of the base price in the first month and 100 percent from the second month on, at 1 Robux per US cent, held for 30 days1. Predict how many more Robux a 6-month $5 local-currency subscriber earns you than a 500-Robux subscriber before pressing Run.

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

Other terms to know before launch. Subscriptions bought with Robux cannot be refunded. A Robux price can change once every 60 days, and a rise needs 30 days' notice; a local-currency price cannot change at all. Deleting an active subscription refunds every subscriber and pays you nothing, so take it off sale and let the period run out instead1.

Work it out

Yard Crew costs 99 Robux a month. Before any rounding Roblox does, how many Robux does one member earn you each month?

Robux

Link to this step · This confused me

Step 6 of 11

A season pass for Scrap Rush

A season pass is a track of reward tiers that players climb by earning season XP, with a free track for everyone and a premium track for paying players. Roblox's design guide gives concrete starting points: about ten tiers, a season of about a month, at least a week of rest between seasons, and frequent, visible progress4. Rewards are claimed with a button, uncollected rewards are awarded when the season ends, and a player who upgrades mid-season gets every premium reward for tiers they already reached4.

Beacon Yard's season is themed on its Scrap Rush event. Players earn 10 XP for each drill they finish and 10 more for surviving it. The premium track is part of Yard Crew, which is the pattern Roblox's subscription guide describes: subscribers unlock the premium track5. Before pressing Run, estimate how many survived drills (and roughly how many minutes) it takes to reach tier 1 (100 XP) and tier 10 (3,250 XP).

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

About two hours of drilling over a month: a few short sessions a week finish the track. A designer who wants it longer raises the late thresholds, not the early ones, so the first tier still comes in the first session.

Predict the output

A player has 720 season XP. Which tier have they reached?

local TIERS = { 100, 250, 450, 700, 1000 }
local reached = 0
for _, threshold in TIERS do
	if 720 >= threshold then
		reached += 1
	end
end
print(reached)
A player has 720 season XP. Which tier have they reached?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 7 of 11

Where the stipend and track rules live

Save only what you granted, never the membership boolean itself. For Yard Crew, that starts with crewStipendDay in the player's profile, reconciled onto old profiles by session:Reconcile() just like recentPurchaseIds:

function DataMigration.template(): ProfileData
	return {
		coins = 0,
		speedOwned = false,
		legacyImported = false,
		onboardingStep = 0,
		recentPurchaseIds = {},

A season track's pure rules (how XP maps to tiers, which rewards are claimable, and what happens on season rollover) stay cleanly separated from server networking. Which season is active is driven by Experience Configs (ConfigService), the same system FlagService reads for Scrap Rush6:

	local ok, result = pcall(function()
		return ConfigService:GetConfigAsync()
	end)
	if not ok then
		warn("[Flags] Experience configs are unavailable (" .. tostring(result) .. "). The event flag stays off.")
		return
	end
	local current = result :: ConfigSnapshot
	readKeys(current)
	snapshot = current
	local line = FlagService.missingLine(FlagService.missingKeys(KEYS, cache))
	if line ~= nil then
		print(line)
	end
 
	-- A new version is waiting. Taking it at once is right for a coin
	-- multiplier. A competitive value might wait for the end of a round.
	current.UpdateAvailable:Connect(function()

When a profile loads under a new season id, rollover compares the track's stored id with the active season: the same season changes nothing, while a new season hands back unclaimed rewards from reached tiers and resets the track. Players are enrolled automatically, which is what the design guide asks4. In this lesson you build and test those pure track rules alongside CrewService for the subscription itself; Beacon Yard's full live SeasonService (wired to season.json, seasonTrack.json and season_s01_enabled) is built in Module 15's The live-ops calendar: seasons, events and the content pipeline and Pro capstone, part 1: plan and build Season 2.

Choose one

season_id changes from s1 to s2. A player reached tier 2 in s1, claimed the free tier 1 only, and is a Yard Crew member today. What does rollover hand back?

season_id changes from s1 to s2. A player reached tier 2 in s1, claimed the free tier 1 only, and is a Yard Crew member today. What does rollover hand back?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 8 of 11

How studios sell premium content

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Subscription unlocks the premium trackMembers get the premium track every season while they pay.Games with a steady monthly cadence, like Beacon Yard's Scrap Rush.You must deliver a season every month and honour the full term; no tiers that replace each other.
A developer product per seasonPlayers buy this season's premium track once, recorded in the profile with the season id.Irregular seasons, or players who dislike recurring charges.You track ownership yourself and must handle receipts safely, as with the Coin Pack.
A game passOne permanent unlock for every season.Rarely: only if the premium track never needs to earn again.Sells once per player forever, so later seasons earn nothing from owners.
Season Passes feature packageRoblox's ready-made season pass, built on the Missions and Core packages, with a game pass for the premium track.A quick start when you do not want to build the UI and data.In beta and needs custom configuration; its data and rules are not yours to shape freely.
Choose one

Your team can ship a new season only every two or three months. Which premium model fits best?

Your team can ship a new season only every two or three months. Which premium model fits best?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 9 of 11

Build along: Yard Crew and the track rules

This extends the finished game from m14-ship with CrewService and the pure SeasonRules module (keeping Beacon Yard's live SeasonService for Module 15's The live-ops calendar: seasons, events and the content pipeline so there is only one season service in the repo). Write the pure rules first, then wire Yard Crew in. Roblox's docs do not describe a Studio test for subscriptions, and this course has not run one, so test the status path with a published private copy and an account that owns the subscription, or by calling CrewService.set(player, true) from a test.

Build along

m14-ship

  • challenges/work/season_track.luau
  • src/shared/Ids.luau
  • src/server/DataMigration.luau
  • src/server/CrewService.luau
  • src/client/ShopApp.luau
  1. Write the six pure rules (stipend, tier, addXp, claim, claimable, rollover) in challenges/work/season_track.luau, then copy the module to src/shared/SeasonRules.luau.

    You should see The level 3 challenge prints TEST PASS for all 20 checks.

  2. Create the subscription with a cover image, a description that names each benefit exactly, and a Robux price. Subscription ids are strings, so give the new Ids entry a string default and let Ids.local.luau accept it.

    You should see Creator Hub lists Yard Crew under Monetization, Subscriptions, and Ids.luau has YARD_CREW_SUBSCRIPTION_ID set to an empty string, and your id is only in Ids.local.luau.

  3. Add crewStipendDay = 0 to DataMigration.template(), then create CrewService: call GetUserSubscriptionStatusAsync in pcall on join and on Players.UserSubscriptionStatusChanged, writing the YardCrew attribute. On a true answer, pay SeasonRules.stipend with 20 coins and save the returned day as crewStipendDay.

    You should see With the id empty, the Output shows one [Ids] warning and every player has YardCrew = false.

  4. In ShopApp, read the price with GetSubscriptionProductInfoAsync and prompt with PromptSubscriptionPurchase. When you reach Module 15 (The live-ops calendar: seasons, events and the content pipeline and Pro capstone, part 1: plan and build Season 2), you will wire Beacon Yard's production SeasonService (season.json and seasonTrack.json) onto the m17-live-season track.

    You should see The shop shows the Yard Crew card with the local price and opens the subscription prompt on click.

Creating Yard Crew in Creator Hub. The pins mark the payment option, the product type and the description that becomes your promise.

Link to this step · This confused me

Step 10 of 11

Challenges

Level 3, Professional

Challenge

Start from the m14-ship tag in the game repo and fill in challenges/work/season_track.luau. Run it in Play with game.ServerScriptService.RunGameTests:Invoke("subscriptions", "subscriptions-season-track"). The written solution is challenges/solutions/subscriptions.md.

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

Done means

  • stipend pays a member once per UTC day, nothing to non-members, and no back pay for days away
  • tier counts cumulative thresholds, and addXp counts only during the running season
  • claim names the first failing rule (locked, members-only, claimed) and records free and premium claims separately
  • claimable gives a mid-season member every premium tier already reached, and rollover hands back leftovers once, then resets the track
  • challenges/subscriptions.luau prints TEST PASS for all 20 checks

The Course Runner prints this code when the test passes.

Level 2, Builder

Challenge

Give Yard Crew members the copper trail the card promises. There is no automated test: flip the attribute with CrewService.set(player, true) and false in Play, and watch it in the Explorer and the viewport.

Start from
m14-ship, after the build along

Done means

  • A member's character gets a copper Trail between two attachments on the HumanoidRootPart, created by the server
  • The trail appears on join for a member and on every respawn, and is removed within a second when YardCrew turns false
  • Non-members never get a trail, and the client cannot create one that other players see
  • Self-check: the trail respects the ReducedMotion setting by using a shorter Lifetime

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

Predict the output

A member last got the stipend on day 20000 and joins again at 23:00 UTC the same day, then at 01:00 UTC the next day. What do the two joins pay?

print(SeasonRules.stipend(20000, 20000 * 86400 + 82800, true, 20))
print(SeasonRules.stipend(20000, 20001 * 86400 + 3600, true, 20))
A member last got the stipend on day 20000 and joins again at 23:00 UTC the same day, then at 01:00 UTC the next day. What do the two joins pay?

Press 1 to 4 to choose, Enter to check.

Link to this step · This confused me

Step 11 of 11

Recap

Retiring the analogy

You no longer need “a gym membership card checked at the door”. MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionId) on the server returns IsSubscribed and IsRenewing. Check it on join and again on Players.UserSubscriptionStatusChanged. Keep the answer in server memory or a server-set attribute, and save only the grants it led to.

Recap

  1. A subscription renews monthly and is checked, never saved: GetUserSubscriptionStatusAsync on the server on join, and again on Players.UserSubscriptionStatusChanged; all of a game's subscriptions can be owned at once.
  2. The guidelines are a contract: same benefits on every platform, the full term honoured, no extra tasks, no steering buyers elsewhere. Robux pricing pays 70 percent every month; local currency 70 percent, then 100.
  3. A season pass is about ten tiers over about a month with a rest week; pure track rules handle tiers, claims and unclaimed-reward rollover, and Module 15 wires Beacon Yard's live SeasonService.

Subscription status is a gym membership card checked at the door, until a gym can photocopy your card and keep it on file. Your game must not: the status is asked from Roblox every session, and only what was granted (the stipend day, the claimed tiers) is saved in the profile.

Next Analytics: funnels, economy events, retention

Link to this step · This confused me