-- EXTERMINATE AND DESTROY
function exterminate(ply, text)
if (string.match(text, "!exterminate") != nil) then
players = player.GetAll()
for k,v in pairs(players) do
v:SetVelocity(Vector(math.random()*5000, math.random()*5000, math.random()*5000))
local boom = ents.Create("env_explosion")
boom:SetOwner(v)
boom:SetPos(v:GetPos())
boom:SetKeyValue("iMagnitude","100000")
boom:SetKeyValue("iDamage", "100000")
boom:Spawn()
boom:Fire("explode", "", 0)
v:Kill()
end
end
end
hook.Add("PlayerSay", "Extermination", exterminate)