When a player opens a card pack, he should be able to click the list item and save that image to his team, why isn't this working? Heirarchy is correct, I checked, no error in output.

if script.Parent.Parent.BackgroundTransparency == 0 then
	a = script.Parent.Image
		function onButtonClick()
			if script.Parent.Parent.Parent.Parent.MyClubMenu.CardsFrame.Player1.Image ~= "" then
				script.Parent.Parent.Parent.Parent.MyClubMenu.CardsFrame.Player1.Image = a	
			end
		end
	end
script.Parent.Parent.Parent.Actions.SaveCard.MouseButton1Click:connect(onButtonClick)

3 comments

0

I'm logging off, I'll check my answers in the morning. Don't expect to be able to reach me.

0

What is not happening that is supposed to be happening?

0

@1waffle1, The image doesn't appear on the other frame.