A foul renders the delivery invalid; hence even if all pins are knocked down on the second chance after a foul, it is considered an illegal pinfall and doesn’t count towards the player’s score.