Module 13 · In your browser · challenge 2 of 3 in this lesson

at blends the two samples around t

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

Open

Luau with roblox-lite (not Roblox)
Ctrl Enter runs the cell. Checked by tests

Level 2, Builder

Challenge

Fix at in the rewind-at Run above.

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

Done means

  • at blends the two samples around t
  • It holds the oldest sample before the history and the newest after it
  • It returns nil for an empty history and every test in rewind-at passes