Camera follow Player with tag

Need help to mak script for follow player respawned

 var distanceFromPlayer = 10;
        
        var target : Transform;
        
        
        
        function LateUpdate() {	
        transform.position = target.position + Vector3(-3,4,distanceFromPlayer );	}

sorry for bad english.

Here is my script:

var target : Transform;
var distance = 10.0;
var height = 5.0;
var heightDamping = 2.0;
var rotationDamping = 3.0;
var TagToFind : String = "MyPlayer";
function FixedUpdate() {
    // Early out if we don't have a target
    if (!target)
FindPlayer();
        return;
 
    // Calculate the current rotation angles
    wantedRotationAngle = target.eulerAngles.y;
    wantedHeight = target.position.y + height;
 
    currentRotationAngle = transform.eulerAngles.y;
    currentHeight = transform.position.y;
 
    // Damp the rotation around the y-axis
    currentRotationAngle = Mathf.LerpAngle (currentRotationAngle, wantedRotationAngle, rotationDamping * Time.deltaTime);
 
    // Damp the height
    currentHeight = Mathf.Lerp (currentHeight, wantedHeight, heightDamping * Time.deltaTime);
 
    // Convert the angle into a rotation
    currentRotation = Quaternion.Euler (0, currentRotationAngle, 0);
 
    // Set the position of the camera on the x-z plane to:
    // distance meters behind the target
    transform.position = target.position;
    transform.position -= currentRotation * Vector3.forward * distance;
 
    // Set the height of the camera
    transform.position.y = currentHeight;
 
    // Always look at the target
    transform.LookAt (target);

}


function FindPlayer(){
target = GameObject.FindWithTag(TagToFind).transform;

}