execute at @a[distance=..40] run function vb:summon/drowned_necromancer_trident {coords:'~ ~10 ~',motion:'0,0.3,0'}

execute at @a[distance=..40] run function vb:summon/drowned_necromancer_trident {coords:'~1 ~7 ~',motion:'0,0.3,0'}
execute at @a[distance=..40] run function vb:summon/drowned_necromancer_trident {coords:'~ ~7 ~1',motion:'0,0.3,0'}
execute at @a[distance=..40] run function vb:summon/drowned_necromancer_trident {coords:'~-1 ~7 ~',motion:'0,0.3,0'}
execute at @a[distance=..40] run function vb:summon/drowned_necromancer_trident {coords:'~ ~7 ~-1',motion:'0,0.3,0'}