Advertisement
IceColdScripts

The final stand 2 AIM ASSIST (April 2025) By Heavy_SAS4

Apr 13th, 2025 (edited)
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.43 KB | Gaming | 0 0
  1. -- Made by Error_IDK
  2. --Edited By Heavy_SAS4
  3.  
  4. -- Version: 1
  5.  
  6. -- Instances:
  7.  
  8. local ScreenGui = Instance.new("ScreenGui")
  9. local Aimbot = Instance.new("Frame")
  10. local Title = Instance.new("TextLabel")
  11. local Toggle = Instance.new("TextButton")
  12. local Drag = Instance.new("UIDragDetector")
  13. local UICorner = Instance.new("UICorner")
  14.  
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19. ScreenGui.ResetOnSpawn = false
  20.  
  21. Aimbot.Name = "Aimbot"
  22. Aimbot.Parent = ScreenGui
  23. Aimbot.BackgroundColor3 = Color3.new(0.113725, 0.113725, 0.113725)
  24. Aimbot.Position = UDim2.new(0.0599842146, 0, 0.358722359, 0)
  25. Aimbot.Size = UDim2.new(0, 126, 0, 152)
  26.  
  27. Title.Name = "Title"
  28. Title.Parent = Aimbot
  29. Title.BackgroundColor3 = Color3.new(0.435294, 0.117647, 0.117647)
  30. Title.Size = UDim2.new(0, 126, 0, 50)
  31. Title.Font = Enum.Font.SpecialElite
  32. Title.Text = "AIM.ASSIST"
  33. Title.TextColor3 = Color3.fromRGB(130, 130, 130)
  34. Title.TextSize = 13.300
  35. Title.TextScaled = true
  36.  
  37. Toggle.Name = "Toggle"
  38. Toggle.Parent = Aimbot
  39. Toggle.BackgroundColor3 = Color3.fromRGB(52, 52, 39)
  40. Toggle.BorderSizePixel = 0
  41. Toggle.Position = UDim2.new(0, 0, 0.473684222, 0)
  42. Toggle.Size = UDim2.new(0, 126, 0, 50)
  43. Toggle.Font = Enum.Font.SpecialElite
  44. Toggle.Text = "Enable"
  45. Toggle.TextColor3 = Color3.fromRGB(117, 31, 31)
  46. Toggle.TextSize = 40.000
  47. Toggle.TextScaled = true
  48.  
  49. Drag.Parent = Aimbot
  50. UICorner.Parent = Aimbot
  51.  
  52.  
  53.  
  54. -- Scripts:
  55.  
  56. local function PNHLOYF_fake_script() -- Toggle.LocalScript
  57.     local script = Instance.new('LocalScript', Toggle)
  58.  
  59.     _G.aimbot = false
  60.     local camera = game.Workspace.CurrentCamera
  61.     local localplayer = game:GetService("Players").LocalPlayer
  62.  
  63.     script.Parent.MouseButton1Click:Connect(function()
  64.         if _G.aimbot == false then
  65.             _G.aimbot = true
  66.             script.Parent.TextColor3 = Color3.fromRGB(81, 117, 31)
  67.             script.Parent.Text = "Enabled"
  68.             function closestplayer()
  69.                 local dist = math.huge -- math.huge means a really large number, 1M+.
  70.                 local target = nil --- nil means no value
  71.                 for i,v in pairs (game.Workspace.Zombies:GetChildren()) do
  72.                     if v ~= nil then
  73.                         if v and v:FindFirstChild("Head") and _G.aimbot and v.Zombie.Health > 0 then --- creating the checks
  74.                             local magnitude = (v.Head.Position - localplayer.Character.Head.Position).magnitude
  75.                             if magnitude < dist then
  76.                                 dist = magnitude
  77.                                 target = v
  78.                             end
  79.  
  80.                         end
  81.                     end
  82.                 end
  83.                 return target
  84.             end
  85.  
  86.         else
  87.             _G.aimbot = false
  88.             script.Parent.TextColor3 = Color3.fromRGB(117, 31, 31)
  89.             script.Parent.Text = "Enable"
  90.         end
  91.     end)
  92.  
  93.     local settings = {
  94.         keybind = Enum.UserInputType.MouseButton2
  95.     }
  96.  
  97.     local UIS = game:GetService("UserInputService")
  98.     local aiming = false --- this toggle will make it so we lock on to the person when we press our keybind
  99.  
  100.     UIS.InputBegan:Connect(function(inp)
  101.         if inp.UserInputType == settings.keybind then
  102.             aiming = true
  103.         end
  104.     end)
  105.  
  106.     UIS.InputEnded:Connect(function(inp)
  107.         if inp.UserInputType == settings.keybind then ---- when we stop pressing the keybind it would unlock off the player
  108.             aiming = false
  109.         end
  110.     end)
  111.  
  112.     game:GetService("RunService").RenderStepped:Connect(function()
  113.         if aiming and script.Parent.Text == "Enabled" then
  114.             camera.CFrame = CFrame.new(camera.CFrame.Position,closestplayer().Head.Position) -- locks into the HEAD
  115.         end
  116.     end)
  117. end
  118. coroutine.wrap(PNHLOYF_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement