
426 Views
13.0k Executions
DUBLE JUMP SCRIPT
10K executions
Universal Script 📌
Timmaf10K executions
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
cool duble jump script(change the value of maxJumps to the number of jumps you want)
--to make the script work, create a local
local UIS = game:GetService("UserInputService")
local character = game.Players.LocalPlayer.Character
local humanoid = character.Humanoid
--Config...
local jumps = 0
local maxJumps = 2
local jumpTick = tick()
humanoid.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.Landed then
jumps = 0
end
end)
UIS.JumpRequest:Connect(function()
if jumps < maxJumps and tick() - jumpTick > 0.2 then
jumpTick = tick()
jumps += 1
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






