Module 12 · In Studio · challenge 3 of 3 in this lesson
challenges/work/accessory_check.luau returns no problems for a good layered jacket and a good rigid hat
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Start from the m14-ship tag in the game repo, then write a pre-upload check from the specifications in this lesson. The test builds good and broken accessories in memory, so no mesh or upload is needed. Run it from the command bar with game.ServerScriptService.RunGameTests:Invoke("ugc-avatars").
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("ugc-avatars")in the server command bar. Copy the pass code from Output.
Done means
- challenges/work/accessory_check.luau returns no problems for a good layered jacket and a good rigid hat
- It reports a missing WrapLayer, the wrong attachment for pants, a Neon or transparent handle, and a script or extra part
- The ugc-avatars challenge prints TEST PASS for all seven checks