EZ Pathfinding V5

Hi,

Thanks for the help, I still can’t figure out the Vector3 part still says invalid.

wait(5)
local WorkSpace = game:GetService(“Workspace”)
local mod = require(WorkSpace:FindFirstChild(“PathfindingV5”))
local goalPos = workspace.Goal
local npc = script.Parent

local path = mod.new (npc, Vector3.new(goalPos.Position.X,goalPos.Position.Y,goalPos.Position.Y))
path.Move()

1 Like