Practice makes perfect. The more you make, (usually) the better you get. For example, when making add-ons, odds are your first script might be nothing much to talk about, but later on you could be making gigantic, awesome things. Just takes time and practice.