Team Selector With Group Support

Hello! I am a person who has a border game, and I want a custom team selector gui. Basically, when you press the “Team” Button, it would pop up this menu.


(Just not in russian, but in english)
After so, I need it to make sure, that when you are not in the specific group that you cannot join the team. How do I make such a gui? I have no skills in making these guis and need help.
If you can, please help, I will be very grateful.

Thank you.

https://create.roblox.com/docs/reference/engine/classes/Player#IsInGroup

1 Like

I still dont know how to make it, thats why I am asking for help :slight_smile:

It shouldn’t be too hard to figure out how to use the method.
The IsInGroup method returns true if the player is in the group you specified, using the group id.
Use this in an if statement inside the MouseButton1Click event of each team select button, if they need to be in a certain group to join the team.

Also I just realized this is the wrong category, move this to #help-and-feedback:scripting-support.