slowness

i have a weapon that sucks people in and everytime i make it slow people while getting sucked in it breaks the entire datapack so what should i do im ver 1.20.1 would also like some help with advancments
Continue to help post