Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make GUIs invisible?

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

✓ Accepted answer

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.

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

1 comment

0

Not quite what I wanted...

This discussion is preserved as it was. New answers, comments, and votes are closed.