Refer to the title.
Thanks in advance.
Refer to the title.
Thanks in advance.
Hello Spyroxs,
There are two ways to do this
So, I think what you want to do is put all the elements of the GUI inside a frame. And then make the frame's size as (1,0)(1,0)
Then run this:
local button = --Put button path here
local frame = --Put frame path here
button.Clicked:connect(function()
frame.Visible = false
end)
or
Just disable the ScreenGui
Then run this:
local button = --Put button path here
local gui = --Put gui path here
button.Clicked:connect(function()
gui.Enabled = false
end)
Thanks, Radio
If this helped you, click the accept answer button, it helps me and you
:)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
you can put all the Guis inside of ScreenGui and when you press the button, Disable ScreenGui