I learned how to use TweenPosition and I decided I wanted my Gui to loop infinitely.
But...
function ZipOnThrough() while true or false do script.Parent:TweenPosition(UDim2.new(0, 893,0, 0), "Out", "Quad", 4, true) wait(4) script.Parent:TweenPosition(UDim2.new(0, 0,0, 0), "In", "Quad", 4, true) end end script.Parent.MouseButton1Click:connect(ZipOnThrough)
It doesn't work. It would just go to the coordinates "0, 893,0, 0" but then it would just stop. I would really appreciate the help.
function ZipOnThrough() while wait(4) do script.Parent:TweenPosition(UDim2.new(0, 893,0, 0), "Out", "Quad", 4, true) wait(4) script.Parent:TweenPosition(UDim2.new(0, 0,0, 0), "In", "Quad", 4, true) end end script.Parent.MouseButton1Click:connect(ZipOnThrough)