Pretty much my whole gui is working but i decided to add tabs so i made it like this
Topbar > Mainframe > tabbutton1 Topbar > Mainframe > tabbutton2 Topbar > Mainframe > tabbutton3
Topbar > Tab1 Topbar > Tab2 Topbar > Tab3
And now when i added the script that is meant to make Tab 1 and 2 visible = false i get an error saying this
Attempt to index global "tab2" (a Nil Value)
Heres the script that does it
tabbutton1.MouseButton1Click:connect(function() tab1.Visible = false tab2.Visible = false tab3.Visible = True end)
Any help on this please
Thats my layout in a picture
it's true
not True