Unity 2D: how to make AI block follow player, and kill them if it catches up?

My question pretty much encapsulated my entire description, but to go into slightly deeper detail, I want a block to follow the player as they are jumping through the game. I am not that experienced with AI programming, so any and all help will be greatly appreciated. I’m open to all suggestions. Thank you, and I will be happy to clarify or clear up anything.

public float speed;
private Transform target;

// Use this for initialization
void Start () {
	target = GameObject.FindGameObjectWithTag("Player").GetComponent<Transform>();
}

// Update is called once per frame
void Update () {
	
	transform.position = Vector2.MoveTowards(transform.position, target.position, speed * Time.deltaTime);
	
}