|
| 02 Jan 2015 04:01 AM |
Let's say I had a script like this:
value = game.Workspace.Value.Value value = math.random(1,100)
How can I use math.randomseed instead of just math.random? |
|
|
| Report Abuse |
|
|
| |
|
iNicklas
|
  |
| Joined: 26 Oct 2010 |
| Total Posts: 4031 |
|
|
| 02 Jan 2015 05:16 AM |
value = game.Workspace.Value.Value value = math.randomseed (x)
3001 R$ / 500,000 R$ - Follow Me On Twitter! @iNicklasRBLX •_• |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2015 05:19 AM |
| What would x be? Because I got 2 values in math.random. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 02 Jan 2015 05:23 AM |
math.randomseed does not return a number it is something use for the pattern for the fake random
math.randomseed(1) print(math.random(-999999999, 999999999)) -->-211234146 math.randomseed(1) --Reset the seed to the same thing it just was print(math.random(-999999999, 999999999)) -->-211234146
|
|
|
| Report Abuse |
|
|
|
| 02 Jan 2015 05:24 AM |
| Oh ok, thanks I understand better now. |
|
|
| Report Abuse |
|
|