How to make a part grow

local module = {}

module.grow = function(part)
	local folder = Instance.new("Folder")
	folder.Parent = game.Workspace
	part.Parent = folder
	for i = 1, 50 do
		wait(0.1)
		local clone = part:Clone()
		clone.Name = "ClonedPart"
		clone.Parent = folder
		clone.Position = folder:GetChildren()[i].Position + Vector3.new(math.random(-3,3), math.random(-3,3),0)
		clone.Size = part.Size
	end
end

return module
local module = require(game.ReplicatedStorage.ModuleScript)

if script.Parent.Name == "Part" then
	module.grow(script.Parent)
end

sadfasdsfdfasd

this is what i get but how do i generalize the direction of growth so that it can grow on the surface of any walls

2 Likes