04-19-2011, 02:57 PM
lets just say..
If hit.Name ~= script.Parent.Parent.Name (or something like that) and hit.Parent.Type = "NPC" then
hit.Parent.Health = hit.Parent.Health - 10
sleep(.5)
end
This is when the tool collides with something.
If hit.Name ~= script.Parent.Parent.Name (or something like that) and hit.Parent.Type = "NPC" then
hit.Parent.Health = hit.Parent.Health - 10
sleep(.5)
end
This is when the tool collides with something.