#How do I make my health bar gui include a percentage number?
11 messages · Page 1 of 1 (latest)
local text = tostring(hum.Health / hum.MaxHealth * 100).. '%'
textlabel.Text = text
I would also suggest adding a math.floor calculation to that too otherwise your percentages might be whack
Not wrong, but like... To the millionths
How is that done
ye u right
local text = tostring(math.floor(hum.Health / hum.MaxHealth * 100)).. '%'
textlabel.Text = text