move object to softly

hi
how to move object soft or glide?
i try with this script

Function move(){
for (var i = 0;i < 10;i++){
transform.Translate(0,0,1);
WaitForSeconds(1);
}
}

but is not work.
the object jumping to new position.
i can not move object softly in 10 second.

Function Move()
{
var timer : float = 0.0;
while( timer < 10.0 )
{
timer += Time.deltaTime;
transform.Translate( Vector3( 0, 0, 1 ) * Time.deltaTime );
}

}

tnx for your answer

but this script work like with my script and object jumping to new position in 1 second

i working with version 2.5

mey be the software version?

Look at this page