This script is supposed to make the person that shot it take 8 damage, unfortunately that only happens if you step on it! Why doesn't it work if you shoot it?
Part12 = script.Parent
function Hit(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if human ~= nil then
human.Health = human.Health -8
end
end
Part12.Touched:connect(Hit)
Please help!!! Thank you!
-This is not my script-

2 comments
I don't see anything wrong with this... you might have a Hierarchy problem. There's no Output?
not for anything relevant to this script