Options: xMin: -200 xMax: 2500 zMin: -200 zMax: 1000 y: 200 c4Min: 1 c4Max: 2 tntMin: 1 tntMax: 6 gunpowderMin: 5 gunpowderMax: 20 redstoneMin: 32 redstoneMax: 128 okoMin: 1 okoMax: 3 command /airdrop []: permission: IslandBattle.airdrop permission message: &cNie masz uprawnien trigger: if arg 1 is not set: set {_targetx} to a random integer between {@xMin} and {@xMax} set {_targetz} to a random integer between {@zMin} and {@zMax} set {_targety} to {@y} wait 1 tick set {_airdropek} to location at ({_targetx}, {_targety}, {_targetx}) in world "world" wait 1 tick spawn pig at {_airdropek} set name of last spawned pig to "&2&lAirdrop" broadcast "&8>> &6Zrzucono zabezpiecznony zrzut na kordynatach: &cx: &a%{_targetx}% &cz: &a%{_targetz}%" loop 6 times: spawn 1 skeleton at {_airdropek} give diamond chestplate to last spawned skeleton's chestplate give leather leggings to last spawned skeleton's leggings give iron helmet to last spawned skeleton's helmet give leather boots to last spawned skeleton's boots apply strength 2 to last spawned skeleton for 9999999 seconds apply speed 2 to last spawned skeleton for 99999 seconds apply resistance 150 to last spawned skeleton for 30 seconds set the displayname of last spawned skeleton to "&a&lZolnierz" stop if arg 1 is set: set {_airdropx} to x-coordinate of arg 1 set {_airdropz} to z-coordinate of arg 1 broadcast "&8>> &6Gracz &7%arg 1% &6Wezwal zrzut zaopatrzenia na kordynatach: &cx: &a%{_airdropx} % &cz: &a%{_airdropz} %" wait 30 second spawn pig 128 above the arg 1 set name of last spawned pig to "&2&lAirdrop" stop on death: if victim is pig: if victim's name is "&2&lAirdrop": clear drops set {_airdrop} to location at victim wait 1 tick set block at {_airdrop} to chest wait 1 tick chance of 25%: set {ammountc4} to a random integer between {@c4Min} and {@c4Max} set {ammounttnt} to a random integer between {@tntMin} and {@tntMax} set {ammountgunpowder} to a random integer between {@gunpowderMin} and {@gunpowderMax} set {ammountredstone} to a random integer between {@redstoneMin} and {@redstoneMax} set {ammountoko} to a random integer between {@okoMin} and {@okoMax} chance of 60%: loop blocks in radius 1 around {_airdrop}: loop {ammountc4} times: add jungle button named "&6&lC4" to the loop-block's inventory loop blocks in radius 1 around {_airdrop}: loop {ammounttnt} times: add tnt to the loop-block's inventory loop blocks in radius 1 around {_airdrop}: loop {ammountgunpowder} times: add gunpowder to the loop-block's inventory loop blocks in radius 1 around {_airdrop}: loop {ammountredstone} times: add redstone to the loop-block's inventory loop blocks in radius 1 around {_airdrop}: loop {ammountoko} times: add fermented spider eye to the loop-block's inventory stop