Adding character accessories

Hello! I’m wondering if there is an easy way to add an accessory to a character through a script.

My upcoming game is using a custom character rig.

I will be allowing people to edit their avatars appearance in-game such as hair, faces, etc. I’m wondering is there some kind of function or easy way to just equip the item onto the character through the catalog so that it fits onto the head, or will I have to specifically set the positions, sizes, etc.?

Please look into
https://create.roblox.com/docs/reference/engine/classes/Humanoid#AddAccessory

Maybe I can help you

game:GetService("InsertService"):LoadAsset(ID_Here).Parent = workspace