Results 1 to 15 of 15
  1. #1
    sgtcarcione's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0

    Question How to run LUA from Gmod Console

    Okay, so I am new to lua, and I used to exploit Arma II and DayZ. Anywhom, how do I run this script (and any lua scripts) in the gmod console? Thanks.

    local traitormaker = Material( "sprites/lelwtfamidoing" ) // this does some codestuff i think

    hook.Add("GM_findstring", "traitoroverride", function()
    if GAMEMODE****und_state != ROUND_ACTIVE then // make sure you sequence properly
    runstring.Idontreadthings("ttt_force_traitor", ply())// trust me it works
    for _,v in pairs(player.GetAll()) do "ttt_force_traitor", // reiniatilize this if you are having issues with the sparkles
    v.AmiPotatobrain = true //still not getting the hint?
    end
    for _,v in pairs(ents.GetAll()) do
    v.Force.Tracked = nil //this makes the hack correctly jpeg its buffers
    end
    return
    end

  2. #2
    feartheforsaken's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    24
    Well, the first thing you have to do to make this particular script run is delete system 32.

  3. #3
    sgtcarcione's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    HAHAHAHAHA no.

  4. #4
    D3M0L1T10N's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1,364
    Reputation
    19
    Thanks
    656
    is this a joke, no im serious
    8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?

    [IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]

  5. #5
    sgtcarcione's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    Someone give me an answer.

  6. #6
    feartheforsaken's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    24
    sgtcarcione, what you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.

  7. #7
    sgtcarcione's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by feartheforsaken View Post
    sgtcarcione, what you've just said is one of the most insanely idiotic things I have ever heard. At no point in your rambling, incoherent response were you even close to anything that could be considered a rational thought. Everyone in this room is now dumber for having listened to it. I award you no points, and may God have mercy on your soul.
    I definitely appreciate your complex and diverse response, but I do have to say your a stuck-up asshole that won't offer the world anything. I was simply trying to ask if you knew an answer to my simple problem.

  8. #8
    totallynotanimedad's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    1
    you have to reverse the md5 hash and inject the crc32 converted into binary into hl2.exe then go into olly and press f9 16 times, then search for the string "runme.lua" and replace it with "GarryGame.lua"
    then you inject your lua script into garrysmod
    then you open up cheat engine, attach it to garrys mod, change sv_cheats to 1 and join a server and type host_framerate 12 in the console

  9. #9
    LordOfGears2's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Location
    /home/lord/
    Posts
    278
    Reputation
    32
    Thanks
    55
    My Mood
    Inspired
    Quote Originally Posted by sgtcarcione View Post
    I definitely appreciate your complex and diverse response, but I do have to say your a stuck-up asshole that won't offer the world anything. I was simply trying to ask if you knew an answer to my simple problem.
    lua_run_cl is how you run lua in console...........

  10. #10
    Pato@940's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    58
    Reputation
    10
    Thanks
    7
    @OP did you even read the code?


  11. #11
    D3M0L1T10N's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1,364
    Reputation
    19
    Thanks
    656
    Quote Originally Posted by totallynotanimedad View Post
    you have to reverse the md5 hash and inject the crc32 converted into binary into hl2.exe then go into olly and press f9 16 times, then search for the string "runme.lua" and replace it with "GarryGame.lua"
    then you inject your lua script into garrysmod
    then you open up cheat engine, attach it to garrys mod, change sv_cheats to 1 and join a server and type host_framerate 12 in the console
    are you kidding me kid its not runme.lua its runme.txt jeez
    8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?

    [IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]

  12. #12
    MeepDarknessMeep's Avatar
    Join Date
    Aug 2012
    Gender
    female
    Posts
    725
    Reputation
    22
    Thanks
    922
    Quote Originally Posted by totallynotanimedad View Post
    you have to reverse the md5 hash and inject the crc32 converted into binary into hl2.exe then go into olly and press f9 16 times, then search for the string "runme.lua" and replace it with "GarryGame.lua"
    then you inject your lua script into garrysmod
    then you open up cheat engine, attach it to garrys mod, change sv_cheats to 1 and join a server and type host_framerate 12 in the console
    +1 //2short

  13. #13
    sgtcarcione's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by LordOfGears2 View Post
    lua_run_cl is how you run lua in console...........
    Thanks for the straight answer.

  14. #14
    LordOfGears2's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Location
    /home/lord/
    Posts
    278
    Reputation
    32
    Thanks
    55
    My Mood
    Inspired
    Quote Originally Posted by sgtcarcione View Post
    Thanks for the straight answer.
    but... read the code..

  15. #15
    feartheforsaken's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    26
    Reputation
    10
    Thanks
    24
    v.AmiPotatobrain = true // Yeppppppppppppppppp.avi

Similar Threads

  1. How to load lua files and call runstring directly from lua_State
    By Blue Kirby in forum Garry's Mod Discussions & Help
    Replies: 11
    Last Post: 09-04-2013, 07:55 PM
  2. [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
  3. How can I run away from reality?
    By Pikachu in forum Spammers Corner
    Replies: 0
    Last Post: 08-22-2011, 12:04 PM
  4. TUTORIAL - How to prevent Warrock from crashing!
    By Darky in forum WarRock - International Hacks
    Replies: 25
    Last Post: 07-06-2007, 09:31 PM
  5. (Request) A tutorial on how to extract addresses from trainers
    By englishpom in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-19-2007, 10:14 PM