How do I fix my script to let my layer up accessory's?

I have recently trying to make a GUI where you can add a ID from the Roblox catalog. But when I put in the Roblox id the item comes on but takes away the original item and I can only have one of that type of accessory for example if I were to change my hair it would delete the original and put the new hair on and if I put a new Roblox id it would change the accessory again and I need it to layer up for my game. Does anyone have a solution to this?

You’re applying a humanoid description that overrides the player’s current avatar.

You can use InsertService for the accessory, and then attach it to the character. Add the clothing by deleting the current clothing, and then adding a Shirt and Pants based on the IDs.