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

How do I disable ResetGui On spawn?

I don't want the PlayerGui to reset on spawn, I want it to keep the information and everything it has. I don't see it in the StarterGui properties.

1 answer

✓ Accepted answer

If we dig into the wiki pages a little bit there are two articles of note that we will want to look at.

The first one is a deprecated property of the PlayerGui that will allow us to clone all PlayerGui guis when someone dies into their new PlayerGui (and I don't think it conflicts with StarterGui). It's because of the deprecated tag that I recommend that you don't use it.

To use supported behaviour we now look at ResetOnSpawn. When this is set true for ScreenGuis (the individual objects inside of the StarterGui) then it will clone when our player dies.

screengui.ResetOnSpawn = false -- this can also be done in the studio

One last link. The reason I was able to find these properties was by referencing this old ScriptingHelpers question.

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