Help with shoot script (JS)

I am creating a game in 3rd person, and I need a shooting script (bullets must come from a specific point in the gun)... I have one but sometimes crashes, undetected the collisions when my bullets go to fast, if someone can pass me some code... basically what i need is, when the bullet collide with the enemy, the bullet destory and enemy too ... soo please help a noob .. thx in advance and sorry for my primitive english i use google translate.

Don't use collision, use raycasting. Or use DontGoThroughThings.js which uses raycasting. The first is definitely better, but the latter is easier I guess.