execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ scoreboard players add @e[name=InnocentAISpeed,type=armor_stand] Options 1
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,score_Options_min=3] ~ ~ ~ scoreboard players set @s Options 0
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=0,score_Options=0] ~ ~ ~ blockdata 9 102 12 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"Off\",\"bold\":true,\"color\":\"dark_green\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=0,score_Options=0] ~ ~ ~ blockdata 501 102 524 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"Off\",\"bold\":true,\"color\":\"dark_green\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=1,score_Options=1] ~ ~ ~ blockdata 9 102 12 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"I\",\"bold\":true,\"color\":\"green\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=1,score_Options=1] ~ ~ ~ blockdata 501 102 524 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"I\",\"bold\":true,\"color\":\"green\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=2,score_Options=2] ~ ~ ~ blockdata 9 102 12 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"II\",\"bold\":true,\"color\":\"yellow\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}
execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=2,score_Options=2] ~ ~ ~ blockdata 501 102 524 {Text1:"{\"text\":\"-==*O*==-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players tag @p add OptionInnocentAISpeed\"},\"color\":\"dark_gray\"}",Text2:"{\"text\":\"InnocentAI speed:\",\"color\":\"dark_aqua\"}",Text3:"{\"text\":\"II\",\"bold\":true,\"color\":\"yellow\"}",Text4:"{\"text\":\"-==*O*==-\",\"color\":\"dark_gray\"}"}

title @a[tag=OptionInnocentAISpeed] times 0 50 10
title @a[tag=OptionInnocentAISpeed] title {"text":""}
execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=0,score_Options=0] ~ ~ ~ title @a[tag=OptionInnocentAISpeed] subtitle ["",{"text":"The Innocent AI won't have any ","color":"aqua"},{"text":"speed","color":"dark_aqua","bold":"true"},{"text":".","color":"aqua"}]
execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=1,score_Options=1] ~ ~ ~ title @a[tag=OptionInnocentAISpeed] subtitle ["",{"text":"The Innocent AI will have: ","color":"aqua"},{"text":"Speed I","color":"dark_aqua","bold":"true"},{"text":".","color":"aqua"}]
execute @e[name=InnocentAISpeed,type=armor_stand,score_Options_min=2,score_Options=2] ~ ~ ~ title @a[tag=OptionInnocentAISpeed] subtitle ["",{"text":"The Innocent AI will have: ","color":"aqua"},{"text":"Speed II","color":"dark_aqua","bold":"true"},{"text":".","color":"aqua"}]

execute @a[tag=OptionInnocentAISpeed] ~ ~ ~ playsound minecraft:ui.button.click master @s ~ ~ ~
scoreboard players tag @a[tag=OptionInnocentAISpeed] remove OptionInnocentAISpeed