Hello, this is easy, i made a script but i see nothing wrong with it, but i dont see the textlabel changing text :(
StarterGui(folder) Health(ScreenGui) health(TextLabel) healthcheck(normal Script)
the healthcheck script:
while true do
script.Parent.Text = script.Parent.Parent.Parent.Parent.Character.Humanoid.Health
wait(1)
end
why this no work? parent of that is health, perent of that is Health, parent of that is StarterGui, last .Parent is Parent of StarterGui, which when playing, is the Player, then Character is its character then humnaoid then health, i see no errors, but why doesnt it set the variable when i damage myself by touching a testbrick i made that takes away 50 health? the health take away thing works, for the default health bar, but the number for textlabel doesnt show health! By the way right now im more focused on number and i dont care about rounding it to a whole number... please help

2 comments
whats the error?
use localplayer instead of 'script.Parent.Parent.Parent', it's just ridiculous to read