void OnCollisionEnter(Collision col) { if (col.gameObject.tag == "Basket") { Destroy(this.gameObject); script.PlayerScored(); } }