$execute at @s as @n[tag=box.$(id)] run data merge entity @s {start_interpolation:0,interpolation_duration:3,transformation:{scale:[$(size)f,$(size)f,$(size)f]}}
$execute at @s at @n[tag=box.$(id)] run playsound minecraft:$(sound) block @a ~ ~ ~ 0.3 1.3
$scoreboard players set @s loader.boxcd $(setscore)