How do make a Gui popup after you die and respawn and the GUI is still there I tried this
game.Players.LocalPlayer.Character:WaitForChild('Humanoid').Died:connect(function()
script.Parent.Frame.Visible = true
end)
and yes it works but it disappears after the player respawns, So I heard you can tweak player's respawn time in This article so what if I set the respawn delay to like 100000 and if the Gui button is pressed the delay will be set to 0.1 or something like that, I don't know how to do all of this stuff so if you could explain it to me or solve it will be greatly appreciated

5 comments
I didn't mean it like that!!! I meant once a player dies he will get a popup that will no go as long as he doesn't close the Gui window so the "X" button
So I understand that you want a GUI to pop up when a player dies, but then you don't want the player to respawn until they close that GUI.
I already edited my answer. Feel free to ask questions.
Hello LoveSpeaksOutTruth tysm for your answer, but it didn't quite work! I screenShot my studio so you get a better understanding of my layout in here https://ibb.co/RBhRJ4R when I put your local script under my frame it doesn't show the Gui as agian I want the Gui To stay there until the player chooses the option "X" Close" and then he respawns and that's it. Sorry if I am asking too much
Thank you for the screenshot because it helped. I tried something different, and it worked when I tested it out. Keep asking if you need help because it doesn't bother me at all!