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

src/shared/AiCheck.luau exists on disk and syncs to ReplicatedStorage.Shared.AiCheck

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

Open

Level 3, Professional

Challenge

Get an assistant to write the module, then check it the way this lesson taught. Check out m14-ship for this challenge: the earlier m05-the-round tag has no course runner, so the command below only works from m14-ship on. The HUD excerpts above come from earlier tags and are reference only. Run it with game.ServerScriptService.RunGameTests:Invoke("ai-assisted-dev").

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

Done means

  • src/shared/AiCheck.luau exists on disk and syncs to ReplicatedStorage.Shared.AiCheck
  • AiCheck.idleObjective() returns the Idle HUD label exactly, with no period
  • The diff is only that file, and no script writes Coins.Value
  • The ai-assisted-dev challenge prints TEST PASS for both checks

The Course Runner prints this code when the test passes.