I am trying to make a survival game and I want to disable jump. How could I do that? Please help.
COMMUNITY QUESTION
How to disable jump?
1 answer
Regular script:
game.Workspace.ChildAdded:connect(function(child) -- Whenever something is added to workspace
wait() -- Give the new addition to workspace some time to load everything
for i,v in pairs(child:GetChildren()) do -- Checks all children of the child
if v:IsA("Humanoid") then -- If it's a humanoid
v.JumpPower = 0 -- Disable jump
end
end
end)
Simple as that.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
in a localscript: repeat wait() untilgame.Players.LocalPlayer.Humanoid game.Players.LocalPlayer.Humanoid.JumpPower = 0 .......and jumppower is the tip of the day, which i find hilarious.