Hello, why does this not work (code in sss)
local freddy = game.Workspace.GlamrockFreddy
local anim = freddy.Humanoid.Animator:LoadAnimation(script.Animation):Play()
local pfs = game:GetService("PathfindingService")
local pth = pfs:CreatePath()
pth:ComputeAsync(freddy.HumanoidRootPart.Position, game.Workspace.Part.Position)
for i, pathpoint in pairs(pth:GetWaypoints()) do
freddy.Humanoid:MoveTo(pathpoint.Position)
end