Adding a zoom script to this?

Everyone has probably seen this source, I think its from I was trying to add a feature on release that when the container reaches the X,Y specified for each button, that it would then have a few seconds delay and ease a zoom in on the area. Then when another button is released it zooms out and goes to the called x,y and so on.

I am fairly new to using script so any help would be greatly appreciated.