I made a health bar gui, and I want it to show the amount of health you have, but when I get damaged it shows a long decimal. How do I use math.floor to round the value?
math.floor
uses one argument, which is the number you want to ROUND DOWN, for example
HealthNumberTextlabel.Text = math.floor(Health)
There's also math.ceil
, if you want to round a number upwards.