#position is not valid member of PathWaypoint

3 messages · Page 1 of 1 (latest)

native dirge
#

My module script ⬆️

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Pathfinding = require(script:WaitForChild("Pathfinding"))

local NPC = ReplicatedStorage:WaitForChild("NPC"):Clone()

NPC.Parent = workspace

task.wait(3)
Pathfinding.WalkTo(NPC, workspace.waypoint.Position)