Forceload andsetblock with variable positions

Hi Everyone, I will try to make is as simple as possible xD. I run the following function hs execute in jump:jump/overworld_4 run forceload add ~ ~ ~23 ~23 execute in jump:jump/overworld_4 run forceload add ~ ~ ~-23 ~-23 execute in jump:jump/overworld_4 run setblock ~-23 ~-23 ~-23 in the following way hs execute as @e[tag=luckyblock] run function forceset Every luckyblock has two scoreboard that are respectively posX and posZ. I would like to substitute the ~ with the respective posX and poxZ. Do you have a better idea then summon a tagged armor stand and use its coordinates? Thanks!
Continue to help post