I see maybe you can make a counter of each colour so if one colour counter reached 8 then that colour won't be randomly selected again