PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Smoke

Show deprecated

Smoke

Show deprecated

Smoke is one of several particle-emitting classes. Like other particle emitters of its kind, Smoke objects emit particles when parented to a BasePart (such as a Part) or an Attachment within such a BasePart. Compared to the ParticleEmitter class, Smoke lacks many different customization properties and special methods, such as ParticleEmitter/Lifetime or ParticleEmitter/Emit. It is useful to create a quick special effect in a pinch; for more detailed work it is preferable to use a ParticleEmitter instead.

Smoke rising from the part to which it was parented

When Smoke/Enabled is toggled off, particles emit by this object will continue to render until their lifetime expires. When a Smoke object’s Instance/Parent is set to nil (and/or Instance/Destroyed), all particles will instantly disappear. If this effect is not desired, try hiding the parent object at a far away position, then removing the Smoke after a few seconds using Debris to give the last particles a chance to expire. This object does not have a ParticleEmitter/Clear method, but it is possible to set the Instance/Parent to nil and back to the exact same object for the same effect.

Smoke particles are only emit from the center of BasePart to which they are parented. Parenting a Smoke object to an Attachment instead allows customization of the particles’ start position.

Properties

Color3

Color

Determines the color of the smoke particles

bool

Enabled

Determines whether smoke particles are emit

float

Opacity

[NotReplicated]

Determines how opaque smoke particles render

float

RiseVelocity

[NotReplicated]

Determines the velocity of the smoke particles

float

Size

[NotReplicated]

Determines the size of newly emit smoke particles

Functions

Events