-- Gradually regenerates the Humanoid's Health over time.

local Character = script.Parent
local Humanoid = Character:WaitForChild'Humanoid'
Humanoid.MaxHealth = 130
local val = 130

local REGEN_RATE = .3/100 -- Regenerate this fraction of MaxHealth per second.
local REGEN_STEP = .25 -- Wait this long between each regeneration step.
