How to make a structure spawner?

I need to create this: Watch x2mate.com-Every Way To Exploit Into A Box | Streamable

Its an iron wall that everytime RESPAWNS when a player breaks it, but im loosing my mind, i dont have much idea of verse, only how to use it, but 0 knowledge of coding :((