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

how to make a team gui that needs a group rank to join that team?

Asked by 5 years ago

how to make a team gui that needs a group rank to join that team?

1
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 DesignerOfGames -7 — 5y

1 answer

Log in to vote
0
Answered by
Joshument 110
5 years ago

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

Ad

Answer this question