--lonely function

local function getParts(parent)
	local parts = {}
	local descendants = parent:GetDescendants()
	
	for i = 1, #descendants do
		local part = descendants[i]
		
		if part:IsA("BasePart") then
			parts[#parts + 1] = part
		end
	end
	
	return parts
end

