I am thinking about a Horror game that there is Patrolling AI that once they saw you they will follow you until your that far away from him he will stop following you and then they will continue Patrolling the Area.
Any Answers is appreciated and easy Explanation for a beginner like me is much more appreciated.
Thank you

2 comments
It all depends how advanced you want the "ai" to be, I suggest reading the article on pathfinding: https://developer.roblox.com/en-us/articles/Pathfinding
Well if i use a specific Plugin that makes it patrolling idk how to make it follows you in a certain distance