how to make a team gui that needs a group rank to join that team?
✓ ANSWER ACCEPTED
how to make a team gui that needs a group rank to join that team?
1 answer
✓ Accepted answer
What you want to do here is make an if statement to determine whether or not they are in a specific group. You can do this by using player:GetRankInGroup() like this
if player:GetRankInGroup(groupid) == rankid then
print("this guy has a rank higher than [number]!")
end
Group ID = ID of group on website Rank ID = That number beside a rank in the group
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I've provided an link for you. This link will help you with getting the rank of the player's rank in group. Just use if and then statement and you should be good. https://developer.roblox.com/en-us/api-reference/function/Player/GetRankInGroup