I've worked with gui's a lot but still cannot figure out this issue.
main:TweenSize(UDim2.new(0, 0,0.61, 0),"In","Quint",.5) elseif open == true then open = false main:TweenSize(UDim2.new(.167, 0,0.61, 0),"In","Quint",.5)
Im trying to tween "main" to the right instead of the left. Don't worry about the stuff in the middle.
To tween GUI you should do:
GUI:TweenPosition(UDim2.new(0, 0, 0.61, 0) "In", "Quint", 5, false, nil)