I have a loop of animations playing in a NPC with an animation controller, and it plays perfectly fine. Unless you get next to another player, that is. They only stop playing for me too, which is even more annoying. Filtering enabled is not on, so I'm not really sure why it'd do that..

while wait() do
		if attacking == true then
			if combo == 0 then
				combo = 1
				local animTrack = stand.AnimationController:LoadAnimation(punch1)
				animTrack:Play()
				wait(0.2)
			elseif combo == 1 then
				combo = 2
				local animTrack = stand.AnimationController:LoadAnimation(punch2)
				animTrack:Play()
				wait(0.2)
			elseif combo == 2 then
				combo = 0
				local animTrack = stand.AnimationController:LoadAnimation(punch3)
				animTrack:Play()
				wait(0.4)
			end
		end
	end

1 comment

0

If I understood you correctly, you may have not done the animations good, Check how many keyframes you have and all that