it's all written at the end...```
on place:
if player does not have permission "block.gone":
add event-location to {blocks::}
set {blocktimer::%event-location%} to 10
every 10 second:
loop {blocks::}:
if {blocktimer::%loop-value%} > 0:
remove 1 from {blocktimer::%loop-value%}
else:
remove loop-value from {blocks::*}
delete {blocktimer::%loop-value%}
set block at location of loop-value to air
on block break:
"make it so on the break block event only blocks that are part of the evnt can be broken"```