Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I make a Home GUI Disapear?

So im making a new game I've made the first 2 Gui's but Im not sure how to script them. What I need to do is:

Player joins Welcome GUI pops up, Wait 5 seconds and another screen pops up with the play button on.
How would I go about this? (Obviously it would need to pop up again if they reset)

(I have tryed a few scripts but none of them work...)

Thank you in advance

1 answer

Put the first GUI in the StarterGui with a "ZIndex" of 2 and the second one (the "play" one) in the StarterGui with a "ZIndex" of 1. (ZIndex is a property of the GUI)

Then, after the player resets, make a script that changes the second GUI, (the "play" one)'s ZIndex to 3. After the player clicks "Play" then just simply :Destroy() or :remove() (your preference) the GUI from the player's PlayerGui.

This discussion is preserved as it was. New answers, comments, and votes are closed.