This kills the player when the part that shoots hits the player that has the gun.
Part.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5
Part:Destroy()
else
if hit.Name == "Head" then
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5 *1.25
Part:Destroy()
end
end
end)

3 comments
wait what? I don't see what you're trying to accomplish type in what you need help with or you want the script to do showing us a script and giving us barely anything telling us what you want isn't going to help
This makes no sence ._.
Well when the bullet shoots and the players arm is in the way it hurts the player. Trying to figure out how to ignore it.