I want to have a customization button that closes the main menu frame and opens the customization frame. However, whenever I click on the text button, only the main menu disappears. This is the code I'm using.
local frame = script.Parent.Parent
local camera = game.Workspace.CamPart
local currentcamera = game.Workspace.CurrentCamera
local customframe = game.StarterGui.CustomizationGUI.Options
script.Parent.Activated:Connect(function()
if frame.Visible == not false then
customframe.Visible = not false
frame.Visible = not true
end
end)

2 comments
OK i have edited my answer should work now.
.