I am trying to make a script for a menu that will show 4 more buttons by clicking on the "Class Setup" button but keeping that button visible and by having that same button close it. I have tried several types of codes but I'm not sure why it won't work as I expect it to. I am starting from scratch again on the script but I wanted to know if anyone could tell me what code I can use to get these results.
script.Parent.MouseButton1Click:connect(function() local a = -- the frame script.Parent.Parent.Frame2 -- two different frames must be needed a.Visible = not a.Visible end)
thank you for using, in a screen gui it makes a frame called Frame2 visible and invisible when you click on it remember to keep this script in the first frame inside a text button
~greatneil80