execute at @s positioned ~ 250 ~ run loot spawn ~ ~ ~ loot minecraft:talkingsword/talkmob

execute at @s positioned ~ 250 ~ run execute at @e[sort=nearest,limit=1,type=item,distance=..3,nbt={Item:{id:"minecraft:paper",Count:1b,tag:{display:{Lore:["\"MobOp1\""]}}}}] run function zzzzdonotuse:trinketeffect/sword/mob/moboption1
execute at @s positioned ~ 250 ~ run execute at @e[sort=nearest,limit=1,type=item,distance=..3,nbt={Item:{id:"minecraft:paper",Count:1b,tag:{display:{Lore:["\"MobOp2\""]}}}}] run function zzzzdonotuse:trinketeffect/sword/mob/moboption2



#tag @e[sort=nearest,limit=1,name=GK,distance=..8] add KyuDialogue
#execute if entity @e[name=GK,distance=..8,tag=KyuDialogue,sort=nearest,limit=1,type=spider] run tellraw @s ["",{"text":"Your soul gem vanishes, and spawns a witch in the process!","color":"blue","italic":true},{"text":"","color":"red"}]
#execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~1 ~ bedrock run execute at @e[sort=random,limit=1,type=armor_stand,name=METEORKYU] if block ~ ~-1 ~ bedrock run execute unless entity @e[type=minecraft:player,limit=1,sort=random,tag=K,scores={KyuTime=13000..23000}] run execute as @e[name=OreL4,scores={KyuArea=..3}] run scoreboard players add @s KyuArea 1