Advertisement
crpishim

xert ff2

Mar 9th, 2025
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.08 KB | None | 0 0
  1. local UserInputService = game:GetService("UserInputService")
  2. local Players = game:GetService("Players")
  3. local LocalPlayer = Players.LocalPlayer
  4. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  5. local Humanoid = Character:WaitForChild("Humanoid")
  6. local Head = Character:WaitForChild("Head")
  7. local Torso = Character:WaitForChild("Torso")
  8.  
  9. -- Adjustable variables
  10. local qbAimbot = true
  11. local magScripts = 100
  12. local deFollow = true
  13. local jumpPower = 50
  14. local antiBlock = true
  15. local autoFG = true
  16. local purpleGUI = true
  17.  
  18. -- Aimbot
  19. local function aimBot(target)
  20.     local rootPart = target.Parent.PrimaryPart or target.Parent:WaitForChild("Head")
  21.     local aimVector = CFrame.new(Head.CFrame.Position, rootPart.CFrame.Position).LookVector
  22.     local newVelocity = aimVector * 50
  23.     Torso.Velocity = newVelocity
  24. end
  25.  
  26. -- Mag Scripts
  27. local function magScript(toggled)
  28.     if toggled then
  29.         repeat wait(0.1) until #LocalPlayer.PlayerGui:GetChildren() == magScripts
  30.     end
  31. end
  32.  
  33. -- Debounce Follow
  34. local function deFollow(toggled)
  35.     if toggled then
  36.         repeat wait(0.1) until #LocalPlayer.PlayerGui:GetChildren() > 0
  37.     end
  38. end
  39.  
  40. -- Jump Power
  41. local function jump(toggled)
  42.     if toggled then
  43.         repeat wait(0.1) until LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character:FindFirstChild("Humanoid").WalkSpeed == jumpPower
  44.     end
  45. end
  46.  
  47. -- Anti Block/Jam
  48. local function antiBlockJam(toggled)
  49.     if toggled then
  50.         repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
  51.     end
  52. end
  53.  
  54. -- Auto Field Goal
  55. local function autoFG(toggled)
  56.     if toggled then
  57.         repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
  58.     end
  59. end
  60.  
  61. -- Purple GUI
  62. local function purpleGUI(toggled)
  63.     if toggled then
  64.         repeat wait(0.1) until LocalPlayer.PlayerGui:GetChildren() ~= nil
  65.     end
  66. end
  67.  
  68. -- Inputs for toggling features
  69. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  70.     if not gameProcessed then
  71.         if input.KeyCode == Enum.KeyCode.F then
  72.             qbAimbot = not qbAimbot
  73.         elseif input.KeyCode == Enum.KeyCode.H then
  74.             magScripts = math.min(magScripts + 1, 100)
  75.         elseif input.KeyCode == Enum.KeyCode.G then
  76.             deFollow = not deFollow
  77.         elseif input.KeyCode == Enum.KeyCode.T then
  78.             jumpPower = math.min(jumpPower + 5, 100)
  79.         elseif input.KeyCode == Enum.KeyCode.Y then
  80.             antiBlock = not antiBlock
  81.         elseif input.KeyCode == Enum.KeyCode.U then
  82.             autoFG = not autoFG
  83.         elseif input.KeyCode == Enum.KeyCode.I then
  84.             purpleGUI = not purpleGUI
  85.         end
  86.  
  87.         -- Toggles for each feature
  88.         if qbAimbot then
  89.             aimBot(LocalPlayer.Character)
  90.         else
  91.             Torso.Velocity = Vector3.new(0, 0, 0)
  92.         end
  93.  
  94.         if magScripts > 0 then
  95.             magScript(magScripts)
  96.         else
  97.             for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
  98.                 gui:Destroy()
  99.             end
  100.         end
  101.  
  102.         if deFollow then
  103.             deFollow(LocalPlayer.Character)
  104.         else
  105.             for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
  106.                 gui:Destroy()
  107.             end
  108.         end
  109.  
  110.         if jumpPower > 0 then
  111.             jump(jumpPower)
  112.         else
  113.             Humanoid.WalkSpeed = 16
  114.         end
  115.  
  116.         if antiBlock then
  117.             antiBlockJam(LocalPlayer.Character)
  118.         else
  119.             for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
  120.                 gui:Destroy()
  121.             end
  122.         end
  123.  
  124.         if autoFG then
  125.             autoFG(LocalPlayer.Character)
  126.         else
  127.             for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
  128.                 gui:Destroy()
  129.             end
  130.         end
  131.  
  132.         if purpleGUI then
  133.             purpleGUI(LocalPlayer.Character)
  134.         else
  135.             for _, gui in ipairs(LocalPlayer.PlayerGui:GetChildren()) do
  136.                 gui:Destroy()
  137.             end
  138.         end
  139.     end
  140. end)
  141.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement