I have been trying to make a script that will allow me to set whether people can jump or not for my virtual airline. I have tried the following script:
local player = game.Players.LocalPlayer repeat if script.Parent.Value == true then player.Character.Humanoid.JumpPower = 0 else player.Character.Humanoid.JumpPower = 15 end until i == 2
and while that does not work when I turn the value on or off, the jump power effect would not work for jumping out of seats.
I have not found any scripts that let you turn it on or off so is there anything obvious that I am missing here?
Any help would be gratefully appreciated. Thanks, Will
For a Ro-Airline I see? The easiest way would be to use nojump or with the admin commands :jpower all 0