movement of the charater

i am using left and right arrow for the movement of the character in my need when i press left arrow my character should rotate a certain degree(as like turing to left) in the left side and should translate to certain distance in the left wise in right side also

In my experience, it's often better to start working on a project and then ask for help with any specific problems you encounter, rather than to simply ask for a script to do "x and also y".

You should try scripting this yourself, and when you get stuck (even if it's on the first line), come to us for help. You'll get a good deal more attention that way, guaranteed. ;)