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

How do I check a certain player's rank in a group without them being in a game?

Asked by 7 years ago

For example, if I was in a group and ranked 255, then the script would check that, and a brick would appear when someone joined. If I wasn't the owner of that group, then when someone would join no brick would appear. The brick part is just an example, just curious on how you would check someone's rank when they're not in game.

1 answer

Log in to vote
0
Answered by 7 years ago

You can use the group service function GetGroupsAsync which does not require the player to be online.

You simply need to know the user id which can be obtained from the players service by using the function GetUserIdFromNameAsync.

Ad

Answer this question