// Use this for initialization
 void Start()
 {
     audioSync       = GetComponent <Audio_Sync>();
     variablesScript = GetComponent <variables>();
     playerGUIScript = GetComponent <Player_GUI>();
     //fireDelay = variablesScript.fireDelay;
 }
    // Use this for initialization
    void Start()
    {
        healthText      = GameObject.Find("Health Text").GetComponent <Text> ();
        healthBar       = GameObject.Find("Health Bar").GetComponent <Image>();
        playerGUIScript = GetComponent <Player_GUI>();
        variablesScript = GetComponent <variables>();

        playerGUIScript.SetHealthText();

        randomSpin = new Vector3(Random.Range(20F, 40F), Random.Range(20F, 40F), Random.Range(20F, 40F));
        health     = maxHealth;

        /*
         * if (isLocalPlayer) {
         *  healthText.text = health + "";
         *  healthBar.fillAmount = 1;
         * }
         */
    }