how can i get killed or lose health by touching an object

hello,im making a zombie game,but when is at me i wont die or lose health. i’ve been looking everywhere for a script for if yo touch an object you’ll die or get damaged and lose health…I need to get it as soon as possible

Hello Cobalt60 Here and I think I have a 2 tutorials that will completely answer your question and many more the lerpz tutorial has a death colider and FPS Tutorial has health ammo and all kinds of stuff here are the links and good luck.

The Lerpz Tutorial : 3D Game Kit Reference Guide - Unity Learn

The FPS Tutorial : http://unity3d.com/support/resources/tutorials/fpstutorial

dude, most of the scripts wont work