Animation Problem

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    My animation plays but it won’t stop playing. No it isn’t looped.

  2. What is the issue? Include screenshots / videos if possible!

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have asked throughout the development community.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

While not the reason for your bug, Humanoid:LoadAnimation() is deprecated, so you shouldn’t be using it in your code.

You should add replace your LoadAnimation function with this:

--Creating an animator is the recommended process for loading anims
local Animator = Instance.new("Animator")
Animator.Parent = FootballHolder.Humanoid

--Load the anim
local AnimationTrack = Animator:LoadAnimation(Animations.Actions.Tuck)

AnimationTrack.Looped = false

--Play the anim
AnimationTrack:Play()

The animation you’re loading in your sample likely is looped, so I’d double check that, but to be safe you can set the AnimationTrack to not loop like I did in the snippet above.

Sorry, I didn’t realize what you were trying to do here. I can’t provide the proper code because you uploaded it as an image, but the reason your animation isn’t stopping is because instead of stopping the animation you loaded and played on line 102, you’re loading in and stopping a new animation.

Thank you! I’ll test it out in the morning!