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

How do I hide a screenGUI and then make it reappear?

Asked by 7 years ago

How do I hide a screenGUI to show a intro I had found through a plugin and then make it reappear.It is a text button and I have the code for that to disappear after it has reappeared but I can't find how to hide it for about 10 seconds.The code for the text button to disappear:

script.Parent.MouseButton1Click:connect(function()

    script.Parent.Visible = false

end)

0
The anwser for this should be in free models, unless you really want to learn from this. ChristianSenpaii 29 — 7y
0
ShinyRedDiamond I’d advise you wach Roblox Scripting tutorials on YouTube, you will lean from them and you’ll be able to do relitavley simple tasks! OMG_Gaming404 73 — 7y

2 answers

Log in to vote
0
Answered by
I_0KI 40
7 years ago
Edited 7 years ago

From what I understand you mean this.

script.Parent.MouseButton1Click:connect(function()

    script.Parent.Visible = false
    wait(10)
    script.Parent.Visible = true

end)
Ad
Log in to vote
0
Answered by 7 years ago

Well if you want button to disappear and reappear:

script.Parent.MouseButton1Click:connect(function()

    script.Parent.Parent.Visible = false
    wait(10)
    script.Parent.Parent.Visible = true

end)

Answer this question