I was trying to make a script
function makeElement(imgID) image = Instance.new("ImageLabel") image.Image = "rbxassetid://".."73737627" image.BackgroundTransparency = .5 image.Size =UDim2.new(imageproportion,0,imageproportion,0) image.Parent = shop end
But it keeps saying that the request failed. I inputted the same ID into an ImageLabel that I created manually and it had no problems. Why is this and how do I fix my script?
I did not publish the place I was working on if that is useful info
Look in toolbox under 'my decals', put the decal somewhere and look at it's properties. Take the asset id number from there, and put it in your code.
When you manually put in the catalog id from the website, it will automatically convert it to the right asset id. however, when you do it by script during the running game, this does not apply. Hence you need to give it the right number, the asset id you find when you make the decal.