Sword model animations bugged

I’ve made my first game following AlvinBlox’s Beginner Tutorial. However, the sword model it links to has bugged animations in my game, where it randomly does not swing on some clicks. You can find my game here. Any idea what the problem could be?
Thank you.

From what i’ve seen when using a sword

Because you have separated scripts which works the same but different code
There is only Holding animation for it and i don’t see it

Thanks for responding. Is there something I can do to better enable you to investigate?

I’m not expert with scripting but i have one asset that my friend have created before
it’s recreation of FE Gun kit tho

Hopefully this helps if you want
if it’s not Open Sourced then tell me because i rushed by the way

Thank you for the help, I’ll check it out.