I want the player to be able to put in the id of a decal, and it show up for there house, but roblox does that thing where its a different id once inserted and doesn’t want to work, how do I make this workaround to get the right id?
1 Like
I can’t guarantee that this will be the solution to your problem since you’re asking about something else but I’m pretty sure you have to append the “http://www.roblox.com/asset/?id=” string to the front of the id for decals to display them
1 Like
The Decal’s Id for some reason no longer works. If you use the Image’s Id it will work
( not every player knows where and how to find the image id )
I did find this, but too much of a read for something this ‘simple’. Maybe it will be of use however.
What I did also find…
Old:
textbox.Parent.Image = "rbxassetid://"..textbox.Text``
New:
textbox.Parent.Image = string.format("rbxthumb://type=Asset&id=%s&w=420&h=420", textbox.Text)
Not sure if there’s any drawbacks to using this, but perhaps it solves the issue :`)
2 Likes
i had this issue with a spray can tool i was making and heres what i did
"https://www.roblox.com/asset-thumbnail/image?assetId="..id.."&width=420&height=420&format=png"
it now gets the correct image every time
1 Like