function mgExplosion(damage, activator, caller) if damage >= 195 then if caller:IsBot() then for _, others in pairs(ents.FindInSphere(caller:GetAbsOrigin(),147)) do if others:IsBot() then others:TakeDamage({Damage = 80, Attacker = activator, DamageType = DMG_DMG_BLAST}) end end ents.FindByName("MG_fx_spawner"):Teleport(caller:GetAbsOrigin()) ents.FindByName("MG_fx_spawner"):AcceptInput("ForceSpawn") caller:PlaySound("BaseExplosionEffect.Sound") end end end function OnGameTick() for _, player in pairs(ents.GetAllPlayers()) do if player:IsRealPlayer() then if player:InCond(84) then player:SetAttributeValue("head scale", nil) player:SetAttributeValue("increased jump height", nil) player:SetAttributeValue("voice pitch scale", 0.9) else player:SetAttributeValue("voice pitch scale", nil) end end end end