This is for a on-screen health bar. Sometimes, when its auto-healing, it shows something like, 87.39293478289901283/99 health. Is there any way to stop that?
repeat wait() until game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
while wait() do
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character:WaitForChild("Humanoid")
script.Parent.Size = UDim2.new(Humanoid.Health/Humanoid.MaxHealth,0,1,0)
script.Parent.Parent.Version.Text = Humanoid.Health.."/"..Humanoid.MaxHealth
end
If there's anything I can do, please inform me. Thanks!

2 comments
Yeah I just learned that from a yt video after seeing EpicMetatableMoment's post. I'll mark this as the answer, though, if anyone else stumbles upon this post.
I like you.