local Players = game:GetService("Players")
local function onPlayerAdded(player)
local backpack = player:WaitForChild("Backpack")
backpack.ChildAdded:Connect(function(item)
if item:IsA("Tool") then
print(player.Name .. item.Name)
end
end)
end
Players.PlayerAdded:Connect(onPlayerAdded)
(It basically detects when a tool is added to the player's backpack)