return function(A,O)if not A or not A:IsA("\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114")then return end;(coroutine.wrap(function()if O and tonumber(O)then wait(O)end A.Rate=0 wait(A.Lifetime.Max)A:Destroy()end))()end

return function(particleEmitter, delay)
	if not particleEmitter or not particleEmitter:IsA("ParticleEmitter") then
		return
	end
	coroutine.wrap(
		function()
			if delay and tonumber(delay) then
				wait(delay)
			end
			particleEmitter.Rate = 0

			wait(particleEmitter.Lifetime.Max)
			particleEmitter:Destroy()
		end
	)()
end
