Hello, I have tried adapting this script to work as soon as I spawn, giving it time to wait for my Character to load. However, this script only works once I return the item from my character. (Equipping then unequipping). May I have an answer to this please?
local Players = game:GetService("Players")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
repeat wait(1) until character.Backpack
for _,player in pairs(Players:GetChildren()) do
player.Backpack.ChildAdded:Connect(function(child)
print("test")
if player.Backpack:WaitForChild(child):IsA("Tool") then
print("yes")
end
end)
end
end)
end)

2 comments
Nope, I think I have an error with the wait for child too, though! Thanks for helping.
No problem, glad I could help (if I did).