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

Gui won't go invisible?

Asked by 8 years ago
function onClicked()
    game.StarterGui.Tutorial.Tutorial1.Visible = false
end

script.Parent.MouseButton1Click: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?

0
You dont want to edit the "StarterGui" you need the "PlayerGui". player->[player name]->PlayerGui User#5423 17 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

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!

Ad

Answer this question