Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- INF JUMP
- -- Infinite Jump Script for Roblox
- -- Get the player's character
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoid = character:WaitForChild("Humanoid")
- -- Set the initial jump power
- local jumpPower = 50
- -- Set the infinite jump flag
- local infiniteJump = false
- -- Create a local script to run on the client
- local localScript = Instance.new("LocalScript")
- localScript.Parent = character
- -- Define a function to toggle infinite jump
- local function toggleInfiniteJump()
- infiniteJump = not infiniteJump
- if infiniteJump then
- print("Infinite jump enabled!")
- else
- print("Infinite jump disabled!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement