Vector3 Issues - Not Able To Solve Constructor issue

Alright, I’ve typed this up three times now, only to lose my progress to the infernal web, so excuse me if this seems a little bit graceless about asking this question.

Basically, I’ve done some research around a particular error I’m having. Error:
BCE0024: The type ‘UnityEngine.Vector3’ does not have a visible constructor that matches the argument list ‘(UnityEngine.Vector3)’.
to be specific.

The error originates from the line…

myTransform.rigidbody.velocity = Vector3(lookDir.normalized * MoveSpeed * Time.deltaTime);

Now, I’ve done some research about this, myself. I’m told that I have to ‘construct’ things in order for Vector3 to be able to process them into an actual vector.
I’ve gone and done, testing it. I specified that the lookDir is the element which is causing the error. The rest functions well.
The problem though: lookDir is actually defined, so how is this error still occurring? Of course, to make any judgement on this, you’ll have to look at the script…

var Player : Transform;
var MoveSpeed = 4;
var MaxDist = 10;
var MinDist = 5;
var myTransform : Transform;
var distance = Vector3.Distance(Player.position, transform.position);
function Awake(){
    myTransform = transform; 

function Update () 
	if (distance <2f) 
	var dist = Vector3.Distance(Player.position, myTransform.position);
    var lookDir = Player.position - myTransform.position;

    	if(Vector3.Distance(transform.position,Player.position) >= MinDist){
 		 myTransform.rigidbody.velocity = Vector3(lookDir.normalized * MoveSpeed * Time.deltaTime);
         if(Vector3.Distance(transform.position,Player.position) <= MaxDist)

Why is the error occurring? Have I misunderstood what I have to do?

the answer couldn’t be simpler !

.velocity = Vector3(lookDir.normalized * MoveSpeed * Time.deltaTime);

should be

.velocity = lookDir.normalized * MoveSpeed * Time.deltaTime;

Also you have a severe problem. Never do this:

var lookDir = Player.position - myTransform.position;

You must do this

var lookDir:Vector3;
lookDir  = Player.position - myTransform.position;

You may have other problems, you must fix those two first. Make a new question if you have further problems. Cheers!

You don’t need to construct a Vector3 as you already have one in LookDir. So you construct a vector3 with x y z components (not an existing vector as you just never need to do that). Just do you multiplication and apply it to the rigid body’s velocity.