local ignoreAll = {"a"} game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) print("s") for i, v in pairs(character:GetChildren())do print(v) print(v.ClassName) if v:IsA("Accessory")then table.insert(ignoreAll,v) end end for i,v in pairs(ignoreAll)do print(v) end end) end)
What's the best way for me to wait for the accessories to load?
Using a ChildAdded event would be better for you. Let's say you found Char with Character Event, then...
Char.ChildAdded:Connect(function(Child) if Child:IsA("Accessory") then --Do your stuff end end