Are you sure there are no problems with your animation?
If you move "Set animation" event like this, will it play correctly when you press Q?
Also check if you update the Main.Attack instance variable anywhere else in your event sheet.
To share your project, save it as a single file, upload it to dropbox or similar service. Share the link here.