Simple Path AI won't stop jumping

The AI isn’t chasing the player but jumping. Never had this issue before.
https://gyazo.com/246d46e63614e9e76d2223520ce67f69

	local char : Model = billboard.Character
	local plrchar = getChar(char:GetAttribute("Target"))
	if not plrchar then
		char:SetAttribute("Target",false)
		return
	end
	
	if not billboard["path"] then
		billboard["path"] = SimplePath.new(char,{
			["WaypointSpacing"] = 2,
			["AgentCanJump"] = false,
		})
		billboard["path"].Visualize = true
	end
	
	if not billboard["running"] then
		local getPath = billboard.path:Run(plrchar.HumanoidRootPart.Position)
		if getPath then
			billboard["running"] = true
		else
			return
		end
	end
	
	while task.wait(.1) do
		plrchar = getChar(char:GetAttribute("Target"))
		if not plrchar then return end

		billboard.path:Run(plrchar.HumanoidRootPart.Position)

	end
2 Likes

Could this be caused by roblox’s new pathfinding optimizations? I heard there was a lot problems when they needed to jump