How can I make the title of a game disappear as well as the buttons to it?
Asked by
8 years ago Edited 8 years ago
Ok. For detail, I'm creating a game that has a main menu. I have created 3 buttons (inside a frame) that are scripted. The buttons are NAMED PlayButton ,LoadoutButton , and StoreButton.(NOT TEXTED) I have successfully been able to script the PlayButton to where it makes all of the buttons disappear after 3 seconds.
The Code of the PlayButton \/
01 | script.Parent.Parent.Visible = true |
03 | script.Parent.MouseEnter:connect( function () |
04 | script.Parent.BackgroundColor 3 = BrickColor.Red().Color |
07 | script.Parent.MouseLeave:connect( function () |
08 | script.Parent.BackgroundColor 3 = BrickColor.White().Color |
11 | script.Parent.MouseButton 1 Click:connect( function () |
12 | script.Parent.Text = "3" |
14 | script.Parent.Text = "2" |
16 | script.Parent.Text = "1" |
18 | script.Parent.Parent.Visible = false |
Now the problem is, I've made a textlabel in the screengui called "Title" saying the title of the game which is "Ace Force 6". How can I make it disappear like the buttons?
Also note that all of these buttons, titles, frames I have said are all in a screengui.
If you want to see the main menu personally, go to
https://www.roblox.com/games/712700161/Ace-Force-6
*It doesn't seem to work if I put it in a link.