This event actually works and attack animation starts playing, but you have other events #18 and #19 on the PlayerEvent sheet that immediately change animation back to idle or some other one.
You have a bit of a mess with different events setting different animations..
I would suggest adding an instance variable "playerState" and set it to "run", "attack", "jump", "idle" etc. And then create a single event that changes animation when playerState changes.