the a player has it and touches something it wont work at all but when he/she drops it and trys to pick it up it works idk whats wrong
script.Parent.Activated:Connect(function()
script.Parent.Handle.Script.Disabled = false
end)
the script
function onTouch(part)
local humanoid = part.Parent:FindFirstChild("Humanoid")
if (humanoid ~= nil) then -- if a humanoid exists, then
humanoid.Health = 0 -- damage the humanoid
end
end
script.Parent.Touched:connect(onTouch)

3 comments
What would you like to happen?? Player A holds the tool and if ANOTHER player touches it they get the damage?
yeah
what if u just make it undroppable