playsound entity.slime.squish hostile @a ~ ~ ~

execute if entity @s run scoreboard players set #tmp EB_generic -3
execute if entity @s[tag=mrcd_touch_y_plus] run scoreboard players operation @s mrcd_y0 *= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_y_minus] run scoreboard players operation @s mrcd_y0 *= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_x_plus] run scoreboard players operation @s mrcd_x0 *= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_x_minus] run scoreboard players operation @s mrcd_x0 *= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_z_plus] run scoreboard players operation @s mrcd_z0 *= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_z_minus] run scoreboard players operation @s mrcd_z0 *= #tmp EB_generic

execute if entity @s run scoreboard players set #tmp EB_generic 4
execute if entity @s[tag=mrcd_touch_y_plus] run scoreboard players operation @s mrcd_y0 /= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_y_minus] run scoreboard players operation @s mrcd_y0 /= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_x_plus] run scoreboard players operation @s mrcd_x0 /= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_x_minus] run scoreboard players operation @s mrcd_x0 /= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_z_plus] run scoreboard players operation @s mrcd_z0 /= #tmp EB_generic
execute if entity @s[tag=mrcd_touch_z_minus] run scoreboard players operation @s mrcd_z0 /= #tmp EB_generic
