Question: how to make a command block delay?
Answer: For example, if you want a delay of 5 seconds, you would put 101 there since 5sec * 20 tick/sec + 1 = 101 . Replace {entity} with the selector for the entity that you want to run the command. For example, @e[type=ArmorStand,name=Bob] . The command in the second command block is up to you to.