Using NPC Animations?

Whenever I try to make my NPC perform an animation it never quite works. He/She starts to move for a split second then returns to the normal idle position. The function below is what I’m calling by pressing the space bar. How do I make it so that the NPC carries through with the whole animation?
function npcjump()

local seq = mynpc:LookupSequence("cheer1")
mynpc:SetPlaybackRate( 1.0 )


bump Can anyone get this to work right?

You should always use ResetSequence() .

Also I’m unsure if using this with npc’s is a good idea…

Ok, I switched it to ResetSequence, but it still does the same thing. Why shouldn’t I be using this on NPCs? Is there any other way I can make a NPC perform an animation?