function onClicked() script.parent.frame1.visible = true script.parent.frame2.visible = false end script.Parent.MouseButton1Down:connect(onClicked)
I'm trying to make a script that when you click a text button it switches between guis, can someone help me fix it? BTW it's a localscript.