The LocekdToPart property determines if particles will “stick” to the emission source (the
BasePart to which the
ParticleEmitter is parented).
Below is an animation of two
Parts being moved simultaneously in Studio. Inside each is a default
ParticleEmitter; the background/left emitter has LockedToPart enabled so the column of particles moves as the part is moved. Contrast with the foreground/right emitter particles which stay in their world position.
Also consider using the
ParticleEmitter/VelocityInheritance property set to 1, which may be more appropriate for some effects.
Creating a Particle Emitter from Scratch
This rather lengthy code sample shows how every property of a
ParticleEmitter can be set, including
DataType/ColorSequence properties. Below is how the ParticleEmitter should after every property is set. Try playing around with the different properties to customize how the effect looks!