Hello, I've got a script that makes a GUI visible when the player dies, but my problem is that when the player presses the RespawnButton it closes the gui which is good however it opens up right after because of the players Respawn Time. Is there a way to get around this? If I set it to zero it will just reopen the GUI after 0 seconds correct?
What if you just put it like 10 then when they died the UI popups right? So then it has like a timer for like 10 secs too so they will automatically spawn back if they didnt click it
well i mean you CAN just set the respawn time to more than 1200 (20 minutes), so that if the person does try to wait for respawn, the person gets kicked by the whole idle for 20 minutes thing, and set respawn time to zero, wait() and then set respawn time back to le big number when you decide the player should respawn.