Is there a way I can do this?
I am trying to upload lots of decals and then get their assetids through a script
daulric
(Ulric)
August 19, 2022, 1:57am
#2
nah bro u can do that while you are playing the game unless if its possible.
for now u have to upload it to roblox then use rbxassetid://id here
to get the image
The problem is that getting the id individually is too time consuming
Dfn150
(DevFunNewIdeas)
August 19, 2022, 2:48am
#4
There has been multiple topics on this, but here is one that should probably answer your question:
Does inserting the decal and reading its ID not work? This is what we do internally for the Properties widget when an assetId is pasted in. For Lua it would look something like
local InsertService = game:GetService("InsertService")
local MarketplaceService = game:GetService("MarketplaceService")
function getImageIdFromDecal(decalId)
local assetInfo = MarketplaceService:GetProductInfo(decalId, Enum.InfoType.Asset)
assert(assetInfo.IsPublicDomain)
assert(assetInfo.AssetTypeId == Enum.AssetT…
Forummer
(Forummer)
August 19, 2022, 1:19pm
#5
It isn’t possible to achieve this programmatically, if you want the asset’s ID then you need to right click on the asset and click ‘Copy ID to Clipboard’.