Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I connect a team with a spawn + with group roles? (please help)

Asked by
l7mf 2
5 years ago

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?

0
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 kisty1 111 — 5y

Answer this question