William Gillette’s play Sherlock Holmes premiered in 1899. The 1922 Samuel French publication of Gillette’s script is available in eBook format at Internet Archive. Follow the link below to access the script:
Sherlock Holmes: A Play in Four Acts (full script)