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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is interacting with SCP-330. |
$evUses | number value | Gets or sets the amount of uses that target player did. |
$evPlaySound | bool value | Gets or sets whether the sound should be played of pickup up candy. |
$evAllowPunishment | bool value | Gets whether the SeveredHands effect should be applied. |
$evCandyType | CandyKindID enum value | Gets 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. |
$evIsAllowed | bool value | Whether the event is allowed to run. |