Tips on scripting faster?

I don’t get into coding right away, I write a draft first then play around with it. Once I have some sort of structure, then I do the coding. Of course things will change. There’s been a few cases where I drafted a scene but the final product was completely different. It’s amazing how things change!