Code: Select all
function load()
math.randomseed(os.time())
end
function update(dt)
local x = math.random(0, 500) --x will be a random integer 0-500 each run
end
Code: Select all
function load()
math.randomseed(os.time())
end
function update(dt)
local x = math.random(0, 500) --x will be a random integer 0-500 each run
end