For some reasons, LoadAnimation():Stop() randomly stopped working.
I was making a potion with a custom animation. While LoadAnimation():Play() does work, LoadAnimation():Stop() doesn’t. So now, the animations never stops looping.
Define the animation into the variable. Not sure how your code worked before, because you’re loading 2 different animations, and stopping a newly loaded one!
Use the code provided by @MightTea, that code should work find for you.
Save the AnimationTrack in a variable.
In the example of your code the function LoadAnimation returns an instance called AnimationTrack and it has the function called Play and Stop.
local animTrack = script.Parent.Parent.Humanoid:LoadAnimation(script.Parent.R6Animation)
--Then you use play or stop on that animation track
animTrack:Play()
wait(1)
animTrack:Stop()