I am trying to make a collection game, where by clicking on character you get it's GUI image. What I have been trying to do is make the ImageLabel transparency 0 by using ClickDetector inside of a part. The problem is that my image still stays invisible. I put the ImageLabel in ScreenGui which is also in StarterGui. I made a script and thats how it looks:

script.Parent.ClickDetector.MouseClick:Connect(function(Player)
	game.StarterGui.Unlocks.UnlockedList.Cub.ImageTransparency=0
end)

Edit: The ImageLabel is also in Frame

1 comment

0

use MouseButton1Click