Results 1 to 13 of 13
  1. #1
    MosquitoBoat's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    3

    Talking BoatHack V1 - Made by Muchamosboat (Me)

    Okay so this is my first release and my first hack ever, I recently got into Lua not to long ago so this is a little rough around the edges. I am looking to improve in lua so please if you could give me some constructive criticism, that would be much appreciated. This is only V1 so in future updates i plan to add much more.

    For the aimbot there is no button to press, as soon as you get close enough to a players head it will lock on. I will likely change this in the future.

    in order to open the menu type in your console "bind [Key of your choice] open_boat" I bound my key to \ but you can do whatever you want.

    Installation:
    1. Copy and Paste the code below in to a text editor and save as .lua
    2. place into your Steam/steamapps/common/GarrysMod/garrysmod/lua folder
    3. when in game open console and type lua_openscript_cl boathack.lua



    Sorry in advance, im not allowed to post links for some reason so you will have to copy and paste from here.

    Code:
    --Boathack made by Muchamosboat--
    --This is my first Lua Script ever, so any suggests or edits you would made please let me know on the form--
    --In order to open the menu you will need to type "Bind [Key of your choice] open_boat"--
    --For the aimbot there is no key you need to press, once your crosshair gets close enough to a players head it will snap on (Will likely change this in future undates)--
     
    surface.CreateFont( "Arial", { -- This is your font, DO NOT DELETE
        font = "Arial", -- Use the font-name which is shown to you by your operating system Font Viewer, not the file name
        extended = false,
        size = 25,
        weight = 500,
        blursize = 0,
        scanlines = 0,
        antialias = true,
        underline = false,
        italic = false,
        strikeout = false,
        symbol = false,
        rotary = false,
        shadow = false,
        additive = false,
        outline = false,
    } )
     
    ply=LocalPlayer()
     
    function BoatMenu()
     
    CreateClientConVar( "esp", 0, true, false )
     
    CreateClientConVar( "aimbot", 0, true, false )
     
    CreateClientConVar( "Bhop", 0, true, false )
     
    local DermaPanel = vgui.Create("DFrame") --This is the DermaPanel
    DermaPanel:SetSize(250,200)
    DermaPanel:Center()
    DermaPanel:SetTitle("BoatHack V1 - Made By Muchamosboat")
    DermaPanel:SetVisible(true)
    DermaPanel:MakePopup()
    DermaPanel:ShowCloseButton(true)
    DermaPanel.Paint = function(s , w , h)
     
        draw****undedBox(5,0,0,w ,h ,Color(0,0,0,255))
     
        draw****undedBox(5,2,2,w-4 ,h-4 ,Color(45,45,45,255))
     
    end
     
    local DLabel = vgui.Create("DLabel", DermaPanel)
    DLabel:SetPos(10,40)
    DLabel:SetText("Aimbot")
     
    local button = vgui.Create("DButton" , DermaPanel)
    button:SetPos(50,40)
    button:SetSize(50,20)
    button:SetText("Enable")
    function button.DoClick()
        ply:ConCommand("aimbot 1")
    end
     
    local button = vgui.Create("DButton" , DermaPanel)
    button:SetPos(100,40)
    button:SetSize(50,20)
    button:SetText("Disable")
    function button.DoClick()
        ply:ConCommand("aimbot 0")
    end
     
    local DLabel = vgui.Create("DLabel", DermaPanel)
    DLabel:SetPos(10,60)
    DLabel:SetText("Bhop")
     
    local button = vgui.Create("DButton", DermaPanel)
    button:SetPos(50,60)
    button:SetSize(50,20)
    button:SetText("Enable")
    function button.DoClick()
        ply:ConCommand("Bhop 1")
    end
     
    local button = vgui.Create("DButton", DermaPanel)
    button:SetPos(100,60)
    button:SetSize(50,20)
    button:SetText("Disable")
    function button.DoClick()
        ply:ConCommand("Bhop 0")
    end
     
    local DLabel = vgui.Create("DLabel", DermaPanel)
    DLabel:SetPos(10,80)
    DLabel:SetText("ESP")
     
    local button = vgui.Create("DButton", DermaPanel)
    button:SetPos(50,80)
    button:SetSize(50,20)
    button:SetText("Enable")
    function button.DoClick()
        ply:ConCommand("esp 1")
    end
     
    local button = vgui.Create("DButton", DermaPanel)
    button:SetPos(100,80)
    button:SetSize(50,20)
    button:SetText("Disable")
    function button.DoClick()
        ply:ConCommand("esp 0")
    end
     
    end
    concommand.Add("open_boat", BoatMenu)
     
    hook.Add( "HUDPaint", "ESP" ,function()
     
        if ConVarExists("esp") and GetConVar("esp"):GetInt() == 1 then
     
        for k,v in pairs ( player.GetAll() ) do
           
            local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
            draw.DrawText( v:Name(), "Arial", Position.x, Position.y, Color(255,255,255), 1 )
        end
    end
    end)
     
    hook.Add( "CreateMove", "BunnyHop:CreateMove", function( input )
     
        if ConVarExists("Bhop") and GetConVar("Bhop"):GetInt() == 1 then
     
        if ( !LocalPlayer( ):Alive( ) || !LocalPlayer( ).NextBunnyHop ) then return; end
        if ( LocalPlayer( ).NextBunnyHop < CurTime( ) ) then return; end
     
        if ( input:KeyDown( IN_JUMP ) ) then
            input:SetButtons( input:GetButtons( ) - IN_JUMP );
        end
    end
    end)
     
     if ConVarExists("Bhop") and GetConVar("Bhop"):GetInt() == 1 then
    hook.Add( "OnPlayerHitGround", "BunnyHop:HotFeet", function( _p, _inWater, _onFloater, _speed )
        _p.NextBunnyHop = CurTime( );
    end );
    end
     
    function aimbot()
        local ply = LocalPlayer()
        local trace = util.GetPlayerTrace( ply )
        local traceRes = util.TraceLine( trace )
     
        if ConVarExists("aimbot") and GetConVar("aimbot"):GetInt() == 1 then
     
        if traceRes.HitNonWorld then
            local target = traceRes.Entity
            if target:IsPlayer() then
                local targethead = target:LookupBone("ValveBiped.Bip01_Head1")
                local targetheadpos,targetheadang = target:GetBonePosition(targethead)
                ply:SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle())
            end
        end
    end
    end
    hook.Add("Think", "aimbot", aimbot)
    Attached Thumbnails Attached Thumbnails
    Screenshot (17).jpg  


  2. The Following 3 Users Say Thank You to MosquitoBoat For This Useful Post:

    Haxorcat (06-26-2016),Lakarak (06-27-2016),LordOfHackers (07-06-2016)

  3. #2
    Haxorcat's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    3
    My Mood
    Angelic
    I will say the aimbot isn't that bad, it's actually quite good even with CW2.0 guns. Bhop doesn't seeem to work, and I had to fix this.

    "draw****undedBox(5,0,0,w ,h ,Color(0,0,0,255))
    "draw****undedBox(5,2,2,w-4 ,h-4 ,Color(45,45,45,255))"

    I really don't see the point of this "****", I replaced it with ":" and it seemed to work. Anyway aimbot is really good, I do wish the aimbot fov was slightly increased....

  4. The Following User Says Thank You to Haxorcat For This Useful Post:

    MosquitoBoat (06-26-2016)

  5. #3
    MosquitoBoat's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    3
    Okay, i will change that code in V2 and I will definitely make sure to increase the fov, i will likely make it so you have to hold a key to toggle the aimbot in the future

  6. #4
    yomattyo's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    2
    I haven't used a cheat in almost a year do I still need an injector lua bypass thing?

  7. #5
    MosquitoBoat's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    3
    for any server with sv_allowslua 1 you do not need any bypasser but for any with it disabled you will need a bypasser. You can find a bypasser almost anywhere here on the forums

  8. #6
    Lakarak's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Location
    basement
    Posts
    11
    Reputation
    10
    Thanks
    1
    [ERROR] lua/boathack.lua:38: '=' expected near '*'
    1. unknown - lua/boathack.lua:0

    This keeps happening to me. Any ideas?

  9. #7
    MosquitoBoat's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    3
    Ill look into but that's a new error a little confused on that one

  10. #8
    henkdesteen's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1
    Bro so many copy pasta

  11. The Following User Says Thank You to henkdesteen For This Useful Post:

    bee_tee_gee (06-27-2016)

  12. #9
    Insanity6666's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    2
    draw****undedBox / draw****undedBox

  13. #10
    rahulkisto's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    9
    My Mood
    Fine
    same am confused

  14. #11
    crazychad45's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Worried
    Error loading Lua code into buffer (Syntax Error)[lua/includes/init.lua:21: '=' expected near '*']

  15. #12
    DcPreacher's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Location
    1
    Posts
    49
    Reputation
    17
    Thanks
    84
    every lua hack on here is bad and i dont know why

  16. #13
    gilded3mill's Avatar
    Join Date
    Mar 2016
    Gender
    female
    Posts
    82
    Reputation
    10
    Thanks
    4
    thanks for sharing bud

Similar Threads

  1. Adventure Quest Hacks I made.
    By zero_cool in forum General Game Hacking
    Replies: 17
    Last Post: 11-18-2006, 08:50 PM
  2. I havent made a thread in what... a day?
    By i eat trees in forum General
    Replies: 1
    Last Post: 05-22-2006, 08:19 AM
  3. ultimate system i made
    By systemmaker in forum Gunz General
    Replies: 9
    Last Post: 03-31-2006, 07:16 PM
  4. Look I Made A Hot Sig
    By Brandon in forum Art & Graphic Design
    Replies: 6
    Last Post: 02-21-2006, 06:44 AM
  5. MY GALLERY I MADE ALL THESE TODAY MY FIRST SIGS lol
    By $GHOST$ in forum Art & Graphic Design
    Replies: 6
    Last Post: 02-05-2006, 07:13 AM