public void killEnemy(GameObject enemy) { timeFromLastKill = 0; enemy.GetComponent <Killable>().Hit(); rage = GameObject.FindGameObjectWithTag("RageBar").GetComponent <Rage_Bar>(); rage.AddRage(enemy.GetComponent <Killable>().rageVal); combo = GameObject.FindGameObjectWithTag("Combo").GetComponent <Combo>(); combo.AddCombo(1); combo.resetTimer(); score = GameObject.FindGameObjectWithTag("Score").GetComponent <Score>(); score.AddKills(1); }