How do you make TNT spawn on you every 10 seconds in Minecraft with command blocks? I've looked at multiple reddit posts, but they didn't seem to work. The other solutions did not work, as after the timer scoreboard reached the point nothing happened
31 Answer
Do this command once (by hand or in a command block, it doesn't matter)
scoreboard objectives add tntTimer dummySet up a line of 3 command blocks. The first one should be repeating, and all the rest should be chain command blocks. Power them all with redstone or set them to Always Active. Put these three commands in them.
execute as @a[scores={tntTimer=..0}] at @s run summon tnt ~ ~ ~ {Fuse:80}
scoreboard players set @a[scores={tntTimer=..0}] tntTimer 200
scoreboard players remove @a tntTimer 1 1