setTimer(
function ()
setElementHealth ( localPlayer, ( getElementHealth ( localPlayer ) + 15 ) )
end,5000,0)
end
i have this but i need add function when damaged for example
if you dont damage in 5 seconds you start healing i wanna help with this code