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

How can I make sure the gui won't pop up if player dies?

Asked by 1 year ago
Edited 1 year ago
wait(4)

script.Parent.Parent.Prompt.Enabled = true

wait(4)

script.Parent.Parent.Prompt.Enabled = false

2 answers

Log in to vote
1
Answered by 1 year ago
Edited 1 year ago

try to going to the Gui itself and find ResetOnSpawn, tick it and make sure its false

and also make sure prompt.Enabledis set to false, because it will pop up when the player respawns

if im wrong, please justify what is the object called "prompt"

0
It work thank u blue_bunny0fficl 98 — 1y
Ad
Log in to vote
1
Answered by 1 year ago

Try disabling the script. Put this at the bottom of your script:

script.Parent.Script.enabled = false

May need to edit to work with your script also I might of not capitalize the script correctly. Hope this helps!!

0
This works too so thank u blue_bunny0fficl 98 — 1y

Answer this question