InfoGarry's Mod Script Thread

Posts 31–45 of 219 · Page 3 of 15
How do I use any of these? More specificly dark rp god mode.
Also anyone has a dark rp money script?
Quote Originally Posted by rGAERGAErgergergerg View Post
How do I use any of these? More specificly dark rp god mode.
Also anyone has a dark rp money script?
And you put them in a lua in your garrysmod/garrysmod/lua directory and use lua_openscript_cl name.lua to run them

There is no such thing as a dark rp money script anymore.
Unless you're the admin.
Yes for the older versions of Hera. When updated it stops.
I used the aimbot script, but is there any way to where you dont have to aim directly at them to go to their head? Also I want to know how to auto shoot when it goes to their head.
Quote Originally Posted by fiddlecocks View Post
I used the aimbot script, but is there any way to where you dont have to aim directly at them to go to their head? Also I want to know how to auto shoot when it goes to their head.
this should do it ;D if not then idk
Code:
local function autoshoot()
 
if LocalPlayer():Alive() then
 
local pos = LocalPlayer():GetShootPos()
local ang = LocalPlayer():GetAimVector()
 
 
tracedata.start = pos
tracedata.endpos = pos+(ang * Distance)
tracedata.filter = LocalPlayer()
 
local trace = util.TraceLine(tracedata)
 
target = trace.Entity
 
if WeaponCheck() and ModeCheck() and AmmoCheck() then
 
Fire()
 
end
end
 
end
Quote Originally Posted by makee View Post
this should do it ;D if not then idk
Code:
local function autoshoot()
 
if LocalPlayer():Alive() then
 
local pos = LocalPlayer():GetShootPos()
local ang = LocalPlayer():GetAimVector()
 
 
tracedata.start = pos
tracedata.endpos = pos+(ang * Distance)
tracedata.filter = LocalPlayer()
 
local trace = util.TraceLine(tracedata)
 
target = trace.Entity
 
if WeaponCheck() and ModeCheck() and AmmoCheck() then
 
Fire()
 
end
end
 
end
That looks more like a triggerbot.
Nevermind, I misunderstood what he asked for.
How do you make the aimbot auto shoot when it gets to the head?
Quote Originally Posted by fiddlecocks View Post
How do you make the aimbot auto shoot when it gets to the head?
Quote Originally Posted by makee View Post
this should do it ;D if not then idk
Code:
local function autoshoot()
 
if LocalPlayer():Alive() then
 
local pos = LocalPlayer():GetShootPos()
local ang = LocalPlayer():GetAimVector()
 
 
tracedata.start = pos
tracedata.endpos = pos+(ang * Distance)
tracedata.filter = LocalPlayer()
 
local trace = util.TraceLine(tracedata)
 
target = trace.Entity
 
if WeaponCheck() and ModeCheck() and AmmoCheck() then
 
Fire()
 
end
end
 
end
Read .
How do I use these codes?

Sorry, I'm a total noob at coding and such.

Do I save the code in Notepad++ or something as .lua files?
Quote Originally Posted by ityrokiix3 View Post
How do I use these codes?

Sorry, I'm a total noob at coding and such.

Do I save the code in Notepad++ or something as .lua files?
You can use Notepad or Notepad++ Paste them into it, and save it as name.lua (You can change the "name" but always add the .lua) and place it in Garrysmod/garrysmod/lua if you don't have a LUA Folder then Create one.
May I request a script to enable you to spawn admin weapons?
Quote Originally Posted by BillyMaximus View Post
May I request a script to enable you to spawn admin weapons?
Not possible unless the server is really shitty (Doubt that shitty servers still exist) or if you are an admin och know an admin. AFAIK
Sorry.
Requesting a Propkill or Speedhack script :P
I'll share some personal scripts I guess.
Code:
local function coordinates( ent )
local min, max = ent:OBBMins(), ent:OBBMaxs()
local corners = {
    Vector( min.x, min.y, min.z ),
    Vector( min.x, min.y, max.z ),
    Vector( min.x, max.y, min.z ),
    Vector( min.x, max.y, max.z ),
    Vector( max.x, min.y, min.z ),
    Vector( max.x, min.y, max.z ),
    Vector( max.x, max.y, min.z ),
    Vector( max.x, max.y, max.z )
}

local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
for _, corner in pairs( corners ) do
    local onScreen = ent:LocalToWorld( corner ):ToScreen()
    minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
    maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
end

return minX, minY, maxX, maxY
end
hook.Add("HUDPaint", "Example", function()
for k,v in pairs(player.GetAll()) do
    local x1,y1,x2,y2 = coordinates(v)
     //print(tostring(team.GetColor(v:Team())))
     surface.SetDrawColor(color_white)


    surface.DrawLine( x1, y1, math.min( x1 + 5, x2 ), y1 )
    surface.DrawLine( x1, y1, x1, math.min( y1 + 5, y2 ) )


    surface.DrawLine( x2, y1, math.max( x2 - 5, x1 ), y1 )
    surface.DrawLine( x2, y1, x2, math.min( y1 + 5, y2 ) )


    surface.DrawLine( x1, y2, math.min( x1 + 5, x2 ), y2 )
    surface.DrawLine( x1, y2, x1, math.max( y2 - 5, y1 ) )


    surface.DrawLine( x2, y2, math.max( x2 - 5, x1 ), y2 )
    surface.DrawLine( x2, y2, x2, math.max( y2 - 5, y1 ) )
end
end)
This is my Edge-esp.
Have fun.
Quote Originally Posted by kila58 View Post
I'll share some personal scripts I guess.
Code:
local function coordinates( ent )
local min, max = ent:OBBMins(), ent:OBBMaxs()
local corners = {
    Vector( min.x, min.y, min.z ),
    Vector( min.x, min.y, max.z ),
    Vector( min.x, max.y, min.z ),
    Vector( min.x, max.y, max.z ),
    Vector( max.x, min.y, min.z ),
    Vector( max.x, min.y, max.z ),
    Vector( max.x, max.y, min.z ),
    Vector( max.x, max.y, max.z )
}

local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
for _, corner in pairs( corners ) do
    local onScreen = ent:LocalToWorld( corner ):ToScreen()
    minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
    maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
end

return minX, minY, maxX, maxY
end
hook.Add("HUDPaint", "Example", function()
for k,v in pairs(player.GetAll()) do
    local x1,y1,x2,y2 = coordinates(v)
     //print(tostring(team.GetColor(v:Team())))
     surface.SetDrawColor(color_white)


    surface.DrawLine( x1, y1, math.min( x1 + 5, x2 ), y1 )
    surface.DrawLine( x1, y1, x1, math.min( y1 + 5, y2 ) )


    surface.DrawLine( x2, y1, math.max( x2 - 5, x1 ), y1 )
    surface.DrawLine( x2, y1, x2, math.min( y1 + 5, y2 ) )


    surface.DrawLine( x1, y2, math.min( x1 + 5, x2 ), y2 )
    surface.DrawLine( x1, y2, x1, math.max( y2 - 5, y1 ) )


    surface.DrawLine( x2, y2, math.max( x2 - 5, x1 ), y2 )
    surface.DrawLine( x2, y2, x2, math.max( y2 - 5, y1 ) )
end
end)
This is my Edge-esp.
Have fun.
is it like a box esp?
Posts 31–45 of 219 · Page 3 of 15

Post a Reply

Similar Threads

Talk with us