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

Gui won't go invisible?

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?

1 comment

0

You dont want to edit the "StarterGui" you need the "PlayerGui". player->[player name]->PlayerGui

1 answer

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!

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