CreateClientConVar("ESP", 0, true, false) CreateClientConVar("ESPWep", 0, true, false) CreateClientConVar("ESPHealth", 0, true, false) CreateClientConVar("ESPName", 0, true, false) CreateClientConVar("ESPArmor", 0, true, false) surface.CreateFont( "font10", { font = "Arial Bold", size = 10 } ) surface.CreateFont( "font12", { font = "Arial Bold", size = 12 } ) surface.CreateFont( "font14", { font = "Arial Bold", size = 14 } ) surface.CreateFont( "font16", { font = "Arial Bold", size = 16 } ) surface.CreateFont( "font18", { font = "Arial Bold", size = 18 } ) surface.CreateFont( "font20", { font = "Arial Bold", size = 20 } ) local function ESP() if tobool (GetConVarNumber("ESP")) then for k, v in pairs (player.GetAll()) do local pos = (v:EyePos() + Vector(0, 0, 35)):ToScreen() local col = team.GetColor (v:Team()) or Color (255, 255, 255, 255) local outcol = Color (255, 255, 255, 255) local hcol = Color (255, 0, 0, 255) local houtcol = Color (255, 255, 255, 25) local acol = Color (0, 0, 255, 255) local aoutcol = Color (255, 255, 255, 25) local wcol = Color (255, 0, 0, 255) local woutcol = Color (0, 0, 0, 255) local wep = v:GetActiveWeapon() local wepName = "" if IsValid( wep ) then if wep.Printname then wepName = wep.PrintName else wepName = wep:GetClass() end end if not v:Alive() then col = Color (255, 255, 255, 100) outcol = Color (75, 0, 0, 255) end if v != LocalPlayer() then if tobool (GetConVarNumber("ESPName")) then draw.SimpleTextOutlined( v:Nick(), "font16", pos.x, pos.y, col, 1, 1, 1, outcol) end if tobool (GetConVarNumber("ESPHealth")) then draw.SimpleTextOutlined( v:Health(), "font12", pos.x, pos.y + 15, hcol, 1, 1, 1, houtcol) end if tobool (GetConVarNumber("ESPArmor")) then draw.SimpleTextOutlined( v:Armor(), "font12", pos.x + 25 , pos.y + 15, acol, 1, 1, 1, aoutcol) end if tobool (GetConVarNumber("ESPWep")) then draw.SimpleTextOutlined( wepName, "font10", pos.x, pos.y - 15, wcol, 1, 1, 1, woutcol) end end end end end hook.Add ("HUDPaint", "ESP", ESP)