Thread:WhyNotSameEmail/@comment-37810943-20190608163547/@comment-36796393-20190618153403

And for the command itself. Use /setblock

Remove blocks by using /setblock (F3 to view) minecraft:air Add blocks by using /setblock minecraft: (the name of the block you use for the vault)

You also might need to use redstone for wiring and timing