Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Base()
- draw.RoundedBox(6, ScrW() - 400 - 915, ScrH () - 125 - 10, 235, 150, Color(51, 102, 153, 195))
- draw.RoundedBox(6, ScrW() - 1287, ScrH () - 133, 200-20, 20, Color(100,100,100,200))
- draw.RoundedBox(6, ScrW() - 1287, ScrH () - 110, 200-20, 20, Color(100,100,100,200))
- local DrawHealth = LocalPlayer():Health() or 0
- local EchoHealth = LocalPlayer():Health() or 0
- if DrawHealth > 100 then DrawHealth = 100 end
- if DrawHealth < 0 then DrawHealth = 0 end
- if DrawHealth != 0 then
- draw.RoundedBox(6, ScrW() - 1287 + 2, ScrH () - 133 + 2, (200-24) * DrawHealth / 100, 20-4, Color(255,0,0,255))
- end
- draw.DrawText( "Health: "..EchoHealth, "Trebuchet18", ScrW() - 1287 + 2, ScrH () - 133 + 2, Color(255,255,255,255))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement