How to convert decal id to an image id

Im trying to make a decal on a gui however they have a imagelabel not a decal label im trying to find out how to convert a decal id into an image id

local plr = game.Players.LocalPlayer
local textbox = plr.PlayerGui.ScreenGui:WaitForChild("makesand").picture.TextBox
local image = plr.PlayerGui.ScreenGui.makesand.picture.ImageLabel


textbox:GetPropertyChangedSignal("Text"):Connect(function()
	image.Image = "rbxassetid://"..textbox.Text
end)	
3 Likes

You can’t but if you add a screenGUI on a part and then add an imageLabel, then copy and paste the decal id in the imageLabeltheb it should be what you want. Hope this helps!

1 Like

you can. Imiji - convert decal IDs to image IDs - #2 by Inkthirsty

i don’t know how to do it through a script though

3 Likes

Copy and paste the decalId into the “Image” property of an “ImageLabel” or “ImageButton” instance, the field will automatically convert the decalId into its corresponding imageId.

1 Like

what about through a script???

1 Like

OH WAIT DIDNT SEE UR TRYING TO CONVERT SOMEONES ENTERED IMAGE ID idk it should work how you have it

OLD:

You have to upload it in the asset manager
Go view > make sure asset manager is selected > in asset manager double click on images >
click this >>>> Screen Shot 2021-11-12 at 1.10.39 PM
select the file and upload then you can right click on the recently upload icon and should be able to copy id

I know this is old but you can use insert service to load the id using :LoadAsset()

3 Likes