execute if block ^ ^ ^.1 #survivalplus:nobounce run tp @s ^ ^ ^.1
execute if block ^ ^ ^.5 #survivalplus:nobounce run tp @s ^ ^ ^.5
execute if block ^ ^ ^1 #survivalplus:nobounce run tp @s ^ ^ ^1
execute if block ~ ~ ~ water run particle minecraft:bubble_column_up ~ ~.2 ~ 0 0 0 .4 5 force
particle minecraft:end_rod ~ ~ ~ .1 .1 .1 .05 5 force
particle minecraft:electric_spark ~ ~ ~ .1 .1 .1 .05 5 force
particle minecraft:firework ~ ~ ~ .1 .1 .1 .05 5 force
execute if entity @s[tag=!grounded] run particle flash ~ ~ ~ 0 0 0 0 1 force
execute if block ^ ^ ^.1 #survivalplus:nobounce run scoreboard players add @s timer 1
execute if score @s timer matches 12 if block ^ ^ ^ #survivalplus:nobounce as @a[distance=..300] at @s anchored eyes facing entity @e[tag=star,tag=!grounded] eyes run function survivalplus:tools/star/twinkle
execute if score @s timer matches 12.. run scoreboard players reset @s timer