How To Load İmage (With ID) İnto Object With The Help Of Gui?

Hello there,
First of all, I couldn’t find what I wanted to do anywhere. So I’m looking for someone who can help.I’m confused on how to do it.

What I want to do:
With a Gui (as in the picture), I want the decal to appear in the clipboard when the ID for the decal is typed where it says “ENTER ID”.


Also, with the help of a Gui (as in the picture), I want it to appear on my clipboard when any text is written to the place where it says “ENTER ID”.


image


Thank you so much to everyone who helped, read, tried to answer! :slight_smile:

1 Like

https://developer.roblox.com/en-us/articles/Content

local setbutton = script.Parent --the big green set button directory lol
local idbox = script.Parent.Parent.Box --the enter id box directory
local decal = game.Workspace.Frame.Decal --the frames directory

setbutton.MouseButton1Down:Connect(function()
    local id = idbox.Text
    decal.Texture = "rbxthumb://type=Asset&id="..id.."&w=150&h=150"
end)

note that the decal will not replicate across clients due to this being within a Local Script

2 Likes