Okay, so I have a ImageButton that opens up a frame. But When I add another Button and frame, it only opens the same one. I've tried several different ways and still cannot get it. Please help me.
Here is the code,
script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent["Frame"].Visible == false then script.Parent.Parent.Frame.Visible = true else script.Parent.Parent.Frame.Visible = false end end)
It works fine if there is only a single frame. I really need this to work. Any suggestions?