//If the player has a powerup, use it
    public void ApplyPowerUp()
    {
        //get gamemanager script
        GameManagerScript gameManager = (GameManagerScript)GameObject.FindGameObjectWithTag("GameController").GetComponent("GameManagerScript");

        //send this player as the targeted player to the gamemanager
        gameManager.ApplyPowerup(this.gameObject);
    }