execute if score @s MenuXLook > 0 Integer if score @s MenuXLook < 55500 Integer run scoreboard players remove BlueDifficulty DiffThinkTime 1
execute if score @s MenuXLook >= 55500 Integer run scoreboard players add BlueDifficulty DiffThinkTime 1
execute if score BlueDifficulty DiffThinkTime < 1 Integer run scoreboard players set BlueDifficulty DiffThinkTime 1
execute if score BlueDifficulty DiffThinkTime > 20 Integer run scoreboard players set BlueDifficulty DiffThinkTime 20
setblock 55 12 51 air
execute if score BlueDifficulty DiffThinkTime > 10 Integer run setblock 55 12 51 dark_oak_wall_sign[facing=south]{"front_text":{"messages":["{\"text\":\"\"}","{\"text\":\"Blue Difficulty\",\"bold\":true}","[{\"score\":{\"objective\":\"DiffThinkTime\",\"name\":\"BlueDifficulty\"}}]","{\"text\":\"Very Slow!\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function main:blueaidifficulty\"}}"]}}
execute if score BlueDifficulty DiffThinkTime <= 10 Integer run setblock 55 12 51 dark_oak_wall_sign[facing=south]{"front_text":{"messages":["{\"text\":\"\"}","{\"text\":\"Blue Difficulty\",\"bold\":true}","[{\"score\":{\"objective\":\"DiffThinkTime\",\"name\":\"BlueDifficulty\"}}]","{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function main:blueaidifficulty\"}}"]}}