i'm having trouble making this ability for my smp, it's like every player around the main one is pulled towards the main one at the same time
and loop player is not at the same time :P
here's the code rn:
if loop-entity is not player:
Push loop-entity upwards with velocity 1
set {_victim} to loop-entity
loop 7 times:
draw the shape of a line from player's Position to {_victim}'s Head:
set event-shape's particle to Happy Villager particle
push loop-entity towards player at speed 0.3
wait 2 ticks```