Simple question. How would you disable jumping for the standard ROBLOX character? I understand that a while ago there was a method where you could use this:
while true do plr.Character.Humanoid.Jump = false wait() end
To stop characters from jumping. However, this doesn't work any more.
This is what you'd do:
repeat wait(0)until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")and game.Players.LocalPlayer:GetMouse() game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jumpy) if jumpy == "Jump"then game.Players.LocalPlayer.Character.Humanoid.Jump = false end end)