What I am asking, is if every two seconds you're standing on this, it takes away 10 health.
2 Seconds = 10 damage
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
if (humanoid ~= nil) then
humanoid.Health = humanoid.Health - 10
end
end
script.Parent.Touched:connect(onTouched)

2 comments
I'd recommend adding debounce and setting it to two seconds.
That'd work?