Module 9 · In Studio · challenge 3 of 3 in this lesson

challenges/work/group_handover.luau sorts assets into move and check, each list sorted

A test in Studio grades it and prints a pass code.

Open

Level 3, Professional

Challenge

Write the handover checklist a team runs before and after moving a game into a group. The test is on the game repo's main branch; run it with game.ServerScriptService.RunGameTests:Invoke("groups-ownership", "groups-ownership").

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

Done means

  • challenges/work/group_handover.luau sorts assets into move and check, each list sorted
  • needsTwoStep knows the five two-step permissions, and smallestRole picks the role with the fewest permissions that has them all
  • keyStatus returns Disabled, Revoked, Expired, Auto-Expired or Active in that order
  • The groups-ownership challenge prints TEST PASS for all 18 checks

The Course Runner prints this code when the test passes.