Moving Platform relative to current position within a given Range

Hi man , this is on my first Platform selfmoving.
you can give him a Distance , a direction (vector). and a speed(changing the X in the DO1onX)
It will go endlessy forward and back.

Hope this help you .