function survivalplus:tools/trap/dummy/math

#rename
summon minecraft:text_display ~ ~ ~ {Tags:[td.num]}
#data modify entity @n[tag=td.num] text set value [{"score":{"name":"@n[tag=dummy]","objective":"cmps_z","color":"#ff0000"}},{"text":"."},{"score":{"name":"@n[tag=dummy]","objective":"zbounce"}}]
data modify entity @n[tag=td.num] text set value [{"score":{"name":"@n[tag=dummy]","objective":"cmps_z","color":"#ff0000"}},{"text":""}]
data modify entity @s CustomName set from entity @n[tag=td.num] text
kill @e[tag=td.num]
data modify entity @s CustomNameVisible set value 1b