Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Textbutton Help: Can someone help, i'm trying to switch between two frames in a scrolling frame?

Asked by 7 years ago
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.

0
Why do you need it to be a local script? If you do you need to use PlayerGUI TiredMelon 405 — 7y
0
oh i was looking at some other ones and it said to use mousebutton1down it has to be a local script b_bybackribs 0 — 7y

Answer this question