Вообщем долго вместе со знакомым пытались пофиксить проблему, нифига. Явно мы что то не так делаем. Можете обьяснить, пожалуйста? Вот что выдает консоль

private float textimer;
public float time = 3f;
public GameObject govno;
private bool provoda = true;
public float s;
public float r;
s = govno.transform.position = new Vector3(-4.39, 5.83, 90.4);
p = govno.transform.position = new Vector3(-1.7, 5.83, 90.4);
r = govno.transform.position = new Vector3(0.52, 5.83, 90.4);
float[] array = new float[] { s, p, r };
float res = rand.Next(array.Length);
float result = array[res];
IEnumerator Da()
{
while (provoda==true)
{
yield return new WaitForSeconds(3);
Instantiate(govno);
govno.transform.position = new Vector3(result);
}
}
void Start()
{
StartCoroutine(Da());
}