How to get what "rbxassetid://XXXXX" Asset it is

Hey developers. This might seem like a bit of a dumb question, I feel dumb for even asking it. But how can I get What type a “rbxassetid://XXXXX” string is. Like if it is a Audio, Animation, Image Etc.

Because if I remember correctly, it is different then just the asset id as the numbers change, like when I add a animation, copy the numbers and paste it, it all changes right? So I can’t just do :GetProductInfo() on it right? or can I?

Any help is much appreciated!

2 Likes

Yes, you can use MarketplaceService’s “:GetProductInfo()” and use the AssetTypeId to discern what type of product it is.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.