How to Make Object Spin While Moving?

I have the simplest script ever that moves the hammer and makes it rotate.
This is it:

using UnityEngine;
using System.Collections;

public class HammerMover : MonoBehaviour {

	
	void Update () {

		transform.Rotate (0f, 360f, 0f);

		transform.Translate (0.1f, 0f, 0f);
	
	}
}

My question is this:
How do I make the hammer rotate along the Y axis while it is moving down the X axis? Think like someone is throwing it at you.
Right now, the hammer just moves in circles and I cannot figure out how to alter it.
Thanks all :slight_smile:

public float speed,rotSpeed;
void Update(){
transform.position += Vector3.up * speed;
transform.Rotate (rotSpeed,0,0);
}