Module 15 · In Studio · challenge 1 of 2 in this lesson
Track B: rescue the swarm
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Check out track/b-swarm-rescue, find and fix what makes it miss its budgets, and pass challenges/track-b-rescue.luau in Play. It reads no learner file: you fix the game itself. Solution: challenges/solutions/track-b-rescue.md.
- Start from
- track/b-swarm-rescue
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("track-b-rescue")in the server command bar. Copy the pass code from Output.
Done means
- load_budgets: with 50 bots, 40 crawlers and 20 seconds, every system's p95 in the RunLoadTest table is at or under Config.FRAME_BUDGETS_MS
- receive_rate: a player receives under 15 KB/s in total over the last 10 seconds of the load (NetMeter)
- soak_leaks: after 300 joins and leaves, under 2% of PlayerScopes are left
- The game still plays: the wrench hurts the drone and the crawlers, the drone still chases, and the HUD still shows coins and the round; the regular suite, check-challenges, stylua, selene and the Lune specs stay green