banman45
|
  |
| Joined: 10 Jun 2011 |
| Total Posts: 24 |
|
|
| 03 Aug 2015 09:30 AM |
Seems like this doesn't work, yet it prints (table: 0AC97420)
modes = {} modes1 = game.ServerStorage.Gamemodes:GetChildren() while wait(2) do table.insert(modes, modes1) wait(.5) print(modes[1]) end |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2015 09:32 AM |
modes = {}
modes1 = game.ServerStorage.Gamemodes:GetChildren()
while wait(2) do for i,v in pairs(modes1)do table.insert(modes, v) wait(.5) print(v) end end |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2015 09:33 AM |
modes = {}--Blank Table
modes1 = game.ServerStorage.Gamemodes:GetChildren()--makes a table of children
while wait(2) do --wait 2 seconds table.insert(modes, modes1)--insert new clone of table of children into blank table wait(.5)--wait half a second print(modes[1])--print the cloned table name that the children were in end --repeat until broken |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2015 09:33 AM |
local modes = game.ServerStorage.Gamemodes:GetChildren()
Done |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 03 Aug 2015 09:34 AM |
while wait(2) do table.insert(modes,#modes+1, modes1) wait(.5) print(modes[1]) end |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2015 09:35 AM |
I believe what you meant to do is this:
while wait(2) do local modes={game.ServerStorage.Gamemodes:GetChildren()} wait(.5) print(modes[1]) end |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 03 Aug 2015 09:35 AM |
What are you trying to do
I don't need a siggy |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2015 09:36 AM |
Oops, typo:
while wait(2) do local modes=game.ServerStorage.Gamemodes:GetChildren() wait(.5) print(modes[1]) end |
|
|
| Report Abuse |
|
|