How do I kill character if he is hit by destructible mesh piece?

So I want the guards (blue guy) to die if they are hit by debris (figure 1), but I also want them to walk over the debris if it’s not moving (figure 2). I tried the hit event on the guard, and it died if it was hit by debris, but it also died just by walking into it. If that makes sense.