Animation Does Not Loop

I want this walking animation to loop on the npc, it plays once and then stops. This is the script: annoy

The dummy is r6, whats wrong with it

You should set the Properties before playing the animation.

dance.Looped = true
dance:Play()
1 Like

Pretty sure I am being an idiot here, but it has now stopped working

Set Looped to true before playing the animation

Replying to my comment, you can just set looped to true manually.

yes ss

I suck at scripting, did I do that wrong?

Also how would you set looped to true manually

To set the loop automatically just go to the properties of the sound and click on “looped”

image

Oh my god! My bad, i completely thought this was a sound and not an animation!

That being said, you need to set the loop when your making the animation. This would depend on what plugin your using.

image

Haha its fine, thanks for the help! I really appreciate it.

1 Like