I'm trying to nerf jumping so you can only jump every two seconds. But you can repeatedly jump over and over and I can't figure out why.
plr = game.Players.LocalPlayer
chr = plr.Character or plr.CharacterAdded:wait()
humanoid = chr.Humanoid
debounce = false
humanoid.Changed:connect(function(j)
if j == 'Jump' then
if j == true and debounce == false then
debounce = true
wait(2)
debounce = false
elseif j == true and debounce == true then
j = false
end
end
end)
It's a localscript
