Need help with ball bouncing off paddle in different directions [renamed]

Im stuck. does anyone noe how i could make a ball moving towards my paddle bounce off it differently depending where on the paddle it hits.