Module 12 · Check it yourself · challenge 2 of 3 in this lesson

The server owns the cart

You compare your work with the list of what done means.

Open

Level 2, Builder

Challenge

Turn the cart into a server-owned vehicle that trusts only validated, clamped input: finite numbers first, then the clamp.

Start from
The cart from the build-along

Done means

  • The server owns the cart
  • A LocalScript sends throttle and steering through a RemoteEvent at most 20 times a second
  • The server ignores any value that is not a finite number (NaN, infinity or a non-number), then clamps both to -1 to 1 before it sets VectorVelocity and the AlignOrientation goal
  • A forged throttle of 50 moves the cart no faster than a throttle of 1, and a forged NaN leaves the cart as it was

Meet the criteria above, then record your own result. No test grades this check.