1 | script.Parent.MouseButton 1 Down:connect( function () |
2 | script.Parent.Visible = false |
3 |
4 |
5 | script.Parent.Parent.Parent.MenuGui.Menu.Visible = true |
6 |
7 |
8 | end ) |
Okay i have a Click to start Gui, (or welcome GUI) The welcome GUI closes but im trying to make it so that when the the GUI closes another one opens up. What do i do to fix this because its not working.
1 | function onClicked() |
2 | script.Parent.Visible = false |
3 | script.Parent.Parent.Parent.MenuGui.Menu.Visible = true |
4 |
5 |
6 | end |
7 |
8 | script.Parent.ClickDetector.MouseClick:connect(onClicked) |
Hope this helps !