Root Motion not Working (Blender)

Hi,

I am currently building a small game for a project at school and I am running into issues with my attack animations, specifically root motion.
I followed some guides and checked the root motion box but for some reason, my animation is moving forward but still returning back to its original pose.
I have found others with the same issue but those posts don’t have any solution from what I have seen.

Any help would be appreciated! I am pretty new to unreal so anything would be great.