How can some vehicles work without using a local script?

I’ve seen one of those free model jeeps, and while they do have a local script in it, it shouldn’t work as the local script is in a model, not something like replicated storage or startercharacter scripts. From what I understand, you need to use a local script to detect whether a player is pressing W, so you can make the vehicle go forward.

Can you link the model, I wanna take a look.

If you’re referring to the Jeep that is in some of the template games, that local script gets copied into the player character when they sit in the seat. Also, vehicles that use the classic Throttle and Steer properties of a VehicleSeat don’t need local scripts at all, since those can be read on the server. The jeep uses a local script likely because it’s server script assigns network ownership to the player, and letting the player control the car’s physics will make it less laggy for the driver.

3 Likes