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

How to make GUIs invisible?

Asked by 10 years ago

So, I have a GUI welcome screen, and when the close button is clicked I need it to make the GUIs invisible. The GUIs are called Welcome, Close, Created by, and GUIs by. When close (a textbutton) Is clicked, it needs to make all 4 GUIs disappear. I tried going into the GUIs visible property, but it didnt work. The GUIs are located in StarterGui. Please help!!

2 answers

Log in to vote
0
Answered by 10 years ago

So, I assume that the script is inside of "Close", and that "Close", "Welcome" and all the others are part of a screenGUI.

You'll have to change the "Visible" property of the GUIs you want invisible. Here's an example:

Close = script.Parent
Welcome = script.Parent.Parent.Welcome

function die()
Close.Visible = false
Welcome.Visible = false
end

Close.MouseButton1Clicked:connect(die)

That's the basic script you'll need, add the other variables and such.

Ad
Log in to vote
1
Answered by 10 years ago

Go into the settings and find background transparancy and change it into 1.

0
Not quite what I wanted... Antharaziia 75 — 10y

Answer this question