How to change a hairs texture

for _, accessory in ipairs(humanoid:GetAccessories()) do
    local is_hair = accessory.Handle:FindFirstChild("HairAttachment") ~= nil
    
    if is_hair then
  

    end
end

I have this script here but I dont know how to get the actual textureid of it and change it, how would i do that?

It would be Hair.Handle.Mesh.TextureID = whatever

What would I define hair as because if I just add that the Hair wont work

I’m not the smartest scripter but you’d have to find the accessory in the player with AccessoryType = Hair and rename it to whatever (PlayerHair) and then do PlayerHair.Handle.Mesh.TextureID