Malice, your code is good, but for 3 dimensions.

Just for one (y) , y * 0.9 is easier and simple, and doesnt need a lock.
Simply scaling down the y pos until it becomes as close as 0, every frame.


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201