Understanding vehicle seats

I’ve never been sure how vehicle seats work. I want to make a script where it only works when a player is sitting in a seat. Ex. a plane. What do I use to do that. I would imagine it being an if statement though I’m not sure how to define if a player is sitting or not.

Honestly I’m not even sure if your supposed to use vehicle seats for this…

To identify who is currently sitting on the (Vehicle)Seat you can do Seat.Occupant, it will return the Humanoid of the seated player.

1 Like

Oh cool didn’t know that existed! Thanks!

1 Like