execute unless score @s points matches 1.. unless score @s points matches ..0 run scoreboard players set @s points 0
execute if score @s score.toadd matches 1.. run return run function funkalot:notesystem/process/scoreadd
execute if score @s score.toadd matches ..-1 run return run function funkalot:notesystem/process/scoreremove
data merge entity @n[tag=score] {interpolation_duration:0,text:[{"translate":"score","with":[{"score":{"name":"@a[tag=playing,limit=1]","objective":"points"},"color":"gold","bold":true}]},{"text":"\n "}]}