hey, you are doing nothing "wrong"
i gave it a quick look, my obversations:
game is calculating a hash for AP,Armor,Health
if you are alter this values, hash will mismatch and game will start to execute:
<YourID>.ReportCheat();
ReportCheat will do:
1) writes permanently a flag to your profil that you have cheated
2) eventually
CheaterFatality
CheaterFatality is the reason why your game is crashing (jump to non-executable code)
this "anti cheat" is ridiculous...
simple table:
Inf. AP
-while using AP it will fill up
Anti Cheat Bypass
-if you want to search/manipulate other values, activate this script and game will not crash
(you dont need the Anti Cheat Bypass for my Inf. AP script coz my value is always valid and generates a legit hash
)
thats it,tested on game version : 2.0.6