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