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

Allow Player to Press (Key) to get up from a seat?

I made a script that disables the players ability to jump...now realizing that I also need the players to be able to sit down on seats, I have no way to allow them to get up from the seat once they sit down T_T.

I need a script that has any part or seat function as a seat but can also allow player to get up from that seat by pressing (E) a key.

1 answer

You could try something like this to only allow the player to jump if they are sitting:


Otherwise, you may be able to just set Sit to false while in a chair to make them stand, but I'm not sure if that would work.

*Edit by Shawnyg: Removed the code as this isn't a Request site. Thank you for your contribution, though.

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