Allied group name tags

Hello everyone, ok so I’ve been looking around but haven’t found any solutions to this question. I was wondering how I’d go about making a name tag that was linked to a group instead of the group that It’s linked to having the rank on there it would be you’d have the rank of any of that groups allies ranks if you had any. If not it wouldn’t show anything. Thanks so much from John. :smiley:

1 Like

You can get a list of a group’s allies using GroupService.GetAlliesAsync. That page even has an example of how to check whether someone’s an ally or not here, and with some simple changes you can check which ally group they’re a part of. You’d just change the isAlly = true part and get rid of the enemy loop and if statements.

4 Likes