So i have this GUI that is needed for my game (Im making a pokemon one) and i need my textbutton to make it so my other textbutton shows up. Once that one shows up i need to make it open another text button. All my other things are sorted. I need this as Roblox Studio's has changed alot now and it forces you to use filtering enabled.
Use this
local MainFrame = script.Parent local CloseDonations = MainFrame:WaitForChild("CloseDonations") local OpenDonations = MainFrame.Parent:WaitForChild("OpenDonations") OpenDonations.MouseButton1Click:connect(function() MainFrame.Visible = true end) CloseDonations.MouseButton1Click:connect(function() OpenDonations.Visible = true MainFrame.Visible = false end) --script for open close gui --you can change it up to fit your problem
You need to make a main frame and a special close button here is the scripted for that