#clear warzone skript
1 messages · Page 1 of 1 (latest)
why dont you just change it to wait 5 minutes?
Change the wait 5 seconds to wait 5 minutes
Literally on place add the location to a list, and after 5 minutes after the game starts loop the list and set the blocks to air.
There’s a way to do it thst doesn’t cause lag, i do stuff like this all the time.
``
on block place:
location of event-block is in "EXAMPLE-WORLDGUARD-REGION":
add location of event-block to {warzone_blocks::*}
every 5 minutes:
if {warzone_blocks::} is not set:
stop
set {_count} to 0
loop {warzone_blocks::}:
set block at {warzone_blocks::%loop-index%} to air
add 1 to {_count}
clear {warzone_blocks::*}
send "[DEBUG] Removed %{_count}% block/s in Warzone." to console
``
ok im stupid
you can try this
you can obviously remove the debug stuff i just had this for testing
i used this approach btw