I used this tutorial to animate the extra part: How to animate a tool/object with a Dummy in the Animation Editor
When I play the animation in the editor, the extra part animates completely fine. When I try playing it ingame on an NPC, the limbs animate however the extra part does not, it does play correctly every 1 out of 5 or so times. I’m pretty sure I’ve setup the part right. Below is my script.
local anim = char.Humanoid:LoadAnimation(script.tossAnim)
local boulder = script.Boulder:Clone()
boulder.Parent = char
local M6D = Instance.new("Motor6D",char.RightHand)
M6D.Part0 = char.RightHand
M6D.Part1 = boulder
anim:Play()
Things I’ve tried:
Adding a wait between the boulder being created and the animation playing.
Loading the animation after creating the Boulder
Made sure it was setup right by running the script in studio and opening up the animation editor, it played normally in the editor.
Not too sure how to troubleshoot this, help would be appreciated. Thanks!