Convert Shirt(/Pants)Template back to webURL

Now this is a really odd topic. Most people would like to get the shirtTemplate out of a weburl, I need the opposite :rofl:

What I am trying to accomplish is to get the shirtTemplate out of a player (2nd perspective). The game mechanic will be that after a player clicks on another person, they get a preview of what the other person is wearing.
Right now, I am using

image.Image = “http://www.roblox.com/Thumbs/Asset.ashx?width=110&height=110&assetId=“..v.ShirtTemplate:match(”%d+”)+1

but this would only work for older shirt when roblox would store the assetid somewhere close to the weburl.

Rolbox added humanoid descriptions you can read about it here: HumanoidDescription | Documentation - Roblox Creator Hub

--for example
local humanoid = -- put the humanoid here
local humanoidDescription = humanoid:GetAppliedDescription()

print(humanoidDescription.Shirt)--this would be the shirt id
2 Likes

Thanks, I definitely wasn’t aware of this!