Animation plays once then freezes

Any help would be greatly appreciated!

game.Players.PlayerAdded:connect(function(player)
		player.CharacterAdded:connect(function(character)
		player.Character.Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=9146779826"
		end)
end)

I think it’s just not looping. Try setting AnimationTrack.Looped to true or reuploading the animation with the looped setting on.

How would I go about adding this to my code?

You don’t actually need any code. Just open the animation in the animation editor and click the Looped button so it’s blue. Then publish the animation to Roblox.

1 Like

Thank you


A general tip for updating animations, you can publish and overwrite the existing asset which you used for the animation

2 Likes

Yeah that’s what I’ve been doing, thanks though