how to die when collide with ground?

I want player too die when hit the ground or the object I attach this script to, the script I have here kills the player on any collision I only want player to die if hit the ground or an enemy

c+ 2d game

using UnityEngine;
using System.Collections;

 public class die : MonoBehaviour {
5. 
 
         void                 OnCollisionEnter2D(Collision2D coll) {
 
 
10.                 Destroy (gameObject,1);        //Open door
             }
         }

You can add a tag to ground. And when the player hit any collision, check the tag of the collision(coll), and if the tag of the collision is “Ground”, destroy the player.

if (coll.gameObject.CompareTag("Ground")) 
    {
    	Destory (gameObject, 1);
    }

[80566-螢幕快照-2016-10-20-下午115514.png|80566]