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