How do I make a GUI above the player’s head that says their group rank? I have already tried some youtube tutorials but it just gives the GUI to everyone regardless if they have joined the group or not.
I would suggest using this Group function:
playerobject:GetRankInGroup() -- First argument GroupId
You will actually want to use :
Player:GetRoleInGroup(groupId)
make an if statement to see if they are in the group
local role = Player:GetRoleInGroup(groupId)
if Player:IsInGroup(groupId) then
--do stuff
end
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.