title @s[tag=woter_22] title {"text":"\ue009"}

execute positioned 0 64 58 if entity @a[distance=..2] unless score 101 timer matches 2 run scoreboard players set 101 timer 1
execute if score 101 timer matches 1 run scoreboard players add 100 timer 1

execute if score 100 timer matches 1 run setblock 1 64 56 minecraft:sea_pickle[pickles=4,waterlogged=false]
execute if score 100 timer matches 1 run execute positioned 1 64 56 run playsound minecraft:entity.item.pickup block @a[distance=..8] 1 64 56 1111 1

execute if score 100 timer matches 20 run setblock 1 64 54 minecraft:sea_pickle[pickles=4,waterlogged=false]
execute if score 100 timer matches 20 run execute positioned 1 64 56 run playsound minecraft:entity.item.pickup block @a[distance=..8] 1 64 56 1111 1

execute if score 100 timer matches 40 run setblock 2 65 52 minecraft:sea_pickle[pickles=4,waterlogged=false]
execute if score 100 timer matches 40 run execute positioned 1 64 56 run playsound minecraft:entity.item.pickup block @a[distance=..8] 1 64 56 1111 1

execute if score 100 timer matches 50 run scoreboard players set 101 timer 2
execute if score 101 timer matches 2 run execute positioned 1 64 56 unless entity @a[distance=..5] run scoreboard players set 101 timer 3
execute if score 101 timer matches 3 run scoreboard players add 100 timer 1
execute if score 100 timer matches 60 run setblock 1 64 56 minecraft:air
execute if score 100 timer matches 70 run setblock 1 64 54 minecraft:air
execute if score 100 timer matches 80 run setblock 2 65 52 minecraft:air
execute if score 100 timer matches 80 run scoreboard players reset 101 timer
execute if score 100 timer matches 80 run scoreboard players reset 100 timer



execute as @a[tag=woter] at @s positioned 6 64 65 if entity @a[distance=..5] run tag @s remove woter
particle minecraft:underwater -5 70 45 1 1 1 11 1
particle minecraft:underwater -11 78 41 -3 1 3 11 10
particle minecraft:underwater 0 65 53 -3 3 3 11 10


execute as @a[tag=woter] at @s if block ~ ~-1 ~ minecraft:sand run tp @s -14.40 77.00 38.79 -137.53 3.24

execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_tube_coral_fan run tp @s -14.40 77.00 38.79 -137.53 3.24
execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_tube_coral run tp @s -14.40 77.00 38.79 -137.53 3.24

execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_horn_coral_fan run tp @s -14.40 77.00 38.79 -137.53 3.24
execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_horn_coral run tp @s -14.40 77.00 38.79 -137.53 3.24

execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_fire_coral_fan run tp @s -14.40 77.00 38.79 -137.53 3.24
execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_fire_coral run tp @s -14.40 77.00 38.79 -137.53 3.24

execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_brain_coral_fan run tp @s -14.40 77.00 38.79 -137.53 3.24
execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_brain_coral run tp @s -14.40 77.00 38.79 -137.53 3.24

execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_bubble_coral_fan run tp @s -14.40 77.00 38.79 -137.53 3.24
execute as @a[tag=woter] at @s if block ~ ~ ~ minecraft:dead_bubble_coral run tp @s -14.40 77.00 38.79 -137.53 3.24