local hpMin = 176
local hpMax = 135
local hpRate = hpMin-hpMax
local hp = hpMin-((getElementHealth(getLocalPlayer())*hpRate)/100)
dxDrawCircle( 220,796,113, 16,1,134,226,tocolor(0,0,0,255)) -- black bar background
dxDrawCircle( 220,796,110, 15,1,hp,hpMin,tocolor(255,0,0,255)) -- red bar ( HP )