Help with macros!!

I'm trying to make a function that turns scoreboard values into attribute values.

execute as @a store result storage template:temp damage double 1 run scoreboard players get @s attack_damage

function template:macros/attribute with storage template:temp```
 

and my function calls macro: template:macros/attribute
```$attribute @s $(name) base set $(value)```


Nothings is happening when i execute the first one
Continue to help post