The phrase
"to leak the script" means making a secret or protected written work, such as a movie or play script, available to the public without permission or before it was intended. This can happen through unauthorized sharing on the internet, social media, or other means.
Full definition