execute if score global currentLevel matches 1001 run title @a[tag=inControl,tag=validRotation,scores={ride=1..}] actionbar ["",{"text":"Use "},{"keybind":"key.forward","color":"yellow"},{"text":", "},{"keybind":"key.left","color":"yellow"},{"text":", "},{"keybind":"key.back","color":"yellow"},{"text":", "},{"keybind":"key.right","color":"yellow"},{"text":" to move."}]
execute if score global currentLevel matches 1001 run title @a[tag=inControl,tag=!validRotation,scores={ride=1..}] actionbar ["",{"text":"Your crosshair must be focused on the bulldozer in order to move."}]

execute if score global currentLevel matches 1002 unless score global hitCone matches 1.. unless entity @e[type=area_effect_cloud,tag=player_char,scores={char_x=20..26,char_z=17..25}] run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Sometimes it is useful to drive in "},{"text":"reverse","color":"yellow"},{"text":"."}]
execute if score global currentLevel matches 1002 unless score global hitCone matches 1.. if entity @e[type=area_effect_cloud,tag=player_char,scores={char_x=20..26,char_z=17..25}] run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Be careful not to hit any "},{"text":"cones","color":"yellow"},{"text":"!"}]

execute if score global currentLevel matches 1003 as @e[type=area_effect_cloud,tag=player_char] at @s if block ~ ~-2 ~ white_wool run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Some blocks can be ","color":"white"},{"text":"pushed","color":"yellow"},{"text":".","color":"white"}]
execute if score global currentLevel matches 1003 as @e[type=area_effect_cloud,tag=player_char] at @s if block ~ ~-2 ~ orange_wool run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"To open the exit, you must push the correct ","color":"white"},{"text":"block","color":"yellow"},{"text":" onto each ","color":"white"},{"text":"receptor","color":"yellow"},{"text":".","color":"white"}]
execute if score global currentLevel matches 1003 as @e[type=area_effect_cloud,tag=player_char] at @s if block ~ ~-2 ~ magenta_wool run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"You can push blocks by ","color":"white"},{"text":"rotating","color":"yellow"},{"text":" your arm.","color":"white"}]

execute if score global currentLevel matches 1004 as @e[tag=player_char,type=area_effect_cloud,limit=1,tag=!arm_disconnected] at @s unless block ~ ~ ~ light_gray_concrete_powder run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Some blocks have special ","color":"white"},{"text":"properties","color":"yellow"},{"text":".","color":"white"}]
execute if score global currentLevel matches 1004 as @e[tag=player_char,type=area_effect_cloud,limit=1,tag=arm_disconnected] at @s unless block ~ ~ ~ light_gray_concrete_powder run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"You lost your arm! You should either ","color":"white"},{"text":"re-attach it","color":"yellow"},{"text":" or ","color":"white"},{"text":"reset","color":"dark_aqua"},{"text":" the puzzle.","color":"white"}]

execute if score global currentLevel matches 1005 run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Some blocks can be "},{"text":"broken","color":"yellow"},{"text":"."}]
execute if score global currentLevel matches 1006 run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"Slime blocks are "},{"text":"sticky","color":"yellow"},{"text":"."}]
execute if score global currentLevel matches 1007 run title @a[tag=inControl,scores={ride=1..}] actionbar ["",{"text":"It's okay to lose your "},{"text":"arm","color":"yellow"},{"text":". You can re-attach it or use it as a block."}]