Episode 277 & 278: "All Good Things" 

Picard finds himself traveling between the past, present, and future while attempting to prevent the destruction of humanity... by his own actions.
A panicked Picard bursts off the Turbolift in his bathrobe, declaring that he is inexplicably moving back and forth through time. Shaken, he begins to describe the experience to Troi, but is then transported 25 years into the future, working in the vineyard at his home in France. He is visited by Geordi, who has come because Picard is ill with Irumodic Syndrome, an affliction which causes mental deterioration. Picard is then transported to the past, where he is on a shuttlecraft with Tasha Yar, traveling to the U.S.S. Enterprise for the first time. Moments later, he is back in the present, at which point Troi places an urgent call to Sickbay.

Neither Beverly's tests nor Worf's security scans show any indication that Picard physically left the ship. The investigation is then put on hold by news that several Romulan Warbirds are headed for the Neutral Zone, toward a spatial anomaly in the Devron system. Picard is transported back to the future, where he remembers bits and pieces of what just transpired, then tries to explain this to Geordi, who is unconvinced, blaming it on Picard's disease. Geordi is worried enough to take Picard to Cambridge, where Data is a professor. Data decides to explore the possibilities, but Picard is transported back to the past, arriving at the point of his initial arrival on the Enterprise. Among the crew, he sees a group of scraggly humans laughing at him, a sight he has already encountered twice in the future. This is enough for him to suddenly declare a Red Alert.

Since he has foreknowledge of future events, Picard decides not to tell this crew what is happening. He senses a connection when he is told that several vessels are moving toward an anomaly in the Devron system. Starfleet cancels the ship's mission to Farpoint Station, but Picard insists they go there anyway and refuses to explain his decision to the confused crew. Soon afterward, he finds himself back in the present in Beverly's office. She scans Picard, and learns that he has accumulated over two days worth of memories in just a few minutes real confirmation to what Picard has been saying.

Still in the present, Picard and the crew ponder the significance of the anomaly, which occurred in both the present and the past. Exhausted, Picard lies down in his Ready Room, then finds himself in the future. He insists in going to the Neutral Zone to find the anomaly, causing Geordi to worry about Picard's sanity. Still, he, Data, and Picard ask Riker, who is now an admiral, for help. However, since the Klingons, who have taken over the Romulan Empire, closed their borders to Federation starships, and now control the area, Riker is unwilling to let them proceed. Data proposes they instead travel on a medical ship, and they wind up on a vessel commanded by Beverly, now Picard's ex-wife. Geordi suggests that Worf, who is a governor in the Klingon Empire, might help them enter the territory. Picard then returns to the past, still on course for Farpoint. Suddenly, he finds himself face-to-face with Q, in the courtroom where they first met seven years ago.

Q offers to answer ten "yes" or "no" questions. Picard learns that his time shifting is connected to the "trail" Q put him through seven years earlier, that the spatial anomaly in the Neutral Zone is involved, and that a verdict has been rendered humanity will be destroyed. However, while Q is causing Picard to shift through time, it is Picard, not Q, who is responsible for the imminent destruction. Picard then wakes up in his Ready Room, in the present, and declares a Red Alert...

After his encounter with Q, Picard assembles the senior staff, and wonders if Q is actually giving him a chance to save humanity by showing him that the spatial anomaly also exists in the past. As they talk, the ship reaches the Neutral Zone, then Picard returns to the future, where Beverly's ship is also on the edge of the Neutral Zone. He convinces a reluctant Worf to accompany the group into Klingon territory, and then travels to the past, where he orders the crew into the Devron system. Finally, he returns to the present, where he is able to get Tomalak, the Romulan Commander on the other side of the border, to agree to entering the Neutral Zone together. Now heading for the anomaly in all three time periods, Picard learns that it exists in the present, and is larger in the past, but does not exist in the future.
Picard cannot understand why the anomaly is missing, and Beverly gives Data six hours to scan for the anomaly using an inverse tachyon pulse, then reminds Picard that this all might be a delusion. She leaves and Q reappears, again saying that it is Picard who destroys humanity. Picard then returns to the present, and suggests using the tachyon pulse to penetrate the anomaly. When Data begins sending the pulse, Geordi's eyes mysteriously start to rejuvenate. Data theorizes that this is because the anomaly is an eruption of "anti-time" which has collided with normal time to create a rupture in space that is causing people to revert to an earlier stage of development. Picard then returns to the past, and suggests again that Data use a tachyon pulse to scan the anomaly. After this, he returns to the future, where Beverly's ship is attacked by Klingon forces.

The U.S.S. Enterprise, with Riker in command, appears and saves the medical ship, then brings the crew aboard just before the vessel explodes. Picard frantically insists that Riker continue the search. He then returns to the present, where Beverly tells him that the anomaly is affecting the entire crew. Picard orders Data to find a way to collapse the anomaly, at which point Q appears again. He takes Picard back to primordial Earth, where the anomaly fills the entire sky and a pond of amino acids is about to form the first protein. However, when these first building blocks of life fail to coalesce, Picard then realizes that his own actions somehow caused the anomaly, which then prevented the beginning of life on Earth.

In the past, Troi informs Picard that the anomaly is beginning to affect people there. Picard meets with Data and O'Brien, but they are unable to scan the anomaly enough to completely understand it. Returning to the present, Picard has Data change his scanning methods, which allows them to discover that their tachyon pulse is converging with two identical pulses at the center of the anomaly. Picard realizes that these scans must be from the other two Enterprises. He then finds himself back in the future, where he tries to convince his former crew that he is right. Luckily, Data sees the logic in what Picard is saying, and helps him explain that the anomaly could have formed in the future, where they are, then grow larger as it moved backward through time. Theorizing that the convergence of the three pulses ruptured the subspace barrier and caused the anti-time reaction, the group decides to return to the Devron system to see if the anomaly has begun to form.

Back in the Devron system, the crew detects a very small version of the anomaly. Data suggests shutting down the tachyon pulses, then Picard returns to the present and orders their pulse disengaged. The anomaly, however, remains unchanged. Picard then returns to the past, where he again has the pulse shut off. Again, the anomaly is unaffected. Back in the future, Data decides that their only option is to repair the rupture by taking the ship inside the anomaly, using the engines to create a static warp shell which would separate time from anti-time. This must, however, be done in all three time periods in order for the anomaly to collapse which could quite possibly destroy all three ships. Picard returns to the past and gives the order, then repeats it in the present. Finally, the future Enterprise heads into the anomaly. All three ships reach the center and initiate the warp shells, and the anomaly begins to collapse. As it does, the past and present Enterprises are destroyed, then Q appears with Picard just as the future Enterprise is about to explode. Suddenly, Picard finds himself in the courtroom, facing Q again, who tells Picard he has succeeded in saving humanity. Picard is returned to the moment his adventure began, coming from the Turbolift in his bathrobe. He shares his experience with the crew, using what he has learned about the future to forge a new, closer relationship with his dearest friends.

 
Production: 277/278
Season: 7 Episode: 25/26
Air Date: 05.23.1994
Stardate: 47988.1
Patrick Stewart as Jean-Luc Picard
Jonathan Frakes as William Riker
Brent Spiner as Data
LeVar Burton as Geordi La Forge
Michael Dorn as Worf
Gates McFadden as Beverly Crusher
Marina Sirtis as Deanna Troi
Colm Meaney as Miles O'Brien
John de Lancie as Q
Andreas Katsulas as Tomalak
Patti Yasutake as Nurse Ogawa
Clyde Kusatsu as Admiral Nakamura
Denise Crosby as Natasha 'Tasha' Yar
There are parallels between this story and that of a 1979 "Doctor Who" (1963) episode, "City of Death," co-written by bestselling author Douglas Adams. Both feature a notion of time-splintering, the prevention of life evolving on Earth, and a scene of contemplating primordial ooze that will become the human race.

Whoopi Goldberg was supposed to reprise her role as Guinan, but her film career kept her busy and so she was written out of the script.

After its initial release as a 2 hour season finale, this episode was edited for syndication into two hour long episodes with some scenes deleted. These include: An exchange between Picard and Tomalak - After Picard suggests one ship from each side enter the Neutral Zone, Tomalak asks whether the idea has been approved. When Picard tell him it has not, he responds, "I like it already." An important exchange on the Pasteur between Picard and Q, in the guise of an old man. A scene on the "future" Enterprise - While the crew are discussing their situation, Picard is seen wandering a corridor, stopping to ask a low-ranking crewman the way to Ten Forward. Also, a short recap "Last Time on Star Trek: The Next Generation" was added to the beginning of the second part, just like other two-part episodes from earlier in the series.

 

Click this link to view the complete script in a TXT format
 

                STAR TREK: THE NEXT GENERATION                  
                      "All Good Things... "                          
                          #40277-747   
                            
                          Written by
               Ronald D. Moore & Brannon Braga
                          Directed by
                          Rick Kolbe
THE WRITING CREDITS MAY NOT BE FINAL AND SHOULD NOT BE USED
FOR PUBLICITY OR ADVERTISING PURPOSES WITHOUT FIRST CHECKING
WITH THE TELEVISION LEGAL DEPARTMENT.
Copyright 1994 Paramount Pictures Corporation. All Rights
Reserved. This script is not for publication or
reproduction. No one is authorized to dispose of same. If
lost or destroyed, please notify the Script Department.
                         FINAL DRAFT
                        MARCH 10, 1994

      STAR TREK: "All Good Things... " - 03/14/94 - CAST 
                STAR TREK: THE NEXT GENERATION 
                     "All Good Things... " 
                             CAST                               
                              
                PICARD                  TASHA
                RIKER                   O'BRIEN
                DATA                    Q
                BEVERLY                 OGAWA
                TROI                    NAKAMURA
                WORF                    JESSEL
                GEORDI                  CHILTON
                                        TOMALAK
                COMPUTER VOICE          ANDRONA
                                        GAINES
                                        ENSIGN
                                        COM VOICE
                Non-Speaking            Non-Speaking
                  N.D. SUPERNUMERARIES    N.D. HUMANS
                  CROWDMEMBERS            WORKMAN
                  OGAWA'S N.D.            HUSBAND
      STAR TREK: "All Good Things... " - 03/10/94 - SETS 
                STAR TREK: THE NEXT GENERATION 
                     "All Good Things... " 
                             SETS 
            INTERIORS                  EXTERIORS
          
            USS ENTERPRISE (PRESENT)   USS ENTERPRISE
              BRIDGE
              CORRIDOR                 VINEYARD (FUTURE)
              TROI'S QUARTERS          CAMBRIDGE (FUTURE)
              SICKBAY                  MEDICAL SHIP (FUTURE)
              BEVERLY'S OFFICE         TWO KLINGONS CRUISERS/
              OBSERVATION LOUNGE       (FUTURE)
              READY ROOM
              ENGINEERING              PRIMORDIAL EARTH
              RIKER'S QUARTERS
          
            USS ENTERPRISE (PAST)
              BRIDGE
              OBSERVATION LOUNGE
              ENGINEERING
          
            USS ENTERPRISE (FUTURE)
              BRIDGE
              TEN FORWARD
              CORRIDOR
              GUEST QUARTERS
          
            MEDICAL SHIP (FUTURE)
              BEVERLY'S READY ROOM
              BRIDGE
              TURBOLIFT
          
            SHUTTLECRAFT (PAST)
          
            SHUTTLEBAY (PAST)
          
            DATA'S LIBRARY (FUTURE)
          
            COURTROOM
  STAR TREK: "All Good Things... " - 03/14/94 - PRONUNCIATION GUIDE 
                STAR TREK: THE NEXT GENERATION 
                     "All Good Things... " 
                        
                      PRONUNCIATION GUIDE 
                 ACETYLCHOLINE     uh-seetl-KO-leen
                 CATARIA           kuh-TAR-ee-uh
                 DEVRON            DEV-ron
                 H'ATORIA          ha-TORE-ee-uh
                 IRUMODIC          ear-uh-MAHD-ik
                 LUCASIAN          loo-KAY-zhun
                 PERIDAXON         pair-uh-DAX-on
                 MEMP'HA           MEM-pah
                 RIGEL             RYE-jell
                 TERRELLIAN        ter-ELL-ee-'n
                 TERIX             TAIR-ix
                 TOMOGRAPHIC       toe-moe-GRAF-ik
                 TRIPAMINE         TRIP-uh-meen


 

Click this link to view the complete script in a TXT format