That’s the problem though, I can’t this has to be automated as a user is putting a clothing ID through the system… Currently the current clothing ID being put in through the tuple is a existing clothing item.
local InsertService = game:GetService('InsertService')
local success, errormsg = pcall(function()
local obj = InsertService:LoadAsset(assetId):GetChildren()
if obj then
if obj:IsA('Shirt') then
template = obj.ShirtTemplate
if success then
return 'ERROR: '..errormsg
local ShirtTemplate = GetTemplate(assetId)
Oops, a little too late, but here’s a function I whipped up that’d do the trick.