Example:
If someone could send me one, I would highly appriciate that...
Thanks
...
Scripts
Script [REQUEST]
Script [REQUEST]
1

...
Talented Doge: said.timing = {}
triggerseconds = 40
addhook("second","seconds")
function seconds()
	for id=1,32 do
	timing[id]=timing[id]+1
		if timing[id]==triggerseconds then
			bla bla bla bla bla
		end
	end
end
healdelay = {}
healtimer = {}
healdelaysetting = 25 -- Amount of 100ms before HP starts regenerating
healfreq = 2 -- Delay in between regens (in 100ms intervals)
addhook("join","healzero")
addhook("die","healzero")
function healzero(id)
	healdelay[id] = 0
	healtimer[id] = 0
end
addhook("ms100","heal")
function heal()
	for _, id in ipairs(player(0,"tableliving")) do
		if player(id,"health") < player(id,"maxhealth") then
			healdelay[id] = healdelay[id] + 1
			if healdelay[id] >= healdelaysetting then
				healtimer[id] = healtimer[id] + 1
				if healfreq < 1 then
					healfreq = 1
				end
				if healtimer[id] >= healfreq then
					parse("sethealth "..id.." "..player(id,"health")+1)
					healtimer[id] = 0
				end
			end
		else
			healdelay[id] = 0
			healtimer[id] = 0
		end
	end
end
1
