How do i change the color of a players accessory through a script?

Hi again! I’m still working on accessories and player customization, and I’ve hit a really odd wall. I’m trying to figure out a way to change the color of the individual pieces of a players accessory, such as a detail on a high heel. This script below is the EXACT one I used to change the colors of a players body parts, and that works just fine. But no matter how i write this, I keep getting an error on line 4 and it’s frustrating. I haven’t found anyone talking about something similar and I’m wondering what I’m typing wrong

extra note- I’m using a color wheel to achieve this, as it allows for the best customization freedom. Like I said, this works for the body parts of the rig, but cannot be used when i’m trying to change the accessory colors

2 Likes