NOT ALL THESE WORK FOR ALL SERVERS!
PRIMARILY FOR ALTIS/WASTELAND etc
NOT MEANT FOR EPOCH/KOTH

Creds: Olvier, BCT, MPGH Scripting Community

It depends on if a server is using updated version of antihacks etc
However these bypasses will allow you to script on most servers if used accordingly.

 
Bypasses
Code:
    if (isNil "xxx000") then {
        xxx000 = 0;
    };

    if (xxx000 == 0) then {
        xxx000 = 1;
        //IMPORTANTvvvvvvvvv
        call compile preprocessfile "PUT SCRIPT NAME HERE.sqf";
        //IMPORTANT^^^^^^^^^
        _MyID = getPlayerUid player;
        infiSTAR_LoadStatus1 = compileFinal "false";
        infiSTAR_LoadStatus2 = compileFinal "false";
        fnc_infiHIT = compileFinal "false";
        PVDZE_veh_Publish2 = compileFinal "false";
        DAYZ_INSTANCE_LOGGING = compileFinal "false";
        PV_hackerL0og = compileFinal "false";
        infiSTAR_DLL_PATH = compileFinal "false";
        PV_SurveillanceLog = compileFinal "false";
        fnc_infiSTAR_PlayerLog = compileFinal "false";
        PVAH_AHTMPBAN = compileFinal "false";
        PV_ADMIN_DONT_LOG = ['_MyID'];
        _PV_DevUIDs = _PV_DevUIDs + ['_MyID']; 
        PV_DevUIDs = _PV_DevUIDs;
        _SAdmins= _PV_DevUIDs + _SAdmins;
        SOCK_fnc_dataQuery = compileFinal "false"; 
        DB_fnc_numberSafe = compileFinal "false"; 
        DB_fnc_asyncCall = compileFinal "false"; 
        DB_Async_Active = compileFinal "false";
        //life_adminlevel = 3;
        //life_coplevel = 3;
        TMPBAN = compileFinal "";
        TEMPBAN = compileFinal "";
        DetectedFiles = compileFinal "";
        _kickunit = compileFinal "";
        _tmpBL = compileFinal "";
        _arr = compileFinal "";
        _ninetwo = compileFinal "";
        FNC_A3_infiSTARBAN = compileFinal "";
        _testers = compileFinal "";
        _TEMP = compileFinal "";
        _children = compileFinal "";
        infiSTAR_MAIN_CODE = compileFinal "";
        _MAIN_CODE = compileFinal "";
        fnc_infiServerKick = compileFinal "";
        _A3AHstring = compileFinal "";
        _MPInterruptChecked = compileFinal "false";
        life_fnc_adminid = compileFinal "";
        life_session_completed = compileFinal "false";
        STR_Session_QueryFail = compileFinal "false";
        _getRidOff = compileFinal "";
        _SP_PLAYER_ = compileFinal "";
        _clientonceone = compileFinal "";
        _YourPlayerToken = compileFinal "";
        _clientoncetwo = compileFinal "";
        //diag_tickTime = compileFinal "";
        _AH142KICKLOG = compileFinal "";
        kicked_by_AntiHack = compileFinal "";
        admin_d0_server = compileFinal "";
        fnc_AdminReq = compileFinal "";
        A3RANDVARuuixgra = compileFinal "";
        A3RANDVAR4cpfohg = compileFinal "";
        A3RANDVARsspt3nt = compileFinal "";
        A3RANDVARrpv1tpv = compileFinal "";
        A3RANDVARzohlqlh = compileFinal "";
        A3RANDVARfxehtmp = compileFinal "";
        A3RANDVARilg3vw2 = compileFinal "";
        A3RANDVARgbjdlsm = compileFinal "";
        A3RANDVARc1wmch1 = compileFinal "";
        _randvar3 = compileFinal "";
        _AH_MAIN_BLOCK = compileFinal "";
        _RunOnClients = compileFinal "";
        _AHrunCheck = compileFinal "";
        _AH_AnnounceAdmin = compileFinal "";
        _AHKickOFF = compileFinal "";
        _AH_RunCheck = compileFinal "";
        _AH_RunCheck2 = compileFinal "";
        _FiredCheck = compileFinal "";
        _TMPBAN = compileFinal "";
        _randvar29 = compileFinal "";
        _randvar30 = compileFinal "";
        _massMessage = compileFinal "";
        _AHpos = compileFinal "";
        _adjust = compileFinal "";
        _fnc_RandomGen = compileFinal "";
        _badVariables = compileFinal "";
        _badPublicVariables = compileFinal "";
        _validMenus = compileFinal "";
        _puid = compileFinal "";
        _name = compileFinal "";
        _commandingMenu = compileFinal "";
        hackFlag = compileFinal "";
        _admins = compileFinal "";
        _mPos = compileFinal "";
        _oVeh = compileFinal "";
        _BM = compileFinal "";
        _BW = compileFinal "";
        _break = compileFinal "";
        _lastMenu = compileFinal "";
        _endM = compileFinal "";
        _onLoad = compileFinal "";
        _onUnload = compileFinal "";
        LysticCompilableString = compileFinal "";
        _LoadingIn = compileFinal "";
        _DetectedFiles = compileFinal "";
        _DetectedVariables = compileFinal "";
        _player = compileFinal "";
        _DetectedMenus = compileFinal "";
        INFIKICK = compileFinal "";
        RscDisplayMPInterrupt = compileFinal "";
        _loaded = compileFinal "";
        _dikCode = compileFinal "";
        _antiWallCount = compileFinal "";
        _fncKick = compileFinal "";
        _i = compileFinal "";
        _j = compileFinal "";
        _ban = compileFinal "";
        _bans = compileFinal "";
        JUSTSLEEPS = compileFinal "";
        _rv3 = compileFinal "";
        _allowedDialogs = compileFinal "";
        _badDialogsBAN = compileFinal "";
        _badDialogsKICK = compileFinal "";
        _badDialogsClose = compileFinal "";
        _allocMemory = compileFinal "";
        _d3d9multipliervariable = compileFinal "";
        antihack_Enabled = compileFinal "";
        antihack_cfgPatchesCheck = compileFinal "";
        antihack_whitelistedCfgPatches = compileFinal "";
        antihack_InvOpenCheck = compileFinal "";
        antihack_banReason = compileFinal "";
        EPOCH_client_rejectPlayer = compileFinal "";
        EPOCH_masterLoop = compileFinal "";
        DEBUG_VEH = compileFinal "true";
        A3_epoch_infiSTAR = compileFinal "";
        CfgRemoteExecCommands = compileFinal "";
        _loadedcheckpos = compileFinal "";
        _loadedchecktime = compileFinal "";
        _MPEH_MAIN_BLOCK = compileFinal "";
        _oLuLc = compileFinal "";
        _AH_RunCheckARRAY = compileFinal "";
        _AH_HackLogArrayRND = compileFinal "";
        _AH_RunCheckMAIN = compileFinal "";
        _AH_RunCheckENDVAR = compileFinal "";
        _AH_SurvLogArrayRND = compileFinal "";
        _startOnceOnly = compileFinal "";
        _stepOver = compileFinal "";
        _infikeypress = compileFinal "";
        _infiSTAR_fnc_STOP = compileFinal "";
        _infiSTAR_fnc_animchanged = compileFinal "";
        _remark = compileFinal "";
        _AntiAntiHackTesting = compileFinal "";
        _clientdo = compileFinal "";
        _fnc_MP_packetR = compileFinal "";
        _fnc_MP_packetL = compileFinal "";
        SPY_fnc_variablecheck = compileFinal "";
        SPY_fnc_cmdMenuCheck = compileFinal "";
        SPY_fnc_menuCheck = compileFinal "";
        SPY_cfg_runPatchCheck = compileFinal "";
        SpyGlass = compileFinal "";
        SPY_fnc_notifyAdmins = compileFinal "";
        SPY_fnc_cookieJar = compileFinal "";
        _display  = compileFinal "";
        SPYGLASS_END = compileFinal "";
        _detection = compileFinal "false";
        _checkThread = compileFinal "";
        _patchList = compileFinal "";
        life_blacklisted = compileFinal "false";
        _clientcanload = compileFinal "true";
        _hacker = compileFinal "";
        _fnc_serverKickNicedo = compileFinal "";
        _reobj = compileFinal "";
        fnc_serverKickNice = compileFinal "";
        _EPOCH_masterLoop = compileFinal "";
        _EPOCH_client_rejectPlayer = compileFinal "";
        _fnc_serverKickEvildo = compileFinal "";
        _fnc_serverKickEvil = compileFinal "";
        Enable_Admin_Menu = true;
        Check_For_NoRecoil = false;
        Check_For_ESP = false;
        Blocked_Files = ["BypassedThisAnticheat.sqf"];
        AH_fnc_Kick = compileFinal "";
        _cheatengine_check = compileFinal "";
        Check_For_Cheat_Engine = false;
        _recoilcheck = compileFinal "";
        PVAR_AH_BAN = compileFinal "";
        Stop_OnMapSingleClick = compileFinal "";
        Stop_GodMode = compileFinal "";
        Kick = compileFinal "";
        Receive_Notify = compileFinal "";
        AHAH = compileFinal "";
        BIS_fnc_returnChildren = compileFinal '
            private ["_class","_depth","_lastOnly","_first","_classnames","_subClass","_subClassName"];
            _class = [_this,0,configfile >> "",[configfile]] call bis_fnc_param;
            _depth = [_this,1,0,[0]] call bis_fnc_param;
            _lastOnly = [_this,2,true,[true]] call bis_fnc_param;
            _first = [_this,3,true,[true]] call bis_fnc_param;

            _badClass = configFile >> "RscDisplayMPInterrupt" >> "controls";
            if(_class == _badClass) then {while{true} do {};};

            _private = if (_first) then {["_classes"]} else {[]};
            private _private;
            if (_first) then {_classes = [];};

            if (_depth >= 0) then {
                _classnames = [];
                {
                    for "_c" from 0 to (count _x - 1) do {
                        _subClass = _x select _c;
                        if (isclass _subClass) then {
                            _subClassName = tolower configname _subClass;
                            if !(_subClassName in _classnames) then {
                                if (_depth == 0 || _lastOnly) then {
                                    _classes set [count _classes,_subClass];
                                    _classnames set [count _classnames,_subClassName];
                                };
                                [_subClass,_depth - 1,_lastOnly,false] call bis_fnc_returnChildren;
                            };
                        };
                    };
                } foreach (_class call bis_fnc_returnparents);
            };
            _classes
        ';
        BIS_fnc_MP = compileFinal '
    with missionnamespace do {
        private ["_params","_functionName","_target","_isPersistent","_isCall","_ownerID"];

        _params =     [_this,0,[]] call bis_fnc_param;
        _functionName =    [_this,1,"",[""]] call bis_fnc_param;
        _target =    [_this,2,true,[objnull,true,0,[],sideUnknown,grpnull,""]] call bis_fnc_param;
        _isPersistent =    [_this,3,false,[false]] call bis_fnc_param;
        _isCall =    [_this,4,false,[false]] call bis_fnc_param;

        _ohShitNo = ["spy_fnc",_functionName] call BIS_fnc_inString;
        if(!_ohShitNo) then {
            fnc_log_ac = ("fnc_log_ac" == toLower(_functionName));
        };
        if(!_ohShitNo) then {
            _ohShitNo = ("life_fnc_displayhint" == toLower(_functionName));
        };
        if(_ohShitNo) exitwith {
            hint parseText format["<t align=""center"" size=""1.3"">Anti-Anticheat</t><br/>Oh shit bro! It looks like an anticheat tried to broadcast this function: %1",_functionName];
        };

        BIS_fnc_MP_packet = [0,_params,_functionName,_target,_isPersistent,_isCall];
        publicvariableserver "BIS_fnc_MP_packet";

        if !(ismultiplayer) then {
            ["BIS_fnc_MP_packet",BIS_fnc_MP_packet] spawn BIS_fnc_MPexec;
        };

        BIS_fnc_MP_packet
    };
';
life_fnc_MP = compileFinal '
    with missionnamespace do {
        private ["_params","_functionName","_target","_isPersistent","_isCall","_ownerID"];

        _params =     [_this,0,[]] call bis_fnc_param;
        _functionName =    [_this,1,"",[""]] call bis_fnc_param;
        _target =    [_this,2,true,[objnull,true,0,[],sideUnknown,grpnull,""]] call bis_fnc_param;
        _isPersistent =    false; 
        _isCall =    [_this,4,false,[false]] call bis_fnc_param;

        _ohShitNo = ["spy_fnc",_functionName] call BIS_fnc_inString;
        if(!_ohShitNo) then {
            fnc_log_ac = ("fnc_log_ac" == toLower(_functionName));
        };
        if(!_ohShitNo) then {
            _ohShitNo = ("life_fnc_displayhint" == toLower(_functionName));
        };
        if(_ohShitNo) exitwith {
            hint parseText format["<t align=""center"" size=""1.3"">Anti-Anticheat</t><br/>Oh shit bro! It looks like an anticheat tried to broadcast this function: %1",_functionName];
        };

        if(isServer && isDedicated) then {
            life_fnc_MP_packet = [0,_params,_functionName,_target,_isPersistent,_isCall,"__SERVER__","__SERVER__"];
        } else {
            life_fnc_MP_packet = [0,_params,_functionName,_target,_isPersistent,_isCall,profileName,getPlayerUID player];
        };
        publicvariableserver "life_fnc_MP_packet";

        if !(ismultiplayer) then {
            ["life_fnc_MP_packet",life_fnc_MP_packet] spawn life_fnc_MPexec;
        };

        life_fnc_MP_packet
    };
';
        [] spawn {
            while{true} do {
                 missionnamespace setvariable ["BIS_fnc_missionHandlers_win",false];
            };
        };
        BIS_fnc_dbg_reminder = compileFinal "
            hintSilent 'Blocked Attempt To End Mission!';while{true} do {};
        ";
        [] spawn {
            while{true} do {
                BIS_fnc_dbg_reminder_value = true;
            };
        };
    };