A script for a movie or a television show.
To write a screenplay.
A play written to be performed on the stage.