Health Regen for Vip "Fadmin groups"

Well on my server we have a Health regen addon and I would like to know how to make it for a variety of user groups this is what we have

Client

local RegenerateAmount = 2
local RegenerateTime = 5
local RegenerateMax = 100

local function RegenerateHealth()
for k,v in pairs(player.GetAll()) do
if v:Alive() and v:IsAdmin() then
v:SetHealth(math.min(v:Health()+RegenerateAmount,math.max(100,RegenerateMax)))
end
end
timer.Simple(RegenerateTime,RegenerateHealth)
end
RegenerateHealth()[/SUB]

Server

local RegenerateAmount = 2
local RegenerateTime = 5
local RegenerateMax = 100

local function RegenerateHealth()
for k,v in pairs(player.GetAll()) do
if v:Alive() and v:IsAdmin() then
v:SetHealth(math.min(v:Health()+RegenerateAmount,math.max(100,RegenerateMax)))
end
end
timer.Simple(RegenerateTime,RegenerateHealth)
end
RegenerateHealth()

Why would you want your admins to essentially cheat at the game?

I don’t want this for admins if you read i want it for mostly vip

I still don’t understand why you’re giving your VIP players a massive advantage.

Money and ignorance.

this regen will be changed so it’s very slow
this is just the default settings

So you want to make it a “pay or you’ll lose for sure” server?

Jesus it’s like 1 hp per 20 seconds

[editline]21st October 2013[/editline]

I’ll just remove it from server JEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESE