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

A second Team named Spectators exists under Teams with AutoAssignable = false and TeamColor = BrickColor.new("Really red")

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

Open

Level 3, Professional

Challenge

Add a Spectators team that nobody joins automatically.

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("players-teams-chat", "players-spectators") in the server command bar. Copy the pass code from Output.

Done means

  • A second Team named Spectators exists under Teams with AutoAssignable = false and TeamColor = BrickColor.new("Really red")
  • Every current player stays on Drillers and carries a YardTeam attribute set to "Drillers"
  • challenges/players-teams-chat.luau prints TEST PASS for spectators_team and yard_team

The Course Runner prints this code when the test passes.