Why my staff animation doesn't work (3d game)

i write my code block if i left mouse click the animation of mop play to swipe but when i test it not do anything how can i fix that (my animation from blender I don’t know if it’s related )

w

please help me guy :smiling_face_with_tear: :sob:

ok now i can do it with the another empty animation