GUI Image Changing

Hey everyone!

This is probably very simple and I’ve done it before, but it’s late and I can’t remember what to do.

I’m trying to change the image of the ImageButton through a script and it doesn’t work.

The script is local.

Thank you in advance.

--Try using:
"http://www.roblox.com/asset/?id="
--instead of:
"rbxassetid://"
1 Like

First of all plr is not a parameter of MouseButton1Click Second, that should work, so check if the ImageTransparency = 1.

1 Like

Try printing to see if its even running

That’s what warn("changed") is doing.

Can you show us the explorer along with the properties of your image label?

Still doesn’t work. It just goes invisible. The ImageTranspareny = 0 and all of the images have been accepted.

I’ve checked and the ImageTranspareny = 0.

image

image

I solved it myself.

Thank you everyone that tried to help!