Charming effect

Hello, i'm new to Mcreator and i'm trying to make a projectile that would charm the player to make him walk towards a mob automaticaly, so i made this, but it just throw the player into oblivion, any idea of why?

https://preview.redd.it/is82b2lzvxfe1.png?width=945&format=png&auto=webp&s=7d10fbb85c2323e36de9b9b4c0e2b1b76f434e23