Shiro75
|
  |
| Joined: 18 Jan 2010 |
| Total Posts: 587 |
|
|
| 28 Jun 2016 10:42 PM |
I'd paste my code here, but I just exploded after my alarm for three hours went off and I had once again bumped into a roadblock.
What I needed help with was something along the lines of..
poseTable = { } num = 0 while place:FindFirstChild("thing".. (num + 1)) do -- a couple more conditions num = num + 1 table.insert(poseTable, #poseTable + 1, place:FindFirstChild("thing".. (num + 1).Value) -- a couple more ends
if place:FindFirstChild("thing".. (num + 1)) == nil then print(#poseTable) end end
The problem was that the output for #poseTable would be 0. My scripting foundation is made up of everything I've had to know. Not what I should know before I try do something.. ;~;
Anyways, if you've made it up to this point, thank you! Based on what I've encountered, I think I'm using the table.insert thing incorrectly, or perhaps the value of num doesn't get updated because it's outside of the loop? Someone please correct me, I'd appreciate it very much! |
|
|
| Report Abuse |
|
Shiro75
|
  |
| Joined: 18 Jan 2010 |
| Total Posts: 587 |
|
| |