How can I disconnect a function? For example;
function oc(ack)
find=ack.Parent:FindFirstChild("Humanoid")
if find then
find.Health=50
end end
script.Parent.Touched:connect(oc)
script.Parent.TouchEnded:disconnect(oc) --Would this work? If not, how can I disconnect the function?

1 comment
Wow, I never really knew that until now. Thanks man! +1