Can I Have Help Making My DataPack

Its a weapon that summons sand missle around you, when you shift its supost to make the sand missles target nerby players and not yourself... but i cant make them target a player it will afect them but thats only if the run into them, they just dont move

Continue to help post