Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to prevent a player from jumping out of a chair?

Would it be possible for me to prevent someone from jumping out of a seat (or getting out using other methods)?

2 answers

Yes there is. You can disable jumping from a humanoid

Player.Character.Humanoid.Jump = false

You can edit the sitting script and make it so until you can time it so then it would eject them out after a certain time period?

3 comments

1

That doesn't disable it. That turns to true when they jump. Could use a while loop or .Changed.

1

This answer is incorrect.

0

No, it doesn't disable it.

function onTouched(t) Torso = t.Parent:findFirstChild("Torso") if Torso ~= nil then Torso.Anchored = true end script.Parent.onTouched:connect(onTouched)

This discussion is preserved as it was. New answers, comments, and votes are closed.