I’m currently only wanting to apply MeshParts for accessories on certain teams in my game, but I’m unsure how to only delete accessories that come from the catalog. Is there any specific method to perform this (preferably via script)? Any help is appreciated.
local players = game:GetService("Players") players.PlayerAdded:Connect(function(player) player.CharacterAppearanceLoaded:Connect(function(character) for i, child in pairs(character:GetChildren()) do if child:IsA("Accessory") then child:Destroy() end end --once loop has finished attach custom accessories to character end) end)
I was already using something moderately similar, but this improved version helped. A final fix of adding the
wait() function completely resolved my issue. You have my gratitude.