How do you make a game like this?

i need to know a few things

  1. how to make a mc trail behind another mc depending on the way the “wind is blowing” a compas the swings around slowly but randomly

  2. and how to make an arrow stick out of the target after i has been shot.

if you could tell me or point me to the right tutorials, i would be gratful!