my health gui text has a decimal point but i don’t know why
Could you please show a screenshot or other media that will help.
1 Like
Can you please be more descriptive about your problem?
If I was to guess I would probably say you are directly using the Humanoid.Health which is usually in decimals you should use math.floor to resolve it.
Yea exactly what I suspected, math.floor(Humanoid.Health)
Use math.floor()
to round it down.
Its simply not a whole number, that is why it has a decimal point. You can use math.floor which returns the largest integer smaller than or equal to the number that is passed.