How would I make an NPC fly if the Y-axis distance between the NPC and target is too large for PATHFIND?

Title says it all. Trying to make an NPC as advanced as possible, and where if v.Action == Enum.PathWaypointAction.Jump then NPC_Humanoid.Jump = true end won’t help get the NPC to the destination