So I’m putting together a script that will pick a number that does not equal other numbers that are based on an instance. I’ve put together a scrip that does what I think it should do, however it returns a number it should not.

**Code Summary:** There is a range of numbers from 0 to 4. I’d like it to shuffle through these numbers and pick one that does not equal another set of numbers. However, it still picks the incorrect number.

```
do{var pick = Random.Range(0,5;}
while(pick != Number0 && pick != Number1 && pick != Number2 && pick != Number3 && pick != Number4);
```

The correct answer in this case, would be 0 or 1, but it picks 3.