i'm designing a custom health gui because I despise the current one
while (true) do -- repeats to find health health = game.Workspace:findFirstChild(script.Parent.Parent.Parent.Parent.Parent.Name).Humanoid.Health.Text = script.Parent.Text -- is Humanoid.Health.Text right or does it need to be changed to value? return end
I'm not on the studio right now to check if humanoid.Health is a text or value
while (true) do -- repeats to find health player = script.Parent.Parent.Parent.Parent.Parent if player.Character and player.Character:FindFirstChild("Humanoid") then script.Parent.Text = tostring(player.Character.Humanoid.Health) -- converts the Health NumberValue to a string. end end