914Effects
Download the raw 914Effects.ser file
Uses: Damage · Explode · GiveEffect · IsAllowed · SetRole · TPRoom · ProcessingPlayer · OnEvent
Complete script
914Effects.ser
# Disabled by default: remove # from the filename to enable this script.
# this script applies different effects for players in SCP-914
# depending on the current setting of the knob
!-- OnEvent ProcessingPlayer
-- require @evPlayer $evKnobSetting
# downgrade the player's role
if $evKnobSetting is "Rough"
if {@evPlayer -> role} isnt "Scp0492"
SetRole @evPlayer Scp0492
else
Explode @evPlayer
end
# damage and TP the player
elif $evKnobSetting is "Coarse"
Damage @evPlayer 50 "SCP-914 Coarse output"
# make the player not teleport to the out section of scp 914, but a random room in HCZ
IsAllowed false
TPRoom @evPlayer HeavyContainment
# no effect (can add your own)
elif $evKnobSetting is "OneToOne"
# no effect (can add your own)
elif $evKnobSetting is "Fine"
# grant good effects
elif $evKnobSetting is "VeryFine"
GiveEffect @evPlayer MovementBoost 20s 10
GiveEffect @evPlayer AntiScp207 10s
end
This file is compiled during the SER build and is safe to use as a current-syntax learning example.