AI movment script funtion start error ?

Hello,

I’m working on AI and i suck, wondering if you guys could help ? This is part of the Ai Movement script but I’m stuck with the function start part what do i put in the target = part i tried “Player” but it just gives me errors, what I’m i meant to put ?

#pragma strict
private var target : Transform;
var waypoint : Transform;
private var targetRotation : Quaternion;
private var targetVector : Vector3;
private var move : boolean = false;
private var playerLastSeen : Vector3;
private var visitedLastSeen : boolean = true;
private var targetPriority : int = 0;

private var curTarget : Vector3;

var turnSpeed : float;
var attackRange : float; 
var targetBuffer : float;
var desiredSpeed : float;
var forceConstant : float;
var viewAngle : float;
var viewRange : float;
var hearRange : float;

function Start () {
	target = 
}

function Update () {
	if(MouseLookDBJS.freeze)
		return;
	var sees : boolean = CanSeeTarget();
	var relativePos : Vector3;
	if(sees){
		curTarget = target.position;
	} else if (!visitedLastSeen) { 
		curTarget = playerLastSeen;
	} else {
		if(waypoint) {
			curTarget = waypoint.position;
		} else {
			curTarget = Vector3(0,0,0);
		}
	}

You need to find the player with:

target = GameObject.FindGameObjectWithTag("Player").GetComponent(Transform);