merge data from scoreboard in to effect duration and amplifier (1.21)

all i wanna do is have it so a scoreboard of say 7000 will set a potion effects duration to 7000

Continue to help post