works most of the time (make a remix or see inside to set variables such as speed and end x and y)
I made this all by myself