How Do I Use /scoreboard To Change Clone or Tp Coordinates

I don't really know how to explain this, but here goes. I'm working on a map. I have a huge 20x1x200 area, and I'm cloning it into a 20x1x20 area. The command goes a little like this:

/clone 12 104 -55 14 124 -91 46 121 24

then

/clone 12 104 -54 14 124 -90 46 121 24

then

/clone 12 104 -53 14 124 -89 46 121 24

And so on. Is there someway to do this with a couple of Command blocks? I'm not really in the mood to paste this into 250 command blocks.

Hope you guys understand, any help would be greatly appreciated!


Solution 1:

This is both possible and a late answer.

I don't know too much about it, but I believe you can use /execute. This will run the command from the perspective of an entity, so the relative coordinates will be centred on the entity, rather than the source from which the command was run.

Something like this should work, replacing the coordinates and removing the brackets: /execute @p ~ ~ ~ clone (<x1> <y1> <z1>) (<x2> <y2> <z2>) (<x3> <y3> <z3>)

So, for the final set of coordinates (x3,y3 and z3), you can use the ~ to clont relative to the player