i'm trying to check if a pet is near the desired position with Reached position.

my values of the body position that i'm using are D = 1250 Max force is at infinite and P is at 5000

here is the script


BP.ReachedTarget:Connect(function() --//BP is Body Position\\--
	print("Reached Target")
end)


wander.OnServerEvent:Connect(function(plr)
	if game.Workspace:FindFirstChild(plr.Name)then
		local char = game.Workspace:FindFirstChild(plr.Name)
	CT.Value = "Wander"
			wait(math.random(1,5))
		
		local negX = math.random(-12,-2)
		local posX = math.random(2,12)
		local negZ = math.random(-12,-2)
		local posZ = math.random(2,12)
		
		BP.Position = char:FindFirstChild("HumanoidRootPart").Position - Vector3.new(math.random(negX,posX),0,math.random(negZ,posZ))
		
	end
end)