Set attribute to score

I need a command that sets the player's current score from a scoreboard to their scale attribute. I thought this was possible with '/execute store' but it doesn't seem to be

Continue to help post