I̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶g̶e̶t̶ ̶t̶h̶e̶ ̶a̶s̶s̶e̶t̶ ̶I̶d̶ ̶f̶r̶o̶m̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶e̶m̶p̶l̶a̶t̶e̶ ̶I̶d̶ ̶s̶o̶ ̶t̶h̶a̶t̶ ̶I̶ ̶c̶a̶n̶ ̶c̶r̶e̶a̶t̶e̶ ̶a̶n̶ ̶i̶m̶a̶g̶e̶ ̶o̶f̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶h̶a̶t̶ ̶a̶ ̶p̶l̶a̶y̶e̶r̶ ̶i̶s̶ ̶c̶u̶r̶r̶e̶n̶t̶l̶y̶ ̶w̶e̶a̶r̶i̶n̶g̶.̶ ̶A̶n̶y̶ ̶i̶d̶e̶a̶s̶ ̶o̶n̶ ̶h̶o̶w̶ ̶t̶o̶ ̶r̶e̶t̶r̶i̶e̶v̶e̶ ̶t̶h̶e̶ ̶a̶s̶s̶e̶t̶ ̶I̶d̶ ̶f̶r̶o̶m̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶e̶m̶p̶l̶a̶t̶e̶ ̶i̶d̶?̶
So I want to make this an ext clear. Ns am looking to gain the shirt id native a shirt object. But the shirt thing only offers you the shirt design template id. I would favor to avoid using HumanoidDescription if feasible however if that is no the case then I need to work v what i got. Hopefully this removes things up!
colbert2677 (colbert2677) may 14, 2019, 2:26am #2
You are watching: How to get roblox asset id
image.png823×407 38.5 KB
XAXA (XAXA) may 14, 2019, 2:41am #4
OP is in search of a thumbnail, so the they can use this endpoint come retrieve its image. (At the very least that’s what i think they’re doing)
Is the thumbnail for this shirt:
image.png714×286 82.7 KB
Since OP simply wants to display what the player character is wearing, they can just retrieve the heritage id that the personality is wearing straight by reading the used HumanoidDescription.
-- Assume the this is a manuscript that"s within the player"s character...local Humanoid = script.Parent.Humanoidlocal descriptionClone = Humanoid:GetAppliedDescription()print(descriptionClone.Shirt) -- this is the legacy id of the shirt the the player is wearing.
colbert2677 (colbert2677) might 14, 2019, 2:38am #5
i did no read.
image.png850×149 12.3 KB
XAXA (XAXA) might 14, 2019, 2:54am #7
image.png943×484 190 KB
Your method won’t occupational on this.
tbradm (tbradm) may 14, 2019, 3:23am #12
So the reverse, gain a shirts ID from picture ID?
XAXA (XAXA) might 14, 2019, 3:32am #13
This is obtaining confusing. OP only has this to work-related with (let’s call this the ShirtTemplateId)
image.png934×502 203 KB
The ShirtTemplateId is 1127071991
OP desires to obtain the AssetId, i beg your pardon is 1127072005
Official Guava Juice gamings Shirt
Customize her avatar v the official Guava Juice gamings Shirt and millions of various other items. Mix & complement this shirt with various other items to develop an avatar the is unique to you!
How perform you get from 1127071991 to 1127072005? the not possible without brute-forcing it. Https://assetgame.aramuseum.org.com/asset/?id=1127071991 will acquire the picture itself, not an xml.
tbradm (tbradm) might 14, 2019, 3:37am #14
I see. The still feasible with a straightforward web app, in fact I already have one on GCP the does specifically this. It functions somewhat prefer you space saying. It takes the as input a ShirtTemplateId. The increments it and also uses Marketplace API (except the outside version) and checks even if it is the asset is a Shirt. If that is, it offers the method I mentioned before to request the shirt’s equivalent ShirtTemplateId. If the matches, it return the existing incremented ID. If not, it continues incrementing.
XAXA (XAXA) might 14, 2019, 3:39am #15
… that’s brute-forcing it, i m sorry is precise the method I discussed a few posts ago. Brute-forcing has actually some pitfalls that were pointed out in the function request ns mentioned, too. Girlfriend don’t even need to usage an external business for this, simply use GetProductInfo.
tbradm (tbradm) might 14, 2019, 3:39am #16
You never explained how to brute pressure it, and also you also described it together “impossible”. It’s very possible.
XAXA (XAXA) might 14, 2019, 3:41am #17
One technique is to keep subtracting the shirt theme id by 1 until you acquire to its asset id… however this deserve to take a lot of requests and the distance in between the layout to the heritage id have the right to be large (there are also an ext issues v this, review the function request for more info).
Please don’t cherry-pick mine wording…
tbradm (tbradm) might 14, 2019, 3:41am #18
“until you get its heritage id”
I guess what was lacking is the you never described how you recognize when you’ve discovered the correct ID.
Maxx_J (Maxx_J) august 28, 2020, 10:24pm #19
Just assumed I’d reply to this thread cause I discovered myself through a similar problem and managed to discover a solution. Posting this incase anyone in the future would be wonder the same thing.
local clothing_type = "Shirt" -- or "Pants"local clothing_parent -- specify thislocal item_url = clothing_parent:FindFirstChildOfClass(clothing_type)
http://www.aramuseum.org.com/asset/?id=4979758466rbxassetid://4979758466the thing they have in typical is the they both have actually numbers just at the end. So this an approach would be valid.
You could readjust the cable manipulation provided to specify the ItemID, perhaps to examine for number in a various order, in situation you desire to use this for other asset types.
See more: Internet Tough Guy Alert! How Hard Is It To Knock Someone Out ?
Although, ns think in ~ that allude there would be better API obtainable to suit her goal.