That is usually a manuscript, or script.
script
script
A written version of a play that is created by the playwright is called a script. A script is also the term that is used when referring to a film or television show.
. . . . a play
A play written by Sophocles, the Greek playwright.
How many acts are in a play depends on the playwright not where the play is performed or written.
the play In Rebel Country was written by playwright Kevin Barry
The play The Odd Couple was written by Neil Simon
The play "Away" was written by Australian playwright Michael Gow in 1986. It tells the story of three families on holiday and explores themes of loss, reconciliation, and healing.
If you mean Our American Cousin, then the playwright is Tom Taylor.
The Dance of Death (Dödsdansen) is a play in two parts written by Swedish playwright August Strindberg in 1900.
The playwright of the morality play "Everyman" is unknown, but it is believed to have been written in the late 15th century. The play serves as an allegorical representation of the journey of the soul towards death and judgment.