check player role in group code example
Example: check player role in group
game.Players.PlayerAdded:Connect(function(player)
print("The Player Role in The Group is " .. player:GetRoleInGroup(0))
end) -- Chnage "0" With Group ID
game.Players.PlayerAdded:Connect(function(player)
print("The Player Role in The Group is " .. player:GetRoleInGroup(0))
end) -- Chnage "0" With Group ID