0% found this document useful (0 votes)
50 views3 pages

Random Kit

The document describes a program that randomly generates and equips armor, tools, weapons, and blocks for a player joining or respawning in a game. It sets various gear items - such as a diamond or netherite helmet with protection - and gives the player a randomly selected weapon, pickaxe, blocks, and miscellaneous item like a totem of undying.

Uploaded by

vjekoslav.ikic1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views3 pages

Random Kit

The document describes a program that randomly generates and equips armor, tools, weapons, and blocks for a player joining or respawning in a game. It sets various gear items - such as a diamond or netherite helmet with protection - and gives the player a randomly selected weapon, pickaxe, blocks, and miscellaneous item like a totem of undying.

Uploaded by

vjekoslav.ikic1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

#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}

You might also like