I want to make a tool that works somewhat like the spray can, where you can type an ID and it will pull up the image. I just want to know how to use a script to get an image from an ID.
COMMUNITY QUESTION
How would I use a script to change an image using it's ID?
1 answer
Keep in mind this is not a request site, it is a site to get help with existing code.
With that being said, this is the method I use: (replace "YOUR_ID_HERE" with the id you are using)
Edit
That link would be the image URL
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I understand, i'm not requesting an entire script, as i already know how to script, but I just don't know how to connect "http://www.roblox.com/asset/?id=" with an id to be a single string
The string would be "http://www.roblox.com/asset/?id=YOUR_ID_HERE" (replace YOUR_ID_HERE with the id of the image)