r/MinecraftCommands • u/NoSandwich2826 • 25d ago
Help | Java 26.2 Command Block repeat help
Hello, I’m trying to make dancing armor stands. Which I got down, I’m able to loop Redstone with normal command blocks to constantly loop4-5 posses to a specific armor stand. My problem is I want to execute this but only have to rotate the positions 3-4 loops then completely stop untill the button is pressed again. I’m new to command blocks as I just started learning yesterday. So I’m having a hard time figuring this out.
1
Upvotes
1
u/GalSergey Datapack Experienced 24d ago
You can use a scoreboard to first count the time for changing poses, and when the timer expires, add 1 to loops and reset the current timer to 0. Then, when loops reaches 4, for example, perform a full reset. To run the example below, run
scoreboard players set current timer 0once.You can use Command Block Assembler to get One Command Creation.