My animation still showing walking animation (animation priority is set to movement)

This is what happens

Here is my script

UIS.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if equipped == false then return end
    if Humanoid.MoveDirection.Magnitude <= 0 then return end
    if Humanoid.MoveDirection.Magnitude > 0 then
        if input.KeyCode == Enum.KeyCode.E and Dashed == false then
            Dashed = true
            FowardTrack:Play()
            HRP.Velocity = HRP.CFrame.LookVector * 200
            wait(1)
            FowardTrack:Stop()
            wait(Dash_Time)
            Dashed = false
        end
    end
end)

Have you tried setting the priority to Action?
Also, if Humanoid.MoveDirection.Magnitude <= 0 then return end this line is pointless since you’re checking if it’s more than 0 in the next if statement

The Line you told me to remove i thought if i didnt have it it wouldnt work (im a idiot), But still the same problem when i try to make the animation priority to action

revivng post because its still happening