finding a tag with a variable

hello. i downloaded this Ai from a video (see code here).
on line 2 and 3, i tried doing this code:

var Target : GameObject[];
Target = GameObject.FindGameObjectsWithTag("BlueTeam");

so it could target any game object with the BlueTeam tag but it didnt work.
please could somebody help me fix this?

Target = GameObject.FindGameObjectsWithTag(“BlueTeam”);

…should be…

Target = FindGameObjectsWithTag("BlueTeam");