Baking time is crucial in making soft or crispy cookies. Slightly underbaking the cookies will keep them chewy, while overbaking will dry them out resulting in crisp cookies. So don't overbake them if you want to have gooey cookies.