Only Some Emotes Work?


The problem I’m having is with forcing an NPC to repeat the same emote on loop. I’m using Roblox emotes, though for some reason only some emotes will loop while others refuse to loop.

Here are the scripts I’m using, all have the animation as a child:

local animation = script:WaitForChild('AnimationID')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance.Looped = true

Then I tried this script instead with the same results:

local controller = script.Parent.Humanoid

if script.Animation.Playing == false then

Here’s an example of an emote that did work with these scripts:

And an animation that didn’t work with the same scripts:

Is there anything I’m not understanding about how to force the loop? Thanks for any help!

1 Like