I need your help.

Basically what I want to know is how to edit this script so that I would never loose. I want the script to everything exactally the same except I want the ball to think that it landed on the oppenents side of the net when it lands on mine.
It is a volleyball game

http://m-net.arbornet.org/~smp/volleyball.java