you could do something like this
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
Stop_Spawners := class(creative_device):
@editable RoundSettings :round_settings_device = round_settings_device{}
@editable SpawnerArray : [] player_spawner_device = array {}
@editable Timer :timer_device = timer_device{}
@editable Timer2 :timer_device = timer_device{}
OnBegin<override>()<suspends>:void=
RoundSettings.RoundBeginEvent.Subscribe(SpawnersOff)
SpawnersOff():void=
Timer.Start()
Timer.SuccessEvent.Subscribe(StopSpawners)
StopSpawners(Agent:?agent):void=
for(Devices : SpawnerArray):
Devices.Disable()
Timer2.Start()
Timer2.SuccessEvent.Subscribe(EnableSpawners)
EnableSpawners(Agent:?agent):void=
for(Devices : SpawnerArray):
Devices.Enable()
you could sub the timer devices for sleep using too but that’d be more work.