When a card is clicked, a zoomed version of the card appears beside it. Still not sure why this isn't working.

a = script.Parent.Image
function onButtonClick()
	script.Parent.Parent.CardBackground.Card.Image = a
	script.Parent.Parent.CardBackground.Card.Visible = true
end
script.Parent.MouseButton1Click:connect(onButtonClick)

3 comments

0

Any error?

0

@funyun Output isn't saying anything. Everything is located correctly according to the explorer. Not sure what is wrong. :/

0

Can you describe the hierarchy of objects?