The script below makes a gui go from left to right. So I make this gui start from the right side of the screen and it goes to the left. Whenever it goes to the left, the gui just disappears. I want whenever it disappears from the left side of the screen, I want it to appear back on the right side of the screen and repeat.
while true do
script.Parent.Position=script.Parent.Position-UDim2.new(0.005,0,0,0)-- "-" makes it go from right to left
wait()
end

3 comments
Thank you, it works when it hits the side of the screen but it changes the position. How do I make it as the same position as it is before?
Oh, i'll adjust it to do that, hold on a min :P
Fixed it. I think that's what you meant.