createParticles
Creates a particle effect attached to the player.
Syntax
player.createParticles(options, withId);
Parameters
| Name | Type | Description | 
|---|---|---|
| options(optional) | ParticlesOptions | The options for the particles effect. | 
| withId(optional) | string | The ID of the particles effect to create. | 
Returns
- ParticlesManager- The particles manager.
Example
const particles = player.createParticles({
  position: [0, 2, 0],
  amount: 50,
});
Available on: Client