Categories > Exploiting > Roblox >

How to toggle Infinite Jump Script On/Off?

Posts: 2

Threads: 2

Joined: Dec, 2021

Reputation: 0

Posted

So I have this Infinite Jump script which goes on but won't go off with the toggle, how can I toggle it off correctly?

Not really sure how the *ChangeState("Jumping")* works like am I supposed to change the Jumping to something like Standing or Idling...

Section:NewToggle("Infinite Jump", "By toggling this you can jump infinitely.", function(state)
    if state then
        local InfiniteJumpEnabled = true
        game:GetService("UserInputService").JumpRequest:connect(function()
            if InfiniteJumpEnabled then
                game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
            end
        end)
        print("Infinite Jump: ON")
    else
        InfiniteJumpEnabled = false
        game:GetService("UserInputService").JumpRequest:connect(function()
            if InfiniteJumpEnabled then
                game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
            end
        end)
        print("Infinite Jump: OFF")
    end
end)
  • 0

Anppu#5731(GitHub)

Users viewing this thread:

( Members: 0, Guests: 2, Total: 2 )