How can I change Image of ImageButton/ImageLabel by button?

So I want to make the button change image, when I click on button… Only what it does, the image just disappears.

The code I was using is:

local button = script.Parent

local function leftClick()
	script.Parent.Image = "http://www.roblox.com/asset/?id=6417985215"
end

button.MouseButton1Click:Connect(leftClick)
3 Likes
local button = script.Parent

local function leftClick()
	script.Parent.Image = "rbxassetid://6417985215"
end

button.MouseButton1Click:Connect(leftClick)

It still does the same… Does it work for you?