So this script basically makes it so your health is shown , i do have another one that refreshes it every time humanoid's health gets changed but it's not important here.
wait() local players = game:GetService("Players") local player = players.LocalPlayer local character = player.Character local humanoid = character:WaitForChild("Humanoid") local hp = humanoid.Health local maxhp = humanoid.MaxHealth local frame = script.Parent frame.Text = hp .."/" .. maxhp
The problem is this: Every time the humanoid takes some damage that's not an integer, the text shows a number with a big amount of decimals. How do i round up all those numbers to integers?