void OnTriggerEnter(Collider other) { if(other.gameObject.GetComponent("Client") != null) //You can change this script to any script that only the player has { Debug.Log("Colliding"); if (PowerUpType == (int) PowerUps.LT_TRANS) { Transporter trans = new Transporter(); trans.Activate(character, spawnpoint); } else if(PowerUpType == (int) PowerUps.LT_EXPL) { Dynamite exp = new Dynamite(); exp.Activate(); } } }