Animation not playing as intended

I can’t really describe this in English, but I’m sure it’s not playing as intended.
The wings should be moving like this:

But, instead it plays… this:


The animation’s priority is Idle, and it is looped.
Note: The custom animation script is in this folder, and the animations have been replaced by custom ones:
image