#Check if same hight
summon area_effect_cloud ~ ~ ~ {Tags:["suport","unspellable","init"],Duration:46}
execute as @e[tag=suport,tag=init] run data modify entity @s Pos[1] set from entity @e[tag=suport,tag=!init,sort=nearest,limit=1] Pos[1]
execute as @e[tag=suport,tag=init] if entity @e[tag=suport,tag=!init,distance=..0.1] run kill @s
# Block
execute at @e[tag=suport,tag=init] if score @s rat_boots matches 31..46 run setblock ~ ~ ~ cyan_stained_glass
execute at @e[tag=suport,tag=init] if score @s rat_boots matches 16..30 run setblock ~ ~ ~ orange_stained_glass
execute at @e[tag=suport,tag=init] if score @s rat_boots matches ..15 run setblock ~ ~ ~ red_stained_glass
#renvoe init
tag @e[tag=suport,tag=init] remove init
