UnassignedReferenceException

im new to scripting so can you guys tell me what to do

UnassignedReferenceException: The
variable TheKnife of MeleeScipt has
not been assigned. You probably need
to assign the TheKnife variable of the
MeleeScipt script in the inspector.
UnityEngine.Component.GetComponent[Animation]
() (at
C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineComponent.gen.cs:45)
MeleeScipt.Update () (at
Assets/MeleeScipt.js:12)

#pragma strict

var Damage : int = 50;
var Distance : float;
var MaxDistance : float = 1.5;
var TheKnife : Transform;

function Update ()
{  
	if (Input.GetButtonDown("Fire1"))
	{
		TheKnife.GetComponent.<Animation>().Play("Stab");
		var hit : RaycastHit;
		if (Physics.Raycast(transform.position, transform.TransformDirection(Vector3.forward), hit))
		{
			Distance = hit.distance;
			if (Distance < MaxDistance) 
			{
				hit.transform.SendMessage("ApplyDamage", Damage, SendMessageOptions.DontRequireReceiver);
			
			}
		}
	}
}

UnassignedReferenceException: The variable TheKnife of MeleeScipt has not been assigned.

Assuming the code that you posted is your MeleeScript.js script file, then it says you are using a variable called TheKnife and it hasn’t been assigned to anything. You’re using it on line 12.

You probably need to assign the TheKnife variable of the MeleeScipt script in the inspector. 

So the error is saying you might need to set a value for TheKnife in the inspector. Often variable that are visible in the Inspector are not Transforms. Might be better to make it a GameObject, and then get the Transform from that.