Enemy Follwing script doenst work

This is my Script:

using UnityEngine;
using System.Collections;

public class EnemyAI : MonoBehaviour {
	public Transform target;
	public int moveSpeed;
	public int rotationSpeed;
	public int maxdistance;
	
	private Transform myTransform;
	
	void Awake(){
		myTransform = transform;
	}


	void Start () {
		GameObject go = GameObject.FindGameObjectWithTag("Player");
		
		target = go.transform;
	
		maxdistance = 2;
	}
	

	void Update () {
		Debug.DrawLine(target.position, myTransform.position, Color.red); 
		

		myTransform rotation = Quaternion.Slerp(myTransformrotation, Quaternion.LookRotation(target.position - myTransform.position), rotationSpeed * Time.deltaTime);
		
		if(Vector3.Distance(target.position, myTransform.position) > maxdistance){
		//Move towards target
		myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;
	
		}
	}
		
}

Bit it gives me an error.

Can nobody help?

I guess if you had a look at the error - whatever it is - you would be point to line 30 of the script. It should be myTransform.rotation.