How to get Image URL from Decal? (through scripts)

So in the Image URL It would be like:

So, How do I get Image URL from Decal?

1 Like

Insert an ImageLabel/ImageButton instance and paste the decal’s ID into its “Image” field, the ID will be automatically translated into its corresponding image ID.

1 Like

No, that’s not what I meant.

1 Like

I meant URL Link like this:
Png (420Ă—420) (rbxcdn.com)

1 Like

Oh, you right click on an image on the Roblox site and then click “open image in new tab”, this may be differ depending on the browser.

2 Likes

Yes, but how would I get an URL from Decal? (through scripts)

1 Like

Are you asking how to get the URL of a decal using a script?

1 Like

Yes.

1 Like

Do you still need assistance with this? If so you can try this

local decally = script.Parent --Change this to the root of your decal
local decalId = decally.Texture

In other words to get the URL of a decal you can just do .Texture of the decal and that will give you the URL of the current image on a decal. Sorry in advanced if I poorly explained that.