Skip to main content

InteractingScp330

Gets called when the player is interacting with SCP-330.

Start a script section

!-- OnEvent InteractingScp330
-- require @evPlayer $evUses $evPlaySound $evAllowPunishment $evCandyType $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerInteractingScp330EventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is interacting with SCP-330.
$evUsesnumber valueGets or sets the amount of uses that target player did.
$evPlaySoundbool valueGets or sets whether the sound should be played of pickup up candy.
$evAllowPunishmentbool valueGets whether the SeveredHands effect should be applied.
$evCandyTypeCandyKindID enum valueGets or sets the type of the candy that is given to the player. Set IsAllowed or this to None if you don't want to give candy to the player.
$evIsAllowedbool valueWhether the event is allowed to run.