I don't really understand how the expression works as someone else helped me with it. I had to mess around with it quite a bit to get it to work as well as it does through trial and error. I'm afraid I can't do any more with it.
This is the expression: "Animation" & floor((angle(Mouse.X,Mouse.Y,Player.X,Player.Y) + 180 + 22.5) / (360 / 8))
Here's what it looks like in Construct 2.
I'd put up the capx but someone told me not to put up files that use 3rd party plugins. If you really need it, please let me know.
Thank you. :)