In the same tick ....
19 sets the attack1 animation.
25 sets the attack1 animation.
28 sets the attack1 animation.
At least 2 of those 3 is true, mostly all 3. And they stay true for quite some time.
So, the animation gets started several times in 1 tick for a lot of ticks in a row.
Result: the animation starts to playing and never gets passed frame 1.
Because, before it ever gets to frame 2, its is commanded to start from beginning (frame 1) again.
And again, and again, and again, and again.
I would like to see the tutorial, i do not beleive it makes the same mistakes.
Even if you solve this one thing, the code stays a mess. I expect it to be the same mess in the player movement section.
I suppose 'fly', 'idle' and 'run' also get started in that section. Meaning without a capx, this is not solvable.
Excuse me the harsh words, but i suggest: Start over. And use 'Trigger once while true' when needed.