How come my Humanoid.Health rises in increments with weird decimals?

Hey Developers,

I am currently trying to make an overhead health UI, yet whenever I start healing naturally, this happens:


Any ideas on how to fix this? Thanks!

Round the health number as I believe it is a double value:

HPLabel.Text = math.floor(game.Players.LocalPlayer.Humanoid.Health);

Trying that out right now, will update.

Worked, thank you! Will mark this post as sln.

1 Like