GUI reappearing after death problem

Basically, i have a main screen UI, and a play script that sets the UI’s Enabled property to false everytime you click play.

My problem is the UI even with ResetOnSpawn turned true, when the player dies and respawns the UI is still not appearing.

I know that may be a simple problem but i can’t find a simple solution.

Can anyone help me? Thanks! :slightly_smiling_face:

I’d appreciate if you showed us your script because this is scripting support

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Parent.Enabled = false
end)

As simple as it goes

Try turning off reset after spawn on the screen gui

1 Like

If you make it disabled it may be trying to reset on spawn but it’s not Enabled. Try making a script with player.CharacterAdded that makes it Enabled instead of using ResetonSpawn.

3 Likes

What you could do is have the script make sure that the GUI is enabled when they respawn.

CharacterAdded

TYSM. idk y I never thought of that. Although I had to fix other things through the programming cause I turned it off, but thanks :smiley: