The script doesn't spawn the part correctly.
function generatePart(Color)
local part = Instance.new("Part",game.Workspace)
part.Anchored = false
part.Transparency = 0.5
part.BrickColor = BrickColor.new (Color)
part.Parent = workspace
end
generatePart("Bright Green")
generatePart()
generatePart()
generatePart()
By the way, I haven't finished the other generate part but it doesn't spawn green part.

1 comment
Ok thanks!