playsound minecraft:entity.player.levelup ambient @s ~ ~ ~ 1 1
effect clear @s
scoreboard players set @s evsw_pastrig1 0
scoreboard players set @s evsw_pastrig2 0
scoreboard players set @s evsw_paspunch 0
scoreboard players set @s evsw_survtrig 0
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_data":{pasbook:1}}}}] run return run clear @s minecraft:written_book[minecraft:custom_data={pasbook:1}] 1
scoreboard players enable @s[nbt={SelectedItem:{components:{"minecraft:custom_data":{adminpasbook:1}}}}] evsw_survtrig