Practical script - Hide & Seek

Finally making an event using Scripted Events Reloaded!

Aim of the script

When the script is ran, we want the following to happen:

  1. Lock the round

  2. Start the round

  3. Turn off decontamination in LCZ

  4. Lock checkpoints so people can't leave

  5. Clear items generated so hiders don't try to abuse anything

  6. Get a random person to be a SCP-939 seeker

  7. Change every other person into a ClassD hider

  8. Have the seeker wait for 1 minute for hiders

  9. Once that minute passes, release him in LCZ

Execution

Setting up the round

First 5 points are done using very basic methods:

# lock the round so the admin can end it whenever he wants to
RoundLock true

# start the round 
# it's assumed that an admin will run this command before the round starts
StartRound

# turn off decontamination so people don't die 
Decontamination disable

# lock LCZ checkpoints so people don't try to escape
LockDoor LczCheckpointA 
LockDoor LczCheckpointB

# remove items from the map
CleanupPickups

You may be confused about the LockDoor's arguments. We use LczCheckpointA and LczCheckpointB, but where did they come from? Let's see its documentation (as of 29.10.2025):

The Expected value of the doors argument may be a little long, but we are interested in the DoorName enum.

About enums

Defining the seeker

In order to have 1 random player be the seeker, we can use the LimitPlayers method like so:

This method simply limits the amount of returned players with its last argument, because * means "every player."

Defining the hiders

In order to have the rest be hiders, we can use the RemovePlayers method. Here is its documentation (as of 28.10.2025):

This method may look intimidating, but it's a kind of "subtraction" that's performed on player values.

Here we do an operation like all players - seeker player, which in turn leaves us with players that are not seekers.

Finishing touches

Lastly, we need to add a countdown and teleport the seeker to LCZ.

Final result

Now you have a very simple way to run a hide and seek event!

Last updated