local Left = script.Parent.Left
local LeftFront = Left:FindFirstChild("UpFrontLeft")
local Left = Left:FindFirstChild("Front")
local LeftRear = Left:FindFirstChild("UpFrontBack")
local LeftFrontLower = Left:FindFirstChild("DownFrontLeft")
local LeftLower = Left:FindFirstChild("DownFront")
local LeftRearLower = Left:FindFirstChild("DownFrontBack")
local L = {
LeftFront,
Left,
LeftRear,
LeftFrontLower,
LeftLower,
LeftRearLower
}
for index = 1, #F do
local value = F[index]
print(index, " = ", value)
end
It only prints:
1 = UpFrontLeft
2 = Front
If I change #F to 5, for example, it gives me:
1 = UpFrontLeft
2 = Front
3 = nil
4 = nil
5 = nil

3 comments
When it tries to
FindFirstChild("UpFrontBack")for example it may not find anything. Change this toWaitForChildif you're executing this script the second the game loads.I don't see any array titled F in this Script.
Sorry, I forgot to change the F part but it's the same thing, since I have another table called F