Soulslike Framework provides an Animation Notify State for performing a weapon trace, which is tied to the Weapon Collision Manager. Simply add it to your montage and adjust its starting/ending points relevant to your attack. Ensure that you select the correct TraceType (Right Hand/Left Hand/Both) from the details panel by selecting your Notify: