Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can you fix the issue with this isInGroup function?

What's the problem with this?

				if Player:isInGroup(v) and Player:GetRankInGroup(v) == for i,v in pairs(rankid) then

1 comment

0

In the future, please try to have your title be a bit less vague.

1 answer

✓ Accepted answer

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.