Animating an object seperate to the character

I’m unsure how to animate an object seperate to the character.
Here’s an example:
To reiterate on what i’m trying to achieve, the katana moves separately from the character.

1 Like

These steps might help:

  1. Create a tool with the parts of the object inside them. (make sure the tool has RequiresHandle off)
  2. Weld the parts in the tool to the part you want to animate with
  3. Move the tool inside the animation dummy
  4. Create a Motor6D inside the Right Arm of the dummy
  5. Set the Motor6D’s Part0 to the arm and the Part1 to the part inside the tool
  6. Create the animation(s) you need
  7. Move the tool into the StarterPack
    8: Create a Script inside the Tool with the following code:
local Tool = script.Parent
local Part = Tool.Object
local Animation1 ="Animation")
Animation1.AnimationId = "rbxassetid://" -- make this your animation ID

    local Character = Tool.Parent
    local Humanoid = Character.Humanoid
    local Animator = Humanoid.Animator
    local Arm = Character["Right Arm"]

    local M6D ="Motor6D")
    M6D.Part0 = Arm
    M6D.Part1 = Part

    local PlayAnimation1 = Animatior:LoadAnimation(Animation1)


1 Like

When I tried to animate I couldnt move the part?

Is the part anchored? Most times Motor6Ds don’t move is because they’re anchored.

1 Like

Nevermind, I solved that issue. The issue now is when I equip the tool, this happens. The object just falls through the floor when equipped.
Here are the properties of the object:

Nevermind, I found the solution, the motor6D wasnt being created. Thank you for your help I’ve been struggling on this for hours!

1 Like