The project ball isn’t thrown at all angles correctly? It’s my first Indie for Steam. help me?

Hello , would you look at this script please ? Screenshot by Lightshot

the ball of my project has a directional arrow, which rotates around the ball, accompanying the mouse, but here for me, when it shoots up and down (in a straight line), the ball advances with the normal speed of force, but when I click left and right (in a straight line) the ball advances slowly , and when I click up, without being in a straight line, up “right” and up “left” the ball goes up or down in a straight line, without considering the direction (curve) that I aimed at.
That is, lack of equal behavior at all “angles”, based on mouse direction, and local click, could you please help me ? please!

ps: who made the script was a youtuber.

I… dont get it, do you want to shoot ball into your mouse position?

if is yes, try checking mathf.atan2 and rad2deg.