No you have to create a loop !

Citizen.CreateThread(function()
while (true) do
Citizen.Wait(0)
ClearAreaOfPeds(3976.95, -117.13, 74.26, 30.0, 1)
end
end)