The best way to do enemy AI

The purpose of this topic is to discuss the best method for creating an enemy that chases and kills the player!
Before I would like to make it clear that I am using a translator so maybe there are errors in the writing.
To enter the discussion, first we have to establish some considerations:

  1. The method must be able to operate simultaneously the largest possible number of enemies with the best possible performance
  2. You don’t necessarily need to post a solution. Anything that helps us reach a joint conclusion is welcome

I’d suggest you make good use of disable collisions / collision groups as physics in most game engines are one of the biggest problems when it comes to FPS lag.

Secondly, pathfinding, using this instead of the typical humanoid:MoveTo() is a game changer. You don’t want your bots trying to walk through walls (unless you’re making ghosts, once again, collision groups)

Thirdly, animating your NPC can add so much more depth, overall, trial and error, do what feels best to you!