Simple but confused

Ok well i have a simple money script [for my game] and i want to say, ok when i walk over a coin, i want it to add $5 to the total amount of money, but the problem is, is that my code doesnt work,
in the frame actions i have:

money = 0;

and in the hitTest for the coin i have:

if (_root.dude.hitTest(_root.coin) {
		_root.money +1
	}

If im doing something wrong, can someone point it out, it would be much appreciated.
Thank You In Advance. :slight_smile: