execute unless entity @a[tag=Player1] run item replace block 75 11 75 container.0 with stone
execute unless entity @a[tag=Player1] run scoreboard players set BlueDifficulty DiffThinkTime 5
execute unless entity @a[tag=Player1] run setblock 55 13 51 air
execute unless entity @a[tag=Player1] run setblock 55 13 51 birch_wall_sign[facing=south]{"front_text":{"messages":["{\"text\":\"Blue:\",\"color\":\"#0000FF\",\"bold\":true}","\"AI\"","{\"text\":\"\"}","{\"text\":\"(Click to join)\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function main:joinblue\"}}"]}}
execute unless entity @a[tag=Player1] run scoreboard players set P1AI Game 1
execute unless entity @a[tag=Player1] run scoreboard players add Current GameID 1
execute unless entity @a[tag=Player1] run scoreboard players operation @a GameID = Current GameID
execute unless entity @a[tag=Player1] run scoreboard players set RenderTimer Timer 9
execute unless entity @a[tag=Player1] run data modify storage main:golad p1 set value "Blue AI"
execute unless entity @a[tag=Player1] run 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 unless entity @a[tag=Player1] run 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\"}}"]}}
execute if entity @s[tag=Player1] run item replace block 75 11 75 container.0 with stone
execute if entity @s[tag=Player2] run scoreboard players set BlueDifficulty DiffThinkTime 5
execute if entity @s[tag=Player1] run setblock 55 13 51 air
execute if entity @s[tag=Player1] run setblock 55 13 51 birch_wall_sign[facing=south]{"front_text":{"messages":["{\"text\":\"Blue:\",\"color\":\"#0000FF\",\"bold\":true}","\"AI\"","{\"text\":\"\"}","{\"text\":\"(Click to Join)\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function main:joinblue\"}}"]}}
execute if entity @s[tag=Player1] run scoreboard players set P1AI Game 1
execute if entity @s[tag=Player1] run scoreboard players add Current GameID 1
execute if entity @s[tag=Player1] run scoreboard players operation @a GameID = Current GameID
execute if entity @s[tag=Player1] run scoreboard players set RenderTimer Timer 9
execute if entity @s[tag=Player1] run data modify storage main:golad p1 set value "Blue AI"
execute if entity @s[tag=Player1] run 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 entity @s[tag=Player1] run 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\"}}"]}}
execute if entity @s[tag=Player1] run tag @a remove Player1