Deactivate Emitter Particle system

Hello

I am spawning emitter at a location of one of sockets in my Player character. I want to show this emitter particle system for only 2 seconds, so I am using a delay of 2 seconds and then trying to deactivate this emitter. But this emitter is not getting deactivated.

I have also checked the option “Kill on Deactivate” in the particle but still of no use.

I found another workaround. When I searched through details section in my emitter, I found that loop value was set to 0 which was making the emitter to loop infinitely. I set the loop value to 1 and now the auto destroy is working fine after emitter plays for one time .