Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i enable a particle emitter with scripts?

Asked by
sumi27 0
8 years ago

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

2 answers

Log in to vote
0
Answered by 8 years ago

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
Ad
Log in to vote
0
Answered by
lukeb50 631 Moderation Voter
8 years ago

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

ParticleEmmiter.Enabled=True

Answer this question