i am trying to play an animation on one of my npc's for a game and loop it
here is one that i tried
while true do
local anim = script.Parent.Humanoid:LoadAnimation(script.Parent[""])
wait(5)
anim:Play()
end
i am trying to play an animation on one of my npc's for a game and loop it
here is one that i tried
while true do
local anim = script.Parent.Humanoid:LoadAnimation(script.Parent[""])
wait(5)
anim:Play()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=Animations#Example