Advertisement
ElementalGoD

Infinite jump

Aug 28th, 2020
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. -- by BlankFN#0692
  2. -- Press [R] to turn off and to turn on
  3.  
  4. _G.infinjump = true
  5.  
  6. local Player = game:GetService("Players").LocalPlayer
  7. local Mouse = Player:GetMouse()
  8. Mouse.KeyDown:connect(function(k)
  9. if _G.infinjump then
  10. if k:byte() == 32 then
  11. Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  12. Humanoid:ChangeState("Jumping")
  13. wait(0.1)
  14. Humanoid:ChangeState("Seated")
  15. end
  16. end
  17. end)
  18.  
  19. local Player = game:GetService("Players").LocalPlayer
  20. local Mouse = Player:GetMouse()
  21. Mouse.KeyDown:connect(function(k)
  22. k = k:lower()
  23. if k == "r" then
  24. if _G.infinjump == true then
  25. _G.infinjump = false
  26. else
  27. _G.infinjump = true
  28. end
  29. end
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement