Each time round the loop you are creating a new value of currentMillis and setting it to the current time. Therefore there is no way the if statement that follows it is ever going to be true.
Each time round the loop you are creating a new value of currentMillis and setting it to the current time. Therefore there is no way the if statement that follows it is ever going to be true.