How can I make progress according to the direction I could not translate the code.

rotation = translate ?
I did not go according to set rotation

#pragma strict
var ilkPozisyon : Vector3;
var speed = 0.50;
var zamanlayici:GUIText;
private var sure:float=120.0;
function Start()
{
ilkPozisyon = Input.acceleration;
Screen.orientation = ScreenOrientation.LandscapeLeft; 	
}
function Update()
{   
    transform.Translate(Vector3.moveDirection*10*Time.deltaTime*speed);
	transform.Rotate( new Vector3( 0, Input.acceleration.x - ilkPozisyon.x, 0 ) * 20 );
	if (Input.GetKeyDown(KeyCode.Escape))
	{
	Application.LoadLevel("00");
	return;
	}
    if (sure>0){
    sure-=Time.deltaTime;
    zamanlayici.text="Last Time:"+Mathf.Round(Time);
    }
	else{
	zamanlayici.text="Game Over";
	Application.LoadLevel("00");
	}
	
	
	transform.position.y = 55.10735;
}
function FixedUpdate()
{ 
  rigidbody.AddForce( Vector3( Input.acceleration.x - ilkPozisyon.x, 0, -Input.acceleration.z + -ilkPozisyon.z ) * 10 );
}

transform.Translate( Vector3.forward * 150 * Time.deltaTime );