Does anyone know how to make a Javascript script for player/enemy health?
For things on how you you would effect enemy and player healths I would recommend checking out the scripting references and some of the many javascript tutorials.
In the Angry Bots Demo is a more sophisticated health system.