local J=script.DepthOfField:Clone()J.Parent=game.Lighting local function M(J)wait(Random_:NextNumber(1,1.5))for J,M in ipairs(J:GetChildren())do local o=table.find(ignoreList,M)if o then ignoreList[o]=ignoreList[IgnoreLength]ignoreList[IgnoreLength]=nil IgnoreLength=IgnoreLength-1 end end local M=table.find(ignoreList,J)if M then ignoreList[M]=ignoreList[IgnoreLength]ignoreList[IgnoreLength]=nil IgnoreLength=IgnoreLength-1 end J:Destroy()end
----------------------------------------------------------------------------
---  Functions  ------------------------------------------------------------
----------------------------------------------------------------------------

local c = script.DepthOfField:Clone()

c.Parent = game.Lighting

local function DestroyDroplet(d)
	wait(Random_:NextNumber(1, 1.5))

	-- Proper GC
	for _, Child in ipairs(d:GetChildren()) do
		local Index = table.find(ignoreList, Child)
		if Index then
			ignoreList[Index] = ignoreList[IgnoreLength]
			ignoreList[IgnoreLength] = nil
			IgnoreLength = IgnoreLength - 1
		end
	end

	local Index = table.find(ignoreList, d)
	if Index then
		ignoreList[Index] = ignoreList[IgnoreLength]
		ignoreList[IgnoreLength] = nil
		IgnoreLength = IgnoreLength - 1
	end

	d:Destroy()
end
