Hi,
what are you using as a tweening engine? iTween, dotween, something else?
The key here is the tween in local mode your left and right movement. it doesn't really matter what tweening engine you use, you must find the setting that animates locally your transform and you'll be fine.
Bye,
Jean