How do I move something like this

I am making an enemy and I need to know how to make the enemy move in the way that its pointing, I tried to do this but it moves really weird My Project2-8-2023_8-16-26.wick

have a look at this one
still something wrong when it start to move but it works more or lessMy Project2-8-2023_19-29-36.wick (8.7 KB)

that might help a bit but now I need the enemy not to act weird at all

try to log all the actions
both the rotation function and the movement and find what’s wrong