How do I use LayerCollector.ResetOnSpawn?

Hello Dev Forum. My goal is to stop the Player’s Gui from resetting whenever I respawn in the game. I
tried to use LayerCollector.ResetOnSpawn, but was unable to find any help from anywhere.

Thanks, softdevv

3 Likes

On your ScreenGuis, set ResetOnSpawn to false, and they will not be deleted on respawn.

I would recommend using a PlayerScript to parent those ScreenGuis to your PlayerGui rather than relying on StarterGui, as I don’t know if it’ll copy a new instance each time. But I’ve never tried it, so you might want to check it out.

1 Like

You can just use StarterGui, you dont need to parent the GUIs

1 Like