Animation changes after upload

So I’ve been trying to make a combat sort of game and was making animations for it when this happened:

This is what the ending of the animation looks like in the editor (it does a small step forward):
InEditor

Here’s what it looks like ingame:
InGame

It doesn’t go forward when playing the animation ingame, I have tried doing this on a player aswell as on a dummy ingame both yield the same result in not going forward like intended. Any help on how to fix this would be appreciated

Edit:
Found out that the animation changes when it’s uploaded to roblox

This is what the position is before I upload it to roblox, and what it’s supposed to be:
before

And this is what it changes to after I upload it to roblox and reimport it into my game (and what shows when I play it):
after

Maybe change the AnimationTrack Priority to Attack
Also you have to move ur HumanoidRootPart with ur Torso since
the animation is only moving ur Torso.

It is supposed to only be moving the torso, in this context I have no need to change the position of the HumanoidRootPart and that shouldn’t be the problem since the torso still moves away from the HumanoidRootPart just not at the distance that I told it to and the animation priority is the highest