#How to perfectly count stamina/health, etc for bars ui? scale X

1 messages · Page 1 of 1 (latest)

swift perch
#

stamina / maxStamina

#

Gives 0 to 1 assuming stamina is never 0 and stamina is never over maxStamina

#

Which you can use for scale in a UI

#

Same with health

#

humanoid.Health / humanoid.MaxHealth

slow steeple
#

I made a circular stamina bar a while ago that looks like BOTW's stamina, but it always had issues.

swift perch
#

RenderStepped, PropertyChanged

slow steeple
#

propertychanged

#

I am going to go ahead and assume RenderStepped is faster?