why does this not place the custom block?

tick function

execute as @e[tag=magmaslime_placed] at @s unless block ~ ~ ~ slime_block run function:break```

place function
```kill @s
execute as @e[dx=0] run return fail
setblock ~ ~ ~ slime_block keep
excute if block ~ ~ ~ water run setblock ~ ~ ~ slime_block
excute if block ~ ~ ~ lava run setblock ~ ~ ~ slime_block
execute if block ~ ~ ~ slime_block run summon minecraft:item_display ~.5 ~.5 ~.5 {Tags:["magmaslime_placed"],item:{id:"stick",components:{item_model:"lf:magmacream_block"}},transformation:{left_rotation:[0,0,0,1],right_rotation:[0,0,0,1],scale:[1.001,1.001,1.001],translation:[0,0,0]},brightness:{block:0,sky:15}}
playsound block.slime_block.place block @a ~ ~ ~```
Continue to help post