Health/Damage system

Hey, i was using Dastardly Banana’s enemy health counter on the player, and i want it to do damage when the gameobject hits the player. Thanks.

function OnCollisionEnter(hit : Collision){
//Do insane stuff right here!
}

For more information click here.