|
| 12 Jul 2016 02:18 AM |
When players joins, it inserts the user into the table Plrs. It seems to choose the same user a lot.
Services = { ['Plrs'] = {}, ['Players'] = game:service'Players' }
local player = math.random(1,#Services.Plrs) local Fadious = Services.Players:findFirstChild(Services.Plrs[player])
"True Story" - Tai Lopez |
|
|
| Report Abuse |
|
|
dev_Alekz
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 171 |
|
|
| 12 Jul 2016 02:20 AM |
Did you know that Apple's shuffle program used to use true randomness (or extremely close, anyway) but stopped because users thought there were patterns and it wasn't truly random? Apple made it so that it emulated randomness but wasn't actually random.
I don't think it's a problem in the randomizer, I think it's just a natural problem with randomness. |
|
|
| Report Abuse |
|
|
TheMesgi
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 360 |
|
|
| 12 Jul 2016 02:21 AM |
Services = { ['Plrs'] = {}, ['Players'] = game:service'Players' }
math.randomseed(tick()) local player = math.random(1,#Services.Plrs) local Fadious = Services.Players:findFirstChild(Services.Plrs[player]) |
|
|
| Report Abuse |
|
|
TheMesgi
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 360 |
|
|
| 12 Jul 2016 02:24 AM |
@guy who talked about apple ye but brain likes patterns and likes finding nonexistent ones. like conspiriacy theorists.
but my thing work for example
randomseed = 22 random list = 3 1 2 4 every time but if you change it to 44, the results different |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2016 02:28 AM |
"math.randomseed(tick())"
I'll try that out. Thanks
"True Story" - Tai Lopez |
|
|
| Report Abuse |
|
|
doggy00
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 3571 |
|
|
| 12 Jul 2016 04:30 AM |
math.randomseed(tick()%1*1e6)
--game.Players.doggy00.Life:remove() error- Life is not a valid member of Player |
|
|
| Report Abuse |
|
|