Why if a player died the playergui will be reset?

im making a gamepass
something like if the button text ~= Equip then
it will get marker place service
elseif button text == buy then
button text change to Equip

but when i died the gui reseted so the player need to buy it again

3 Likes

All screen guis have a property called ResetOnSpawn, disable it in order to keep your original screen gui.

19 Likes

You an turn that of under properties of the screenGUI

1 Like

where can i disable it?
.
.
.
.
.
.
.

i cant find it in StarterGui
.
.
.
.

You’ll be able to disable it from the ScreenGui property.

Screenshot_1
Make sure this box is unticked.

3 Likes

Go to the ScreenGui, you’re having problem with then go to it’s properties then disable it.