// Use this for initialization
	void Start () {
		animationScript = GetComponent<PlayerAnimation> ();
		jumpScript = GetComponent<PlayerJump> ();
		localSpriteRenderer = GetComponent<SpriteRenderer> ();
		scoreScript = GetComponent<TheScoreSystem> ();
		currentHealth = maxHealth;

		healthUIScript = gameUI.GetComponent<UIHealth> ();
	}
	// Use this for initialization
	void Start () {
		scoreScript = thePlayer.GetComponent<TheScoreSystem> ();
	
		currentHighScores = getCurrentHighScore ();

		currentMaxHighScore = currentHighScores [0];

		thePlayer.GetComponent<TheScoreSystem> ().setCurrentMaxHighScore (currentMaxHighScore);
	
	}