Start here · In your browser · challenge 1 of 2 in this lesson

A 40-second round gives 11 coins (at 0, 4, 8, ... 40)

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

Open

Level 2, Builder

Challenge

Work out how many coins one pad produces in a round, using the respawn time from Beacon Yard's config.

Start from
The code cell below the challenge, which runs a hidden test when you press Run.
Check it here
Run the code cell; the challenge completes when it passes. No Studio needed.

Done means

  • A 40-second round gives 11 coins (at 0, 4, 8, ... 40)
  • A 3-second round gives 1 coin
  • Uses COIN_RESPAWN_SECONDS, not the number 4 written again
Luau
Ctrl Enter runs the cell. Checked by tests