1st copy the command with Ctrl a then Ctrl c 2nd paste the command in a command block 3rd make a redstone clock 4th connect the redstone clock on the command block then your done