local frame = script.Parent.Parent.Parent.mainshop toggled = false script.Parent.MouseButton1Click:connect(function() if toggled == false then frame:TweenPosition(UDim2.new(0.7, 0, 0, 0), 'out', 'Linear' , 1) toggled = true else frame:TweenPosition(UDim2.new(0, 0, 0, 0), 'out', 'Linear' , 1) toggled = false end end)