of     1   

GalaxyFPS_Studios
#228250627Thursday, November 30, 2017 3:51 AM GMT

im using math.random and im getting the same number, no matter how many times i run it, i always get 3.
pikachu734
#228251004Thursday, November 30, 2017 4:00 AM GMT

what is the code
ExtremeBuilder15
#228251068Thursday, November 30, 2017 4:02 AM GMT

math.random is psuedo-random, which means it generates a number based on the last number(s) generated and a seed number. To achieve more randomness, you can set the seednumber to tick() which is the number of seconds since 1970. --Top of your script math.randomseed(tick()) Now you will have "more random" in your numbers.
x6th
#228251097Thursday, November 30, 2017 4:03 AM GMT

math.random(10, 100) would give you a random number 10 through 100
dialga512
#228251170Thursday, November 30, 2017 4:04 AM GMT

local Tracker = 0 for i = 1, math.huge do local Choice = math.random(1, 3) local Repeated = Tracker == Choice if not Repeated then print(Choice) Tracker = Choice elseif Repeated then print("This has already been printed") end end
dialga512
#228251262Thursday, November 30, 2017 4:07 AM GMT

I'm surprised that didn't get censored, anyways, I made that in like 1 minute, so It's pretty basic, there is plenty of room for improvement, but it works.

    of     1