So, I have this script that whenever you equip a tool, it changes all of the animation values, but if I unequip the tool, It somehow doesn’t stop the animation and I get stuck on a particular animation, (If I run while unequipping, stuck on run, if I idle while unequipping, suck on idle, and so on) So far I’ve tried rewriting the animation (which turned out to be a total fail), and tried to change animation values (which I’m stuck on right now). if you have experienced this before, please comment, I would like to know how to fix this, Thanks.
If I’m interpreting this right, you want the animations you’re playing to stop completely
(going back to default animations?).
You should have a function in the script for the tool that fires when the tool is deactivated that stops all the running animation tracks that you want stopped.
You need to call
AnimationTrack:Stop()
on the tracks you’re playing.
Edit: Grammar
But I’m just changing the values of the default animation script that you spawn with?
So, AnimationTrack:Stop()
basically deletes all animations?