How can you pass a variable (scoreboard) to e.g. A sign with its value to be labeled (Minecraft)?
https://minecraft.tools/en/sign.php
There you can add a scoreboard in the menu bar and enter the scoreboard name and the player there.
The corresponding value is then always displayed on the label. I think that you have to reset the block with / setblock every few seconds so that the number is updated.
But you have to test that.
With https://www.minecraftjson.com website it works. However, you need to work your way into the site a little