ParticleSystem:getEmitterLifetime
Gets how long the particle system will emit particles (if -1 then it emits particles forever).
life = ParticleSystem:getEmitterLifetime()
life number The lifetime of the emitter (in seconds).