Heh, my fault, i guess if fixed it before without realizing it. When i originally made this post, I had the script look like this:
exitwhen b == true
set r = GetRandomInt(1, 6)
if udg_Picked[r] == false then
set b = true
But i specifically remember taking out the == true on the exit when line, just as a simple habbit (since i learned recently you dont need it). The version i sent you vex, I already fixed the exitwhen line. I guess having the == true must of confused/messed up the optimizer.