I’m looking to convert a productID to a clothing ID.
Is there any way to do this?
Hi! I think you have the wrong place to upload your shirt, try uploading it here and let me know the result!
It currently costs 10 robux to raise the shirt
This has nothing to do with uploading clothing.
do you mean how to get the template ?
He means he is trying to get the shirt id from the product id, the pictures were showing that the 2 id’s are different
local Game = game
local InsertService = Game:GetService("InsertService")
local Success, Result = pcall(InsertService.LoadAsset, InsertService, 301809996)
if Success then
local Clothing = Result:FindFirstChildWhichIsA("Clothing")
if Clothing then
if Clothing:IsA("Shirt") then
print(Clothing.ShirtTemplate) --http://www.roblox.com/asset/?id=321738372
elseif Clothing:IsA("Pants") then
print(Clothing.PantsTemplate)
elseif Clothing:IsA("ShirtGraphic") then
print(Clothing.Graphic)
end
end
else
warn(Result)
end
I’m trying to do this on the client
Invoke the server with a ‘RemoteFunction’ object.
https://developer.roblox.com/en-us/api-reference/function/RemoteFunction/InvokeServer
I’m trying to find a method that doesn’t use the server