This is a simple electric fence.  It will kill the player as soon as he touches it unless his armor is at 100, in which case it may take a second to kill him.  If you want it to do more or less damage it is easy to adjust the amount of damage the trigger_hurt does.  This fence also gives off sparks to warn the player that it is not a good idea to touch it.  I was going to make bolts of electricity running up and down the fence, but it looked cheezy and unrealistic so I took them out.

You can use this prefab in your map as long as you give credit to t0XiK~DDT in your readme and you send me a copy of your map (I might want to try it!).

My email is kyle8744@hotmail.com.  This is only my second prefab so feel free to send questions/comments as well.