function GroupService.IsPrimaryGroupAsync(e,Y,b)for Y,e in ipairs(GroupService:GetGroupsAsync(Y))do if e.Id==b and e.IsPrimary then return true end end return false end

function GroupService:IsPrimaryGroupAsync(Player, GroupID)
	for _, Group in ipairs(GroupService:GetGroupsAsync(Player)) do
		if Group.Id == GroupID and Group.IsPrimary then
			return true
		end
	end

	return false
end
