How To Instantly Emit A Particle

  1. What do you want to achieve? Keep it simple and clear!
    Instant Particle Emission via a script.
  2. What is the issue? Include screenshs / videos if possible!
    Particles are not loading until seconds later which is to late and looks bad for the thing im
    trying to create.
  3. What have you done to try and solve this issue?

I’ve resorted to creating 50 of each particle at the start of the game and then bringing one of those over since it’s particles will have loaded by the time I need them. But this is obviously resource intensive. So i’m wondering if there’s a better way to instantly load particles.

Example of my crude way of emitting the particle instantly:
image

Thanks in advance!

You could try using the ContentProvider PreloadAsync!

1 Like
ParticleEmitter:Emit(numberOfParticlesToEmit)

see here

You should probably provide your script here too since it’s the Scripting Support forum.
If you are using a bunch of different Particles in a Part, just have whichever ParticleEmitters that part may emit loaded into the Part at the beginning of the game. Same with if you have a bunch of them in a Player’s body Part.
Then as @PuffoThePufferfish said, :Emit whichever one you need.
This would instantly make the emitter produce particles.

I don’t think having a whole bunch of ParticleEmitters cause a problem if they aren’t Enabled. If you Enable an individual Emitter or just :Emit a few particles it won’t lag too much at all.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.