so each time I unequip and equip my tool, it prints more times than the last, is there a way to fix that?
plr.Backpack.ChildAdded:Connect(function(weapon)
if weapon:IsA("Tool") then
if weapon:FindFirstChild("Handle") then
weapon.Activated:Connect(function()
print("l")
end)
end
end
end)

1 comment
You are connection the Activated event every time the tool moves to Backpack (every time the tool is unequipped or parented to backpack), so you have multiple Activated connections and all of them fire. I think that if you store the connections into a table and disconnect them on plr.Backpack.ChildRemoved it should be fixed.