roblox animationtrack.ended code example
Example: how to check if an animation is stopped roblox
local function yieldPlayAnimation(animationTrack, fadeTime, weight, speed) animationTrack:Play(fadeTime, weight, speed) animationTrack.Stopped:wait() print("Animation has stopped")end