How to get all of the players hair?

Lets say the players wearing 2 hairs or more or just one. I wanna make sure I can find all of them and change it to my liking. I’ve tried getdescendants and an i,v pairs but I just have no clue at this point.

Theres also no devforum post of someone asking this.

1 Like

Hair accessories will have a HairAttachment in their Handle, so check for that and you have a hair accessory.

for _, accessory in ipairs(humanoid:GetAccessories()) do
    local is_hair = accessory.Handle:FindFirstChild("HairAttachment") ~= nil
    
    if is_hair then
        -- you are working with hair
    end
end
5 Likes

But then it would only return as true of course, I wouldnt be able to edit the hair itself.

accessory would be the current accessory though

My bad, didnt see that there was the accesory.