an instance of type 'unityengine.transform' is required to access non static member 'position' ????

#pragma strict

var TheDamage : int = - 50;
var Distance : float;

function Update ()
{
if (Input.GetButtonDown(“fire 1”))
{
var hit : RaycastHit;
if (Physics.Raycast (Transform.position, transform.TransformDirection(Vector3.forward), hit))
{
Distance = hit.distance;
hit.transform.SendMessage(“ApplyDamage”, TheDamage, SendMessageOptions.DontRequireReceiver);
}
}
}

On line 8 (probably - can’t tell from your formatting), Transform should be transform.