of     1   

bossbroblox
#138408604Friday, June 27, 2014 8:04 PM GMT

I don't know if I am being specific but I'm scripting a textbutton you click on it and it opens a window... But when you open it it needs to close the resent window... Example this is the script... local Button = script.Parent Frame = script.Parent.Parent.SheffGui function onClick() Frame.Visible = false end Button.MouseButton1Click:connect(onClick) SheffGui is the thing that needs to be closed... (Please reply helpful comments) :D
Fluent_Lua
#138409015Friday, June 27, 2014 8:07 PM GMT

local Button = script.Parent Frame = script.Parent.Parent.SheffGui newGui = --Put the pathway for the GUI you want to open function onClick() Frame.Visible = false newGui.Visible = true end Button.MouseButton1Click:connect(onClick)
bossbroblox
#138805582Tuesday, July 01, 2014 1:06 AM GMT

Thanks bro! It helped alot but before you told me my brother who is an expert lua scripter just helped me XD but thanks. Anyways me and my brother are making an epic game! it is called smash clash you can soon download it on the iphone but you look at our twiter are anything like that XD

    of     1