Advertisement
Shootzki

Sword in the Stone commands

Dec 5th, 2019
1,468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. give @p minecraft:diamond_sword{display:{Name:'{"text":"Sword in the Stone","color":"gold","bold":true}'},Enchantments:[{id:"minecraft:sharpness",lvl:10s},{id:"minecraft:smite",lvl:10s},{id:"minecraft:fire_aspect",lvl:10s},{id:"minecraft:sweeping",lvl:10s},{id:"minecraft:unbreaking",lvl:10s}]} 1
  2.  
  3. execute if entity @e[type=armor_stand,nbt={ShowArms:1b,HandItems:[{id:"minecraft:diamond_sword",Count:1b}]}]
  4.  
  5. team join chosen @r
  6.  
  7. summon minecraft:lightning_bolt ~ ~ ~
  8.  
  9. playsound entity.lightning_bolt.thunder master @a ~ ~ ~ 1 1 1
  10.  
  11. title @a[team=chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] title {"text":"YOU ARE CHOSEN.","color":"gold","bold":true}
  12.  
  13. title @a[team=!chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] title {"text":"YOU ARE NOT CHOSEN.","color":"red","bold":true}
  14.  
  15. kill @a[team=!chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}]
  16.  
  17. team leave @a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement