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

Can you get the Rank of a Role in a group?

Asked by
Maxomega3 106
10 years ago

Let's say you have a role in a group that you can easily get from :GetRoleInGroup (), right? Is there any way you can take that role and use it to find its rank? I mean all roles have corresponding ranks.

0
Or, if not, can you still check if it's greater than another? i.e. if game.Players.LocalPlayer:GetRoleInGroup (2) >= "Admin" then Maxomega3 106 — 10y

1 answer

Log in to vote
0
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
10 years ago

Use :GetRankInGroup() to get a player's rank ID.

0
.-. I know that. Maxomega3 106 — 10y
Ad

Answer this question