How to detect if a player sits in a driverseat

I want to find out how I can detect if a player uses a driveseat(I work on a camera that revolves around the player if the car has speed=0 like in nfs)

1 Like

You can detect if player is sitting via the Occupant property, which is set to the Humanoid of the sitting player or nil if no one is sitting.

You can connect this to an event via GetPropertyChangedSignal and do a bit of filtering to determine if the humanoid belongs to a player and do something with that information

1 Like