If you simply doesn’t know how to do it and want to keep it simple i recommend watching this tutorial as i don’t want to script a whole pathfinding system for you. AI Monster Pathfinding -Teddy Horror Game #2 - YouTube
Thx for the help ill try seeing the tutorial
You are welcome, i hope that you will find it usefull.
oh and i dont need the pathfinding system i just need the part where it goes for a specific part
To make something move to a specific part, you would do something like this
local part = workspace.Part
local dummy = workspace.Dummy
--MoveTo makes the dummy walk to the position you put in args
Thank you, ill try it out right now
If you have an obstacles in the way, try to take a look at Pathfinding AI
i just have one problem, how to make the dummy go after the part and the player?
You should just need to put a server script inside of the dummy. If you copied the script from the link, just use
FollowPath(Destination), and set Destination to the Vector3 you want to use.
Can you give me an example i dont know how to do it
Here’s an Dummy who will go to the closest player.