Combined Andrew's collision detection with Health bar functionality.