Just Scripted Camera to Follow Character but when I go to play test it teleports the player?

Hey guys I just coded the camera to follow the player I used the Code that was in Unity Tutorial 3/10 Survival Shooter Game. Did I do something wrong in the code to make this happen or am I supposed to have the character in a certain place?(Also my first time using Unity so I really do appreciate the help Thanks) Here is the code I used:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CameraFollow : MonoBehaviour {

    public Transform target;
    public float smoothing = 5f;

    Vector3 offset;

    void Start()
    {
        offset = transform.position - target.position;
    }
     void FixedUpdate()
    {
        Vector3 targetCamPos = target.position = offset;
        transform.position = Vector3.Lerp(transform.position, targetCamPos, smoothing * Time.deltaTime);
    }

}

I have put the script on the main Camera

Also the public variable for Transform =Target is connected to the player so the camera will follow the player even when its position is changed. That is why I was a little confused on why the players teleports when I hit the play button and the camera does follow him

I Have just reviewed the code very closely and have found and fixed the problem in the coding the player no longer teleports when I press play Thank you for your help The-Britain