function getMythical()
local xc1 = math.random(1,100)
return xc1
end
print(getMythical())
so i'm trying to do a simple script which would print out a random number between 1 and 100. this prints out the same number every time.
i tried math.randomseed(tick()) but it takes a long time for that number to change and it only goes up by one or two.
help would be appreciated

3 comments
This is a studio problem. It won't do this in an actual server.
so math.random() will work in online mode?
https://scriptinghelpers.org/questions/35236/mathrandom-isnt-random-question#37769