Module 7 · In Studio · challenge 1 of 2 in this lesson
stipend pays a member once per UTC day, nothing to non-members, and no back pay for days away
A test in Studio grades it and prints a pass code.
Open
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