of     1   

RoblotXRB
#184462476Sunday, February 28, 2016 7:45 AM GMT

MY GUI in my game wont close. Any gui. Shop,armor all cant close when you press X. game.ReplicatedStorage.GUI.CloseButton.CloseScript The script in the close X button is function close() script.Parent.Parent.Parent:Remove() end script.Parent.MouseButton1Click:connect(close)
myactivetestplace
#184463925Sunday, February 28, 2016 8:37 AM GMT

Try to move the script into the textbutton then do script.Parent.MouseButton1Down:connect(function(click) script.Parent:Destroy() end)
RoblotXRB
#184464389Sunday, February 28, 2016 8:52 AM GMT

^^ By the way. The game.ReplicatedStorage.GUI.CloseGUI is where the close gui is located so i dont know what do you mean by textbutton. Is it the Close Gui?
myactivetestplace
#184464437Sunday, February 28, 2016 8:54 AM GMT

Oh sorry the one you want them to click to delete it. Also all of this should be in starter gui.
RoblotXRB
#184464712Sunday, February 28, 2016 9:04 AM GMT

No its supposed to be in replicated storage. The starter gui will show a button to open another gui
RoblotXRB
#184467325Sunday, February 28, 2016 11:22 AM GMT

bump
RoblotXRB
#184528186Monday, February 29, 2016 6:04 AM GMT

BUMP GOD DAMNIT
DevelopmentStatus
#184528396Monday, February 29, 2016 6:10 AM GMT

You can still add this to StarterGui, you don't need a million guis, make the frame/button/whatever you're using Visible = false db=1 script.Parent.MouseButton1Click:connect(function() if db==1 then db=2 frame.Visible = true else db=1 frame.Visible = false end)
RoblotXRB
#184531765Monday, February 29, 2016 10:06 AM GMT

whats db?
RoblotXRB
#184535008Monday, February 29, 2016 2:11 PM GMT

TRAMPOLINE! BACK TO THE FRONT FIRST PAGE! BUMPITY BUMP BUMP
TimeTicks
#184535332Monday, February 29, 2016 2:26 PM GMT

--place the gui in startergui local gui = script.Parent local menu = gui.Parent.Parent gui.MouseButton1Click:connect(function() menu:Destroy() end)
RoblotXRB
#184631659Wednesday, March 02, 2016 5:57 AM GMT

^^^ IT seems to be working.. for now......

    of     1