I am trying to load clothes, using the roblox marketplace id as it would be easier for players, onto a dummy in order to display them but when I paste the id of the shirt from the roblox marketplace it will not load.
But if I am to paste the id from the roblox marketplace directly into a separate clothes instance the id changes and the clothes load. It becomes: http://www.roblox.com/asset/?id=607785311, which is a different id.
when using that id and concatenating it, it loads the correct shirt.
My question is how do I go from the roblox marketplace id to this one that works in a script or another means.
maybe try to already add the shirt in the rig and do local shirt = dummy:WaitForChild(“Shirt”).ShirtTemplate = “http://www.roblox.com/asset/?id=”…id
Also, I’m pretty sure the reason why the ID of the shirt doesn’t match when you concatenate it is because the shirt ID and the asset ID are completely different things.
And i do not recomend creating new Instances by doing Instance.new(“thing”, Parent). I recomend doing local i = Instance.new(“thing”)
i.Parent = Parent