Module 5 · In Studio · challenge 2 of 2 in this lesson

LampMotes.Rate is 8 while RoundPhase is Idle or Cooldown

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

Open

Level 3, Professional

Challenge

Make the lamp's motes busier during the drill. The test is challenges/audio-vfx.luau and the solution is challenges/solutions/audio-vfx.md.

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 run game.ServerScriptService.RunGameTests:Invoke("audio-vfx", "vfx-busy-motes") in the server command bar. Copy the pass code from Output.

Done means

  • LampMotes.Rate is 8 while RoundPhase is Idle or Cooldown
  • It is 30 while RoundPhase is Active
  • It returns to 8 when the phase is Idle again
  • challenges/audio-vfx.luau prints TEST PASS for lamp_rate_idle, lamp_rate_active and lamp_rate_restored

The Course Runner prints this code when the test passes.