transform definition not found

private void Awake()
{
if(player == null)
{
player = GameObject.FindGameObjectsWithTag(“Player”).transform;
}
sr = this.GetComponent();

@Judash, You are using the plural of Find Game Object With Tag. Find Game ObjectS With Tag returns an array of gameObjects. (note the ‘S’ ) The array does not have a transform! Use the singular form instead!