script.Parent.MouseButton1Down:Connect(function(CloseMenu) script.Parent.Parent:TweenPosition(UDim2.new("0.008, 0, 0.034, 800"), 'Out', 'Bounce', 0.5) end)
But the frame moves up and to the left a bit.
Like lucldIy said, remove the quotes from the UDim2.