IIRC you can either do that in Photoshop or in Vegas. Is there a specific part? 30 seconds would be a pretty large .gif.
you need to record it then save it as a .gif file i think you can do that in camtasia or frap. Also photoshop because photoshop can do anything