Advertisement
Kin_N0ob

Untitled

Dec 27th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1.  
  2. -- //~ F to toggle ~\\ --
  3. local msg = Instance.new("Hint")
  4. msg.Parent = game.Lighting
  5. _G.infinjump = true
  6.  
  7. local Player = game:GetService("Players").LocalPlayer
  8. local Mouse = Player:GetMouse()
  9. Mouse.KeyDown:connect(function(k)
  10. if _G.infinjump then
  11. if k:byte() == 32 then
  12. Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  13. Humanoid:ChangeState("Jumping")
  14. wait(0.1)
  15. Humanoid:ChangeState("Seated")
  16. end
  17. end
  18. end)
  19.  
  20. local Player = game:GetService("Players").LocalPlayer
  21. local Mouse = Player:GetMouse()
  22. Mouse.KeyDown:connect(function(k)
  23. k = k:lower()
  24. if k == "f" then
  25. if _G.infinjump == true then
  26. msg.Parent = game.Workspace
  27. msg.Text = "disabled"
  28. wait(1)
  29. msg.Parent = game.Lighting
  30. _G.infinjump = false
  31. else
  32. _G.infinjump = true
  33. msg.Parent = game.Workspace
  34. msg.Text = "enabled"
  35. wait(1)
  36. msg.Parent = game.Lighting
  37. end
  38. end
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement