this is a couple of scripts i came up with to make accelaration and de-accelaration i sugest you download it, take a good look at until you understand the scrpt then you can use it to make your own i hope this is helpfull