void Start()
    {
        goal = GetComponentInChildren<NewGhostballGoalS>();
        ghostBall = GetComponentInChildren<GhostballS>();
        //ghostBall.transform.position = ballPositions[0].transform.position;

        GameObject[] allBallPositions = GameObject.FindGameObjectsWithTag("Spawn");
        foreach(GameObject spawn in allBallPositions){
            ballPositions.Add(spawn.GetComponent<BallRespawnPosS>());
        }
    }
 // Use this for initialization
 void Start()
 {
     scoreKeeper = GameObject.FindObjectOfType<ScoreKeeperS>() as ScoreKeeperS;
     ghostBall = GameObject.FindObjectOfType<GhostballS>() as GhostballS;
 }