Fire bullet diagonal

Hi everybody :slight_smile:
I’m making a little flashgame (or i’m trying :te:)…
anyway’s I made a top view of a slingshot, wich is controlled by the left and right key of your keyboard. When you press those keys it will rotate from 0 to 40 degrees and 0 to -40 degrees.

Here is where the problem starts, I want it to fire a bullet. But I want it to fire diagonal based on the degrees where the slingshot currently is… :h:
Is there someone who can help me? Or atleast someone who can push me into the right direction??

Please advise… Thanks in advance!

Dwight