Thanks for all the help. Yeah I'm not really good at animations so I just used assets from opengameart.org I was baffled at the fact that the x or z keys wouldn't play the animation. A square to represent the player and use the animation as eye candy seem a great solution. Thank you!