Advertisement
Guest User

ROBLOX Moonjump

a guest
Aug 21st, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. --~~JumpSpam Script - By ATLASANDHENDRIX--~~
  2. --Note: Do not steal this script--
  3.  
  4. local UserInputService = game:GetService("UserInputService")
  5. local lastjumptick = tick()
  6. local Jumped = 1
  7. local function onInputBegan(input,gameProcessed)
  8. if input.UserInputType == Enum.UserInputType.Keyboard then
  9. local keyPressed = input.KeyCode
  10. if keyPressed == Enum.KeyCode.Space then
  11. if Jumped == 1 then
  12. Jumped = 2
  13. else
  14. if Jumped == 2 and tick() - lastjumptick <= .5 then
  15. local JumpBrick = Instance.new("Part",workspace)
  16. JumpBrick.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-2,0)
  17. JumpBrick.Size = Vector3.new(2,.2,2)
  18. JumpBrick.Anchored = true
  19. JumpBrick.Transparency = 1
  20. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 60
  21. game.Debris:AddItem(JumpBrick,.5)
  22. wait()
  23. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  24. end
  25. Jumped = 2
  26. end
  27. lastjumptick = tick()
  28. end
  29. end
  30. end
  31.  
  32. UserInputService.InputBegan:connect(onInputBegan)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement