void OnCollisionEnter2D(Collision2D collision)
{
if(collision.gameObject.tag == "Heal")
{
health += 20;
HealthBar.fillAmount = health + 20;
Destroy(collision.gameObject);
}
if(collision.gameObject.tag == "Enemy")
{
health -= 5;
HealthBar.fillAmount = health / 100;
}
if(collision.gameObject.tag == "Weapon")
{
Destroy(collision.gameObject);
}