The only part that doesnt work is "on death of player" and execute console command "/randomkit %victim%"
variables:
{kit} = 1
{leap1} = 1
on first join:
set {kit} to random integer between 1 and 7
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 3
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 1
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
on death of player:
execute console command "/randomkits %victim%"
command /randomkits <player>:
permission: kit.admin
trigger:
execute console command "clear %arg-1%"
set {kit} to random integer between 1 and 8
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 1
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 3
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
if {kit} is 8:
set slot 0 of player's inventory to 1 stone axe of sharpness 2
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 7 of player's inventory to 32 tnt
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with leather helmet of protection 3
equip player with chainmail chestplate of protection 2
equip player with diamond leggings of protection 1
equip player with leather boots of protection 3
if arg-1 is set:
send "&a%arg-1%'s Kit has been reset (randomly)"
send "&aYour Kit has been reset by an administrator! (randomly)" to the arg-1
if arg-1 is not set:
send "&aYour Kit has been reset (randomly)" to the player
command /setkits <integer> <player>:
permission: kit.admin
trigger:
execute console command "clear %arg-1%"
set {kit} to arg-1
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 3
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 1
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
if {kit} is 8:
set slot 0 of player's inventory to 1 stone axe of sharpness 2
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 7 of player's inventory to 32 tnt
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with leather helmet of protection 3
equip player with chainmail chestplate of protection 2
equip player with diamond leggings of protection 1
equip player with leather boots of protection 3
if arg-1 is not 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
send "&4Not a recognized integer for a kit (Try 1-7)!"
if arg-1 is 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
if arg-2 is set:
send "&a%arg-2%'s Kit has been set to %arg-1%"
send "&aYour Kit has been reset by an administrator!" to the arg-2
On rightclick:
if {leap1} is 1:
boots of the player are iron boots with name "&rLeaping Boots":
knock player forwards with strength 30
knock player upwards with strength 30
set {leap1} to 0
wait 5 seconds
set {leap1} to 1
on place of tnt:
summon 1 tnt
on damage of player:
if damage cause is tnt:
damage the victim by 8
command /spawn:
trigger:
wait 1 second
send "&aTeleporting in 5" to the player
wait 1 second
send "&aTeleporting in 4" to the player
wait 1 second
send "&aTeleporting in 3" to the player
wait 1 second
send "&aTeleporting in 2" to the player
wait 1 second
send "&aTeleporting in 1" to the player
teleport the player at location(-9, 73, 65)
variables:
{kit} = 1
{leap1} = 1
on first join:
set {kit} to random integer between 1 and 7
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 3
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 1
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
on death of player:
execute console command "/randomkits %victim%"
command /randomkits <player>:
permission: kit.admin
trigger:
execute console command "clear %arg-1%"
set {kit} to random integer between 1 and 8
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 1
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 3
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
if {kit} is 8:
set slot 0 of player's inventory to 1 stone axe of sharpness 2
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 7 of player's inventory to 32 tnt
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with leather helmet of protection 3
equip player with chainmail chestplate of protection 2
equip player with diamond leggings of protection 1
equip player with leather boots of protection 3
if arg-1 is set:
send "&a%arg-1%'s Kit has been reset (randomly)"
send "&aYour Kit has been reset by an administrator! (randomly)" to the arg-1
if arg-1 is not set:
send "&aYour Kit has been reset (randomly)" to the player
command /setkits <integer> <player>:
permission: kit.admin
trigger:
execute console command "clear %arg-1%"
set {kit} to arg-1
if {kit} is 2:
set slot 0 of player's inventory to 1 netherite sword of sharpness 1
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 2
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 bread
set slot 6 of player's inventory to 32 oak plank
set slot 8 of player's inventory to 1 netherite pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet
equip player with iron chestplate of protection 1
equip player with iron leggings
equip player with netherite boots of protection 2
if {kit} is 3:
set slot 0 of player's inventory to 1 diamond axe of sharpness 2 and fire aspect 2
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 3 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 totem of undying
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 4
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 4:
set slot 0 of player's inventory to 1 netherite axe of sharpness 1 and fire aspect 3
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 1 golden apple
set slot 4 of player's inventory to 64 cobblestone
set slot 5 of player's inventory to 64 baked potatoes
set slot 6 of player's inventory to 32 oak plank
set slot 7 of player's inventory to 1 shield
set slot 8 of player's inventory to 1 stone pickaxe of efficiency 7
set slot 9 of player's inventory to 64 arrows
equip player with chainmail helmet of protection 1
equip player with iron chestplate of protection 1
equip player with leather leggings
equip player with netherite boots of protection 2
if {kit} is 1:
set slot 0 of player's inventory to 1 iron sword
set slot 1 of player's inventory to 1 fishing rod
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 2
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 2
equip player with netherite boots of protection 2
if {kit} is 5:
set slot 0 of player's inventory to 1 iron axe of sharpness 2
set slot 1 of player's inventory to 1 stick of knockback 10
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 netherite pickaxe of fortune 3
set slot 9 of player's inventory to 32 arrows
equip player with netherite helmet of protection 3
equip player with diamond chestplate of protection 2
equip player with iron leggings of protection 1
equip player with netherite boots of protection 2
if {kit} is 6:
set slot 0 of player's inventory to 1 netherite axe of sharpness 5
set slot 1 of player's inventory to 1 fishing rod of knockback 2
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 5 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with chainmail helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with iron leggings of protection 1
equip player with iron boots of protection 1 with name "&rLeaping Boots"
if {kit} is 7:
set slot 0 of player's inventory to 1 diamond axe of sharpness 1
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 4
set slot 3 of player's inventory to 6 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with diamond helmet of protection 1
equip player with chainmail chestplate of protection 1
equip player with diamond leggings of protection 1
equip player with netherite boots of protection 1
if {kit} is 8:
set slot 0 of player's inventory to 1 stone axe of sharpness 2
set slot 1 of player's inventory to 1 fishing rod of knockback 5
set slot 2 of player's inventory to 1 bow of power 1
set slot 3 of player's inventory to 3 golden apple
set slot 5 of player's inventory to 32 cooked beef
set slot 4 of player's inventory to 64 cobblestone
set slot 7 of player's inventory to 32 tnt
set slot 8 of player's inventory to 1 iron pickaxe of efficiency 10
set slot 9 of player's inventory to 32 arrows
equip player with leather helmet of protection 3
equip player with chainmail chestplate of protection 2
equip player with diamond leggings of protection 1
equip player with leather boots of protection 3
if arg-1 is not 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
send "&4Not a recognized integer for a kit (Try 1-7)!"
if arg-1 is 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8:
if arg-2 is set:
send "&a%arg-2%'s Kit has been set to %arg-1%"
send "&aYour Kit has been reset by an administrator!" to the arg-2
On rightclick:
if {leap1} is 1:
boots of the player are iron boots with name "&rLeaping Boots":
knock player forwards with strength 30
knock player upwards with strength 30
set {leap1} to 0
wait 5 seconds
set {leap1} to 1
on place of tnt:
summon 1 tnt
on damage of player:
if damage cause is tnt:
damage the victim by 8
command /spawn:
trigger:
wait 1 second
send "&aTeleporting in 5" to the player
wait 1 second
send "&aTeleporting in 4" to the player
wait 1 second
send "&aTeleporting in 3" to the player
wait 1 second
send "&aTeleporting in 2" to the player
wait 1 second
send "&aTeleporting in 1" to the player
teleport the player at location(-9, 73, 65)