Error: Error in script: unexpected symbol near '?'
Code:
open.MouseButton1Down:connect(function() Main.Visible = true Main:TweenPosition(UDim2.new(0,60,0,168), 'Out', 'Bounce', 1, true) open.Visible = false close.Visible = true end) close.MouseButton1Down:connect(function() Main.Visible = false Main:TweenPosition(UDim2.new(0,-500,0,168), 'In', 'Linear', 1, true) open.Visible = true close.Visible = false end)
:Visible
is not a method, even if it was, it requires a parenthesis. Replace the colon (:
) with a dot to fix it.