Episode 111: "Hide and Q" 

While rushing to aid the survivors on a planet rocked by a lethal explosion, the U.S.S. Enterprise is stopped by the dangerous "Q" entity who had interfered with their Farpoint mission several months earlier.
The powerful Q demands the Enterprise and crew abandon their rescue mission and partake in a deadly game which, according to Q, could result in either "the greatest possible future" for the crew ... or death!

The game involves surviving a confrontation with fanged, animal soldiers created by Q. Strangely, the major player in the game turns out to be Commander Riker, who is given Q's power and offered full membership in his continuum. After using his new-found power to save Wesley and Lt. Worf from the hostile creatures, Riker meets with the crew to discuss Q's proposal.

After the meeting, Q tempts Riker by telling him that if he joins the continuum, the Commander can use his powers to give his friends anything they want. Captain Picard, having faith in his crew's resistance to temptation and their common sense, urges Riker to accept Q's offer. Riker obliges by turning Wesley into a 25-year-old Starfleet officer, restoring Geordi's vision, creating a female Klingon companion for Lt. Worf and offering Data the chance to be human. However, to Q's disbelief and Picard's pleasure, the crew members decline the gifts because of their disreputable origin. Thwarted again by the integrity and ingenuity of humans, Q disappears, thereby returning Riker to his normal condition.

Production: 111
Season: 1 Episode: 9
Original Air Date: 11.23.1987
Stardate: 41590.5
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
Denise Crosby as Natasha (Tasha) Yar
Wil Wheaton as Wesley Crusher
John de Lancie as Q
Gene Roddenberry's full name is Eugene Wesley Roddenberry, thus, in creating Wesley Crusher, Gene used his own middle name and based the character on what he wanted to be like when he was young.

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

STAR TREK: THE NEXT GENERATION

Hide And "Q"
#40271-111

Story by
C. J. Holland

Teleplay by
C. J. Holland
and
Gene Roddenberry

Directed by
Cliff Bole

Copyright 1987 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.

REVISED FINAL DRAFT

SEPTEMBER 25, 1987

STAR TREK: Hide And "Q" - 9/25/87 - CAST

STAR TREK: THE NEXT GENERATION
Hide And "Q"

CAST

PICARD                                                  "Q"
RIKER                         WOMAN (SURVIVOR)
BEVERLY
DATA

Non-Speaking Roles
TROI                                   CREWMEMBERS
TASHA                                 SICKBAY STAFF
GEORDI                                TWO SENTRIES
WORF                             ANIMAL-SOLDIERS
WESLEY                        DOZEN SURVIVORS
CHILD (FEMALE SURVIVOR)

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