Ok This is the Code I have, When I Press R its activating the "Touch for kill" but I need also an Undo (When i press R again it will turn off and anyone that touch me won't die)
local plr = game:GetService'Players'.LocalPlayer
local char = plr.Character
local hum = char:FindFirstChildOfClass'Humanoid'
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "r" then
wait()
if hum then
hum.Touched:connect(function(hit)
if hit.Parent:IsA'Model' and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent ~= char then
hit.Parent:BreakJoints()
end
end)
end
end
end)

2 comments
You could try using a variable
but how , someone told me somthing with "DeBounce"