ScriptHubYT

Counter blox infinite jump 2020

Jan 30th, 2020
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Discord server: to get my discord server just add me and ill invite you my discord is ScriptHub#8745
  2.  
  3. local InfiniteJumpEnabled = true
  4. game:GetService("UserInputService").JumpRequest:connect(function()
  5. if InfiniteJumpEnabled then
  6. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  7. end
  8. end)
  9. local InfiniteJump = CreateButton("Infinite Jump: Off", StuffFrame)
  10. InfiniteJump.Position = UDim2.new(0,10,0,130)
  11. InfiniteJump.Size = UDim2.new(0,150,0,30)
  12. InfiniteJump.MouseButton1Click:connect(function()
  13. local state = InfiniteJump.Text:sub(string.len("Infinite Jump: ") + 1) --too lazy to count lol
  14. local new = state == "Off" and "On" or state == "On" and "Off"
  15. InfiniteJumpEnabled = new == "On"
  16. InfiniteJump.Text = "Infinite Jump: " .. new
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment