Manchester City boss Pep Guardiola admitted his side needed luck to score several last-minute goals this season, but insisted they came through hard work and perseverance.