RBX_pross_fan440872

Inf Jump

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