Gui doesnt appear after 30 seconds

Hello guys ive been developing a slenderman game for like few months and when im trying to do to detect a player that if survived 30 seconds in-game without getting the health 0 and a “You Survived” gui appears and i did it but that is not working and theres no errors in output so im thinking like probably i wrote the “Wait (30)” to wrong section or theres another problem? I would be appreciated if someone can help me
Ekran görüntüsü 2024-03-13 080943

i think the loop is also looping the wait(30) so it will never finish but im not a scripter so i dont really know

ooooh thats really makes sense but it would be better if a scripter reply, thanks anyway!

1 Like

This is because you are changing the Enabled Property inside of StarterGui and not the PlayerGui.

Change it to:

player.PlayerGui.svStatus.Enabled = true

Also this is false, the loop will wait 30 seconds until it will start continuing the code

2 Likes

Thank you for correcting me, I am foolish

It worked. Thank you so much dude, I’d appreciate it.

Also thank you too to trying to help me

1 Like

No problem, Sorry I spread misinformation

It is okay, my problem solved anyway so theres no need to apologise.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.