#map save and map load
1 messages · Page 1 of 1 (latest)
ok and
i just dont know how to load it basically
or how to use a good system
like how bedwars loads new maps when the game starts
uh
delete {desertblocks::*}
wait a tick
set {_loc::1} to location -41, 17, -49 in world "season2"
set {_loc::2} to location -40, 16, -50 in world "season2"
loop blocks within {_loc::1} to {_loc::2}:
loop-block is not air:
add loop-block to {des::*}
set {des::%location of loop-block%} to type of loop-block
command /desertSave:
permission: founder
trigger:
des()
command /desertLoad:
permission: founder
trigger:
loop {des::*}:
set block at location of loop-value to {des::%location of loop-value%}
send "loaded"```