What's the problem with this?
1 | if Player:isInGroup(v) and Player:GetRankInGroup(v) = = for i,v in pairs (rankid) then |
Try this:
1 | for i, v in pairs (rankid) do |
2 | if Player:IsInGroup(v) and Player:GetRankInGroup(v) > 1 then -- Check the rank in group (1 - 255) if its over 1 continue. |
3 | -- do stuff |
4 | end |
5 | end |