Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i enable a particle emitter with scripts?

How do i enable a particle emitter with scripts? i dont know how to do it plz help

2 answers


local ParticleEmitter = Instance.new("ParticleEmitter", Workspace) -- make the particle emitter
ParticleEmitter.Name = "ParticleEmitterDemo"

while wait(5) do -- waits 5 seconds loop
	ParticleEmitter.Value = not ParticleEmitter.Value -- sets it to the opposite value true/false
end

simple. they have a property called Enabled that sets if particles are emitted. so, all you need to do is:

ParticleEmmiter.Enabled=True

This discussion is preserved as it was. New answers, comments, and votes are closed.