Vehicle move on overlap help

Hello,

I am struggling with this vehicle. It only moves left for a second and stops, can I do this with line trace? Any help would be much appreciated.

vehicle explained:

Lets say the vehicle is a cube
I want my player to stand on top.
When the player moves to the left side of the cube it moves left.
When the player moves to the right side of the cube it moves right.