title: How to repeat earlier parts of code • Luau
body: <p>Now, I'm not amazing with words, so bear with me.</p>
  <p>So I am creating a program within Lua, but I've run into a problem. I am making a bank sorta program, and I what it does is it asks for a PIN number, and then you are able to withdrawal or deposit. But, I want it to go back to asking for the PIN number after you deposit or withdrawal.</p>
  <p>I am able to do that in Python:</p>
  <pre><code>while True:
      pin = input(&quot;PIN: &quot;)
      if pin == 21171:
          -- code
      elif pin == 21172:
          -- code
  </code></pre>
  <p>So that asks for pin, runs code in one of the if statements, then when all code is run in if statement it goes back to asking for PIN. This is what I wanna do in Lua, but how?</p>