tellraw @s ["",{"text":"DEBUG: ","bold":"true","color":"dark_red"}]
tellraw @s ["",{"text":"WARNING - Use at your own risk.","bold":"true","color":"red"}]
scoreboard players enable @s KyuSpells

scoreboard players set @s KyuDummy 0
execute at @e[type=falling_block] run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" falling blocks","color":"yellow"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2011"}}]

scoreboard players set @s KyuDummy 0
execute at @e[type=item] run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" items","color":"yellow"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2012"}}]

scoreboard players set @s KyuDummy 0
execute at @e[type=armor_stand] run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" armor stands","color":"yellow"}]

scoreboard players set @s KyuDummy 0
execute at @e[type=marker] run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" markers","color":"yellow"}]

scoreboard players set @s KyuDummy 0
execute at @e[type=#suhc:hostiles] run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" hostile mobs","color":"yellow"},{"text":" [KILL ALL(except Cadeyrn)]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2014"}}]

scoreboard players set @s KyuDummy 0
execute at @e run scoreboard players add @s KyuDummy 1
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" total entities","color":"yellow"}]

scoreboard players set @s KyuDummy 0
execute store result score @s KyuDummy run forceload query
tellraw @s ["",{"color":"gold","score":{"name":"@s","objective":"KyuDummy"}},{"text":" forceloaded chunks","color":"yellow"}]



tag @e[type=armor_stand,name=DayQ,limit=1] add CheckStructures
execute store result score @e[type=armor_stand,name=DayQ,limit=1] StructureLoadCheck run locate structure suhc:stalagmitebase
execute as @e[type=armor_stand,name=DayQ,limit=1,scores={StructureLoadCheck=1..}] run tag @s remove CheckStructures
execute store result score @e[type=armor_stand,name=DayQ,limit=1] StructureLoadCheck run locate structure suhc:skeletonoutpostbase
execute as @e[type=armor_stand,name=DayQ,limit=1,scores={StructureLoadCheck=1..}] run tag @s remove CheckStructures
execute store result score @e[type=armor_stand,name=DayQ,limit=1] StructureLoadCheck run locate structure suhc:enchantedcavernbase
execute as @e[type=armor_stand,name=DayQ,limit=1,scores={StructureLoadCheck=1..}] run tag @s remove CheckStructures

execute at @e[type=armor_stand,name=DayQ,tag=CheckStructures] run tellraw @s ["",{"text":"- Structures do not appear to be loading properly. Please restart the server, and submit a bug report if the issue persists.","color":"red","italic":"false"}]
execute at @e[type=armor_stand,name=DayQ,tag=!CheckStructures] run tellraw @s ["",{"text":"- Structures appear to be loading properly.","color":"green","italic":"false"}]

tag @e[type=armor_stand,name=DayQ,limit=1] remove CheckStructures




tellraw @s ["",{"text":"----------------------------------------------------","color":"yellow","italic":"true"}]
tellraw @s ["",{"text":"Timer blocks active:","color":"dark_red","italic":"true"}]
tag @s remove CadComBlock
execute in overworld run execute if block 999996 120 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 121 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 122 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 123 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 124 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 125 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 126 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 127 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 128 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999997 126 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999997 127 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999997 128 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999997 129 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999997 130 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 129 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999996 130 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 120 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 121 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 122 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 123 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 124 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 125 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 126 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 127 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 128 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 129 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999995 130 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 120 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 121 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 122 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 123 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 124 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
execute in overworld run execute if block 999994 125 999969 minecraft:repeating_command_block{auto:1b} run tag @s add CadComBlock
tellraw @s[tag=CadComBlock] ["",{"text":"- Cadeyrn Boss Fight Command Blocks","color":"red"}]
tag @s remove CadComBlock


execute in overworld run execute if block 999986 137 999979 minecraft:repeating_command_block{auto:1b} run tellraw @s[tag=CadComBlock] ["",{"text":"- Enchanted Cavern Command Blocks","color":"red"}]
execute in overworld run execute if block 999986 136 999979 redstone_block run tellraw @s ["",{"text":"- Enchanted Cavern Command Blocks","color":"red"}]


execute in overworld run execute if block 999989 120 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Birch Tavern Command Blocks","color":"red"}]
execute in overworld run execute if block 999989 147 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Birch Tavern Command Blocks","color":"red"}]

execute in overworld run execute if block 999987 124 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Taiga Tower Command Blocks","color":"red"}]
execute in overworld run execute if block 999987 195 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Taiga Tower Command Blocks","color":"red"}]

execute in overworld run execute if block 999976 122 999975 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Meteor Shower Command Blocks","color":"red"}]
execute in overworld run execute if block 999976 121 999975 redstone_block run tellraw @s ["",{"text":"- Meteor Shower Command Blocks","color":"red"}]

execute in overworld run execute if block 999976 122 999976 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Sinkhole Command Blocks","color":"red"}]
execute in overworld run execute if block 999976 121 999976 redstone_block run tellraw @s ["",{"text":"- Sinkhole Command Blocks","color":"red"}]


tag @s remove SpiderComBlock
execute in overworld run execute if block 999984 137 999982 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 137 999981 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 137 999975 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 137 999974 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 158 999982 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 162 999982 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 172 999982 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 145 999980 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 144 999979 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 142 999978 minecraft:repeating_command_block{auto:1b} run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 136 999982 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 136 999981 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 136 999975 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 136 999974 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 172 999981 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 143 999979 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 141 999978 redstone_block run tag @s add SpiderComBlock
execute in overworld run execute if block 999984 143 999977 redstone_block run tag @s add SpiderComBlock
tellraw @s[tag=SpiderComBlock] ["",{"text":"- Spider Den Command Blocks","color":"red"}]
tag @s remove SpiderComBlock
execute in overworld run execute if block 999984 160 999976 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Spider Den Sac Counter Command Blocks","color":"red"}]


execute in overworld run execute if block 999982 133 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Ore Vein Command Blocks","color":"red"}]
execute in overworld run execute if block 999981 133 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- TNT Vein Command Blocks","color":"red"}]


execute in overworld run execute if block 999982 129 999975 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Darkness Event Command Blocks","color":"red"}]


execute in overworld run execute if block 999983 138 999974 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Griefer Zombie Command Blocks(player)","color":"red"}]
execute in overworld run execute if block 999982 139 999974 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Griefer Zombie Command Blocks(entity)","color":"red"}]

tag @s remove OWSpiderComBlock
execute in overworld run execute if block 999981 128 999971 minecraft:repeating_command_block{auto:1b} run tag @s add OWSpiderComBlock
execute in overworld run execute if block 999981 137 999971 minecraft:repeating_command_block{auto:1b} run tag @s add OWSpiderComBlock
execute in overworld run execute if block 999981 144 999971 minecraft:repeating_command_block{auto:1b} run tag @s add OWSpiderComBlock
execute in overworld run execute if block 999981 198 999971 minecraft:repeating_command_block{auto:1b} run tag @s add OWSpiderComBlock
tellraw @s[tag=OWSpiderComBlock] ["",{"text":"- Overworld Spider Den Command Blocks","color":"red"}]
tag @s remove OWSpiderComBlock


execute in overworld run execute if block 999981 132 999974 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Lava Dungeon Spawn Timer","color":"red"}]
execute in overworld run execute if block 999981 171 999974 redstone_block run tellraw @s ["",{"text":"- Lava Dungeon Creation Timer","color":"red"}]




tag @s remove IslandComBlock
execute in overworld run execute if block 999992 140 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999991 140 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999989 140 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999992 140 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999991 140 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999990 140 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999988 140 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999992 146 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999991 146 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999989 146 999976 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999992 146 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999991 146 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999990 146 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999988 146 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999990 152 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
execute in overworld run execute if block 999990 155 999974 minecraft:repeating_command_block{auto:1b} run tag @s add IslandComBlock
tellraw @s[tag=IslandComBlock] ["",{"text":"- Floating Island Command Blocks","color":"red"}]
tag @s remove IslandComBlock




tag @s remove LanternComBlock
execute in overworld run execute if block 999982 128 999980 minecraft:repeating_command_block{auto:1b} run tag @s add LanternComBlock
execute in overworld run execute if block 999982 129 999980 minecraft:repeating_command_block{auto:1b} run tag @s add LanternComBlock
tellraw @s[tag=LanternComBlock] ["",{"text":"- Lantern Event Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2000"}}]
tag @s remove LanternComBlock


execute in overworld run execute if block 999982 128 999979 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Cackling Creepers Command Blocks","color":"red"},{"text":" [KILL - Warning: Affected mobs may be killed.]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2001"}}]

execute in overworld run execute if block 999982 128 999978 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Glitching Hour Command Blocks","color":"red"},{"text":" [KILL - Warning: Affected mobs may be killed.]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2002"}}]

execute in overworld run execute if block 999982 128 999977 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- When Pigs Fly Command Blocks","color":"red"},{"text":" [KILL - Warning: Affected mobs may be killed.]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2003"}}]

execute in overworld run execute if block 999982 128 999976 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Super Lucky Event Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2004"}}]

execute in overworld run execute if block 999982 128 999975 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Meals on Wheels Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2005"}}]

execute in overworld run execute if block 999982 128 999974 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Hot to the Touch Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2006"}}]

execute in overworld run execute if block 999982 128 999973 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Magnet Mania Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2007"}}]

execute in overworld run execute if block 999982 128 999972 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Thunderstruck Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2008"}}]

execute in overworld run execute if block 999982 128 999971 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Hardmode Skeleton Fireballs Command Blocks","color":"red"},{"text":" [KILL]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2009"}}]

execute in overworld run execute if block 999976 123 999971 minecraft:repeating_command_block{auto:1b} run tellraw @s ["",{"text":"- Nether Corruption Command Blocks","color":"red"},{"text":" [KILL - Warning: Will kill ALL nether corruption-related entities, and any portals loaded will no longer spread corruption.]","bold":false,"color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 2010"}}]


tellraw @s ["",{"text":"END OF DEBUG","bold":"true","color":"green"}]


#execute at @s run tellraw @p[tag=KyuRevivingT3] ["",{"text":"","color":"blue"},{"selector":"@s","color":"blue"},{"text":" wishes to revive you with FULL HEALTH AND A FULL INVENTORY. ","color":"blue"},,{"text":"This will expire after 1 minute.","color":"red","bold":false,"italic":true}]
#{"text":"Click here to confirm you wish to proceed. ","bold":true,"color":"yellow","clickEvent":{"action":"run_command","value":"/trigger KyuSpells set 6"}}