whoops i forgot to set the variables
HeroX is your hero's x position
HeroY is the y position
Health is the current health
MaxHealth is the maximum health
CircleRadius is how big you want the circle to be
try this when ive set the variables
maxhealth = 100
health = 100
circleradius = 10
herox = 320
heroy = 240
CircleHealth = (Health / MaxHealth) * 360
ActualHealth = 90 - CircleHealth
ink rgb(255,0,0),0
for x = 90 to ActualHealth step -1
ox = cos(x) * CircleRadius
oy = sin(x) * CircleRadius
dot HeroX + ox, HeroY + oy
next x
wait key
will check rough draft later kinda busy