So, I’ve recently received a job about making a UI.
How the UI will work is that you can insert a group ID in a textbox and once you’ve inserted you can click “Create Team”.
After you’ve created the team, anyone that joins and is within that group will be assigned to that team.
How would you go about this exactly? I really mostly struggle with the creating team with a group ID part.
1 Like
There are a number of ways you could do this, but the way I’d do it is as such:
-
Have a remote event that fires a server run function that will create a team based on group id and place players into the group accordingly.
-
When a player joins put them in the proper group
-
Fire the event when the player enters a group id into the text box.
That’s about the jist of it.
AddByGroupId.rbxl (21.8 KB)
6 Likes
Thank you for the help! I will take a look at the code for future problems.
1 Like