NPC not anchoring tool to hand

I am trying to make so an npc has a animation with a tool

However, it is playing the animation, but the tool is not following the arms

If anyone knows a fix, please help me. (ps I used tool grip editor)

Here is the tool’s code

local tool = script.Parent
local Character,Humanoid

local Idle
local Fire 
local Reload

tool.Equipped:Connect(function()
	Character = tool.Parent
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
	Idle = Humanoid:WaitForChild("Animator"):LoadAnimation(script.IdleAnim) 
	Idle.Priority = Enum.AnimationPriority.Movement
	Idle:Play()
	
end)

tool.Unequipped:Connect(function()
	if Idle then
		Idle:Stop()
	end
end)

weld the gun to the arms
[CHAR LIMIT]

I already welded the stuff with a plugin

You need to change the animation’s priority to action so it overrides the default ‘toolnone’ holding animation.

Weld the handle part to the arm part with Motor6D and unanchor the handle.