Pathfinding service is not working

Am testing Pathfinding service but its not working,
even there are no error logs
Please help me
화면 캡처 2021-09-05 134949

local PathfindingService = game:GetService("PathfindingService")

local Dummy = game.Workspace.Dummy
local humanoid = Dummy.Humanoid
local destination = game.Workspace.eeee
print("1")


local path = PathfindingService:CreatePath()
path:ComputeAsync(Dummy.HumanoidRootPart.Position, destination.PrimaryPart.Position)
local waypoints = path:GetWaypoints()

print("2")```

I think you need a line break between the three ` and ) to make the images show.

1 Like