Well, this isn't really a scripting, its more on the Destruction side, I've seen destruction simulator, how would you get an explosion not to kill anyone but break the welds of the bricks?
Turn off the Explosion's "DestroyJointRadiusPercent" then let the '.Hit' event handle the destructions.
If you're wondering how to make it, you get the part that it hits in the event so just remove any welds, unanchor the part, and set the velocity direction from where the explosion is pointing at the part.