function onTouched(w)w:BreakJoints()end connection=script.Parent.Touched:connect(onTouched)

function onTouched(hit)--Hit (touched)--
hit:BreakJoints()--Break apart (kill for humanoids)--
end--End the function--
connection = script.Parent.Touched:connect(onTouched)--Do the script if touched--