I'm trying to find out how to make someone NOT able to jump. I've seen other people do this... Can anyone help out?
COMMUNITY QUESTION
How do i make people not able to jump?
2 answers
LOCAL SCRIPT IN STARTERGUI
local plr = game.Players.LocalPlayer
local hum = plr.Character:WaitForChild("Humanoid")
hum.Changed:connect(function()
hum.Jump = false
end)
Make a localscript, and put it in the player, and type this as the code:
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character.Humanoid
Humanoid.Changed:connect(function()
Humanoid.Jump = false
end)
This will constantly make the Jump false whenever the script detects that the humanoid tried to jump. Hope this helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.
