Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

Log in to vote
3
Answered by
appxritixn 2235 Moderation Voter Community Moderator
3 years ago
Edited 3 years ago

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

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 HystericalSwagman 0 — 3y
1
The string would be "http://www.roblox.com/asset/?id=YOUR_ID_HERE" (replace YOUR_ID_HERE with the id of the image) appxritixn 2235 — 3y
Ad

Answer this question