How to use a model as a tool?

  1. What do you want to achieve?
    I have a machete model, but this is a model and I would like to use this model as a tool.

Here is an example for clarity
Снимок экрана 2025-03-24 093451

  1. What is the issue?
    the problem is that it doesn’t stand up properly.

if I use the parameter, Requires handle, then the model spawns in the world but not in the hand. And if I turn it off, then in the hand but not as needed

Снимок экрана 2025-03-24 093846

here is my code

local tool = script.Parent
local MACHETE_MODEL = tool:WaitForChild("MacheteModel")
tool.ToolTip = "MAchete"

local MOTOR6D
tool.Equipped:Connect(function()
	local char = tool.Parent
	local RIGHT_ARM = char["Right Arm"]
	MACHETE_MODEL.Parent = char
	local HANDLE = MACHETE_MODEL.Handle
	MOTOR6D = Instance.new("Motor6D",RIGHT_ARM)
	MOTOR6D.Part0 = RIGHT_ARM
	MOTOR6D.Part1 = HANDLE
end)
  1. What solutions have you tried so far?
    I tried to look for solutions but I didn’t see a specific explanation of what to do in such a situation

Instead of using a Model, use WeldConstraints to connect the assembly

Снимок экрана 2025-03-24 101242
I already use welding. I would like to know if it is possible to use the model directly since it is easier to animate than the tool

You’ll need to weld the tool to its wielder’s hand manually

I already do this in the script but this is the problem that it stands crooked

You aren’t setting the offset of the Motor6D. That’s why it’s welding into the middle of the arm.
If you look at the documentation for Motor6D you’ll see the 2 Properties C0 and C1. These are the CFrame offsets that allow you to set where the machete’s pivot point is in relation to the arm.

No, you must animate the weapon or tool as a model beforehand and ungroup it when you are putting it into the tool.

I will try this but I have a question, when I put the model in the rig for animation I weld the handle and the arm using motor6d. But when I ungroup it into the tool, can I use a copy of that weld so that the position is the same for both the model and the tool

That’s where you would probably have to code for the motor6d to connect together for the arm. But for individual parts on just the tool, they will animate together with ease.