Im trying to build a prison skript from the ground up and ive run into an issue with reseting the mines. I cannot get them to set the blocks in the entire area. It creates a line of blocks inbetween instead of making it fill the entire area.
My Code for it:
My Code for it:
Code:
every 10 seconds in world "Prison":
loop {mines.name::*}:
loop all blocks from {minespos1.%loop-value%} to {minespos2.%loop-value%}:
set {_block} to random element of {mines::%loop-value-1%::panel::*}
set block at loop-block to {_block}