function ENT:Draw() local sc = self:LocalToWorld(self:ObbCenter()):ToScreen() for k,v in pairs(player.GetAll()) do if sc.visible then local dist = math.Round(v:GetPos():Distance(self:GetPos()) / 16) //16 units per foot local w,h = ScrW(), ScrH() surface.SetDrawColor(0, math.random(50,200), math.random(50,200), 220) surface.DrawLine(sc.x-4, sc.y-4, sc.x+4, sc.y+4) surface.DrawLine(sc.x-4, sc.y+4, sc.x+4, sc.y-4) draw.DrawText(TimeFormat(CurTime(),CureTime), "HudInfo", sc.x, sc.y + 16, color_white,1,1) draw.DrawText(dist.." feet", "HudInfo", sc.x, sc.y + 28, color_white,1,1) end endend