local TimeBetweenJumps = 2; -- Time in seconds.
local Player = game.Players.LocalPlayer
repeat wait() until Player.Character ~= nil;
local Character = Player.Character
--repeat wait() until Character:FindFirstChild("Humanoid")
local Humanoid = Character:WaitForChild("Humanoid");
local LastJump = time();
Humanoid.Changed:connect(function()
if Humanoid.Jump then
if time()-LastJump >= TimeBetweenJumps then
LastJump = time();
else
Humanoid.Jump = false;
end
end
end)
This was working for 3 months now but awhile ago It broke and can't jump anymore.... Any of you can fix it?

3 comments
Shouldn't time() be wait()?
tick(), I think, not wait(), nor time().
I've tried tick() still It doesn't work.