PSA: You can copy a decal's AssetId directly from studio's toolbox now!


#1

Not sure if anybody has been made aware of this since I didn’t see any staff post this, but you could copy the AssetId of a decal directly from the toolbox now! I believe this change was made last December since that was when plugins were given clipboard access (RobloxScriptSecurity only though…)

image

It copies the asset id (e.g. rbxassetid://2795966663) onto your clipboard. You can then paste this in the Texture property of a Decal or the Image property of an ImageLabel. You can also set the Image property of a Decal or ImageLabel programmatically with this string.


#2

Update of the millennia. Nothing can top this one.


#3

Now all we need is the ability to do it from the site as well.


#4

I actually made a tampermonkey script for this purpose. it displays the ImageId on the decals asset page. I should probably release this on GitHub because it could be useful


#5

That just makes clothing copying too easy, don’t think that would end up being helpful for everyone.


#6

This can already be achieved using the Better Roblox extension found on the Chrome store.

https://gyazo.com/21c7fc72d59ef3a9cdec2bf25cf7c8ad


#7

This is one singular con case that doesn’t appropriately justify why this feature shouldn’t be available. Shirt templates and such are accessible assets and it does not take effort to get them at all. Speaking against a feature because it lacks the ability to cover for one use case is uncool. There are more use cases for accessing AssetIds than not (audio, displays, shops, markets, using such in-game, etc).

That being said, I don’t believe that a website “Copy AssetId” is truly necessary. Roblox Studio automatically converts most catalog IDs from the library to their appropriate AssetId.


#8

It doesn’t copy the direct assetId, you still have to input it manually in studio to an instance that automatically retrieves the direct assetId- which sucks. Roblox should make a function on either ContentProvider or MarketplaceService to :getTrueAssetId(referenceAssetId)


#9

The best update ever!

[most of us was waiting for that]


#10

What’s the api for manipulating the clipboard?


#11

I don’t think that subtracting 1 from the asset id works anymore.


#12

There is StudioService::CopyToClipboard, but it is still RobloxScriptSecurity. We can’t use the API.


#13

It does not work anymore


#14

Updated the OP, thanks. I heard that this was a trick from somewhere but I forgot to test it on newer decals…


#15

It’s not so much related to “new” decals, it’s just that the rate at which assets are being uploaded has increased so rapidly, that instead of an image and i.e. a clothing/decal being uploaded right after each other, several other uploads of images/places/models/sounds/etc happen in between. So you have to subtract 1 multiple times until you end up at the image. It could still happen that they have consecutive IDs, it’s just much less likely.