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)