Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by plus gaming
- --[[
- Use the prefix (Default: J) to disable/enable infinite jump
- Use the prefix (Defause: F) to disable/enable Anti-Jump Bypass
- ]]
- local Settings = {
- ["Enabled"] = false;
- ["Anti-Jump Bypass"] = false;
- ["Enabled Key"] = Enum.KeyCode.J;
- ["Anti-Jump Bypass Jump"] = 2500;
- ["Anti-Jump key"] = Enum.KeyCode.F;
- ["Prefix"] = ";"
- }
- local function Notification(title,Message)
- game.StarterGui:SetCore("SendNotification", {
- Title = title;
- Text = Message;
- })
- end
- local function Chat(message, color, font)
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = message;
- Color = color;
- Font = font;
- })
- end
- local UIS = game:GetService("UserInputService"); local plr = game.Players.LocalPlayer;
- UIS.InputBegan:Connect(function(k,NotChatting)
- if not NotChatting then
- if k.KeyCode == Settings["Enabled Key"] then
- if Settings.Enabled then
- Settings.Enabled = false
- Chat("[Infinite_Jump]: Off", Color3.fromRGB(255, 0, 0), Enum.Font.Cartoon)
- else
- Settings.Enabled = true
- Chat("[Infinite_Jump]: On", Color3.fromRGB(0, 255, 0), Enum.Font.Cartoon)
- end
- Notification("Toggled",Settings.Enabled)
- end
- if k.KeyCode == Enum.KeyCode.Space then
- if Settings.Enabled then
- if Settings["Anti-Jump Bypass"] then
- local veloc = Instance.new("BodyThrust")
- while wait(0.01) do
- veloc.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- veloc.Force = Vector3.new(0,Settings["Anti-Jump Bypass Jump"],0)
- if not UIS:IsKeyDown(Enum.KeyCode.Space) then
- veloc:Destroy()
- break
- end
- end
- else
- while wait() do
- if UIS:IsKeyDown(Enum.KeyCode.Space) then
- veloc.Parent = game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- else
- break
- end
- end
- end
- end
- end
- if k.KeyCode == Settings["Anti-Jump key"] then
- if Settings["Anti-Jump Bypass"] then
- Settings["Anti-Jump Bypass"] = false
- Chat("[AntiJump_Bypass]: Off", Color3.fromRGB(255, 0, 0), Enum.Font.Cartoon)
- else
- Settings["Anti-Jump Bypass"] = true
- Chat("[AntiJump_Bypass]: On", Color3.fromRGB(0, 255, 0), Enum.Font.Cartoon)
- end
- return Settings["Anti-Jump Bypass"]
- end
- end
- end)
- plr.Chatted:Connect(function(msg)
- msg = string.lower(msg)
- local splitmsg = msg:split(" ")
- if splitmsg[1] == (Settings.Prefix.. "power") then
- local Ammount = tonumber(splitmsg[2])
- Settings["Anti-Jump Bypass Jump"] = Ammount
- end
- if splitmsg[1] == (Settings.Prefix.. "prefix") then
- local newPrefix = splitmsg[2]
- Settings.Prefix = newPrefix
- end
- end)
- Chat("[System]: Infinite_Jump has joined", Color3.fromRGB(255, 255, 255), Enum.Font.Arial)
- Notification("Loaded", "Infinite jump has joined the game")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement