Several platforms offer the script for free, allowing you to study the dialogue, pacing, and complex magic sequences:
If you are looking to study the formatting or the dialogue, the screenplay is widely available in educational archives for film students. Reading it alongside the movie is one of the best ways to see how "magic on the page" translates to "magic on the screen."