Well I'm in need of some help with a GUI for a group. I can't quite find a way to make it a one-time GUI, where you choose your team and then it doesn't show up on your screen another time unless you rejoin. One-Time GUI if you don't understand my little term is where you, for example, click on a team to change, and despite re spawning, or refresh or whatever, it won't pop up again. I've tried deleting the gui from the player, that didn't work. I can't really think of anything else.
COMMUNITY QUESTION
Know How To Make a One-Time Gui That Lets You Choose a Team and never Re Appears?
1 answer
You should insert in a boolvalue inside the player when the player joins. Call it "ChosenTeam" or something. Now, when the player chooses a team, destroy the GUI and set ChosenTeam's value to true.
A script is also required to see if ChosenTeam's value is false to make the GUI visible when they first join.
One more thing, if you don't want the player to see the GUI again after rejoining, you'd want to use a datastore.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Apparently indenting text creates a code block?