of     1   

gparker
#40302413Tuesday, January 04, 2011 1:03 AM GMT

Heres what I have so far. Can someone help me? function onT(hit) h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then repeat wait(3) h.Health = h.Health - 5 end end end script.Parent.Touched:connect(onT)
Friaza
#40302449Tuesday, January 04, 2011 1:03 AM GMT

function onTouched(hit) h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then repeat wait(3) h.Health = h.Health - 5 end end end script.Parent.Touched:connect(onT)
Nightlizard
#40302493Tuesday, January 04, 2011 1:04 AM GMT

while h.Health > 0 do h.Health = h.Health -5 wait(3) end
Friaza
#40302517Tuesday, January 04, 2011 1:04 AM GMT

function onT(hit) h = hit.Parent:findFirstChild("Humanoid") if h.Health ~= 0 then h.Health = h.Health - 5 wait(0.5) repeat() end end script.Parent.Touched:connect(onT)
Nightlizard
#40302565Tuesday, January 04, 2011 1:05 AM GMT

this will function onT(hit) h = hit.Parent:findFirstChild("Humanoid") if h.Health ~= 0 then h.Health = h.Health - 5 wait(0.5) repeat() end end script.Parent.Touched:connect(onT) keep going and going nonstop...
gparker
#40405029Wednesday, January 05, 2011 11:29 PM GMT

They all didn't work -.-
TheNickmaster21
#40405230Wednesday, January 05, 2011 11:32 PM GMT

function onTouched(hit) h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then while h.Health > 0 do wait(3) h.Health = h.Health - 5 end end end

    of     1