Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to know when an animation loaded into a character stopped?

Hi, I've been making an animation and I want to know how to tell when it stopped (when the animation is completed and is done playing) but I can't find out how to do it!

1 answer

✓ Accepted answer

Once you've loaded the animation and have begun playing it, you can stop the animation with animTrack:Stop(), where animTrack is the variable where you load the animation into the humanoid.

You can use the AnimationTrack's IsPlaying (a bool value) to tell if the animation is playing or not.

There is also an event .Stopped

animTrack.Stopped:Connect(function()
	print("Stuff")
end)

2 comments

0

thanks, how do I vote a question as answered?

0

you have atleast 20 or 25 above I think and 100 to down vote

This discussion is preserved as it was. New answers, comments, and votes are closed.