Board Thread:Lua Help/@comment-4854677-20140908150532/@comment-3320283-20140909164621

You don't need to use an external module for random numbers.

Use the built-in math.random function to general random numbers to transclude on the page. You can generate all of your numbers in the same module invocation and they'll have different values.

See the lua documentation for details : http://lua-users.org/wiki/MathLibraryTutorial

If what you're trying to do is generate 1 random number per module call, and call the module several times in a page then you might run into some caching issues.

If that's the case (it doesn't have to be) use a different random seed for each number ( Using math.randomseed ), which you can pass as a parameter.