So I am using a localscript to change the image of an image button. The localscript is located inside of the imagebutton. I have the link part put and then I'm trying to make the image id be the number found inside of an IntValue called ID.

script.Parent.Image=('http://www.roblox.com/asset/?id='.. (script.Parent.ID.Value))

However this doesn't work and I was wondering if there was a way to do this successfully.

1 comment

0

This should work. What does "doesn't work" mean? Is the script running? Is it setting the Image? Are there any errors?