// Use this for initialization void Start() { target = GameObject.FindWithTag("Player").transform; itemID = Drop.GetitemID(gameObject); if (itemID >= 14) { Destroy(gameObject); } }