|
| 21 Jul 2016 06:23 PM |
How would I print only one of this children of this table..?? (I don't usually ever use tables)
Code:
local craptosay = { 'Yolo', 'Test', 'PleaseWork' }
while wait(5) do --Code here print(--[[More code here--]]) end |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 21 Jul 2016 06:24 PM |
| table[math.random(1, #table)] |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 06:25 PM |
You just have to fetch a member from the table with a random index.
print(table[math.random(1, #table)]) |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 06:26 PM |
| I SWEAR KODRAN NINJAS ME EVREY SINGLE TIME |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
| |
|
|
| 21 Jul 2016 06:28 PM |
crying inside
at least i'm better than you at rollernauts hahahahahahahahaha |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 06:28 PM |
Table Usage = Cleaner Scripts
#code Signature_mod = require(DataModel['sm_Data']) if Signature_mod['xThe..']['RbxDev_Info'] ~= 'Too Lazy To Try Again After A Year' then print('You finally did it lol') end |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 21 Jul 2016 06:29 PM |
| but do u have the eyeball ball? didn't think so mate :> |
|
|
| Report Abuse |
|
|