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")
In the Explorer tab, there is a property on the ScreenGui called ResetOnSpawn. Disable that tick.