I’m making a interactive whiteboard that works with images. I’m trying to put an image via a script but it wont work. I’m using “http://www.roblox.com/asset/?id=”…id and as you can see the id gets printed correctly in the server output. Eh
Did you try to just insert the ID
inserting the id works fine but I need to put the id via script
Is the image suppose to come up on white board or the GUI
Paste the ID on a decal and wait for it to load. Afterwards, copy the ID with the “rbxasset://” prefix. That should be the ID you wanna work with.
The image is supposed to appear on the white board and on the GUI
Try to do
"http://www.roblox.com/asset/?id=".."ID" -- Remove brackets if your using ID as variable
thats what I was already doing
You put 3 fullstops rather than 2
Oh, is it because the IDs you are inputting are a decal? Use this solution a Roblox Staff posted if you want to convert the decal to a Image because the Image property has to be a Image not a decal.
EDIT: this will only work for ROBLOX’s (UserId: 1) assets sadly, there is another way to grab the Image, (MarketplaceService.GetProudctInfo, and inside the table look for “IconImageAssetId”)
Thank you so much, it works now
btw this thing works only with your personal assets, I just used an api to get the image from the decal id