Hello,
First off, thank you for your time.
Secondly, the title explains it all but I will explain it some more below, let's go.
So I want to make a row spawn (this part works) with ten boxes, red boxes are deadly, green boxes are okay to pass through. Now on spawn a frame gets chosen, frame 0 is red and frame 1 is green. But now they just get randomly placed in the row of ten. So sometimes there are three green boxes next to each other but sometimes they are all green or 6 of the boxes are green.
So how do I make it so three boxes (max) are green in a row of ten and the three boxes must be next to each other at all times but the position in the row changes on every spawn.
I hope this is clear, if not please let me know.
Again, thank you for your time (and help).