Prevent jumping off when Sitting in Seat?

I dont want that the Players can leave their Seat if they are sitting. I dont want to use JumpHeight = 0 because they can cheat and deactivate it on the Client and then just jump off. How can i do that?

Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)

Place in a LocalScript.

1 Like

You could make the JumpPower equale to 0, or do what @SubtotalAnt8185 said.

But i said I dont want to use JumpHeight = 0 because they can cheat and deactivate it on the Client and then just jump off.

If they jump off ban them for hacking :slight_smile:

2 Likes

True… You can just do what @SubtotalAnt8185 said then

Okay and i thought also earlier i could delete the Vehicle but how can i know if he is not in the Seat anymore? Humanoid Sit == false or is that bad?

https://developer.roblox.com/en-us/api-reference/event/Humanoid/Jumping

Use script

1 Like

or use GetPropertyChangedSignal so if player changes jump height then you will know