Consider the following lua code snippet :
local time = os.time() for _= 1, 10 do time = time + 1 print(\'Seeding with \' .. time) math.randomseed
As others noted, Lua intentionally uses C90 random generator for portability sake -- and C90 RNG is not very good.
If you need good random numbers, use some Lua module to get it. For example, here is Mersenne Twister RNG binding by one of Lua authors.