Why is random not being random? Why is this happening?
Why is random not being random? Okay so this script is in a loop. It does a random outcome, but it just spams the same outcome it chose. For example lets say at the beginning of the game it chose "Outcome 2," now the script loops, so it goes back to the beginning, and it has to chose "Outcome 1-6," but it picks "Outcome 2 again." This repeats on the same server. However if it was a different server it would choose AT THE BEGINNING of the game a random outcome. Lets say this NEW server picks "Outcome 1," when the script loops, it spams that "Outcome 1." Why is this happening? Thanks!
01 | local randomDanger = math.random( 1 , 2 ) |
02 | local randomSpeed = math.random( 1 , 3 ) |
06 | if randomDanger = = 1 then |
07 | if randomSpeed = = 1 then |
10 | elseif randomSpeed = = 2 then |
13 | elseif randomSpeed = = 3 then |
17 | elseif randomDanger = = 2 then |
18 | if randomSpeed = = 1 then |
21 | elseif randomSpeed = = 2 then |
24 | elseif randomSpeed = = 3 then |