of     1   

ldd4
#24431Tuesday, April 24, 2007 6:21 AM GMT

how do you make bricks kill you wen u touch them?
BattleFront2SpaceMap
Top 100 Poster
#24452Tuesday, April 24, 2007 2:36 PM GMT

The script is below. function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h~=nil then h.Health = h.Health -50 end end script.Parent.Touched:connect(onTouched) If you need the birck, search the tool box till you find a black 2x4 that says "DeathBrick"
Gamer3D
#24453Tuesday, April 24, 2007 3:44 PM GMT

BattleFront2's script will only decrease health (that or be inefficient). This is a (very slightly) better version function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h~=nil then h.Health = 0 --Here is where it gets more efficient (one less memory check) end end script.Parent.Touched:connect(onTouched)
BattleFront2SpaceMap
Top 100 Poster
#24455Tuesday, April 24, 2007 3:53 PM GMT

or you could set it to -100 hp... Any way, It dose around 100 because with chater animations on, you get 2 hits from it because your legs move back and forth...
Rombom
Top 100 Poster
#24509Tuesday, April 24, 2007 9:59 PM GMT

Fox, then it would not work if you wore armor :P

    of     1