-
Introduction
When the button is clicked I have it so four ImageButtons in the same ScreenGUI become visible.
For whatever reason, they are not becoming visible. I’m not getting any errors and have a print statement inside the function that is working so I’m just really confused. I’ve been looking at this for the past two hours trying to find other ways to get it to work and no luck, any help would be appreciated. Let me know if you need any other information. Thanks!!
-- Play Button --
script.Parent.MouseButton1Click:Connect(function()
local menu = StarterGui.Menu
local imageButton1 = menu.ImageButton1
local imageButton2 = menu.ImageButton2
local imageButton3 = menu.ImageButton3
local imageButton4 = menu.ImageButton4
imageButton1.Visible = true
imageButton2.Visible = true
imageButton3.Visible = true
imageButton4.Visible = true
print("should be visible!!!")
end)
end