#Is this not working, or am I stupid?

1 messages · Page 1 of 1 (latest)

paper moth
#

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)

west bramble