Help with script and SHIFTLOCK

I’m making a game and ran into a problem with Melee weapons.
My son keeps saying there is a problem with SHIFLOCK
My character is somehow sliding and the animation won’t finish
I’m sitting here the other day :sleepy:
More in video and game

thanks in advance

and LMB atack is ready