Pathfind status problem

Hello,so i want to make the npc go to the wall and if it finds any other npcs he kills them

The problem is that the pathstatus is nopath and idk why so that causes the npc to kill someone and then it doesn t go to destination.

I ve tried asking people i ve searched here on forum but i didn t found something usefull.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Troop1.lua (2.9 KB)

pleaseeee codeeee and videooooo