I am trying to create a gui and if you type in the text box the clothing appear how should I attempt to do this.
COMMUNITY QUESTION
Id grabber for catalog help?
1 answer
Shirts only appear if you use the Template ID, not the actual Shirt ID. Try using this function to create a shirt:
function CreateClothing(assetId)
local url = "https://www.roblox.com/catalog/".. assetId
local id = tonumber(string.match(url, "%d+") or 0)
local success, clothing = pcall(function()
return game:GetService("InsertService"):LoadAsset(id)
end)
if success then
clothing.Parent = DefineCharacterHere
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
More: I tried to do it and when I type the code the shirt is blank
not a request site