Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    French Toast's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    Under your bed
    Posts
    22
    Reputation
    10
    Thanks
    7
    My Mood
    Amused

    Exclamation How To Use Lua Scripts in Garrys Mod

    For some reason a lot of people dont know how to do this yet fuck
    so
    HERES HOW TO USE LUA HACKS IN GMOD
    Step 1: download the lua hack of your choice, and put the file in the steam/steamapps/common/garrysmod/garrysmod/lua folder
    Step 2: download a .dll injector of your choice. Do not use winject. (use another injector like perx or extreme)
    Quote Originally Posted by Zombeezz View Post
    Because its one of the detected injectors, use perx or extreme injector.
    Step 3: download the gmod pickles bypass (made by wuat) or the AlexanderHack bypass (by niller303)
    Step 4: Start gmod
    Step 5: Set the process to inject to as "hl2.exe"
    Step 6: set the .dll file to inject to "gmodpickles.dll" (or "Alexader.dll" if you downloaded the AlexanderHack bypass)
    Step 7: Press inject

    Step 8: join a server (doesn't matter what server)
    Step 9: Open console by pressing the tilde (~) key.
    Step 10: In the console, type in "sv_allowcslua 1"
    Step 11: Now, type in "lua_openscript_cl [YOURFILENAMEHERE].lua"
    (OPTIONAL)Step 12: Some servers check clients periodically to see if they have sv_allowcslua set to 1 clientside, so type "sv_allowcslua 0" in the console.

    The hack should now be loaded, if it is not, make sure the hack is up to date.
    If the hack is up to date, and it STILL does not work
    Check your diaper for shit, because you just read a step by step explanation of how to load a hack in gmod
    and you still fucking failed.
    Next, try taking a literacy test
    and last, run through the steps one more time.

    Woops! almost forgot. If you still fuck up even after trying again, you're probably stupid.

    Thanks. Happy Hacking.


    - Toast
    Last edited by French Toast; 01-12-2014 at 06:43 PM. Reason: additionsss

  2. The Following 4 Users Say Thank You to French Toast For This Useful Post:

    GarbageHeap (01-01-2016),ScotiaBhoysAlt (02-12-2014),XtomatenX1234 (12-23-2018),yoyo17543 (01-19-2014)

  3. #2
    TheShadowhand's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    5
    My Mood
    Bored
    I keep getting "Can't change replicated ConVar sv_allowcslua from console of client, only server operator can change its value
    T" on every server I try this on so I don't think it works anymore. Have a bypasser and I injected it correctly. Put the commands in correctly as well. Nothing works.

  4. #3
    LukeKesnaw's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    china
    Posts
    138
    Reputation
    10
    Thanks
    39
    Wow no one needs this, if someone needs help he should read the stickies.

  5. The Following User Says Thank You to LukeKesnaw For This Useful Post:

    Kajex (01-20-2014)

  6. #4
    Zombeezz's Avatar
    Join Date
    Dec 2012
    Gender
    female
    Location
    professional 1v1er
    Posts
    156
    Reputation
    10
    Thanks
    128
    Quote Originally Posted by LukeKesnaw View Post
    Wow no one needs this, if someone needs help he should read the stickies.
    You obviously need this since you're using lua.
    pro 1v1er if you want to 1v1 pm me

    ayy lmao

  7. The Following User Says Thank You to Zombeezz For This Useful Post:

    Kellyseveride (01-16-2014)

  8. #5
    TheShadowhand's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    5
    My Mood
    Bored
    Anyone have a answer for my problem?

  9. #6
    Bruailen's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    1
    My Mood
    Happy
    Just wondering, why shouldn't we use winject?

  10. #7
    Zombeezz's Avatar
    Join Date
    Dec 2012
    Gender
    female
    Location
    professional 1v1er
    Posts
    156
    Reputation
    10
    Thanks
    128
    Quote Originally Posted by Bruailen View Post
    Just wondering, why shouldn't we use winject?
    Because its one of the detected injectors, use perx or extreme injector.
    pro 1v1er if you want to 1v1 pm me

    ayy lmao

  11. #8
    zhask's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    7
    My Mood
    Cheeky
    Code:
    [AlexanderHack] Initializing...
    [AlexanderHack] Bypassed convars
    [AlexanderHack] Fully Loaded, remember to make suggestions about what i should add next!
    ] lua_openscript_cl murder_buddy.lua
    Running script murder_buddy.lua...
    Couldn't include file 'murder_buddy.lua' (File not found) (<nowhere>)
    Yes its in garrysmod/garrysmod/lua and yes i checked my diaper and no i don't know what to do.

  12. #9
    Kellyseveride's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Valve Inc
    Posts
    192
    Reputation
    10
    Thanks
    94
    My Mood
    Angry
    Quote Originally Posted by zhask View Post
    Code:
    [AlexanderHack] Initializing...
    [AlexanderHack] Bypassed convars
    [AlexanderHack] Fully Loaded, remember to make suggestions about what i should add next!
    ] lua_openscript_cl murder_buddy.lua
    Running script murder_buddy.lua...
    Couldn't include file 'murder_buddy.lua' (File not found) (<nowhere>)
    Yes its in garrysmod/garrysmod/lua and yes i checked my diaper and no i don't know what to do.
    Did you bother to type AH_allowcslua 1 into console?

  13. #10
    zhask's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    7
    My Mood
    Cheeky
    Quote Originally Posted by Kellyseveride View Post
    Did you bother to type AH_allowcslua 1 into console?
    Thanks for your help, but i figured it out 30 seconds after the posts, i have 2 gmod destinations, was in the wrong one, derp.

  14. #11
    yoyo17543's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    69
    Reputation
    10
    Thanks
    0
    My Mood
    Lurking
    Thanks for posting this!

  15. #12
    A Mouse's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    127.0.0.1
    Posts
    22
    Reputation
    10
    Thanks
    12
    My Mood
    Cynical
    Quote Originally Posted by TheShadowhand View Post
    Anyone have a answer for my problem?
    If you're using AlexanderHack to bypass then the command is ah_allowcslua rather than sv_allowcslua, it helps to bypass some ACs, as they aren't checking for ah_allowcslua or if you're using timescale to speedhack, ah_timescale. It's a neat feature and the reason why I choose AlexanderHack over Pickles.

    Quote Originally Posted by zhask View Post
    Thanks for your help, but i figured it out 30 seconds after the posts, i have 2 gmod destinations, was in the wrong one, derp.
    Even though it is using ah_allowcslua rather than sv_allowcslua, some ACs will still detect you for running a foreign LUA file, so if you want to bypass those delete/move test.lua and rename your script to test.lua since those ACs are ignoring test.lua

    Just a tip, I got banned a few times before I discovered it.

  16. The Following 2 Users Say Thank You to A Mouse For This Useful Post:

    Doremi Harukaze (01-26-2014),Kellyseveride (01-19-2014)

  17. #13
    Doremi Harukaze's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by A Mouse View Post
    If you're using AlexanderHack to bypass then the command is ah_allowcslua rather than sv_allowcslua, it helps to bypass some ACs, as they aren't checking for ah_allowcslua or if you're using timescale to speedhack, ah_timescale. It's a neat feature and the reason why I choose AlexanderHack over Pickles.

    Even though it is using ah_allowcslua rather than sv_allowcslua, some ACs will still detect you for running a foreign LUA file, so if you want to bypass those delete/move test.lua and rename your script to test.lua since those ACs are ignoring test.lua

    Just a tip, I got banned a few times before I discovered it.
    Yeah, but the server will be able to steal your script.
    Last edited by Doremi Harukaze; 01-26-2014 at 10:50 AM.

  18. #14
    A Mouse's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    127.0.0.1
    Posts
    22
    Reputation
    10
    Thanks
    12
    My Mood
    Cynical
    Quote Originally Posted by Doremi Harukaze View Post
    Yeah, but the server will be able to steal your script.
    I use a public script - I say go right ahead

  19. #15
    Renamon Toast Crunch's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    458
    My Mood
    Lurking
    Nice tutorial, but your formatting could be better

    This might be a bit confusing to new people though, introducing the use of injectors and bypasses. Overall good job!
    There is no right and wrong. There's only fun and boring.
    Click HERE to join the official MPGH TS3 Server


    Currently learning: Lua, C++ and BASH scripting.



     

    I made a group, Join Linux Users if your on Linux!

  20. The Following User Says Thank You to Renamon Toast Crunch For This Useful Post:

    French Toast (02-08-2014)

Page 1 of 2 12 LastLast

Similar Threads

  1. [Tutorial] How to run a Lua script in Garry's mod
    By kila58 in forum Garry's Mod Hacks & Cheats
    Replies: 1
    Last Post: 08-04-2013, 05:38 AM
  2. How do i use scripts with Garrys Mod?
    By shadowjason in forum Garry's Mod Discussions & Help
    Replies: 6
    Last Post: 04-07-2013, 10:27 AM
  3. DAYZ-Video Tutorial On How To Use My Script
    By s_johnson in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 47
    Last Post: 08-13-2012, 07:14 AM
  4. how to use the scripts after the new powerbot update
    By [E]lmo in forum Runescape Hacks / Bots
    Replies: 10
    Last Post: 05-11-2011, 02:09 PM
  5. How to use GSC files? and .iwd mods?
    By Armanii167 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 1
    Last Post: 01-29-2011, 12:12 AM