A question about my health bar

So I have a health bar that displays the players health.
Some times the players health has a decimal number.
Then the health bar displays the health with the decimal.
I wanted it to not display the decimal(cause it looks weird with it)
How would I do this?

for instance
players health: 10.555
health bar displays: 10

1 Like

just use math.floor:

local Humanoid = ...
Label.Text = math.floor(Humanoid.Health)
2 Likes