Get the mouse x , y? NOT SOLVED

Well i get this:
(before i changed static x,y to not static)

(after)

GitHub for the code

i dont know why is it doing this? I want it to go at any angle? why it doesn’t ?

Edit: Everything !