How to get all accessories in a character

When running :GetChildren() on a user’s character, it doesn’t return any accessories or items such as “Pants” and “Shirt”, so is there any other way to do so?

image

2 Likes

Use something like this to get accessories

local model = model:GetChildren() — change model to ur thing you want to get children from
for index, child inpairs(model) do
if child:IsA(“Accessory”) then
print(child)
end

Sorry if there are issues typing on phone rn :sweat_smile:

To get a array of all of character’s accessories, you can use “Humanoid:GetAccessories()”.

4 Likes