How do i make a seat which you can't jump off of?
COMMUNITY QUESTION
How to make a seat which you can't jump off of?
2 answers
Script:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
while true do
if char.Humanoid.Sit == true then
char.Humanoid.JumpPower = 0
end
wait()
end
end)
end)
Set a variable for their humanoid however you want to and connect the changed function to it. Say “if humanoid.Sitting then humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false) end”
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Just set the jump power of the humanoid to zero when they get on the chair.