title: Lua random number generation
body: <p>I am having trouble with the <strong>math.random()</strong> function in Lua.
  The code I'm trying to run is:</p>
  
  <pre><code> for x = 1,5 do
      math.randomseed(os.time())
      math.random(); math.random(); math.random()
      value = math.random(0,9)
      print(value)
  end
  </code></pre>
  
  <p>The random number that is being printed is always the same.</p>
  
  <p>What can be the possible solution to this? I want 5 unique random numbers. </p>