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

MapBuilder.build parents an anchored Part named ServerLesson, size 2, 1, 2, to the yard

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

Open

Level 3, Professional

Challenge

Add a server-created marker that every client can see. The solution is challenges/solutions/client-server.md in the game repo.

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("client-server") in the server command bar. Copy the pass code from Output.

Done means

  • MapBuilder.build parents an anchored Part named ServerLesson, size 2, 1, 2, to the yard
  • Nothing on the client creates it
  • The Course Runner prints TEST PASS client_server_marker and a pass code

The Course Runner prints this code when the test passes.