Advertisement
Mayosis

Infinity Jump in Roblox

Jan 31st, 2023
671
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. -- Variables
  2. local player = game.Players.LocalPlayer
  3. local character = player.Character
  4. local human = character.Humanoid
  5.  
  6. -- Function
  7. function infinityJump()
  8. -- Calculate the force needed to jump infinite times
  9. local jumpForce = math.huge
  10. human.JumpPower = jumpForce
  11. end
  12.  
  13. -- Connect the function to the player's "Jump" button
  14. player.Character.Humanoid.Jump.Connect(infinityJump)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement