Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make animations loop run in a game (Npcs)?

Asked by
iHavoc101 127
4 years ago

I would like to make an animation in keyframe sequence looped over and over, but I am unsure how to make that play out.

I have something like this:

local anim = workspace.Hi.Humanoid:LoadAnimation(AnimationObjectHere)

anim.Looped = true
anim:Play()

But Im unsure where to put it and etc.

1 answer

Log in to vote
1
Answered by 4 years ago

It can work by placing it inside the dummy's head, only if you changed some perspectives, heres a devforum page about explaining it: https://devforum.roblox.com/t/solved-how-to-give-a-dummy-an-animation-and-have-it-always-play/253683

0
ok thanks iHavoc101 127 — 4y
Ad

Answer this question