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.
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.