Thanks for the quick reply laugh
well I've tried that and the only problem with that is that if the player is facing the enemy works just fine but if he's not facing the enemy it won't work since it goes backward and collides with the enemy =/