ParticleEmitter:Emit() not working

Ok so I need to use the command :Emit() for an impact vfx for my game, however it’s not working. No idea why even with my years of scripting I can’t get it to work so it’s very embarassing.

did u try to emit with a plugin? like jads emit plugin

if the emit is working in the plugin then something is wrong in your code

yes it is working with a plugin.

My code is very simple it’s just that:

local emitter = script.Parent.Attachment.ParticleEmitter
emitter:Emit()

i think you need to put a number on that “()” thats the amount that should emit like

local emitter = script.Parent.Attachment.ParticleEmitter
emitter:Emit(250) --Emits 250 Particles

No need to, if the “()” are empty it’ll only take the preset in the emitter’s settings so no need to fill it. Anyway I could figure out the problem so it is fixed. I just don’t know why it wasn’t working… Anyway thanks!

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