Skip to main content

Build-validated example scripts

These complete scripts are generated from the repository’s Example Scripts directory. Every file is compiled during a normal SER build.

Open SER Blocks to assemble a beginner script visually, or copy an example below into a .ser file.

ExampleSelected constructs
914EffectsDamage, Explode, GiveEffect, IsAllowed, SetRole, ProcessingPlayer
anonymousRadioSetDisplayName, Joined
automaticRagdollCleanupBroadcast, CleanupRagdolls, Print, RoundStarted
automaticWarheadBroadcast, Cassie, RoundInfo, Warhead, WarheadInfo, RoundStarted
chaosCoinAdvDestroyItem, AmountOf, Broadcast, Cassie, ClearCountdown, FlippingCoin
coinTrackerGetPlayerData, Hint, Reply, SetPlayerData, FlippedCoin
customRolesAnimatedBroadcast, CRole.CreateChanceSpawnSystem, CRole.CreateProceduralSpawnSystem, CRole.Register, ClearInventory, WaitingForPlayers
discordServerInfoAmountOf, Discord.CreateMessage, Discord.EditMessage, Discord.SendMessageAndWait, Embed.Create, WaitingForPlayers
doorRestartCassie, ClearCassie, CloseDoor, DisableLights, IsCassieSpeaking
escapeRewardsBroadcast, GiveItem, Print, Escaped
facilityStatusCommandDecontamination, DecontaminationInfo, FormatDuration, GetFromMap, GetPickups
generatorAnnouncementsBroadcast, GetFromMap, Print, ActivatedGenerator, DeactivatedGenerator
healScpAmountOf, Broadcast, Except, Heal, Reply
hitInfoHint, Round, Hurt
hotPotatoAdvDestroyItem, AdvGiveItem, AmountOf, Broadcast, Except, RoundStarted
killStreakBroadcast, GetPlayerData, Overlapping, SetPlayerData, VarExists, Death
limitScp173MovementAmountOf, Get173Observers, GetPlayerData, Hint, IsAllowed, Teleporting
multiSectionHandlersBroadcast, Print, Reply, ThisInfo, Dying, RoundStarted
pinataLootCreatePickup, Hint, SpawnPickupPlayer, Trigger, Hurt
playerInfoCommandAmountOf, ParsePlayers, Reply, Round, Show
respawnTimerFormatDuration, GetWaveTimer, Hint, RoundStarted
rulesCommandReply
safeStartAmountOf, Broadcast, Print, SetRoundLock, RoundStarted
scanFacilityAmountOf, Cassie, IsCassieSpeaking
selfHealCommandHeal, Hint, Reply
serverStatusCommandAmountOf, FormatDuration, Reply, Round, RoundInfo
spawnProtectionGiveEffect, Hint, ChangedRole
suicideCommandKill, Reply
surfaceSmiteAmountOf, Broadcast, Countdown, Kill, Take
vipBroadcastBroadcast
welcomeBroadcast, Hint, Joined
zombieInfectionBroadcast, ClearInventory, ClearPlayerData, Date.Current, Date.Offset, ChangedRole, Hurt