I have recently made an obby and wanted to also add in a prompt for users to favorite the game just for the better ratio. I am able to prompt it using a local script in StarterGui, but every time the user dies, it prompts.
I have tried to break the script, but I am rather new to scripting, and maybe I messed up the script itself or it just doesn’t work that way. If anyone could offer me assistance, I’d be very appreciative.
Where is the LocalScript parented to? If it’s parented to a ScreenGui with ScreenGui.ResetOnSpawn being set to true, then this might be why.
So either parent the LocalScript to StarterPlayer, or change the ScreenGui.ResetOnSpawn property to true.