#This function should run as an entity with the tag "tutorial" and "animated_in"
data modify entity @s text set value [{text:"\n\n",font:"default",type:"text"},{text:"Obstacles - Red ships\n\n",font:"default",color:"#00C0FF",type:"text"},{text:"Red ships pose a greater threat.\n",color:"#66F5FF",type:"text"},{text:"      Eliminate them to create a safe passage.      ",color:"#66F5FF",type:"text"},{text:"\n\nReds explode upon passing.\n",color:"#FF001D",type:"text"},{text:"      Take them down before they reach you.      ",color:"#66F5FF",type:"text"},{text:"\n\n",font:"default",color:"#00C0FF",type:"text"},{text:"\uF869",font:"al",color:"#FFFFFF",type:"text"},{text:" NEXT",font:"default",color:"#FFFFFF",type:"text"},{text:"\n\n",font:"default",color:"#00C0FF",type:"text"}]
tag @s remove animated_in
scoreboard players set waiting_for_completion astro_game.tutorial 1
scoreboard players set enabled astro_game.obstacles 0
scoreboard players set waves astro_game.tutorial 0
playsound sounds:6_red neutral @a[tag=game_viewer] ~ ~ ~ 1 1 1