clear @s
effect give @s minecraft:instant_health 5 5
effect give @s minecraft:saturation 5 50
give @s minecraft:carrot
team join P @s
tag @s add K
effect give @s minecraft:resistance 15 5
tag @s add JoinedKyu
tag @s add LateJoinKyu
#function minecraft:cheatabook
tag @s add PlayerAddKyu
function zzzzdonotuse:spell/startbook
tag @s remove PlayerAddKyu

execute as @a run execute at @s run function zzzzdonotuse:misc/progressionbook/giveplayerinitialbook

tellraw @s ["",{"text":"Welcome to Super Ultra HardCore! You've been given a fresh inventory and a few items. If you wish to know more about the hellish world you've decided to join into, check the book that has been placed in the top corner of your inventory.","color":"yellow"}]