--[[for index, child in pairs(workspace.TexturePallete:GetChildren()) do
	if child:IsA("Part") then
		if child.BrickColor.Name == "Dark green" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Grass)
		end
		if child.BrickColor.Name == "Dirt brown" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Mud)
		end
		if child.BrickColor.Name == "Deep blue" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Water)
		end
		if child.BrickColor.Name == "Pine Cone" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.WoodPlanks)
		end
		if child.BrickColor.Name == "Teal" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Glacier)
		end
		if child.BrickColor.Name == "Really red" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.CrackedLava)
		end
		if child.BrickColor.Name == "Wheat" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Concrete)
		end
		if child.BrickColor.Name == "Bronze" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Sand)
		end
		if child.BrickColor.Name == "Smoky grey" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Rock)
		end
		if child.BrickColor.Name == "Rust" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Sandstone)
		end
		if child.BrickColor.Name == "Reddish brown" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Ground)
		end
		if child.BrickColor.Name == "Fossil" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Slate)
		end
		if child.BrickColor.Name == "Burgundy" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Brick)
		end
		if child.BrickColor.Name == "White" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Snow)
		end
		if child.BrickColor.Name == "Really black" then
			game.Workspace.Terrain:FillBlock(child.CFrame, child.Size, Enum.Material.Basalt)
		end
	end
    -- print(index, child.Name)
end]]