﻿-- 様々な形状のパーツを並べる

-- Shapeのテーブル
local ShapeTable = {
  Enum.PartType.Block,
  Enum.PartType.Ball,
  Enum.PartType.Wedge,
  Enum.PartType.CornerWedge,
  Enum.PartType.Cylinder 
}

-- パーツを並べる
for num = 1, 5 do
  local part = Instance.new("Part")
  part.Size = Vector3.new(6, 6, 6)
  part.Position = Vector3.new((num - 3) * 8, 8, -8)
  part.Anchored = true
  part.Shape = ShapeTable[num]
  part.Parent = workspace
end