local health = game.Players.LocalPlayer.Humanoid.Health
local text = script.Parent.TextBox.Text
while wait() do
text = "Health : ".. health.. ""
end
Console : Humanoid is not a valid member of Player What's the right way? I haven't scripted in forever so I forgot most of what I knew.

4 comments
Ok thanks
Also, do you know how to make a GUI fit the screen without any parts off screen?
The humanoid is in the character, not the character's head. game.Players.LocalPlayer.Character.Humanoid
Thanks