1 | function onClicked() |
2 | game.StarterGui.Tutorial.Tutorial 1. Visible = false |
3 | end |
4 |
5 | script.Parent.MouseButton 1 Click:connect(onClicked) |
I know it's a basic script, but the output won't give me any errors, and the Gui and it's children won't go invisible?
Is that the whole script? If it is then I would recommend putting local variables for the Tutorial numbers. One thing to do instead of visible is out each tutorial with BackgroundTransparency to 1 and the text. I know it's a lot of work but it will get the job done. Also instead of MouseButton1Click use MouseButton1Down. Hope it solves the problem!