execute unless score hardmode hardmode matches 1 run tellraw @a {"text":"But the game doesn't end here!","color":"yellow"}
execute unless score hardmode hardmode matches 1 run tellraw @a {"text":"Hardmode has now been enabled","color":"dark_red"}
execute unless score hardmode hardmode matches 1 as @a at @s run playsound minecraft:entity.ender_dragon.growl master @s
execute in minecraft:the_end run summon minecraft:falling_block 0 300 0 {BlockState:{Name:"minecraft:dragon_egg"},Time:1,Motion:[0d,-1d,0d],Tags:[eggcheck]}
execute as @e[type=falling_block,tag=eggcheck] unless score hardmode hardmode matches 1 run kill @s
scoreboard players set hardmode hardmode 1
scoreboard players set @a hardmode 1
advancement revoke @s only survivalplus:killdragon