function parkour_pyramid:levels/level59/snake

particle minecraft:end_rod -65 11 172 0.2 0.2 0.2 0 1 normal
effect give @a[x=-64.5,y=11,z=172.5,dx=0,dy=0,dz=0] minecraft:levitation 1 9 true

particle minecraft:portal -65 47 172 0 1.5 0 0.5 4 normal
effect give @a[x=-64.5,y=45,z=172.5,dx=0,dy=4,dz=0] minecraft:levitation 1 1 true

execute if entity @a[scores={level=59}] unless entity @e[type=armor_stand,name=snake_59] run function parkour_pyramid:levels/level59/summonsnake

execute unless entity @a[scores={level=59}] at @e[type=armor_stand,name=snake_59] run setblock ~ ~1 ~ air
execute unless entity @a[scores={level=59}] run kill @e[type=armor_stand,name=snake_59]