**THANKS SO MUCH iiiAmericanLight FOR SOLVING THE QUESTION! ** So, I'm making a game, obviously, and I'm trying to make these imagelabels turn visible by the press of a button, but the button doesn't do anything. Before you ask, the imagelabels work perfectly if I manually turn them visible on Roblox studio, it's just I want it where, like I said, the button turns them visible. When I mean they work perfectly, I mean that they turn visible. The script:
local Cat = script.Parent.Parent.Cat local Cat2 = script.Parent.Parent.Cat2 local Cat3 = script.Parent.Parent.Cat3 local Cat4 = script.Parent.Parent.Cat4 local Cat5 = script.Parent.Parent.Cat5 script.Parent.MouseButton1Click:connect(function() script.Parent.Text = "Hi" Cat.Visible = false Cat2.Visible = true wait(0.2) Cat2.Visible = false Cat3.Visible = true wait(0.2) Cat4.Visible = true Cat3.Visible = false wait(0.2) Cat4.Visible = false Cat5.Visible = true wait(0.2) Cat5.Visible = false Cat4.Visible = true wait(0.1) Cat4.Visible = false Cat.Visible = true end)
Thank you!