trying to make player fling

i’m trying to make a character fling itself in the direction you click, but i suck at coding. can someone help?