--		if playerRoot and (playerRoot.Position - rootPart.Position).Magnitude <= 1000 and not attacking then -- check if the player is near the npc
--			local SimplePath = require(6336743234) --Get module
--			local Path = SimplePath.new(npc) --Create new Path
--			Path:Run(player.Character.HumanoidRootPart.Position) --Start moving the Rig
--			Path.Completed:Wait() --Wait until Rig reaches the final position
--			Path:Destroy()
--			break -- break the loop so it doesn't follow a different player
--		end
--	end