// Use this for initialization void Start() { MyTeam = GetComponent <Game>().MyTeam; InvokeRepeating("CalculatePower", 1, 1); }