Having trouble getting two consecutive animations to play

I am using animationTrack.Stopped:wait() to play one animation after the other finished. The code does not seem to get past the Stopped command and keeps playing animation1 repeatedly.

Anybody have any ideas?

local human = script.Parent.Humanoid

local animation1 = human:LoadAnimation(script.Parent.Stadium)
local animation2 = human:LoadAnimation(script.Parent.Happy)

animation1:Play()
animation1.Stopped:wait()
print("animation stopped")
animation2:Play()
1 Like

Did you make animation1 stop? Since I don’t see u putting

animaton1:Stop()
1 Like