--Sorry it’s not a loadstring pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/DarkNetworks/Infinite-Yield/main/latest.lua'))() end) local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local CoreGui = game:GetService("CoreGui") local enabled = false local targetPlayer = nil local attackRate = 0.05 local lastAttack = 0 local lastEquip = 0 local lastReset = 0 local running = true local autoTargetPrefix = "HackerMan" local killCount = 0 local hasTeleported = false local wasSearching = false local askingHop = false local isTargetDead = false local screenGui = Instance.new("ScreenGui") screenGui.Name = "AutoAAI_Menu" screenGui.ResetOnSpawn = false screenGui.Parent = CoreGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 200, 0, 170) mainFrame.Position = UDim2.new(0.5, -100, 0.5, -85) mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) mainFrame.BorderSizePixel = 2 mainFrame.BorderColor3 = Color3.fromRGB(0, 255, 0) mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Position = UDim2.new(0, 0, 0, 5) title.BackgroundTransparency = 1 title.Text = "auto AAI killer" title.TextColor3 = Color3.fromRGB(0, 255, 0) title.Font = Enum.Font.Code title.TextSize = 16 title.Parent = mainFrame local killLabel = Instance.new("TextLabel") killLabel.Size = UDim2.new(1, -20, 0, 20) killLabel.Position = UDim2.new(0, 10, 0, 35) killLabel.BackgroundTransparency = 1 killLabel.Text = "Kills: 0" killLabel.TextColor3 = Color3.fromRGB(0, 255, 0) killLabel.Font = Enum.Font.Code killLabel.TextSize = 14 killLabel.TextXAlignment = Enum.TextXAlignment.Left killLabel.Parent = mainFrame local statusLabel = Instance.new("TextLabel") statusLabel.Size = UDim2.new(1, -20, 0, 20) statusLabel.Position = UDim2.new(0, 10, 0, 55) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Status: IDLE" statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0) statusLabel.Font = Enum.Font.Code statusLabel.TextSize = 12 statusLabel.TextXAlignment = Enum.TextXAlignment.Left statusLabel.Parent = mainFrame local hopLabel = Instance.new("TextLabel") hopLabel.Size = UDim2.new(1, -20, 0, 30) hopLabel.Position = UDim2.new(0, 10, 0, 75) hopLabel.BackgroundTransparency = 1 hopLabel.Text = "" hopLabel.TextColor3 = Color3.fromRGB(0, 255, 0) hopLabel.Font = Enum.Font.Code hopLabel.TextSize = 12 hopLabel.TextXAlignment = Enum.TextXAlignment.Left hopLabel.TextWrapped = true hopLabel.Visible = false hopLabel.Parent = mainFrame local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(1, -20, 0, 30) toggleBtn.Position = UDim2.new(0, 10, 0, 80) toggleBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0) toggleBtn.BorderSizePixel = 0 toggleBtn.Text = "OFF" toggleBtn.TextColor3 = Color3.fromRGB(0, 255, 0) toggleBtn.Font = Enum.Font.Code toggleBtn.TextSize = 14 toggleBtn.Parent = mainFrame local killBtn = Instance.new("TextButton") killBtn.Size = UDim2.new(1, -20, 0, 30) killBtn.Position = UDim2.new(0, 10, 0, 120) killBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0) killBtn.BorderSizePixel = 0 killBtn.Text = "KILL SCRIPT" killBtn.TextColor3 = Color3.fromRGB(0, 255, 0) killBtn.Font = Enum.Font.Code killBtn.TextSize = 14 killBtn.Parent = mainFrame local function doServerHop() if _G.InfiniteYield and _G.InfiniteYield.ServerHop then _G.InfiniteYield.ServerHop() else pcall(function() local TeleportService = game:GetService("TeleportService") TeleportService:Teleport(game.PlaceId, LocalPlayer) end) end end toggleBtn.MouseButton1Click:Connect(function() enabled = not enabled toggleBtn.Text = enabled and "ON" or "OFF" if enabled then local char = LocalPlayer.Character if char then local hum = char:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then hum.Health = 0 end end else askingHop = false hopLabel.Visible = false toggleBtn.Position = UDim2.new(0, 10, 0, 80) killBtn.Position = UDim2.new(0, 10, 0, 120) mainFrame.Size = UDim2.new(0, 200, 0, 170) end end) killBtn.MouseButton1Click:Connect(function() running = false enabled = false if screenGui then screenGui:Destroy() end end) UIS.InputBegan:Connect(function(input, gpe) if gpe or not running then return end if input.KeyCode == Enum.KeyCode.RightShift then mainFrame.Visible = not mainFrame.Visible end if input.KeyCode == Enum.KeyCode.F1 and askingHop then askingHop = false statusLabel.Text = "Status: HOPPING..." doServerHop() end if input.KeyCode == Enum.KeyCode.F2 and askingHop then askingHop = false statusLabel.Text = "Status: SEARCHING..." hopLabel.Visible = false toggleBtn.Position = UDim2.new(0, 10, 0, 80) killBtn.Position = UDim2.new(0, 10, 0, 120) mainFrame.Size = UDim2.new(0, 200, 0, 170) wasSearching = true end end) local function findCheater() for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer then local prefix = autoTargetPrefix:lower() local pName = plr.Name:lower() if string.sub(pName, 1, string.len(prefix)) == prefix then return plr end end end return nil end RunService.Heartbeat:Connect(function() if not running or not enabled then return end local cheater = findCheater() if cheater then if targetPlayer ~= cheater then targetPlayer = cheater hasTeleported = false isTargetDead = false end statusLabel.Text = "Status: LOCKED ON" wasSearching = false if askingHop then askingHop = false hopLabel.Visible = false toggleBtn.Position = UDim2.new(0, 10, 0, 80) killBtn.Position = UDim2.new(0, 10, 0, 120) mainFrame.Size = UDim2.new(0, 200, 0, 170) end else if targetPlayer then targetPlayer = nil wasSearching = true elseif not wasSearching and not askingHop then askingHop = true statusLabel.Text = "he's not here lol" hopLabel.Text = "Hop to another server?\n[F1] Yes [F2] No" hopLabel.Visible = true toggleBtn.Position = UDim2.new(0, 10, 0, 110) killBtn.Position = UDim2.new(0, 10, 0, 150) mainFrame.Size = UDim2.new(0, 200, 0, 200) end end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return end if tick() - lastReset < 3 then return end if not targetPlayer then return end local tChar = targetPlayer.Character if not tChar then return end local tHum = tChar:FindFirstChildOfClass("Humanoid") if not tHum or tHum.Health <= 0 then if not isTargetDead then isTargetDead = true targetPlayer = nil killCount = killCount + 1 killLabel.Text = "Kills: " .. killCount statusLabel.Text = "Status: TARGET DEAD" wasSearching = false if hum and hum.Health > 0 then hum.Health = 0 lastReset = tick() end end return else if isTargetDead then isTargetDead = false hasTeleported = false end end local tool = char:FindFirstChild("Sword") if not tool and LocalPlayer.Backpack:FindFirstChild("Sword") then local now = tick() if now - lastEquip > 0.5 then hum:EquipTool(LocalPlayer.Backpack.Sword) lastEquip = now end return end if tChar:FindFirstChildOfClass("ForceField") then return end local hrp = char:FindFirstChild("HumanoidRootPart") local tHrp = tChar:FindFirstChild("HumanoidRootPart") if not hrp or not tHrp or not tool or not tool:FindFirstChild("Handle") then return end local myFF = char:FindFirstChildOfClass("ForceField") if myFF then hrp.CFrame = CFrame.new(tHrp.Position, tHrp.Position + tHrp.CFrame.LookVector) if not hasTeleported then hasTeleported = true end end local now = tick() if now - lastAttack >= attackRate then if (hrp.Position - tHrp.Position).Magnitude < 10 then for _, part in ipairs(tChar:GetDescendants()) do if part:IsA("BasePart") then pcall(firetouchinterest, tool.Handle, part, 0) pcall(firetouchinterest, tool.Handle, part, 1) end end end lastAttack = now end end)