I make a system quest, player get mission, gui will clone() from replicated storage to PlayerGui.ScreenGUI. But when player die, this gui disappear. How can i save it or load it when player respawn ? I need an idea
1 Like
Not sure if this is what you’re looking for, but there’s a ResetOnSpawn property of ScreenGui.
2 Likes
Instead of cloning a GUI, you could parent it in StarterGui, have it’s Enabled
property turned off, have the ResetOnSpawn
property turned off, then just enable that GUI instead of cloning a new one.
2 Likes
i dont know it, how to use it ?
How do i use ResetOnSpawn ? A script in ServerScript ?
Here is an script you can put in the gui you want to reset on spawn.
Reset on spawn means it becomes visible on spawn again, change “MyGui” to the name of the gui you want to reset on spawn.