I need help creating a smashing/pulverizing device, please help

I am trying to make a desert temple type thing, and a thing that would make walls come in and smash you is what my brain first thought of, and I am currently experimenting, but I would appreciate some help. Thanks!

hmmmm… Yes, animated props.

You could also put lasers in the props too.

I was going an entirely different way, with zones and auto respawns

How do I make it turn on and off?

use a trigger or a wire repeater with a delay, make then repeat.