Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why is my GUI resetting again when it didn't before?

So I had an issue before where I would add a new Frame to one of my GUIs when the player would take a quest. When I would die or Reset, the Frame would disappear. I found out the it was because the GUIs reset when you die. So I used this:

  game:GetService("StarterGui").ResetPlayerGuiOnSpawn = false

It worked. But for some reason it has stopped working and my GUI now resets. Has something changed with how the GUIs function on reset now?

3 comments

0

According to the Roblox Developer Hub, ResetPlayerGuiOnSpawn is already deprecated.

0

Scripts only run once, is this a loop? Try changing the property in studio instead

0

Yes ^, change it in Studio.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.