effect give @a[x=-22.5,y=36,z=110.5,dx=0,dy=3,dz=0] minecraft:levitation 2 10 true
effect give @a[x=-22.5,y=36,z=110.5,dx=0,dy=3,dz=0] minecraft:resistance 5 100 true
particle minecraft:smoke -23 36 110 0.2 1 0.2 0 10 normal


kill @a[gamemode=adventure,x=-40.5,y=30,z=109.5,dx=14,dy=9,dz=14,tag=!rightWay30,scores={onGround=1..}]

tag @a[x=-47.5,y=32,z=118.5,distance=..5] add rightWay30
tag @a[x=-22.5,y=35,z=110.5,distance=..3] add rightWay30
tag @a[x=-19.5,y=63,z=113.5,dx=0,dy=-1,dz=0] remove rightWay30
tag @a[scores={death=1..}] remove rightWay30

execute as @a[x=-22.5,y=54,z=110.5,dx=0,dy=-3,dz=0] at @s run function parkour_pyramid:levels/level30/open
