script.Parent.MouseButton1Down:connect(function() script.Parent.Parent:TweenPosition(UDim2.new(450, 50, 1, 0),"Out","Sine") end)
I got the X and Y values in there...
Change the value to 0 or the actual original position of the frame.
local frame = script.Parent.Parent frame:TweenPosition(UDim2.new(0.5, -235, 1, 100),"Out","Sine", 1)