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

How to make Dummy play consecutive animations?

I just simply did this script: But for some reason, the anims. just won't run. Please help me, thank you! <3

local rightPunchLight = script:WaitForChild("Right Punch (Light)")
local leftPunchLight = script:WaitForChild("Left Punch (Light)")
local rightPunchHeavy = script:WaitForChild("Right Punch (Heavy)")
local kick = script:WaitForChild("Kick")

local humanoid = script.Parent:WaitForChild("Humanoid")

local rplTrack = humanoid:LoadAnimation(rightPunchLight)
local lplTrack =  humanoid:LoadAnimation(leftPunchLight)
local rphTrack = humanoid:LoadAnimation(leftPunchLight)
local kickTrack = humanoid:LoadAnimation(kick)

while true do
	rplTrack:Play()
	wait(rightPunchLight.Length)
	lplTrack:Play()
	wait(leftPunchLight.Length)
	rphTrack:Play()
	wait(rightPunchHeavy.Length)
	kickTrack:Play()
	wait(kick.Length)
end

1 answer

✓ Accepted answer

Did u set up animation priority correctly

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