How do I trace a Rbxcdn URL back to an asset?

Let’s say I have a CDN URL like,

https://tr.rbxcdn.com/a98e02c68ceb4ed4c520c5becd041b2e/420/420/Hat/Png

and, I want to find the asset that is associated with this.

Obviously, this is Brown Hair - Roblox but, if I have something more obscure, I can’t trace it back to a specific asset as easily.

How would I trace my obscure CDN back to a specific asset?

1 Like

You can’t, it’s just an image file.

This isn’t possible. Instead of using this for images use something like:
https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=62234425 for images in game as you can use string:sub to find the specific asset id for something like:

local link = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=";
local assetId = 62234425;
local finalLink = link .. assetId; print(string.sub(finalLink, #link + 1))
print(finalLink) -- Will print 62234425, or you can use:
-------------------------------
local link = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=";
local assetId = playerSelectedId; -- if the player chose the item id
if not tonumber(assetId) or not assetId or assetId < 1000 then assetId = default end;
local finalLink = link .. assetId; print(string.sub(finalLink, #link + 1))
print(finalLink) -- Will print the default
1 Like