How would I move a car forwards and backwards with velocities/scripts?

I have tried using linear velocities but that all swerve to the right/left (depending on speed) What would be a solution to move a motorcycle? (It already stays up but it just does not go forward correctly.)