execute at @s if score @s cooldown matches 1.. run effect give @e[tag=!NoGlow,tag=Mob,distance=..100] minecraft:glowing 8 1 true
execute at @s if score @s cooldown matches 1.. run effect give @e[tag=!NoGlow,tag=Minion,distance=..100] minecraft:glowing 8 1 true
execute at @s if score @s cooldown matches 1.. unless entity @e[tag=Mob,distance=..80,sort=nearest,nbt={active_effects:[{id:"minecraft:glowing"}]}] as @e[tag=Mob,distance=101..300,sort=nearest,limit=1] at @s run tellraw @a [{"text":"[Revealing Charm] Nearest Mob at: ","color":"yellow","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"score":{"name":"x","objective":"Position"},"color":"#FF0A6C","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" "},{"score":{"name":"y","objective":"Position"},"color":"#FF0A6C","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" "},{"score":{"name":"z","objective":"Position"},"color":"#FF0A6C","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute at @s if score @s cooldown matches 1.. unless entity @e[tag=Mob,distance=..500] run tellraw @s [{"text":"[Revealing Charm] ","color":"yellow"},{"text":"No Mobs nearby.","color":"red"}]
execute at @s if score @s cooldown matches 1.. run scoreboard players remove @s cooldown 1