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

How To Make A Text Button Close A Certain GUI? [closed]

Asked by 5 years ago

This question already has an answer here:

How To Make A Text Button Close A Cartain GUI?

HI, I'm Tantalingo and I'm currently making a game. In this game, I have a welcome screen with a text button. I want to make it so when the text button is clicked, the GUI isn't shown anymore.

Thank you, .Tantalingo.

local Button = script.Parent
Frame = script.Parent.Parent.Menu

if Frame.Visible == true then
Frame.Visible = false
end
end

Button.MouseButton1Click:connect(onClick)

Marked as Duplicate by User#23365, WideSteal321, and xPolarium

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?