Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Disable Space bar Jumping?

i tried a bunch of different scripts but they never worked.

2 answers

✓ Accepted answer

Local script, StarterPack:

wait(1)

local hum = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
hum.Changed:connect(function()
    hum.Jump = false
end)


4 comments

0

thx

0

doen't work

0

It works perfectly for me, try StarterGui instead. Also make sure it's a LOCALSCRIPT not a SCRIPT.

0

I edited my answer, try it now. Sorry about the mess up m8.

Put in a LocalScript

repeat wait() until game.Players.LocalPlayer.Character
game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
	game.Players.LocalPlayer.Character.Humanoid.Jump = false
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.