EasyEnemies is in BETA and is currently only functional with clost combat
Home
EasyEnemies is an open-source Enemy module that can help you quickly make functional enemies in your games.
Why choose EasyEnemies?
EasyEnemies aims to cut the amount of time it takes to typically set up enemies in a typical roblox game by having the core foundations of an enemy ai already coded. EveryEnemy registered by the module is stored under the models tag name or model name in a hash table to keep track of either individual enemies or a collection of them. There are a list of settings that you can change to get each enemy to fit your game in the best way possible. In the near future EasyEnemies will be functional with non-humanoid models to aid performance.
So, you have to put if the player is touching the NPC then play the attack animation and damage whatever you want make sure it is server script. To make the NPC walk towards the player use WalkTo
If you want the NPC to find the player use PathFindingService.
As of now I would say do not include it in your game if you plan on have large amounts of enemies grouped together quite yet given it is still in beta, I am working on a way to manage them more efficiently in large volumes.
In the next major update I give this I will aim it towards handling a multitude of npcs and non-humanoids as well.
I’m having a bit of an issue here. Whenever I turn my camera to shift-lock the enemy sort of breaks and just stands there. Some help would be appreciated.