I’m no expert, but I’ll give you my observations.
You’ll have an issue with the IsAttacking boolean, namely the parent and child won’t be able to attack simultaneously – when the parent attacks, the child will retrieve IsAttacking already true and do nothing as coded.
Either create separate booleans, or institute a token system for simultaneous attacking. You can find youtube tutorials for token-based AI attacking, for example:
Smart Enemy AI | (Part 11: Group Enemy Combat) | Tutorial in Unreal Engine 5 (UE5)