local Settings = { Chams = true, HealthBar = true } local Weapons = { "SKS", "DVL-10 M2", "Desert Eagle", "MP5", "Heart Breaker", "The Powder Gun", "Firework Gun", "ICE AKM", "M27 IAR", "M249", "M1891", "PPSH 41", "STG-44", "Santa's M249", "AK-74", "AKM", "Skorpion vs. 61", "M4A1", "AA-12", "AK12 1P71", "Love at First Blast", "Sten Gun", "Remington 8780", "AKS-74U", "M16A1", "Glock 19Switch", "M1014", "FAMAS G1", "G36E", "M4A1 MODDED", "PKM", "mp7", "MICRO UZI" } local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local function get_role(p) local char = p.Character if not char then return "Hider" end local inv = p.Backpack:GetChildren() for _, v in pairs(char:GetChildren()) do if v:IsA("Tool") then table.insert(inv, v) end end for _, v in pairs(inv) do for _, n in pairs(Weapons) do if v.Name == n then return "Seeker" end end end return "Hider" end local function create_esp(p) if p == LocalPlayer then return end local function apply(char) local root = char:WaitForChild("HumanoidRootPart", 10) local hum = char:WaitForChild("Humanoid", 10) if not root or not hum then return end local highlight = Instance.new("Highlight") highlight.Name = "chm" highlight.Adornee = char highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 highlight.Parent = char local gui = Instance.new("BillboardGui") gui.Name = "esp" gui.Adornee = root gui.Size = UDim2.new(0, 50, 0, 5) gui.StudsOffset = Vector3.new(0, 3, 0) gui.AlwaysOnTop = true gui.Parent = root local bg = Instance.new("Frame") bg.Size = UDim2.new(1, 0, 1, 0) bg.BackgroundColor3 = Color3.fromRGB(0, 0, 0) bg.BorderSizePixel = 0 bg.Visible = Settings.HealthBar bg.Parent = gui local bar = Instance.new("Frame") bar.Size = UDim2.new(1, 0, 1, 0) bar.BackgroundColor3 = Color3.fromRGB(0, 255, 0) bar.BorderSizePixel = 0 bar.Parent = bg local loop loop = RunService.RenderStepped:Connect(function() if not char.Parent or not root.Parent or hum.Health <= 0 then gui:Destroy() highlight:Destroy() loop:Disconnect() return end local role = get_role(p) local color = (role == "Seeker") and Color3.new(1, 0, 0) or Color3.new(0, 1, 0) highlight.Enabled = Settings.Chams highlight.FillColor = color bg.Visible = Settings.HealthBar local hp = math.clamp(hum.Health / hum.MaxHealth, 0, 1) bar.Size = UDim2.new(hp, 0, 1, 0) bar.BackgroundColor3 = Color3.fromHSV(hp * 0.3, 1, 1) end) end p.CharacterAdded:Connect(apply) if p.Character then apply(p.Character) end end for _, p in pairs(Players:GetPlayers()) do create_esp(p) end Players.PlayerAdded:Connect(create_esp)