#Made with love by Vian#9028 for Svemirko#2969
on first join:
#helmet
set {_itemh} to diamond helmet of protection 1
chance of 20%:
set {_itemh} to diamond helmet of protection 2
chance of 20%:
set {_itemh} to netherite helmet of protection 1
chance of 20%:
set {_itemh} to netherite helmet of protection 2
chance of 20%:
set {_itemh} to gold helmet of protection 4
make player wear {_itemh}
#chestplate
set {_itemc} to diamond chestplate of protection 1
chance of 20%:
set {_itemc} to diamond chestplate of protection 2
chance of 20%:
set {_itemc} to netherite chestplate of protection 1
chance of 20%:
set {_itemc} to netherite chestplate of protection 2
chance of 20%:
set {_itemc} to gold chestplate of protection 4
make player wear {_itemc}
#leggings
set {_iteml} to diamond leggings of protection 1
chance of 20%:
set {_iteml} to diamond leggings of protection 2
chance of 20%:
set {_iteml} to netherite leggings of protection 1
chance of 20%:
set {_iteml} to netherite leggings of protection 2
chance of 20%:
set {_iteml} to gold leggings of protection 4
make player wear {_iteml}
#boots
set {_itemb} to diamond boots of protection 1
chance of 20%:
set {_itemb} to diamond boots of protection 2
chance of 20%:
set {_itemb} to netherite boots of protection 1
chance of 20%:
set {_itemb} to netherite boots of protection 2
chance of 20%:
set {_itemb} to gold boots of protection 4
make player wear {_itemb}
#weapon
set {_weapon} to netherite sword of sharpness 1
chance of 25%:
set {_weapon} to diamond sword of sharpness 1
chance of 25%:
set {_weapon} to netherite axe of sharpness 1
chance of 25%:
set {_weapon} to diamond axe of sharpness 1
give player {_weapon}
#pickaxe
set {_pickaxe} to netherite pickaxe of efficiency 2
chance of 20%:
set {_pickaxe} to diamond pickaxe of efficiency 2
chance of 20%:
set {_pickaxe} to netherite pickaxe of efficiency 1
chance of 20%:
set {_pickaxe} to diamond pickaxe of efficiency 1
chance of 20%:
set {_pickaxe} to iron pickaxe of efficiency 2
give player {_pickaxe}
#blocks
set {_eblocks} to oak planks
chance of 50%:
set {_eblocks} to cobblestone
give player 256 of {_eblocks}
#misc
set {_misc} to totem of undying
chance of 33.3333333333%:
set {_misc} to 16 cobwebs
chance of 33.3333333333%:
set {_misc} to 16 tnt
give player {_misc}
on respawn:
#helmet
set {_itemh} to diamond helmet of protection 1
chance of 20%:
set {_itemh} to diamond helmet of protection 2
chance of 20%:
set {_itemh} to netherite helmet of protection 1
chance of 20%:
set {_itemh} to netherite helmet of protection 2
chance of 20%:
set {_itemh} to gold helmet of protection 4
make player wear {_itemh}
#chestplate
set {_itemc} to diamond chestplate of protection 1
chance of 20%:
set {_itemc} to diamond chestplate of protection 2
chance of 20%:
set {_itemc} to netherite chestplate of protection 1
chance of 20%:
set {_itemc} to netherite chestplate of protection 2
chance of 20%:
set {_itemc} to gold chestplate of protection 4
make player wear {_itemc}
#leggings
set {_iteml} to diamond leggings of protection 1
chance of 20%:
set {_iteml} to diamond leggings of protection 2
chance of 20%:
set {_iteml} to netherite leggings of protection 1
chance of 20%:
set {_iteml} to netherite leggings of protection 2
chance of 20%:
set {_iteml} to gold leggings of protection 4
make player wear {_iteml}
#boots
set {_itemb} to diamond boots of protection 1
chance of 20%:
set {_itemb} to diamond boots of protection 2
chance of 20%:
set {_itemb} to netherite boots of protection 1
chance of 20%:
set {_itemb} to netherite boots of protection 2
chance of 20%:
set {_itemb} to gold boots of protection 4
make player wear {_itemb}
#weapon
set {_weapon} to netherite sword of sharpness 1
chance of 25%:
set {_weapon} to diamond sword of sharpness 1
chance of 25%:
set {_weapon} to netherite axe of sharpness 1
chance of 25%:
set {_weapon} to diamond axe of sharpness 1
give player {_weapon}
#pickaxe
set {_pickaxe} to netherite pickaxe of efficiency 2
chance of 20%:
set {_pickaxe} to diamond pickaxe of efficiency 2
chance of 20%:
set {_pickaxe} to netherite pickaxe of efficiency 1
chance of 20%:
set {_pickaxe} to diamond pickaxe of efficiency 1
chance of 20%:
set {_pickaxe} to iron pickaxe of efficiency 2
give player {_pickaxe}
#blocks
set {_eblocks} to oak planks
chance of 50%:
set {_eblocks} to cobblestone
give player 256 of {_eblocks}
#misc
set {_misc} to totem of undying
chance of 33.3333333333%:
set {_misc} to 16 cobwebs
chance of 33.3333333333%:
set {_misc} to 16 tnt
give player {_misc}