-- テーブルをfor文で宣言する local _Items = {} for i=1, 5 do _Items[i] = vci.assets.GetTransform("Item"..tostring(i)) print(_Items[i].."をテーブルに登録しました。") end