I'm making a randomizer that randomly clones 1 of the 9 units to all armorstands called "chunk". Inside every unit is an armor_stand called "Unit" and this is the command I used:
execute @e[type=armor_stand,name=chunk] ~ ~ ~ execute @r[type=armor_stand,name=Unit] ~ ~ ~ clone ~-3 ~-1 ~-3 ~3 ~5 ~3 ~ ~15 ~
What this does is, it clones a unit 15 blocks above itself but I want it to clone ~-3 ~15 ~-3
above every armor_stand called "chunk"
You can see a random unit is clone ~ ~15 ~
above the armor_stand calling unit.
The armor_stand you can see is called "chunk".