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

MapBuilder.build creates Workspace.Yard.TourMarker on every Play

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

Open

Level 3, Professional

Challenge

For this stretch challenge, make a part that survives Stop by having MapBuilder.build create it before returning. To get a pass code, make the change on m14-ship, sync, press Play and run this in the server command bar:

luau
game.ServerScriptService.RunGameTests:Invoke("studio-tour")
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("studio-tour") in the server command bar. Copy the pass code from Output.

Done means

  • MapBuilder.build creates Workspace.Yard.TourMarker on every Play
  • TourMarker is anchored and does not collide
  • Size is 4, 1, 4 and Position is 36, 8, -36

The Course Runner prints this code when the test passes.