Im trying to make it so the text is the same as the health and it works, but i found out that there are decimals and i dont know how to fix that, can some1 help me this is my script so far
local hi = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name) script.Parent.Text = hi.Humanoid.Health game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Humanoid.HealthChanged:connect(function() script.Parent.Text = hi.Humanoid.Health end)

1 comment
You might be better off using string formatting