Advertisement
Plus_Gaming

Powerful Infinite Jump

Jan 13th, 2021 (edited)
2,679
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. --Made by plus gaming
  2. --[[
  3. Use the prefix (Default: J) to disable/enable infinite jump
  4. Use the prefix (Defause: F) to disable/enable Anti-Jump Bypass
  5. ]]
  6. local Settings = {
  7. ["Enabled"] = false;
  8. ["Anti-Jump Bypass"] = false;
  9. ["Enabled Key"] = Enum.KeyCode.J;
  10. ["Anti-Jump Bypass Jump"] = 2500;
  11. ["Anti-Jump key"] = Enum.KeyCode.F;
  12. ["Prefix"] = ";"
  13. }
  14. local function Notification(title,Message)
  15. game.StarterGui:SetCore("SendNotification", {
  16. Title = title;
  17. Text = Message;
  18. })
  19. end
  20. local function Chat(message, color, font)
  21. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  22. Text = message;
  23. Color = color;
  24. Font = font;
  25. })
  26. end
  27. local UIS = game:GetService("UserInputService"); local plr = game.Players.LocalPlayer;
  28. UIS.InputBegan:Connect(function(k,NotChatting)
  29. if not NotChatting then
  30. if k.KeyCode == Settings["Enabled Key"] then
  31. if Settings.Enabled then
  32. Settings.Enabled = false
  33. Chat("[Infinite_Jump]: Off", Color3.fromRGB(255, 0, 0), Enum.Font.Cartoon)
  34. else
  35. Settings.Enabled = true
  36. Chat("[Infinite_Jump]: On", Color3.fromRGB(0, 255, 0), Enum.Font.Cartoon)
  37. end
  38. Notification("Toggled",Settings.Enabled)
  39. end
  40. if k.KeyCode == Enum.KeyCode.Space then
  41. if Settings.Enabled then
  42. if Settings["Anti-Jump Bypass"] then
  43. local veloc = Instance.new("BodyThrust")
  44. while wait(0.01) do
  45. veloc.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  46. veloc.Force = Vector3.new(0,Settings["Anti-Jump Bypass Jump"],0)
  47. if not UIS:IsKeyDown(Enum.KeyCode.Space) then
  48. veloc:Destroy()
  49. break
  50. end
  51. end
  52. else
  53. while wait() do
  54. if UIS:IsKeyDown(Enum.KeyCode.Space) then
  55. veloc.Parent = game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  56. else
  57. break
  58. end
  59. end
  60. end
  61. end
  62. end
  63. if k.KeyCode == Settings["Anti-Jump key"] then
  64. if Settings["Anti-Jump Bypass"] then
  65. Settings["Anti-Jump Bypass"] = false
  66. Chat("[AntiJump_Bypass]: Off", Color3.fromRGB(255, 0, 0), Enum.Font.Cartoon)
  67. else
  68. Settings["Anti-Jump Bypass"] = true
  69. Chat("[AntiJump_Bypass]: On", Color3.fromRGB(0, 255, 0), Enum.Font.Cartoon)
  70. end
  71. return Settings["Anti-Jump Bypass"]
  72. end
  73. end
  74. end)
  75. plr.Chatted:Connect(function(msg)
  76. msg = string.lower(msg)
  77. local splitmsg = msg:split(" ")
  78. if splitmsg[1] == (Settings.Prefix.. "power") then
  79. local Ammount = tonumber(splitmsg[2])
  80. Settings["Anti-Jump Bypass Jump"] = Ammount
  81. end
  82. if splitmsg[1] == (Settings.Prefix.. "prefix") then
  83. local newPrefix = splitmsg[2]
  84. Settings.Prefix = newPrefix
  85. end
  86. end)
  87. Chat("[System]: Infinite_Jump has joined", Color3.fromRGB(255, 255, 255), Enum.Font.Arial)
  88. Notification("Loaded", "Infinite jump has joined the game")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement