How would I reverse this Tween so it goes back to the position it was before it was clicked.
bin = script.Parent function Clicked() script.Parent.Parent:TweenPosition (UDim2.new(0,0,0,1,0),"Out","Linear",1,true,nil) wait(3) bin.Parent.Visible = false end bin.MouseButton1Down:connect(Clicked)
bin = script.Parent original = bin.Parent.Position out = false function Clicked() if out == false then script.Parent.Parent:TweenPosition(UDim2.new(0,0,0,1,0),"Out","Linear",1,true,nil) out = true else script.Parent.Parent:TweenPosition(original, "Out", "Linear", 1, true, nil) out = false end end --[[ I'm not sure where you want to put this stuff.... wait(3) bin.Parent.Visible = false ]] bin.MouseButton1Down:connect(Clicked)