How Do i Create an Enemy AI That Attacks You?

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