Module 2 · In Studio · challenge 3 of 3 in this lesson
After PolicyProbe.start() in init.server.luau, the three-line scheduler probe records spawn, now and defer
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Switch to m06-drone-wrench (where challenges/events-and-tasks.luau lives) and prove the scheduler order on the live server. The written solution is challenges/solutions/events-and-tasks.md in the game repo.
- Start from
- The game at milestone m06 (download)
- Grade it
- To grade work from an earlier milestone, apply your challenge changes to a checkout based on
m14-ship, which includes the Course Runner. In Studio, press Play, then rungame.ServerScriptService.RunGameTests:Invoke("events-and-tasks")in the server command bar. Copy the pass code from Output.
Done means
- After PolicyProbe.start() in init.server.luau, the three-line scheduler probe records spawn, now and defer
- The deferred function writes workspace attribute SchedulerOrder
- The Course Runner prints TEST PASS events_scheduler_order and a pass code