Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Keep GUI's On Death?

Asked by
MixCorp 70
10 years ago

I know there is a Property of StarterGui or PlayerGui that makes it so you don't lose your GUIs on death, anyone know what that is? (May be a method to enable it too) I glanced at the wiki, but it it sort of unorganized?

1 answer

Log in to vote
2
Answered by
BlackJPI 2658 Snack Break Moderation Voter Community Moderator
10 years ago

The property you're referencing is ResetPlayerGuiOnSpawn. There is wiki documentation here.

Example:

game:GetService("StarterGui").ResetPlayerGuiOnSpawn = false
0
It has to be in a LocalScript. Tkdriverx 514 — 10y
0
@Tk "If your place is using FilteringEnabled then you have to set this property from a LocalScript." Spongocardo 1991 — 10y
Ad

Answer this question