Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- execute if entity @e[type=armor_stand,nbt={ShowArms:1b,HandItems:[{id:"minecraft:diamond_sword",Count:1b}]}]
- team join chosen @r
- summon minecraft:lightning_bolt ~ ~ ~
- playsound entity.lightning_bolt.thunder master @a ~ ~ ~ 1 1 1
- title @a[team=chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] title {"text":"YOU ARE CHOSEN.","color":"gold","bold":true}
- title @a[team=!chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] title {"text":"YOU ARE NOT CHOSEN.","color":"red","bold":true}
- kill @a[team=!chosen,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}]
- team leave @a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement