No. A script (screenplay/teleplay) provides dialogue, action, scene structure, and dramatic intent. It does not create music.
A composer—hired by the production—writes the original score (underscore) and/or selects licensed songs. The composer collaborates with:
The script may suggest musical moments:
"A melancholic piano plays as she reads the letter."
"Upbeat jazz source music from the bar downstairs."
But the actual composition, orchestration, recording, and synchronization are the composer's work (with orchestrators, engineers, musicians).
Script = blueprint. Score = architecture built on it.