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 2 years ago
Edited 2 years 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 2 years ago
Edited 2 years 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 — 2y
Ad
Log in to vote
1
Answered by 2 years 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 — 2y

Answer this question