Cant stop animations in an AnimationController

pretty self explanatory. every time i try to stop an animation track in an AnimationController it returns this error: attempt to index boolean with ‘Stop’

someone help pls

Can you show your code please, we cant help if we cant see your code.

Instead of doing

animation:Stop = true



Im just guessing since you didn’t show your code

yeah sorry about that

local Idlev = plranims:LoadAnimation(script.Parent.Parent.Anims.Idle)
--calling it

plranims = animationcontroller
idlev is only called twice in the entire script

edit: fixed it dw