Hi!
I have been trying to make a gui with viewport frames that have “Dummys” inside which displays the shirt the dummys are wearing, just like a character customization gui. But my problem is, the shirts doesnt load in:
Are you sure you’re using the right ID because you have to use the texture ID of those shirts and pants, instead of the ID of the buy able version on catalog.
You can find the normal ID like so, as mentioned here:
function idFromAsset(assetId)
return tonumber(game:GetObjects("http://www.roblox.com/asset/?id="..assetId)[1].Texture:match("%d+"))
end
print(idFromAsset(AssetId) --returns Texture Id
It’s worth noting that this can only be used through the command bar or plugins, and not through scripts, for security reasons.
As I said, this can only be done through the command bar or plugins unfortunately. It would be nice if roblox would shift to solely using AssetIds, as it would make life much easier.
Do you wanna insert it to the game? if so you can use combination of ContentProvider and InsertService. Although i never really use these @Android62903