I wanna help someone make a game and we have different teams. I'll make some GUIs where people can spawn as a driver or passenger and that people with a rank, will spawn as their group roles. How do I make it so that passengers spawn in the passengers spawn and that the drivers go to the drivers spawn (so how do I connect a team with a spawn)? And how do I make it so that people with a certain rank in the group e. g. Head of Ranks will spawn in the Head of Ranks team on the Head of Ranks spawn?
COMMUNITY QUESTION
How do I connect a team with a spawn + with group roles? (please help)
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://developer.roblox.com/en-us/api-reference/function/Player/GetRankInGroup use this to get the rank the player has in the group, after that check if it matches the "Head of Ranks" role's id in the group, if it does, then set their team to Head of Ranks