function setup()
local x = math.random(1,100)
local printer = math.randomseed(x)
print(printer)
end
while wait(3) do
setup()
end
I tried learning math.randomseed manually but it only prints nil can someone explain what math.randomseed, why it is usefull and why my script isnt working?

1 comment
Output: nil nil nil nil nil