USING CHEAT ENGINE TO EXECUTE LUA SCRIPTS
ENABLING SV_ALLOWCSLUA
1. Open Cheat Engine and Garry's Mod. In cheat engine, select HL2 as the process.
2. Go into Garry's Mod and open the console. Type "sv_allowcslua 1999". Go back into Cheat Engine and type "1999" into the Value: bar. Click First Scan.
3. Go back into Garry's Mod and type "sv_allowcslua 199". Reopen Cheat Engine and type "199" into the Value: bar. Click Next Scan.
4. In the address bar of Cheat Engine, double click the only option. Then in the bottom, the address will be put there. Click the box next to active and change the value to "1".
5. Reopen Garry's Mod and join a server.
EXECUTING THE LUA SCRIPTS
1. Find the lua script you want and place it in the Garry's Mod lua folder. (Normally located in C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\l ua)
2. Open the console in a server and type "lua_openscript_cl NAMEOFSCRIPT.lua".
3. The script is executed and will work. (Wallhacks, aimbot, bhop)
THIS METHOD IS NOT THE BEST METHOD. SOME SERVERS DETECT THE EXECUTION OF LUA SCRIPTS AND WILL BAN YOU INSTANTLY FROM THEIR SERVER. USE AT YOUR OWN RISK.