This is supposed to dis-able jumping. It works in SOLO play on ROBLOX Studio, but not in the actual game.
--Here is the script--
1 | print ( "aase69's AWESOME NonJump script - Loaded" ) |
2 | function onChanged() |
3 | script.Parent.Parent.Character.Humanoid.Jump = false |
4 | end |
5 | script.Parent.Parent.Character.Humanoid.Changed:connect(onChanged) |
--this is not my script--
The script is probably loading itself faster than it can find the humaoid. At the beginning in the script, add:
1 | Player = game.Players.LocalPlayer |
2 | repeat wait() until Player.Character |
3 | Character = Player.Character |
4 | Character:WaitForChild( "Humanoid" ) |
Is it a local script in the StarterGui? If not, do that.