So I have tween guis. I want to know how you make it so you open a gui but then you open another gui which close the one you first opened.
I have a button in the button is the tween script
local frame = script.Parent.Parent.Frame
local open = false
script.Parent.MouseButton1Down:connect(function()
if open == false then
frame:TweenPosition(UDim2.new(0.896, 0,-0.005, 0),'Out','Bounce',.5)
open = true
else
frame:TweenPosition(UDim2.new(0.896, 160,-0.005, 0),'Out','Bounce',.5)
open = false
end
end)
Any ways to add on with the button to make it so open the first gui and open another gui which closes the first gui.
