How can I make a Kicking Mechanic in my rugby game?

I am making a game where you have to kick a ball over the post and you have to get points to get money. I need a way to make my character kick the ball from the kicking tee. When you hold down left click, it makes the kick more powerful but less accurate. There needs to be a line that shows where the ball is going to go. After you release left click, it should play the run up animation and kick the ball. Can anyone help me with this?