Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I grab the asset ID of an Accessory instance?

Alright so I'm trying to check if an accessory on a user is a hat, hair, or other accessory type. I've already figured out how to do this using MarketplaceService:GetProductInfo(assetId), however now I've ran into a different issue. I need to somehow get the Accessory's asset ID but I can't figure out a way how. Basically, how can I get the ID of an Accessory object?

1 answer

Sorry but the only way you'll be able to fetch asset ID's in your case is by using Roblox's HttpService. You would connect with their Asset Delivery API. You might find a video tutorial on HttpService. Good luck though.

1 comment

0

I don't see anything in the Roblox API that would allow me to fetch an asset ID. This isn't really helpful anyways, I wouldn't have anything to give to the API in the first place.

This discussion is preserved as it was. New answers, comments, and votes are closed.