I'm making an intro, and it has stuff like: Play, Options, Store, Credits, etc..
However, like some games. I don't want it to show up, every time you die. How do i make it where ONLY when you (any player in the game) joins, and they can't see it again, unless they leave and join back.
I'm not looking for a model, looking for guidance to making the script myself. Thanks in advance!
You might want to have your GUI in ServerStorage and do what I tell you. Make a new normal script in Workspace and type the code below. Just make sure you change the NAMEHERE to your Gui name.
I hope this helped.
1 | game.Players.PlayerAdded:connect( function (newPlayer) |
2 | wait() |
3 | GUI = game.ServerStorage.NAMEHERE:Clone() |
4 | GUI.Parent = newPlayer.PlayerGui |
5 | end ) |