How Do i Create an Enemy AI That Attacks You?

i want to create an enemy ai with blueprints. how do i program the enemy to attack me? and how do i add attack animations?

You can find playlists here for all kinds of AI programming.