Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Accessories are not loaded with CharacterAdded?

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?

2 comments

0

Oh rip, okay then good luck with it.

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.