Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I use a script to change an image using it's ID?

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.

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)

http://www.roblox.com/asset/?id=YOUR_ID_HERE

Edit

That link would be the image URL

2 comments

0

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

1

The string would be "http://www.roblox.com/asset/?id=YOUR_ID_HERE" (replace YOUR_ID_HERE with the id of the image)

This discussion is preserved as it was. New answers, comments, and votes are closed.