Transition between 2 animations is unsatisfactory


problem is in the video above
i’d like the transition between the two animations to be uninterrupted

here’s my code

if pfa ~= true then
		canshoot = false
		pfa = true
		local pfanim = humanoid:LoadAnimation(firstreload)
		pfanim:Play(0)
		pfanim.Ended:Wait()
		canshoot = true
	end
local idleanim = humanoid:LoadAnimation(idle)
idleanim:Play(0)

I believe if you replaced the .Ended with .Stopped it should work.

1 Like

no, it gives the same result, even if i replace it with stopped

2 Likes

Maybe try to load the idle animation before it ends the equip anim?

3 Likes

Thanks, this worked.

if pfa ~= true then
		canshoot = false
		pfa = true
		local pfanim = humanoid:LoadAnimation(firstreload)
		pfanim:Play(0)
		idleanim = humanoid:LoadAnimation(idle)
		pfanim.Stopped:Wait()
		canshoot = true
end
idleanim:Play(0)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.