How would I smooth this out?

I wrote a script for enemy movement. How would I smooth out the last line of code, where the enemy follows you?

public Transform player; 
	public float noticeDistance = 10f; 
	public Animator animator; 
	private bool isWalking = false; 
	public float time = .85f; 

	void Start () {
		
	}
	
	void Update () {
		if (Vector3.Distance (player.position, this.transform.position) < noticeDistance) {
			Vector3 direction = player.position - this.transform.position; 

			direction.y = 0; 

			this.transform.rotation = Quaternion.Slerp(this.transform.rotation, 
				Quaternion.LookRotation(direction), 0.1f); 

			if (direction.magnitude > 3) 
			{
				isWalking = !isWalking; 
				animator.SetBool ("Walking", isWalking); 
				this.transform.Translate(0, 0, time); 
			}
		}
	}

You can use this line in ur code;

 if (direction.magnitude > 3) 
             {
                 isWalking = !isWalking; 
                 animator.SetBool ("Walking", isWalking); 
                 this.transform.Translate = Vector3.Slerp(0, 0, time); 
             }