execute as @a[predicate=survivalplus:tomes/bloodmoon] run tag @s add bloodmoontome
execute at @a[tag=bloodmoontome,scores={usetome=1..}] run function survivalplus:tools/tomes/bloodmoon
execute as @a[scores={usetome=1..}] run scoreboard players reset @s usetome