--Script made by Shaakra--


function waitForChild( parent, childName )
	while true do
		local child = parent:findFirstChild( childName )
		if child then return child end
		parent.ChildAdded:wait()
	end
end

local Figure = script.Parent
local Head = waitForChild( Figure, "Head" )
local Humanoid = waitForChild( Figure, "Humanoid" )
Humanoid.Health = 200

while true do
	local s = wait( 4 )
	local Health = Humanoid.Health
	if Health > 0 and Health < Humanoid.MaxHealth then
		Health = Health + 0.08 * s * Humanoid.MaxHealth
		if Health * 1.05 < Humanoid.MaxHealth then
			Humanoid.Health = Health
		else
			Humanoid.Health = Humanoid.MaxHealth
		end
	end
end
