NPC following a player

I have really trying to make a script of an NPC following a player, WITHOUT it getting stuck in walls, Everything I can find on the internet is how to make a pathfinding service to a PART, and a script to follow a player but it gets stuck in walls. Any suggetions on how to solve my problem? I swear this is one of the last things to get my game done… lol

Well yea they are correct man, you gotta pathfind to the player. If you want it to keep a distance you could generate the point from the unit circle of that player I suppose

The thing is that i don’t know how to make a thing like this, I am very new to scripting, and I don’t know how to make one

I learned from the wiki Character Pathfinding | Documentation - Roblox Creator Hub

1 Like