tag @e[tag=K,type=zombie] add WHQ
tag @e[tag=K,type=skeleton] add WHQ
tag @e[tag=K,type=zombified_piglin] add WHQ
tag @e[tag=K,type=creeper] add WHQ
tag @e[tag=K,type=enderman] add WHQ
#tag @e[tag=K,type=Slime] add WHQ
tag @e[tag=K,type=spider] add WHQ
tag @e[tag=K,type=cave_spider] add WHQ
tag @e[tag=K,type=stray,name=!"Cadeyrn the Wretched"] add WHQ
tag @e[tag=K,type=husk] add WHQ
execute at @e[tag=WHQ] run summon witch ~ ~ ~ {Tags:["RemovePersist","WitchEvent"]}
execute as @e[tag=WHQ] run execute at @s run tp @s ~ ~-500 ~
execute as @e[tag=WitchEvent,type=witch] run data merge entity @s {PersistenceRequired:1}
playsound entity.witch.ambient hostile @a ~ ~ ~ 1 0.8 1

tellraw @a[team=P] ["",{"text":"It's the Witching Hour!","color":"dark_red","italic":true}]