Error with moon animator in scripting

Hi, I am having some issues scripting a katana animation. The animation is working well in moon animator, but it is not working when playing the game. Any help would be appreciated.

image
image
image
Client:


Server:
image