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

How can I make a menu that spans across multiple different GUIs?

Asked by 8 years ago

Here's what my Explorer looks like:

http://i.imgur.com/nQCiWsq.png

When a TextButton is pressed, I want it to remove the current ImageLabel being displayed (Main) and show a different ImageLabel. The only problem is I have no idea where to start. Any help? <3

1 answer

Log in to vote
0
Answered by
iFlusters 355 Moderation Voter
8 years ago

Maybe something like this?

function TextButton1()
    TextButton1.Transparency = 0
    TextButton2.Transparency = 1
end

function TextButton2()
    TextButton1.Transparency = 1
    TextButton2.Transparency = 0
end

script.Parent.TextButton1.MouseButton1Click:connect(TextButton1)
script.Parent.TextButton2.MouseButton1Click:connect(TextButton2)
0
Well, not quite. It's probably my fault for wording the question wrong, but when a TextButton is pressed it should make the current ImageLabel invisible and display another ImageLabel. Green_Lemon 5 — 8y
Ad

Answer this question