scoreboard players add @s ProgBookText 1

execute as @s[scores={ProgBookText=20}] run tellraw @s ["",{"text":"Welcome to Super Ultra HardCore!","color":"red"}]
execute as @s[scores={ProgBookText=40}] run tellraw @s ["",{"text":"To start you off:","color":"gold"}]
execute as @s[scores={ProgBookText=80}] run tellraw @s ["",{"text":"- You have been teleported to a random location.","color":"yellow"}]
execute as @s[scores={ProgBookText=110}] run tellraw @s ["",{"text":"- Your inventory has been cleared.","color":"yellow"}]
execute as @s[scores={ProgBookText=140}] run tellraw @s ["",{"text":"- You have been fully healed and given restored hunger.","color":"yellow"}]
execute as @s[scores={ProgBookText=170}] run tellraw @s ["",{"text":"- You have been given a carrot.","color":"yellow"}]
execute as @s[scores={ProgBookText=250}] run tellraw @s ["",{"text":"Now, here is what SUHC changes about the game:","color":"green"}]
execute as @s[scores={ProgBookText=290}] run tellraw @s ["",{"text":"You have ONE life.","color":"red"}]
execute as @s[scores={ProgBookText=330}] run tellraw @s ["",{"text":"You have no health regen - You may only restore hp through Golden Apples and Potions.","color":"light_purple"}]
execute as @s[scores={ProgBookText=420}] run tellraw @s ["",{"text":"Mobs gain buffs depending on what day you're on.\nWhen a new day starts, you will be told what changes on that day.","color":"blue"}]
execute as @s[scores={ProgBookText=500}] run tellraw @s ["",{"text":"Random events may occur at any time, which range from \nsimple mob buffs to natural disasters.\nWhen one occurs, you will be given a small bit of hint text.","color":"aqua"}]
execute as @s[scores={ProgBookText=620}] run tellraw @s ["",{"text":"When you exit the nether, the area around your portal\nwill become corrupted(radius is based on your time spent in the nether), which makes it resemble the nether, strengthens mobs, and gives villagers unique trades.","color":"yellow"}]
execute as @s[scores={ProgBookText=740}] run tellraw @s ["",{"text":"In addition, changes to potions have been made:","color":"gold"}]
execute as @s[scores={ProgBookText=800}] run tellraw @s ["",{"text":"- Blazes no longer drop blaze rods, only blaze powder(and at a decreased rate).","color":"dark_aqua"}]
execute as @s[scores={ProgBookText=860}] run tellraw @s ["",{"text":"- Some mobs and loot chests have also have a rare chance to drop blaze powder.","color":"blue"}]
execute as @s[scores={ProgBookText=950}] run tellraw @s ["",{"text":"- Potion brewing stands now drop from witches.","color":"light_purple"}]
execute as @s[scores={ProgBookText=1010}] run tellraw @s ["",{"text":"- Potion brewing stands, blaze powder, special potions, and a few other things can now be bought from some villagers found in the nether corruption.","color":"dark_green"}]
execute as @s[scores={ProgBookText=1200}] run tellraw @s ["",{"text":"Strip mining is discouraged...You know, because reasons.","color":"yellow"}]
execute as @s[scores={ProgBookText=1270}] run tellraw @s ["",{"text":"Some Mobs gain special effects if there are more than a few of the same type of them within a small radius of each other.","color":"red"}]
execute as @s[scores={ProgBookText=1350}] run tellraw @s ["",{"text":"Night is spooky, more news at 10.","color":"light_purple"}]
execute as @s[scores={ProgBookText=1410}] run tellraw @s ["",{"text":"Nowhere is safe. I recommend building your house\nout of triple-layered obsidian.","color":"gold"}]
execute as @s[scores={ProgBookText=1500}] run tellraw @s ["",{"text":"Luck has an actual use in the game now. It will greatly effect loot from chests, and there are multiple new items that grant it.","color":"dark_green"}]
execute as @s[scores={ProgBookText=1600}] run tellraw @s ["",{"text":"With all of that said...Best of luck.","color":"dark_aqua"}]


scoreboard players set @s[scores={ProgBookText=1600..}] ProgBookText 0
execute as @s[scores={ProgBookText=0}] run execute unless entity @a[scores={ProgBookText=1..}] run execute in overworld run data merge block 999976 124 999971 {auto:0b}