Animation doesn't stop? (Animation or Scripting error?)

Hello, I am working on a little fun project for myself and I am trying to make a shield. Can someone help me?

can you give the whole script?

Why you need to instanly stop the animation? give it a cooldown a bit!

How do you want the animation to stop? On a click event, after X amount of seconds etc?
At the moment you are loading the animation then instantly trying to stop it. However, you haven’t played the animation yet - you need to insert HoldSheildTrack:Play() before you can even stop it.