Module 4 · In your browser · challenge 1 of 2 in this lesson

Copy only keys that already exist in defaults

A code cell with the real Luau runner grades it. No Studio needed.

Open

Luau
Ctrl Enter runs the cell. Checked by tests

Level 1, Apprentice

Challenge

Finish the validation check in ids-override-sim above so it matches Beacon Yard's Ids.luau guard rules.

Start from
The game at milestone m06 (download)
Check it here
Run the code cell; the challenge completes when it passes. No Studio needed.

Done means

  • Copy only keys that already exist in defaults
  • Reject negative numbers and non-whole numbers
  • All four assertions in ids-override-sim pass