tp @s ^ ^ ^0.43 facing entity @n[tag=rotator]
execute at @s if entity @n[tag=executor,distance=..25] run tp @s ^ ^ ^0.25 facing entity @n[tag=rotator]
execute at @s if entity @n[tag=executor,distance=..50] run tp @s ^ ^ ^0.25 facing entity @n[tag=rotator]

scoreboard players operation @s svm_ep.numbers = @s svm_ep.mana_drain
scoreboard players operation @s svm_ep.numbers *= %100 svm_ep.numbers
scoreboard players operation @s svm_ep.numbers *= %2 svm_ep.numbers
scoreboard players add @s svm_ep.numbers 2
scoreboard players operation @s svm_ep.numbers *= @s svm_ep.p.gravity_field_strength
scoreboard players operation @s svm_ep.numbers /= %30 svm_ep.numbers

#tellraw @a {"score":{"name":"@s","objective":"svm_ep.numbers"}}
scoreboard players operation @n[tag=executor] svm_ep.mana_drain += @s svm_ep.numbers
scoreboard players set @s svm_ep.numbers 0

scoreboard players remove @s svm_ep.lifetime 5
scoreboard players set @s svm_ep.p.gravity_field_color 2
