iQeeDEVS
(iQeeDEVS)
#1
I made an animation for a NPC, i marked as idle,action and others too. But it just play 1 time and won’t loop the animation.
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:play()
dance.Looped = true
SkrubDaNub
(ComradeSkrub)
#2
Uhhhh this is right from the top of my head.
Set .Looped = true
above where you play the animation.
If that doesn’t work, godspeed.
iQeeDEVS
(iQeeDEVS)
#3
I ofc tried it, it won’t work too…
SkrubDaNub
(ComradeSkrub)
#4
Quick googling and it seems that it’s a Roblox bug.
Here’s the solution:
republish your animation with the looped property to be true by default via the roblox animation plugin.
1 Like
iQeeDEVS
(iQeeDEVS)
#5
Thank you! It worked now with plugin.
system
(system)
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.