Player and NPC Aimbot
Key Required

Player and NPC Aimbot

Noobs Vs Zombies: Legions (Beta)Guest_PsychicGuest_Psychic 14K views 197 executesUpdated Apr 14, 2025
2.5/ 5(4 votes)
2250% Positive
Lua Script•64 lines (2317 chars)
local fov = 150
local smoothing = 1
local ignoredTeam = "Zombies" -- change this to your team name, EX: "Noobs", "Zombies", "Militant", "Rebel"

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera

local FOVring = Drawing.new("Circle")
FOVring.Visible = true
FOVring.Thickness = 2
FOVring.Radius = fov
FOVring.Transparency = 1
FOVring.Color = Color3.fromRGB(255, 255, 255)
FOVring.Position = Camera.ViewportSize / 2

local function getClosest(cframe)
    local ray = Ray.new(cframe.Position, cframe.LookVector).Unit
    local target = nil
    local mag = math.huge

    for _, npc in pairs(workspace.NPCs:GetChildren()) do
        local humanoid = npc:FindFirstChild("Humanoid")
        local head = npc:FindFirstChild("Head")
        local root = npc:FindFirstChild("HumanoidRootPart")
        local teamValue = npc:FindFirstChild("TEAM") -- TEAM is expected to be a StringValue

        if humanoid and humanoid.Health > 0 and head and root then
            if not teamValue or teamValue.Value ~= ignoredTeam then
                local magBuf = (head.Position - ray:ClosestPoint(head.Position)).Magnitude
                if magBuf < mag then
                    mag = magBuf
                    target = npc
                end
            end
        end
    end

    return target
end

loop = RunService.RenderStepped:Connect(function()
    local pressed = UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)
    local cam = Camera
    local center = cam.ViewportSize / 2

    if pressed then
        local curTarget = getClosest(cam.CFrame)
        if curTarget and curTarget:FindFirstChild("Head") then
            local screenPoint, onScreen = cam:WorldToScreenPoint(curTarget.Head.Position)
            local ssHeadPoint = Vector2.new(screenPoint.X, screenPoint.Y)
            if onScreen and (ssHeadPoint - center).Magnitude < fov then
                cam.CFrame = cam.CFrame:Lerp(CFrame.new(cam.CFrame.Position, curTarget.Head.Position), smoothing)
            end
        end
    end

    if UserInputService:IsKeyDown(Enum.KeyCode.Minus) then
        loop:Disconnect()
        FOVring:Remove()
    end
end)

Features & Information

Textbook aimbot, locks onto heads on both players and NPCs right click to use Press - or * in your keyboard to disconnect the script Change the team to your team on top for it to work properly
#Aimbot#NPC#Aimlock

Community Comments (4)

Guest_PsychicGuest_PsychicApr 14, 2025(edited)

>be someonedie >wake up >take a * >get out of bed

kevinmason2221819kevinmason2221819Jul 26, 2025

i was skeptical first since its a ai script, but it turns out to be good i like how it even locks onto real players the only problem is it doesnt lock onto air vehicles

Holy *, so AI Plus is actually an account stealer. I checked it myself guys, don’t use it. That stuff is trash.

Replying to @YourCodeMyClipboard
Guest_PsychicGuest_PsychicApr 26, 2026

@YourCodeMyClipboard i disliked your script and you came to dislike every single script i have uploaded and make bad comments on it.

More Scripts for Noobs Vs Zombies: Legions (Beta)