Push Button Activated While Loop

Show your fixed code. Based on the code in reply #17

  if  (btnSELECT)
    diceOne = random(1, 7);
  diceTwo = random(1, 7);

See the article that I linked how to use the if statements. Because bntSELECT equals 4, if (btnSELECT) will always be true.

So diceOne = random(1, 7); will always be executed. diceTwo = random(1, 7); will also always execute because it's not part of the if block (you might be missing a { and a }

  if  (btnSELECT)
  {
    diceOne = random(1, 7);
    diceTwo = random(1, 7);
  }

This does not fix the if condition !