A basic pathfinding Humanoid mover for Roblox.
npm install @gandalfwisdom/pathbuddy* Supports most rigs which have a humanoid.
* Perfect for NPCS, cutscenes, etc.
lua
local character: Model = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait();local PathBuddy = require(path.to.pathbuddy);
local path_buddy = PathBuddy.new(character, {});
`
Now it's as simple as calling:
`lua
path_buddy:MoveTo(Vector3.new(50, 1, 0));
`
to move the character toward the supplied location.Installation
PathBuddy supports Nevermore's npm package installation method. Simply type
`npm install @gandalfwisdom/pathbuddy`` in your CLI on your project to install.