So, I was trying to find a way where the Health GUI gets a reset back to when the player is not dead anymore but when I was trying to script this, the main gui would also be resetted. Is there a way for the other GUI (ScreenGUI) not get a reset after the player resets? (or dies)
-- Local Varialbes
local ScreenGui = script.ScreenGui
local HealthGui = script.HealthGui
-- Initialization
game.StarterGui.ResetPlayerGuiOnSpawn = false
ScreenGui.Parent = Player:WaitForChild("PlayerGui")
game.StarterGui.ResetPlayerGuiOnSpawn = true
HealthGui.Parent = Player:WaitForChild("PlayerGui")

4 comments
Use the ResetOnSpawn property of ScreenGui instead. (ScreenGui.ResetOnSpawn = false)
what
So you want one gui to disapear. And another gui to not disapear?
yes, how can I make this happen?