EffectPlayer
Allows you to play visual effects created by standard visual effect plugins. This supports playing:
- ParticleEmitters
- Sounds
- Tween and bezier animations
- ModuleScripts
- Beams
- Trails
Functions
PlayEffect
EffectPlayer.PlayEffect(IgnoreAllDescendants: boolean?--
If true, will not play effects on descendants of the bin. Defaults to false.
) → number--
The total duration of the effect as a number.
Plays a visual effect, returning the total duration of the effect as a number.