Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How could you give a part pathfinding to give it the best way to touch a player?

I AM NOT ASKING FOR A SCRIPT! I want to know if you could make a part follow you.

2 comments

0

Use bodyforces. You can search a few on the wiki, namely bodyposition.

0

Use bodyforces and pathfindingservice.

2 answers

Adding onto @Hungryjaffer's answer, to use a path you need to use GetPointCoordinates which returns a table of all the points the part may go.

local paths = pathfindingService:ComputeRawPathAsync(start, target, 500)
--pretent "pathfindingService" is a real variable

This discussion is preserved as it was. New answers, comments, and votes are closed.