--skidded off spent hub src for esp local env = getgenv and getgenv() or _G if env.CleanupOldScript then pcall(env.CleanupOldScript) end local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Lighting = game:GetService("Lighting") local lp = Players.LocalPlayer local char = lp.Character or lp.CharacterAdded:Wait() local baseSpeed = 10 local speedMult = 1.4 local speedOn = false local lightOn = false local conns = {} local lights = {} local fogCleared = false local targets = { ai_arsonist = true, ai_bombardier = true, ai_friendlytank = true, ai_rifleman = true, ai_sniper = true, ai_stormtrooper = true, ai_tank = true, ai_zombie = true } env.CleanupOldScript = function() for _, c in ipairs(conns) do c:Disconnect() end table.clear(conns) for _, v in ipairs(lights) do if v.part then v.part:Destroy() end end table.clear(lights) for _, v in ipairs(workspace:GetDescendants()) do if v.Name == "AI_ESP" or v.Name == "AI_Tag" then v:Destroy() end end end local offsets = { Vector3.new(0, 6, 0) } for d = 110, 800, 110 do table.insert(offsets, Vector3.new(d, 6, 0)) table.insert(offsets, Vector3.new(-d, 6, 0)) table.insert(offsets, Vector3.new(0, 6, d)) table.insert(offsets, Vector3.new(0, 6, -d)) table.insert(offsets, Vector3.new(d, 6, d)) table.insert(offsets, Vector3.new(-d, 6, d)) table.insert(offsets, Vector3.new(d, 6, -d)) table.insert(offsets, Vector3.new(-d, 6, -d)) end local function toggleLights(state) if state then if not fogCleared then fogCleared = true Lighting.FogEnd = 9e9 Lighting.FogStart = 0 local atmo = Lighting:FindFirstChildOfClass("Atmosphere") if atmo then atmo:Destroy() end table.insert(conns, Lighting.ChildAdded:Connect(function(c) if c:IsA("Atmosphere") and lightOn then c:Destroy() end end)) end if #lights == 0 then for _, off in ipairs(offsets) do local p = Instance.new("Part") p.Size = Vector3.new(1, 1, 1) p.Transparency = 1 p.Anchored = true p.CanCollide = false local pl = Instance.new("PointLight") pl.Brightness = 1.5 pl.Range = 120 pl.Parent = p p.Parent = workspace table.insert(lights, { part = p, offset = off }) end end else for _, v in ipairs(lights) do if v.part then v.part:Destroy() end end table.clear(lights) end end local function addESP(obj) if not obj:IsA("Model") or not targets[obj.Name] then return end if obj:FindFirstChild("AI_ESP") then return end local hl = Instance.new("Highlight") hl.Name = "AI_ESP" hl.Adornee = obj hl.FillColor = Color3.fromRGB(255, 0, 0) hl.OutlineColor = Color3.new(1, 1, 1) hl.FillTransparency = 0.5 hl.Parent = obj local root = obj:FindFirstChild("Head") or obj:FindFirstChild("HumanoidRootPart") or obj.PrimaryPart if not root then return end local bb = Instance.new("BillboardGui") bb.Name = "AI_Tag" bb.Size = UDim2.fromOffset(100, 50) bb.StudsOffset = Vector3.new(0, 3, 0) bb.AlwaysOnTop = true bb.Adornee = root bb.Parent = obj local lbl = Instance.new("TextLabel") lbl.Size = UDim2.fromScale(1, 1) lbl.BackgroundTransparency = 1 lbl.Text = obj.Name lbl.TextColor3 = Color3.new(1, 1, 1) lbl.TextScaled = true lbl.Font = Enum.Font.SourceSansBold lbl.Parent = bb local stroke = Instance.new("UIStroke") stroke.Parent = lbl end for _, v in ipairs(workspace:GetChildren()) do addESP(v) end table.insert(conns, workspace.ChildAdded:Connect(function(v) task.wait(0.05) addESP(v) end)) table.insert(conns, lp.CharacterAdded:Connect(function(newChar) char = newChar end)) table.insert(conns, UIS.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.Quote then lightOn = not lightOn toggleLights(lightOn) print("lights:", lightOn) elseif input.KeyCode == Enum.KeyCode.Comma then speedOn = not speedOn print("speed:", speedOn) end end)) table.insert(conns, RunService.RenderStepped:Connect(function(dt) if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return end if lightOn and #lights > 0 then local pos = hrp.Position for _, v in ipairs(lights) do v.part.CFrame = CFrame.new(pos + v.offset) end end if speedOn then local hum = char:FindFirstChildOfClass("Humanoid") if hum and hum.MoveDirection.Magnitude > 0 then hum.WalkSpeed = baseSpeed local boost = (baseSpeed * (speedMult - 1)) * dt hrp.CFrame += hum.MoveDirection * boost end end end)) print("Loaded have fun bro :)")