automaticRagdollCleanup
Download the raw automaticRagdollCleanup.ser file
Uses: Broadcast · CleanupRagdolls · Print · RoundStarted · OnEvent
Complete script
automaticRagdollCleanup.ser
# Disabled by default: remove # from the filename to enable this script.
# Automatic ragdoll cleanup
# Replaces a simple ragdoll cleaner plugin.
# Change both occurrences of 5m to adjust the interval.
!-- OnEvent RoundStarted
# Leave the first bodies for a while so players can inspect the scene.
wait 5m
forever
Broadcast @all 5s "<color=#f0c75e>Facility cleanup in 10 seconds.</color>"
wait 10s
CleanupRagdolls
Print "Automatic cleanup removed all ragdolls."
wait 5m
end
This file is compiled during the SER build and is safe to use as a current-syntax learning example.