Darkrp HUD Help

That link is a DarkRP HUD for health.
Does anyone know how to make one for armor.

Pls help.

-garrysmod983

Do the same thing but with LocalPlayer():Armor() instead.

did it
local function Base()

draw.RoundedBox(6, ScrW() - 400 - 915, ScrH () - 125 - 15, 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

local DrawArmor = LocalPlayer():Armor() or 0
local EchoArmor = LocalPlayer():Armor() 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
	
		if DrawArmor > 100 then DrawArmor = 100 end
if DrawArmor < 0 then DrawArmor = 0 end
	
	if DrawArmor != 0 then
	draw.RoundedBox(6, ScrW() - 1287 + 2, ScrH () - 110 + 2, (200-24) * DrawArmor / 100, 20-4, Color(0,0,255,255))
end