How to put Hats, Shirts, Pants etc on a dummy using script?

How do I put accessories on a dummy using a script?

If it’s an accessory item you can use Humanoid:AddAccessory() or if it’s shirt / pants you can simply parent it to the npc itself.

https://developer.roblox.com/en-us/api-reference/function/Humanoid/AddAccessory

If you have any questions let me know.

1 Like

Do I have to parent the shirt to the NPC?

Yes, As stated by the API Reference it needs to be a sibling of the humanoid. Same thing with the pants.

If you need more information on it you can find it here:
https://developer.roblox.com/en-us/api-reference/class/Shirt