What's the problem with this?
if Player:isInGroup(v) and Player:GetRankInGroup(v) == for i,v in pairs(rankid) then
What's the problem with this?
if Player:isInGroup(v) and Player:GetRankInGroup(v) == for i,v in pairs(rankid) then
Try this:
for i, v in pairs(rankid) do
if Player:IsInGroup(v) and Player:GetRankInGroup(v) > 1 then -- Check the rank in group (1 - 255) if its over 1 continue.
-- do stuff
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
In the future, please try to have your title be a bit less vague.