Instead of a enemy bot that shoots players, how can I make them shoot other NPCs?

2 comments

0

Make an NPC table and loop through them the same way you would for players.

0

like MooMoo said, really the same as damaging a player just lower the other NPCs health as well as searching for other NPCs