SlashCo Wiki

Player:ClearEffect

  Player:ClearEffect( string effectName )

Description

Immediately removes a specific active effect from the player (all stacked instances of it), calling its EFFECT.OnRemoved (or EFFECT.OnExpired) callback and cancelling its expiry timer(s).

Arguments

1string effectName

Name of the effect to remove.