armor-piercing projectile

Hello lads. I have a question/request I would like to create an armor-piercing projectile that in addition to hitting the first enemy that does base damage overruns him and takes the enemy behind with reduced damage.
How can I do it?

An idea how something basic could world:

BulletPenetration

Watch this for a more complex system: Design, Production, Ballistics for Insurgency: Sandstorm | Unreal Fest Europe 2019 | Unreal Engine - YouTube