I've been trying some things with scoreboard lately and I always get to the point where I need to use the following commands.
/scoreboard players set @a Holding 0
/scoreboard players set @a Holding 1 {DataTag}
/execute @e[score_Holding_min=1] ~ ~ ~ /summon LightningBolt ~ ~ ~
People tell me to connect these to the same setblock clock but in order. I do that this way.
But nothing happens. The problem seems that the Holding score is set back to 0 too fast for the execute command to work. Does anyone know how to make this setup work?
/execute
? Just an idea to reset after executing.