sorry for my english i don't talk english
i know how to make scripts but very basics
in case it is not understood I will give you an example
when you touch a block or something else an NPC starts to follow a path and when it arrives it stays there