Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UserInputService = game:GetService("UserInputService")
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local Head = Character:WaitForChild("Head")
- local Torso = Character:WaitForChild("Torso")
- -- Adjustable variables
- local qbAimbot = true
- local magScripts = 100
- local deFollow = true
- local jumpPower = 50
- local antiBlock = true
- local autoFG = true
- local purpleGUI = true
- -- Aimbot
- local function aimBot(target)
- local rootPart = target.Parent.PrimaryPart or target.Parent:WaitForChild("Head")
- local aimVector = CFrame.new(Head.CFrame.Position, rootPart.CFrame.Position).LookVector
- local newVelocity = aimVector * 50
- Torso.Velocity = newVelocity
- end
- -- Mag Scripts
- local function magScript(toggled)
- if toggled then
- repeat wait(0.1) until #LocalPlayer.PlayerGui:GetChildren() == magScripts
- end
- end
- -- Debounce Follow
- local function deFollow(toggled)
- if toggled then
- repeat wait(0.1) until #LocalPlayer.PlayerGui:GetChildren() > 0
- end
- end
- -- Jump Power
- local function jump(toggled)
- if toggled then
- repeat wait(0.1) until LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character:FindFirstChild("Humanoid").WalkSpeed == jumpPower
- end
- end
- -- Anti Block/Jam
- local function antiBlockJam(toggled)
- if toggled then
- repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
- end
- end
- -- Auto Field Goal
- local function autoFG(toggled)
- if toggled then
- repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
- end
- end
- -- Purple GUI
- local function purpleGUI(toggled)
- if toggled then
- repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
- end
- end
- -- Inputs for toggling features
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed then
- if input.KeyCode == Enum.KeyCode.F then
- qbAimbot = not qbAimbot
- elseif input.KeyCode == Enum.KeyCode.H then
- magScripts = math.min(magScripts + 1, 100)
- elseif input.KeyCode == Enum.KeyCode.G then
- deFollow = not deFollow
- elseif input.KeyCode == Enum.KeyCode.T then
- jumpPower = math.min(jumpPower + 5, 100)
- elseif input.KeyCode == Enum.KeyCode.Y then
- antiBlock = not antiBlock
- elseif input.KeyCode == Enum.KeyCode.U then
- autoFG = not autoFG
- elseif input.KeyCode == Enum.KeyCode.I then
- purpleGUI = not purpleGUI
- end
- -- Toggles for each feature
- if qbAimbot then
- aimBot(LocalPlayer.Character)
- else
- Torso.Velocity = Vector3.new(0, 0, 0)
- end
- if magScripts > 0 then
- magScript(magScripts)
- else
- for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
- gui:Destroy()
- end
- end
- if deFollow then
- deFollow(LocalPlayer.Character)
- else
- for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
- gui:Destroy()
- end
- end
- if jumpPower > 0 then
- jump(jumpPower)
- else
- Humanoid.WalkSpeed = 16
- end
- if antiBlock then
- antiBlockJam(LocalPlayer.Character)
- else
- for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
- gui:Destroy()
- end
- end
- if autoFG then
- autoFG(LocalPlayer.Character)
- else
- for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
- gui:Destroy()
- end
- end
- if purpleGUI then
- purpleGUI(LocalPlayer.Character)
- else
- for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
- gui:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement