while true do local t=wait(1)local y=Humanoid.Health if y>0 and y<Humanoid.MaxHealth then y=y+(.01*t)*Humanoid.MaxHealth if y*1.05<Humanoid.MaxHealth then Humanoid.Health=y else Humanoid.Health=Humanoid.MaxHealth end end end
-- regeneration
while true do
	local s = wait(1)

	local health = Humanoid.Health
	if health > 0 and health < Humanoid.MaxHealth then
		health = health + 0.01 * s * Humanoid.MaxHealth
		if health * 1.05 < Humanoid.MaxHealth then
			Humanoid.Health = health
		else
			Humanoid.Health = Humanoid.MaxHealth
		end
	end
end
