Why doesn't tool.Equipped work when the tool is picked up?

When the tool is in StarterPack, my script works fine.
But when it gets picked up later, it doesn’t work.

script.Parent.Equipped:Connect(function()
character[“Right Arm”]:WaitForChild(“RightGrip”):Destroy()
local Motor6D = Instance.new(“Motor6D”,character[“Left Arm”])
Motor6D.Name = “Handle”
Motor6D.Part0 = character[“Left Arm”]
Motor6D.Part1 = script.Parent.Handle
Motor6D.C0 = CFrame.new(0,-1,0)
Motor6D.C0 = Motor6D.C0 * CFrame.Angles(math.rad(-90),0,0)
end)

script.Parent.Unequipped:Connect(function()
character[“Left Arm”]:WaitForChild(“Handle”):Destroy()
end)

Do you mean if a tool is picked up off the ground? Yes, equipped events only work when they take a tool out of their backpack, so if the tool was dropped and they pick it up, it will not do anything. You could use the ChildAdded event, and check if the child is a tool. If it is then run your code.

1 Like

I think this is the solution but how do i check if the child is a tool?