I Want the script make the UI disappear if the player is died
Script: https://prnt.sc/xdsihy
Explorer printscreen: https://prnt.sc/xdsist
Writed script:
local Humanoid = game.Workspace:FindFirstChild("Humanoid")
local Texto1 = game.StarterGui.Eba.Texto1
if Humanoid.Health == 0 then
Texto1.Visible = false
print("Yay")
end
question from:https://stackoverflow.com/questions/65832201/whats-the-error-of-this-script-i-dont-know-it