Sam Bobrick , who created the enduring NBC high school sitcom “Saved by the Bell,” and whose play “Norman, Is That You?” reached audiences around the world after it fizzled on Broadway in 1970, died on Oct. 11 in Los Angeles. He was 87 .

His wife, Julie Bobrick, said he died in a hospital two days after having a stroke .

Mr. Bobrick was already a television stalwart, having written for “The Smothers Brothers Comedy Hour,” “The Andy Griffith Show” and “Get Smart,” when, in 1988, he created and wrote the pilot for “Good Morning, Miss Bliss,” a Disney Channel show about a teacher in Indianapolis, played by Hayley Mills, and some of her students.

After “Miss Bliss” was canceled a year later, NBC picked up the show, retained some of the cast (but not Ms. Mills), renamed it “Saved by the Bell” and moved its setting to California .