effect give @a[scores={level=87}] minecraft:weakness 1 255 true

tag @a[x=12.5,y=46,z=250.5,dx=-6,dy=2,dz=6] remove lvl87effect
effect clear @a[x=12.5,y=46,z=250.5,dx=-6,dy=2,dz=6] minecraft:slow_falling
effect clear @a[x=12.5,y=46,z=250.5,dx=-6,dy=2,dz=6] minecraft:jump_boost

#spawn point
tag @a[x=3,y=110,z=259,distance=..10] remove lvl87effect
effect clear @a[x=3,y=110,z=259,distance=..10] minecraft:slow_falling
effect clear @a[x=3,y=110,z=259,distance=..10] minecraft:jump_boost

particle minecraft:cloud 14 12 258 0.2 0.2 0.2 0 1 normal @a
tag @a[x=14.5,y=12,z=258.5,dx=0,dy=0,dz=0] add lvl87effect

effect give @a[tag=lvl87effect,scores={level=87}] minecraft:slow_falling 1000000 1 true
effect give @a[tag=lvl87effect,scores={level=87}] minecraft:jump_boost 1000000 3 false

particle minecraft:end_rod 15 53 260 0.2 0.2 0.2 0 1 normal @a
effect give @a[x=15.5,y=53,z=260.5,dx=0,dy=0,dz=0] minecraft:levitation 1 10 true
effect give @a[x=15.5,y=53,z=260.5,dx=0,dy=0,dz=0] minecraft:jump_boost 4 255 true