void OnTriggerEnter(Collider hit) { if (hit.gameObject.tag == ("Player")) { fireProjectile.weaponSpeed(); Destroy(gameObject); } }