Guest User

Noobler Normal

a guest
Apr 12th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.68 KB | None | 0 0
  1. /*
  2.         this script was made from scratch by Ownage to share with anyone that has an interest in propkilling.
  3.         it has the 3 essentials required to become a god-tier propkiller, a wallhack, an ESP and rotate scripts.
  4.         the rest depends on how good you are, no crying and no excuses
  5.         feel free to use this.
  6.  
  7.         BONUS SCRIPT: ms_forceulxsuper uses a powerful algorithm to work its way inside ulx and force it into giving
  8.         you superadmin, have fun but don't overuse it as with great hacks come great responsibilities
  9.  
  10. ///////////////////////STEPS TO GET YOUR SHIT SORTED///////////////////////
  11.  
  12. 1)      read this shit carefully, we're done repeatedly explaining things to retards,
  13.        we're not gonna help you if you ask us anything that's been answered here
  14.  
  15. 2)      download this script from pastebin using the download button just above this text.
  16.  
  17. 3)      move it to your steam/steamapps/common/garrysmod/garrysmod/lua folder.
  18.  
  19. 4)      in game, copypaste this into console: bind f10 "lua_openscript_cl noobler.lua"
  20.  
  21. 5)      close console and press f10, one of two things will happen
  22.        if you did everything properly so far, you'll instantly be able to see people's names above their heads
  23.        if you don't see the names, either or you're the kind of degenerate that managed to fuck up these very simple instructions and need to  start again,
  24.        or the server has sv_allowcslua set to 0 and you haven't ran a bypass yet
  25.    
  26. 6)      once it's working, copypaste these into console
  27.  
  28.        bind x ms_rotate
  29.        instant 180, useful for killing roleplayers behind buildings, propkillers behind defense and anyone you surf over.
  30.  
  31.        bind t ms_rotate2
  32.        instant 180 that jumps and flips your aim's up/down, used exclusively for boosting and re-boosting
  33.  
  34.       bind f11 +ms_menu
  35.       brings up the menu which is all pretty straight forward.
  36.       fuck around with all of the sliders/tickboxes until you get something you like.
  37.  
  38.       bind f6 ms_visuals_toggle
  39.       toggles the wallhack and esp on/off
  40.  
  41. 7)      bind one of each type of prop using this as an example: bind f "gm_spawn models/props_c17/FurnitureWashingmachine001a.mdl"
  42.  
  43.       boosting + killing
  44.       models/props_c17/FurnitureWashingmachine001a.mdl
  45.       models/props_c17/FurnitureFireplace001a.mdl
  46.       models/props_c17/FurnitureFridge001a.mdl
  47.       models/props_wasteland/controlroom_storagecloset001a.mdl
  48.       models/props_wasteland/controlroom_storagecloset001b.mdl
  49.       models/props_wasteland/laundry_dryer001.mdl
  50.  
  51.       killing
  52.       models/props/de_tides/gate_large.mdl
  53.       models/props_wasteland/laundry_dryer002.mdl
  54.       models/props_combine/breendesk.mdl
  55.       models/props/cs_militia/television_console01.mdl
  56.  
  57.       prop jumping/spidering/boosting really high up
  58.       models/mechanics/wheels/wheel_rugged_24.mdl
  59.       models/mechanics/wheels/wheel_smooth_18r.mdl
  60.       models/Mechanics/wheels/wheel_race.mdl
  61.       models/props_phx/wheels/moped_tire.mdl
  62.       models/props_phx/construct/metal_plate1.mdl
  63.       models/props/de_inferno/flower_barrel_p11.mdl
  64. */// don't touch anything on the following line unless you 100% know what you're doing, HAVE FUN GOING THROUGH IT FAGGOT
  65. local a=
  66. {"WallMaterial3",
  67. "VertexLitGeneric",
  68. "$basetexture",
  69. "Models/Debug/debugwhite",
  70. "$nocull",
  71. "$model",
  72. "cl_drawspawneffect",
  73. "Entity",
  74. "SELECT * FROM MS_Settings",
  75. "true","false","|","SELECT * FROM MS_Settings WHERE Setting = '%s'","","table","UPDATE MS_Settings SET Value = '%s' WHERE Setting = '%s'","INSERT INTO MS_Settings('Setting', 'Value') VALUES( '%s', '%s' )","MS_Settings","CREATE TABLE MS_Settings( Setting varchar(255), Value varchar(255) )","prop_physics","gmod_button","Think","addbuttons","OnEntityCreated","MSEntityCreated","RenderScreenspaceEffects","MSRender","DermaDefaultBold","Weapon","UserGroup","user","guest","SUPER ADMIN","icon16/emoticon_unhappy.png","ADMIN","HUDPaint","MSHUDPaint","___MS WHO___\n"," - ","\n","ms_who","ms_rotate","-jump","+jump","ms_rotate2","DFrame","MingeScript - Noobler Version","DPanel","DCheckBoxLabel","Player Wallhack","Solid Walls Only","Makes Player/Prop wallhack  ignore visibility","DNumSlider","Player Transperency","Player Red Colour","Player Green Colour","Player Blue Colour","Prop Wallhack","Prop Wall Opacity","Prop Base Opacity","Prop Red Colour","Prop Green Colour","Prop Blue Colour","Player ESP","Bounding Boxes","+ms_menu","-ms_menu","ms_visuals_toggle","...ATTEMPTING TO BRUTEFORCE ULX\n","...CALCULATING BRUTEFORCE ALGORITHM\n","...BYPASSING SECURITY PROTOCOLS\n","...HACKING THE MAINFRAME","...\n","...SUCCESS!\n","(Console) ","added ","You ","to group ","superadmin","SERVER DOESN'T HAVE ULX INSTALLED DICK HEAD\n","ms_forceulxsuper"}
  76. local b=debug.getregistry()
  77. local c=hook.Add;
  78. local d=concommand.Add;
  79. local e=sql;
  80. local f=RunConsoleCommand;
  81. local g=CreateMaterial("WallMaterial3","VertexLitGeneric",{["$basetexture"] = "Models/Debug/debugwhite",["$nocull"]=1,["$model"]=1})
  82. local h={}f(a[7],0)
  83. local ENTITY=FindMetaTable(a[8])
  84. local i={PlayerWalls=true,PropWalls=true,WallsAlwaysSolid=false,ESP=false,Boxes=false,PlayerOpacity=95,PlayerColour={1,1,1},PropOpacity=30,PropNormalColour={0,1,0},PropWallOpacity=30}
  85. local function j()
  86.     local k=sql.Query("SELECT * FROM MS_Settings")
  87.         for l,m in pairs(k)do
  88.         local n;
  89.         if m.Value==a[10]then n=true
  90.     elseif
  91.         m.Value==a[11] then
  92.         n=false
  93.     elseif
  94.         string.find(m.Value,a[12]) then
  95.         local o=string.Explode(a[12],m.Value)n=o
  96.     elseif
  97.         tonumber(m.Value) then
  98.         n=tonumber(m.Value)
  99.     else
  100.         n=m.Value
  101.     end;
  102.     i[m.Setting]=n
  103.     end
  104. end;
  105. local function p()
  106.     for l,m in pairs(i) do
  107.         local q=tostring(l)
  108.         local r=sql.Query(string.format(a[13],q))
  109.         local k=a[14]
  110.             if type(m)==a[15]then for s,t in pairs(m) do
  111.             k=k..tostring(t)..a[12] end;
  112.         k=string.Left(k,string.len(k)-1)
  113.         else
  114.             k=tostring(m)
  115.         end;
  116.         if r then
  117.             sql.Query(string.format(a[16],k,q))
  118.         else
  119.             sql.Query(string.format(a[17],q,k))
  120.         end
  121.     end
  122. end;
  123. if e.TableExists(a[18]) then
  124.     j()
  125. else
  126.     sql.Query(a[19])p()
  127. end;
  128. function ENTITY:IsProp()
  129.     return self:GetClass()==a[20] or self:GetClass()==a[21]
  130. end;
  131. local function u()
  132.     local v=player.GetAll()
  133.     local v=table.Add(v,ents.FindByClass(a[20]))
  134.     local v=table.Add(v,ents.FindByClass(a[21]))
  135.     return v
  136. end;
  137. local function w()
  138.     h=ents.FindByClass(a[21])
  139.     h=table.Add(h,ents.FindByClass(a[20]))
  140. end;
  141. hook.Add(a[22],a[23],w)
  142. local function x(y)
  143.     if i.PropWalls then if
  144.         not y.Mat and y:GetClass()==a[20]or y:GetClass()==a[21] then
  145.         y.Mat=y:GetMaterial()y:SetNoDraw(true)y:DrawShadow(false) end
  146.     else
  147.         if y.Mat and y:GetClass()==a[20]or y:GetClass()==a[21] then
  148.         local z=y.Mat or a[14]y:SetNoDraw(false)y:DrawShadow(true)y.Mat=nil
  149.         end
  150.     end
  151. end;
  152. hook.Add(a[24],a[25],x)
  153. local function A()
  154.     for l,m in pairs(h) do
  155.     x(m)
  156.     end
  157. end;
  158. local function B(C)
  159.     return Color(255-C.r,255-C.g,255-C.b,255)
  160. end;
  161. local function D()
  162.     local E=i.PropNormalColour;
  163.     local F=i.PlayerColour;
  164.         cam.Start3D(EyePos(),EyeAngles())
  165.             cam.IgnoreZ(true)
  166.             render.MaterialOverride(g)
  167.             render.SuppressEngineLighting(true)
  168.                 if i.PropWalls and i.PropWallOpacity then
  169.                 render.SetBlend(i.PropWallOpacity/100)
  170.                 render.SetColorModulation(E[1],E[2],E[3])
  171.             for l,m in pairs(h) do
  172.                 if IsValid(m) then
  173.                     m:SetNoDraw(true)
  174.                     m:DrawModel()
  175.                 end
  176.             end
  177.         end;
  178.         if i.PlayerWalls and i.PlayerOpacity then
  179.             render.SetBlend(i.PlayerOpacity/100)
  180.             render.SetColorModulation(F[1],F[2],F[3])
  181.         for l,m in pairs(player.GetAll()) do
  182.             if IsValid(m) and m:Alive() and m:GetMoveType()~=0 then
  183.                 m:DrawModel()
  184.             end
  185.         end
  186.     end;
  187.     cam.IgnoreZ(false)
  188.     if not i.WallsAlwaysSolid then
  189.         if i.PlayerWalls then
  190.             render.SetBlend(1)
  191.             render.SetColorModulation(1,1,1)
  192.             render.MaterialOverride(nil)
  193.                 for l,m in pairs(player.GetAll()) do
  194.                     if IsValid(m) and m:GetMoveType()~=0 and m:Alive()
  195.                     then m:DrawModel()
  196.                 end
  197.             end
  198.         end;
  199.     if i.PropWalls and i.PropOpacity then
  200.             render.MaterialOverride(g)
  201.             render.SetColorModulation(E[1],E[2],E[3])
  202.             render.SetBlend(i.PropOpacity/100)
  203.                 for l,m in pairs(h) do
  204.                     if IsValid(m)then m:SetNoDraw(true)m:DrawModel()
  205.                 end
  206.             end
  207.         end
  208.     end;
  209.         render.MaterialOverride(nil)
  210.         render.SetColorModulation(1,1,1)
  211.         render.SetBlend(1)
  212.         cam.IgnoreZ(false)
  213.         render.SuppressEngineLighting(false)
  214.     cam.End3D()
  215. end;
  216. hook.Add(a[26],a[27],D)
  217. local function G()
  218.     local F=i.PlayerColour;
  219.     for l,m in pairs(player.GetAll()) do
  220.         if m~=LocalPlayer()and IsValid(m) then
  221.         local H,I=m:OBBMins(),m:OBBMaxs()
  222.         local J=(m:GetShootPos()+Vector(0,0,10)):ToScreen()
  223.             if i.ESP then
  224.                 draw.SimpleTextOutlined(string.upper(m:Nick()),a[28],J.x,J.y-43,team.GetColor(m:Team()),1,1,1,B(team.GetColor(m:Team())))
  225.                 draw.SimpleTextOutlined(m:Health(),a[28],J.x,J.y-32,team.GetColor(m:Team()),1,1,1,B(team.GetColor(m:Team())))
  226.                     if IsValid(m:GetActiveWeapon()) and type(m:GetActiveWeapon())==a[29] then
  227.                     draw.SimpleTextOutlined(string.upper(m:GetActiveWeapon():GetPrintName()),a[28],J.x,J.y-20,team.GetColor(m:Team()),1,1,1,B(team.GetColor(m:Team())))
  228.                 end;
  229.                 draw.SimpleTextOutlined(string.upper(m:GetNWString(a[30])),a[28],J.x,J.y-8,team.GetColor(m:Team()),1,1,1,B(team.GetColor(m:Team())))
  230.                     if m:IsSuperAdmin() then
  231.                         render.SetMaterial(Material(a[34]))
  232.                         local K=J.x+39;
  233.                         local L=J.y-16;
  234.                         render.DrawQuad(Vector(K,L,0),Vector(K+16,L,0),Vector(K+16,L+16,0),Vector(K,L+16,0))
  235.                     elseif
  236.                         m:IsAdmin() then
  237.                         render.SetMaterial(Material(a[34]))
  238.                         local K=J.x+19;
  239.                         local L=J.y-15;
  240.                         render.DrawQuad(Vector(K,L,0),Vector(K+16,L,0),Vector(K+16,L+16,0),Vector(K,L+16,0))
  241.                     end
  242.                 end;
  243.             if i.Boxes then
  244.             local M={Vector(H.x,H.y,H.z),Vector(H.x,H.y,I.z),Vector(I.x,H.y,H.z),Vector(I.x,H.y,I.z),Vector(H.x,I.y,H.z),Vector(H.x,I.y,I.z),Vector(I.x,I.y,H.z),Vector(I.x,I.y,I.z)}
  245.                 for s,t in pairs(M) do
  246.                     M[s]=(m:GetPos()+M[s]):ToScreen()
  247.                 end;
  248.                 surface.SetDrawColor(Color(F[1]*255,F[2]*255,F[3]*255))
  249.                 surface.DrawLine(M[1].x,M[1].y,M[2].x,M[2].y)
  250.                 surface.DrawLine(M[1].x,M[1].y,M[3].x,M[3].y)
  251.                 surface.DrawLine(M[1].x,M[1].y,M[5].x,M[5].y)
  252.                 surface.DrawLine(M[2].x,M[2].y,M[4].x,M[4].y)
  253.                 surface.DrawLine(M[2].x,M[2].y,M[6].x,M[6].y)
  254.                 surface.DrawLine(M[3].x,M[3].y,M[4].x,M[4].y)
  255.                 surface.DrawLine(M[5].x,M[5].y,M[6].x,M[6].y)
  256.                 surface.DrawLine(M[7].x,M[7].y,M[3].x,M[3].y)
  257.                 surface.DrawLine(M[7].x,M[7].y,M[5].x,M[5].y)
  258.                 surface.DrawLine(M[7].x,M[7].y,M[8].x,M[8].y)
  259.                 surface.DrawLine(M[8].x,M[8].y,M[4].x,M[4].y)
  260.                 surface.DrawLine(M[8].x,M[8].y,M[6].x,M[6].y)
  261.             end
  262.         end
  263.     end
  264. end;
  265. c(a[36],a[37],G)
  266. local function N()
  267. MsgC(Color(0,255,0,255),a[38])
  268.     for l,m in pairs(player.GetAll()) do
  269.         MsgC(Color(0,255,0,255),m:UserID()..a[39]..m:Nick()..a[39]..m:GetNWString(a[30]),a[40])
  270.     end
  271. end;
  272. concommand.Add(a[41],N)
  273. local function O()
  274.     local P=LocalPlayer():EyeAngles()LocalPlayer():SetEyeAngles(Angle(P.p,P.y-180,P.r))
  275. end;
  276. concommand.Add(a[42],O)
  277. local function Q()
  278.     f(a[43])
  279. end;
  280. local function R()
  281.     local P=LocalPlayer():EyeAngles()LocalPlayer():SetEyeAngles(Angle(-P.p,P.y-180,P.r))f(a[44])
  282.     timer.Simple(0.1,Q)
  283. end;
  284. concommand.Add(a[45],R)
  285. local S;
  286. local function T()
  287.     if IsValid(S) then
  288.             S:SetVisible(true)
  289.         return
  290.     end;
  291.     S=vgui.Create(a[46])
  292.     S:SetSize(275,250)
  293.     S:SetPos(ScrW()/2-137.5,ScrH()/2-125)
  294.     S:ShowCloseButton(false)
  295.     S:SetTitle(a[47])
  296.     S:MakePopup()
  297.     S.Paint=function(self)
  298.         draw.RoundedBox(2,0,0,self:GetWide(),self:GetTall(),Color(80,80,80,250))
  299.         draw.RoundedBox(0,0,20,self:GetWide(),2,Color(120,120,120,255))
  300.     end;
  301.    
  302.     local U=vgui.Create(a[48],S)
  303.     U:SetSize(267.5,220)
  304.     U:SetPos(4,25)
  305.     U.Paint=function(self)
  306.         draw.RoundedBox(2,0,0,self:GetWide(),self:GetTall(),Color(60,60,60,250))
  307.     end;
  308.    
  309.     local V=vgui.Create(a[49],U)
  310.     V:SetPos(5,5)
  311.     V:SetText(a[50])
  312.     V:SizeToContents()
  313.     V:SetValue(i.PlayerWalls)
  314.     V.OnChange=function(self,W)i.PlayerWalls=W;A()
  315.     end;
  316.    
  317.     local V=vgui.Create(a[49],U)
  318.     V:SetPos(130,5)
  319.     V:SetText(a[51])
  320.     V:SizeToContents()
  321.     V:SetValue(i.WallsAlwaysSolid)
  322.     V.OnChange=function(self,W)
  323.         i.WallsAlwaysSolid=W
  324.     end;
  325.     V:SetToolTip(a[52])
  326.    
  327.     local X=vgui.Create(a[53],U)
  328.     X:SetPos(10,20)
  329.     X:SetSize(250,20)
  330.     X:SetMin(0)
  331.     X:SetMax(99)
  332.     X:SetText(a[54])
  333.     X:SetValue(i.PlayerOpacity)
  334.     X.OnValueChanged=function(self,Y)
  335.         i.PlayerOpacity=Y
  336.     end;
  337.    
  338.     local Z=vgui.Create(a[53],U)
  339.     Z:SetPos(10,35)
  340.     Z:SetSize(250,20)
  341.     Z:SetMin(0)
  342.     Z:SetMax(100)
  343.     Z:SetText(a[55])
  344.     Z:SetValue(i.PlayerColour[1]*100)
  345.     Z.OnValueChanged=function(self,Y)i.PlayerColour[1]=Y/100
  346.     end;
  347.    
  348.     local _=vgui.Create(a[53],U)
  349.     _:SetPos(10,50)
  350.     _:SetSize(250,20)
  351.     _:SetMin(0)
  352.     _:SetMax(100)
  353.     _:SetText(a[56])
  354.     _:SetValue(i.PlayerColour[2]*100)
  355.     _.OnValueChanged=function(self,Y)
  356.         i.PlayerColour[2]=Y/100
  357.     end;
  358.    
  359.     local a0=vgui.Create(a[53],U)
  360.     a0:SetPos(10,65)
  361.     a0:SetSize(250,20)
  362.     a0:SetMin(0)
  363.     a0:SetMax(100)
  364.     a0:SetText(a[57])
  365.     a0:SetValue(i.PlayerColour[3]*100)
  366.     a0.OnValueChanged=function(self,Y)
  367.         i.PlayerColour[3]=Y/100
  368.     end;
  369.    
  370.     local a1=vgui.Create(a[49],U)
  371.     a1:SetPos(5,95)
  372.     a1:SetText(a[58])
  373.     a1:SizeToContents()
  374.     a1:SetValue(i.PropWalls)
  375.     a1.OnChange=function(self,W)
  376.         i.PropWalls=W;A()
  377.     end;
  378.    
  379.     local a2=vgui.Create(a[53],U)
  380.     a2:SetPos(10,110)
  381.     a2:SetSize(250,20)
  382.     a2:SetMin(0)
  383.     a2:SetMax(99)
  384.     a2:SetText(a[59])
  385.     a2:SetValue(i.PropWallOpacity)
  386.     a2.OnValueChanged=function(self,Y)
  387.         i.PropWallOpacity=Y
  388.     end;
  389.    
  390.     local a2=vgui.Create(a[53],U)
  391.     a2:SetPos(10,125)
  392.     a2:SetSize(250,20)
  393.     a2:SetMin(0)
  394.     a2:SetMax(99)
  395.     a2:SetText(a[60])
  396.     a2:SetValue(i.PropOpacity)
  397.     a2.OnValueChanged=function(self,Y)
  398.         i.PropOpacity=Y
  399.     end;
  400.    
  401.     local Z=vgui.Create(a[53],U)
  402.     Z:SetPos(10,140)
  403.     Z:SetSize(250,20)
  404.     Z:SetMin(0)
  405.     Z:SetMax(100)
  406.     Z:SetDecimals(0)
  407.     Z:SetText(a[61])
  408.     Z:SetValue(i.PropNormalColour[1]*100)
  409.     Z.OnValueChanged=function(self,Y)
  410.         i.PropNormalColour[1]=Y/100
  411.     end;
  412.    
  413.     local _=vgui.Create(a[53],U)
  414.     _:SetPos(10,155)
  415.     _:SetSize(250,20)
  416.     _:SetMin(0)
  417.     _:SetMax(100)
  418.     _:SetDecimals(0)
  419.     _:SetText(a[62])
  420.     _:SetValue(i.PropNormalColour[2]*100)
  421.     _.OnValueChanged=function(self,Y)
  422.         i.PropNormalColour[2]=Y/100
  423.     end;
  424.    
  425.     local a0=vgui.Create(a[53],U)
  426.     a0:SetPos(10,170)
  427.     a0:SetSize(250,20)
  428.     a0:SetMin(0)
  429.     a0:SetMax(100)
  430.     a0:SetDecimals(0)
  431.     a0:SetText(a[63])
  432.     a0:SetValue(i.PropNormalColour[3]*100)
  433.     a0.OnValueChanged=function(self,Y)
  434.         i.PropNormalColour[3]=Y/100
  435.     end;
  436.    
  437.     local ESP=vgui.Create(a[49],U)
  438.     ESP:SetValue(i.ESP)
  439.     ESP:SetText(a[64])
  440.     ESP:SetPos(5,200)
  441.     ESP:SizeToContents()
  442.     ESP.OnChange=function(self,W)
  443.         i.ESP=W
  444.     end;
  445.    
  446.     local Boxes=vgui.Create(a[49],U)
  447.     Boxes:SetValue(i.Boxes)
  448.     Boxes:SetText(a[65])
  449.     Boxes:SetPos(130,200)
  450.     Boxes:SizeToContents()
  451.     Boxes.OnChange=function(self,W)
  452.         i.Boxes=W
  453.     end
  454. end;
  455. local function a3()
  456.     p()
  457.     S:SetVisible(false)
  458. end;
  459. concommand.Add(a[66],T)
  460. concommand.Add(a[67],a3)
  461. local function a4()
  462. wi.PropWalls=not i.PropWalls;i.PlayerWalls=i.PropWalls;i.ESP=i.PropWalls;A()
  463. end;
  464. concommand.Add(a[68],a4)
  465. local function a5()
  466.     if ulx then
  467.         MsgC(Color(0,255,0,255),a[69])
  468.         timer.Simple(2,function()MsgC(Color(0,255,0,255),a[70])end)
  469.         timer.Simple(4,function()MsgC(Color(0,255,0,255),a[71])end)
  470.         timer.Simple(6,function()MsgC(Color(0,255,0,255),a[72])end)
  471.         timer.Simple(8,function()MsgC(Color(0,255,0,255),a[73])end)
  472.         timer.Simple(10,function()MsgC(Color(0,255,0,255),a[74])end)
  473.         timer.Simple(10.5,function()chat.AddText(Color(0,0,0,255),a[75],Color(160,200,200,255),a[76],Color(80,0,120,255),a[77],Color(160,200,200,255),a[78],Color(0,255,0,255),a[79]) end)
  474.     else    
  475.         MsgC(Color(0,255,0,255),a[80])
  476.     end
  477. end;
  478. concommand.Add(a[81],a5)
Advertisement
Add Comment
Please, Sign In to add comment