case 1:
int index = Random.Range(0, level1Passwords.Length);
password = level1Passwords[index];
break;
case 2:
index = Random.Range(0, level2Passwords.Length);
password = level2Passwords[index];
break;
Ran into a bit of confusion with index already being defined but didn’t want to make a new variable for each of the difficulties as I thought it could get a little messy. Solved my issue by just putting in index without int behind it so it’s not being defined again. Fun challenge overall.