NPC clothes changing problem

Every time I parent a shirt or pants with a valid template into a NPC from a script they don’t load.
Is there something I’m missing?

The script works perfectly fine but this is more of an unexpected behavior post. Why won’t clothes load when I parent clones of them or when i change the template ID?

Thank’s in advance!

The only possible reason as to why this is happening is that you’re probably loading it via the wrong asset link. You might be using:

rbxassetid://, which unfortunately in some cases don’t work with certain assets.

Try making use of this one instead?
http://www.roblox.com/asset/?id=

And also make sure that you’re requiring the asset by the actual template link as opposed to the clothing asset id.

How do I get the template ID from the clothing ID

If the clothes are by you, you can install a plugin which allows you to find the exact template. If you want a simplified version of this, paste the clothing ID inside the respective clothing instance on studio, and then copy that ID. (it should simplify to the template, I believe)