Keep Player Sitting Temporarily

Hi everyone!

  1. What do you want to achieve? I want to make it so the player if the Humanoid.Sit property is true then they cannot get back up for half a second as I want to prevent spam jumps.

  2. What is the issue? I cannot get it to work in the way that I want it to.

  3. What solutions have you tried so far? I’ve looked a lot on the Dev Forum and also have tried multiple scripts.

Thank you!

You may set their jumppower to 0 to prevent them from leaving it.

This kind of post has already been made before, How to disable auto jump when sitting down - #8 by colbert2677, please search for what you’re asking before posting.

You can just make the player’s jump power 0 temporarily.