Advertisement
Guest User

Untitled

a guest
May 6th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.00 KB | None | 0 0
  1. GMAD 6SuV Shittyscripts
  2. {
  3. "description": "Description",
  4. "type": "tool",
  5. "tags":
  6. [
  7. "fun",
  8. "roleplay"
  9. ]
  10. } Author Name   lua/sscripts.lua 7C êÚÜÕ /*
  11. pls read:
  12. I know a lot of the stuff in this script is really bad. There is a reason why I called it "shittyscripts"..
  13. I know that there are waaay better ways to do some of the stuff that is in my script, but it was intended for personal use only..
  14. The reason why I released it was because it was requested by people, so i decided to just release it, since i don't play GMOD that much anymore.
  15.  
  16. Obviously many of the things are older than some other stuff.. That why somethings are really retarded and some are just retarded.
  17.  
  18. THESE SCRIPTS ARE FAR FROM OPTIMIZED, SO DON'T EXPECT IT TO NOT LAG YOUR SHIT PC
  19.  
  20.  
  21. Thank you:
  22. ----------------------------------------------------
  23. Hejskilled: Helping with ideas for bypassing a shitty anticheat
  24. Snaggle: Helping with problems I've been facing
  25. Dark: Spreading my script
  26. ----------------------------------------------------
  27.  
  28. Fuck you:
  29. ----------------------------------------------------
  30. Hackcraft for creating a shitty anticheat for my script after I helped him.
  31. ----------------------------------------------------
  32. */
  33.  
  34.  
  35.  
  36. -- CODED BY THE PROUD AND MIGHTY GRAVKO
  37. -- NOT REALLY THAT MIGHTY
  38. -- AND NOT REALLY PROUD, BUT STILL
  39.  
  40. local string = string
  41. local util = util
  42. local pairs = pairs
  43. local math = math
  44. local draw = draw
  45. local type = type
  46. local render = render
  47. local hook = hook
  48. local LocalPlayer = LocalPlayer
  49. local cam = cam
  50. local table = table
  51. local RunConsoleCommand = RunConsoleCommand
  52. local IsValid = IsValid
  53. local player = player
  54. local ents = ents
  55. local EyePos = EyePos
  56. local EyeAngles = EyeAngles
  57. local tostring = tostring
  58. local Vector = Vector
  59. local team = team
  60. local ScrW = ScrW
  61. local ScrH = ScrH
  62.  
  63. local _R = debug.getregistry()
  64. local SetColor = _R.Entity.SetColor
  65. local GetColor = _R.Entity.GetColor
  66. local SetMat = _R.Entity.SetMaterial
  67. local GetMat = _R.Entity.GetMaterial
  68. local GetClass = _R.Entity.GetClass
  69. local GetRagdollEntity = _R.Player.GetRagdollEntity
  70. local SetNoDraw = _R.Entity.SetNoDraw
  71. local GetVelocity = _R.Entity.GetVelocity
  72. local VelLength = _R.Vector.Length
  73.  
  74. local concommand = concommand
  75. local cvars = cvars
  76. local debug = debug
  77. local ents = ents
  78. local file = file
  79. local hook = hook
  80. local math = math
  81. local spawnmenu = spawnmenu
  82. local string = string
  83. local surface = surface
  84. local table = table
  85. local timer = timer
  86. local util = util
  87. local vgui = vgui
  88.  
  89. local Angle = Angle
  90. local CreateClientConVar = CreateClientConVar
  91. local CurTime = CurTime
  92. local ErrorNoHalt = ErrorNoHalt
  93. local FrameTime = FrameTime
  94. local GetConVarString = GetConVarString
  95. local GetViewEntity = GetViewEntity
  96. local include = include
  97. local ipairs = ipairs
  98. local LocalPlayer = LocalPlayer
  99. local pairs = pairs
  100. local pcall = pcall
  101. local print = print
  102. local RunConsoleCommand = RunConsoleCommand
  103. local ScrH = ScrH
  104. local ScrW = ScrW
  105. local tonumber = tonumber
  106. local type = type
  107. local unpack = unpack
  108. local ValidEntity = IsValid
  109. local Vector = Vector
  110. ----------------------------------------------- create some shortcutz nigguh (I ended up not using these.. rip)
  111. local shitcvar = CreateClientConVar
  112. local shitcvarnum = GetConVarNumber
  113. local ply = LocalPlayer()
  114. local versionnum = "0.9.8"
  115. -----------------------------------------------
  116. -- Eat shit pls
  117. local dNS = net.Start
  118.  
  119. function net.Start( nstr, ye )
  120. if nstr == "Iamscriptinglikeascriptkiddy" then
  121. MsgC( Color( 255, 0, 0 ), "[Shittyscripts] ", Color( 0, 255, 0 ), "Blocked net.Send check Check: "..nstr.."\n" )
  122. else
  123. return dNS( nstr, ye )
  124. end
  125. end
  126.  
  127. local oldACL = GetConVar
  128.  
  129. function GetConVar( cn )
  130. if cn == "sv_allowcslua" then
  131. MsgC( Color( 255, 0, 0 ), "[Shittyscripts] ", Color( 0, 255, 0 ), "Blocked sv_allowcslua check Check: "..cn.."\n" )
  132. else
  133. return oldACL( cn )
  134. end
  135. end
  136. -----------------------------------------------
  137.  
  138. CreateClientConVar("shitty_thirdperson", "0", false, false)
  139. local function thirdperson()
  140. if GetConVarNumber("shitty_thirdperson") != 1 then return end
  141. local hamsa = {}
  142.  
  143. hamsa.origin = pos-(angles:Forward()*100)
  144. hamsa.angles = angles
  145. hamsa.fov = fov
  146.  
  147. return hamsa
  148. end
  149. hook.Add( "CalcView", "3rdperson", thirdperson )
  150. -----------------------------------------------
  151. CreateClientConVar("shitty_fov", "100", true, false)
  152. local function shitfov()
  153. view = {}
  154. view.fov = GetConVarNumber("shitty_fov")
  155. return view
  156. end
  157. hook.Add("CalcView", "changeshitfov", shitfov)
  158. -----------------------------------------------
  159. CreateClientConVar("shitty_antiaim", "0", false, false)
  160. hook.Add("CreateMove", "reallyshittyantiaim", function(cmd)
  161. if GetConVarNumber("shitty_antiaim") != 1 then return end
  162. ang = cmd:GetViewAngles()
  163. if not input.IsMouseDown(MOUSE_LEFT) then
  164. cmd:SetViewAngles(Angle(-181, ang.y, 180))
  165. end
  166. end)
  167. -----------------------------------------------
  168. hook.Add("PreDrawSkyBox", "removeSkybox", function()
  169. render.Clear(100, 100, 100, 255)
  170. return true
  171. end)
  172. -----------------------------------------------
  173. shouldcrosshair = CreateClientConVar( "shitty_crosshair", "1", true, true)
  174.  
  175. hook.Add("HUDPaint", "shittyxhair", function()
  176. local gap = 0
  177. if GetConVarNumber("shitty_crosshair") != 1 then return end
  178. local x = ScrW() / 2
  179. local y = ScrH() / 2
  180. surface.SetDrawColor( 150, 255, 0, 255 )
  181. local length = gap + 10
  182. surface.DrawLine( x - length, y, x - gap, y )
  183. surface.DrawLine( x + length, y, x + gap, y )
  184. surface.DrawLine( x, y - length, x, y - gap )
  185. surface.DrawLine( x, y + length, x, y + gap )
  186. end)
  187.  
  188. -----------------------------------------------
  189. shouldshowspeed = shitcvar("shitty_showspeed", "1", true, true)
  190. local function showspeed()
  191. if shouldshowspeed:GetBool() then
  192. local speed = math.floor(LocalPlayer():GetVelocity():Length())
  193. draw.SimpleTextOutlined( "Speed: "..speed, "Default", (ScrW() / 2) - 20, ScrH() - ScrH() + 7, Color(0,255,0,255), 4, 1, 1, Color(0, 0, 0, 255) )
  194. end
  195. end
  196. hook.Add("HUDPaint", "showspeednshit", showspeed)
  197. ------------------------------------------------
  198. /*-------------------------------------------------------------------------
  199. AIMBOT START
  200. -------------------------------------------------------------------------*/
  201.  
  202. local shitAim = {}
  203. shitAim.TargetMethod = {}
  204. shitAim.Settings = {}
  205. shitAim.TargetMethod["rage"] = false
  206. shitAim.TargetMethod["closest"] = true
  207. shitAim.TargetMethod["aimpoint"] = false
  208. shitAim.Settings["sAimbone"] = "ValveBiped.Bip01_Head1"
  209. shitAim.Settings["AimBotKey"] = KEY_E
  210.  
  211. local function HasHead(ent)
  212. local bone = ent:LookupBone(shitAim.Settings["sAimbone"])
  213. if bone then
  214. return true
  215. else
  216. return false
  217. end
  218. end
  219.  
  220. local function CanSeeHead(ent)
  221. local wishedbone = ent:LookupBone(shitAim.Settings["sAimbone"])
  222. local trendpos = ent:GetBonePosition(wishedbone)
  223. local tr = {}
  224. tr.start = LocalPlayer():GetShootPos()
  225. tr.endpos = trendpos
  226. tr.filter = {LocalPlayer(), ent}
  227. tr.mask = MASK_SHOT
  228. local trace = util.TraceLine(tr)
  229. if (trace.Fraction == 1) then
  230. return true
  231. else
  232. return false
  233. end
  234. end
  235.  
  236. local function CanSeeOBB(ent)
  237. local obbendpos = ent:LocalToWorld(ent:OBBCenter())
  238. local tr = {}
  239. tr.start = LocalPlayer():GetShootPos()
  240. tr.endpos = obbendpos
  241. tr.filter = {LocalPlayer(), ent}
  242. tr.mask = MASK_SHOT
  243. local trace = util.TraceLine(tr)
  244. if (trace.Fraction == 1) then
  245. return true
  246. else
  247. return false
  248. end
  249. end
  250.  
  251.  
  252.  
  253. CreateClientConVar("shitty_aimbot", "0", false, false)
  254. CreateClientConVar("shitty_aimbot_ignore_friends", "0", false, false)
  255. CreateClientConVar("shitty_aimbot_ignore_buddies", "0", false, false)
  256. CreateClientConVar("shitty_aimbot_ignore_team", "0", false, false)
  257.  
  258. local Locked
  259. local aimBuddies = {}
  260.  
  261.  
  262. local target
  263.  
  264. local function shitaimbot(cmd)
  265.  
  266. if GetConVarNumber("shitty_aimbot") != 1 then return end
  267.  
  268. local AimBone
  269. local lpos = LocalPlayer():GetShootPos()
  270.  
  271. -----------------------------------------
  272. //Playertable
  273. -----------------------------------------
  274.  
  275.  
  276. local aimPlayers = {}
  277. for _, v in pairs(player.GetAll()) do
  278.  
  279. table.insert(aimPlayers, v)
  280.  
  281. if GetConVarNumber("shitty_aimbot_ignore_team") == 1 then
  282. if v:Team() == LocalPlayer():Team() then
  283. table.RemoveByValue(aimPlayers, v)
  284. end
  285. end
  286.  
  287. if GetConVarNumber("shitty_aimbot_ignore_friends") == 1 then
  288. if v:GetFriendStatus() != "none" then
  289. table.RemoveByValue(aimPlayers, v)
  290. end
  291. end
  292.  
  293. if v == LocalPlayer() then
  294. table.RemoveByValue(aimPlayers, v)
  295. end
  296.  
  297. if !CanSeeOBB(v) then
  298. table.RemoveByValue(aimPlayers, v)
  299. end
  300.  
  301. if v:Team() == TEAM_SPECTATOR then
  302. table.RemoveByValue(aimPlayers, v)
  303. end
  304.  
  305. end
  306.  
  307.  
  308. -----------------------------------------
  309. //Targetting
  310. -----------------------------------------
  311.  
  312.  
  313. if shitAim.TargetMethod["rage"] then
  314. for _, v in pairs(aimPlayers) do
  315. if v:Alive() then
  316. target = v
  317. end
  318. end
  319. end
  320.  
  321. if shitAim.TargetMethod["closest"] then
  322. local allply = aimPlayers
  323. local plyDist = 100000
  324. for i = 1, #allply do
  325. v = allply[i]
  326. if v:Alive() then
  327. local plyDist2 = LocalPlayer():GetPos():Distance(v:GetPos())
  328. if plyDist2 < plyDist then
  329. plyDist = plyDist2
  330. target = v
  331. end
  332. end
  333. end
  334. end
  335.  
  336. if shitAim.TargetMethod["aimpoint"] then
  337. local allply = aimPlayers
  338. local plyDist = 100000
  339. for i = 1, #allply do
  340. v = allply[i]
  341. if v:Alive() then
  342. local plyDist2 = LocalPlayer():GetEyeTrace().HitPos:Distance(v:GetPos())
  343. if plyDist2 < plyDist then
  344. plyDist = plyDist2
  345. target = v
  346. end
  347. end
  348. end
  349. end
  350.  
  351. -----------------------------------------
  352. //Bonecheck
  353. -----------------------------------------
  354. for _, b in pairs(aimPlayers) do
  355. if !HasHead(target) then
  356. AimBone = target:LocalToWorld(target:OBBCenter())
  357. else
  358. AimBone = target:GetBonePosition(target:LookupBone("ValveBiped.Bip01_Head1"))
  359. end
  360. end
  361.  
  362. -----------------------------------------
  363. //Aimbot
  364. -----------------------------------------
  365.  
  366.  
  367. if input.IsKeyDown(shitAim.Settings["AimBotKey"]) then
  368. if GetConVarNumber("shitty_aimbot_ignore_team") == 1 and target:Team() == LocalPlayer():Team() then return end
  369. if GetConVarNumber("shitty_aimbot_ignore_friends") == 1 and target:GetFriendStatus() != "none" then return end
  370. if !AimBone then return end
  371.  
  372. cmd:SetViewAngles((AimBone - lpos):Angle())
  373. end
  374. end
  375.  
  376. -----------------------------------------
  377. //Callback
  378. -----------------------------------------
  379.  
  380. cvars.AddChangeCallback("shitty_aimbot", function()
  381. if GetConVarNumber("shitty_aimbot") == 1 then
  382. hook.Add("CreateMove", "aimbotshit", shitaimbot)
  383. else
  384. hook.Remove("aimbotshit")
  385. end
  386. end)
  387.  
  388. /*-------------------------------------------------------------------------
  389. AIMBOT END
  390. -------------------------------------------------------------------------*/
  391. -----------------------------------------------
  392. CreateClientConVar("shitty_adminbox", "1", true, false)
  393.  
  394. local function adminboxshit()
  395. if GetConVarNumber( "shitty_adminbox" ) != 1 then return end
  396. local shitheads = {}
  397. local shitheadrank = {}
  398. local l = 0
  399.  
  400.  
  401.  
  402. for _, v in pairs( player.GetAll() ) do
  403. if not string.find(v:GetUserGroup(), "user") and not string.find(v:GetUserGroup(), "vip") and not string.find(v:GetUserGroup(), "VIP") and not string.find(v:GetUserGroup(), "donator") and not string.find(v:GetUserGroup(), "trusted") and not string.find(v:GetUserGroup(), "Trusted") then
  404. table.insert( shitheads, v:Name() )
  405. table.insert( shitheadrank, v:GetUserGroup() ) -- never used
  406. end
  407. end
  408.  
  409.  
  410. local textLength = surface.GetTextSize( table.concat(shitheads) )
  411. draw.RoundedBox(0, ScrW() - 175, ScrH() - ScrH() + 10, 155, 40, Color(0, 150, 255, 255)) -- stay
  412. draw.RoundedBox(0, ScrW() - 170, ScrH() - ScrH() + 15, 145, 30, Color(50, 50, 50, 255)) -- stay
  413.  
  414. if table.Count(shitheads) != 0 then
  415. draw.RoundedBox(0, ScrW() - 170, ScrH() - ScrH() + 55, 145, 20 * table.Count(shitheads), Color(0, 0, 0, 200))
  416. end
  417.  
  418. draw.SimpleText("Admins", "Default", ScrW() - 115, ScrH() - ScrH() + 23, Color(255, 255, 255))
  419.  
  420.  
  421. for k, v in pairs(shitheads) do
  422. draw.SimpleText(v, "default", ScrW() - 155, ScrH() - ScrH() + 59 + l, Color(255, 255, 255, 255))
  423. l = l + 19
  424. end
  425. end
  426. hook.Add("HUDPaint", "adminboxhook", adminboxshit)
  427.  
  428. cvars.AddChangeCallback("shitty_adminbox", function()
  429. if GetConVarNumber("shitty_adminbox") == 1 then
  430. hook.Add("HUDPaint", "adminboxhook", adminboxshit)
  431. else
  432. hook.Remove("adminboxhook")
  433. end
  434. end)
  435.  
  436. -- foken scraatch is never happy no matter how I do it so who gives a shit anyways am i rite??
  437. CreateClientConVar("shitty_spectaterbox", "1", true, false)
  438. local function specboxshit()
  439. if GetConVarNumber( "shitty_spectaterbox" ) != 1 then return end
  440. local specs = {}
  441. local alength = 0
  442. local specplys = player.GetAll()
  443.  
  444. -- idk why i did it this way lmao
  445. for i = 1, #specplys do
  446. local v = specplys[i]
  447.  
  448. if v:GetObserverTarget() == LocalPlayer() then
  449. table.insert(specs, v:Name())
  450. end
  451. end
  452.  
  453. local textLength = surface.GetTextSize( table.concat(specs) )
  454. draw.RoundedBox(0, ScrW() - 355, ScrH() - ScrH() + 10, 155, 40, Color(0, 150, 255, 255)) -- stay
  455. draw.RoundedBox(0, ScrW() - 350, ScrH() - ScrH() + 15, 145, 30, Color(50, 50, 50, 255)) -- stay
  456.  
  457. if table.Count(specs) != 0 then
  458. draw.RoundedBox(1, ScrW() - 350, ScrH() - ScrH() + 55, 150, 20 * table.Count(specs), Color(0,0,0,200))
  459. end
  460. draw.SimpleText("Spectators", "default", ScrW() - 305, ScrH() - ScrH() + 23, Color(255, 255, 255))
  461.  
  462.  
  463. for _, v in pairs(specs) do
  464. draw.SimpleText(v, "default", ScrW() - 335, ScrH() - ScrH() + 59 + alength, Color(255, 255, 255, 255))
  465. alength = alength + 19
  466. end
  467. end
  468. hook.Add("HUDPaint", "specboxhook", specboxshit)
  469.  
  470. cvars.AddChangeCallback("shitty_spectaterbox", function()
  471. if GetConVarNumber("shitty_spectaterbox") == 1 then
  472. hook.Add("HUDPaint", "specboxhook", specboxshit)
  473. else
  474. hook.Remove("specboxhook")
  475. end
  476. end)
  477. -----------------------------------------------
  478. shouldxray = shitcvar( "shitty_chams", "0", false, false)
  479. shitcvar("shitty_xray", "0", false, false)
  480. local mat1 = CreateMaterial("GA0249aSFJ3","VertexLitGeneric",{
  481. ["$basetexture"] = "models/debug/debugwhite",
  482. ["$model"] = 1,
  483. ["$translucent"] = 1,
  484. ["$alpha"] = 1,
  485. ["$nocull"] = 1,
  486. ["$ignorez"] = 1
  487. }
  488. )
  489. local mat2 = CreateMaterial("sweetbabyjesus","VertexLitGeneric",{
  490. ["$basetexture"] = "models/debug/debugwhite",
  491. ["$model"] = 1,
  492. ["$translucent"] = 1,
  493. ["$alpha"] = 1,
  494. ["$nocull"] = 1,
  495. ["$ignorez"] = 1
  496. }
  497. )
  498.  
  499. local function shitchams()
  500. if GetConVarNumber("shitty_chams") != 0 then
  501. cam.Start3D(EyePos(), EyeAngles())
  502. for _, v in pairs(player.GetAll()) do
  503. if v != LocalPlayer() and v:Team() != TEAM_SPECTATOR then
  504. if v:Alive() then
  505. local ctc = team.GetColor(v:Team())
  506. render.SuppressEngineLighting( true )
  507. render.SetColorModulation(ctc.r / 255, ctc.g / 255, ctc.b / 255)
  508. render.MaterialOverride( mat1 )
  509. v:DrawModel()
  510. elseif v:Team() == "TEAM_SPECTATOR" then
  511. render.SuppressEngineLighting( true )
  512. render.SetColorModulation(0, 1, 0)
  513. render.MaterialOverride( mat1 )
  514. v:DrawModel()
  515. end
  516. end
  517. end
  518. else
  519. render.SuppressEngineLighting(false)
  520. end
  521.  
  522. for _, v in pairs(ents.GetAll()) do
  523. if v:IsWeapon() then
  524. render.SetColorModulation(1, 0, 0)
  525. render.MaterialOverride( mat1 )
  526. v:DrawModel()
  527. end
  528. end
  529. cam.End3D()
  530. end
  531.  
  532. local function shitxray()
  533. if GetConVarNumber("shitty_xray") != 0 then
  534. for k,v in pairs(ents.FindByClass("prop_physics")) do
  535. if IsValid(v) then
  536. cam.Start3D(EyePos(), EyeAngles())
  537. render.SuppressEngineLighting( true )
  538. render.SetColorModulation(((1 / 255) + v:GetVelocity():Length()) / 1700, 0, 1)
  539. render.SetBlend(0.2)
  540. render.MaterialOverride( mat1 )
  541. v:SetColor(Color(255, 255, 255, 0))
  542. v:SetRenderMode(RENDERMODE_TRANSALPHA)
  543. v:DrawModel()
  544. cam.End3D()
  545. end
  546. end
  547. else
  548. render.SuppressEngineLighting(false)
  549. end
  550. end
  551.  
  552.  
  553. cvars.AddChangeCallback("shitty_xray", function()
  554. if GetConVarNumber("shitty_xray") == 1 then
  555. hook.Add("HUDPaint", "shittyxray", shitxray)
  556.  
  557. else
  558. hook.Remove("shittyxray")
  559. for _, v in pairs(ents.FindByClass("prop_*")) do
  560. v:SetColor(Color(255, 255, 255, 255))
  561. end
  562. end
  563. end)
  564.  
  565. cvars.AddChangeCallback("shitty_chams", function()
  566. if GetConVarNumber("shitty_chams") == 1 then
  567. hook.Add("HUDPaint", "shittychams", shitchams)
  568. else
  569. hook.Remove("shittychams")
  570. end
  571. end)
  572.  
  573. ---------------------------------------------------------------------------------------------------
  574. shouldbhop = shitcvar("shitty_bhop", "0", true, true)
  575. hook.Add("Think", "shittybhophook", function()
  576. if GetConVarNumber("shitty_bhop") != 1 or LocalPlayer():GetMoveType() == MOVETYPE_NOCLIP then return end
  577. if (input.IsKeyDown(KEY_SPACE)) then
  578. if LocalPlayer():IsOnGround() then
  579. if LocalPlayer():IsTyping() then return end
  580. RunConsoleCommand("+jump")
  581. jumped = 1
  582. else
  583. RunConsoleCommand("-jump")
  584. jumped = 0
  585. end
  586. elseif LocalPlayer():IsOnGround() then
  587. if jumped == 1 then
  588. RunConsoleCommand("-jump")
  589. jumped = 0
  590. end
  591. end
  592. end)
  593. -------------------------------------------------------------------------------------------------
  594. psay1 = {}
  595. psay1[1] = "eow kid"
  596. psay1[2] = "sup nigr"
  597. psay1[3] = "gmod crash"
  598. psay1[4] = "ERROR ERROR ERROR"
  599. psay1[5] = "shiet son"
  600. psay1[6] = "whahaahhhwaahhawhhwhahggggg"
  601. psay1[7] = "wanna go m8?"
  602. psay1[8] = "are you me or you or flødebolle"
  603. psay1[9] = "do u evn mariokart"
  604. psay1[10] = "im watching sleep bitjnyeggah"
  605. psay1[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
  606. psay1[12] = "shiet daughter"
  607. psay1[13] = "allahu-achbar death to the infidels"
  608. psay1[14] = "swedish tantra sex"
  609. psay1[15] = "i eat u like ur mom pusy"
  610. psay1[16] = "u fink u hardcore??"
  611. psay1[17] = "yer f0cken pushhin me ovr da limit m8"
  612. psay1[18] = "ur a wishard hary"
  613. psay1[19] = "old guy eatin pringels"
  614. psay1[20] = "oh babey a triple"
  615.  
  616. CreateClientConVar("shitty_psayspam", "0", false, false)
  617. --hook.Add("Think", "shittypsayspam", function()
  618. local function psayspamfunc()
  619. if GetConVarNumber("shitty_psayspam") != 1 then return end
  620. if (input.IsKeyDown( KEY_E ) ) then
  621. local Ent = LocalPlayer():GetEyeTrace().Entity
  622. if !Ent or !Ent:IsValid() or Ent:GetClass() != "player" then return end
  623. LocalPlayer():ConCommand("ulx psay "..Ent:Name().." "..table.Random(psay1).." " )
  624. end
  625. end
  626. timer.Create("psayspamtimer", .05, 0, psayspamfunc)
  627. --end)
  628.  
  629. -----------------------------------------------------------------------------------------------------
  630. chatspam1 = {}
  631. chatspam1[1] = "eow kid"
  632. chatspam1[2] = "sup nigr"
  633. chatspam1[3] = "gmod crash"
  634. chatspam1[4] = "ERROR ERROR ERROR"
  635. chatspam1[5] = "shiet son"
  636. chatspam1[6] = "whahaahhhwaahhawhhwhahggggg"
  637. chatspam1[7] = "wanna go m8?"
  638. chatspam1[8] = "are you me or you or flødebolle"
  639. chatspam1[9] = "do u evn mariokart"
  640. chatspam1[10] = "im watching sleep bitjnyeggah"
  641. chatspam1[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
  642. chatspam1[12] = "shiet daughter"
  643. chatspam1[13] = "allahu-achbar death to the infidels"
  644. chatspam1[14] = "swedish tantra sex"
  645. chatspam1[15] = "i eat u like ur mom pusy"
  646. chatspam1[16] = "u fink u hardcore??"
  647. chatspam1[17] = "yer f0cken pushhin me ovr da limit m8"
  648. chatspam1[18] = "ur a wishard hary"
  649. chatspam1[19] = "old guy eatin pringels"
  650. chatspam1[20] = "oh babey a triple"
  651.  
  652. CreateClientConVar("shitty_chatspam_simple", "0", false, false)
  653. --hook.Add("Think", "shittychatspamsimple", function()
  654. local function chatspamsimpleshit()
  655. if GetConVarNumber("shitty_chatspam_simple") != 1 then return end
  656. LocalPlayer():ConCommand("say "..table.Random(chatspam1).." " )
  657. end
  658. timer.Create("chatspamtimer", .5, 0, chatspamsimpleshit)
  659. --end)
  660.  
  661. ------------------------------------------------------------------------------------------------------
  662.  
  663. CreateClientConVar("shitty_AdminAlert", "1", true, false)
  664. CreateClientConVar("shitty_AdminAlert_distance", "150", true, false)
  665. hook.Add( "HUDPaint", "aleraboutadminsnshit", function()
  666. if GetConVarNumber("shitty_AdminAlert") != 1 then return end
  667. for k, v in pairs(player.GetAll()) do
  668. local amdminipos = v:LocalToWorld(v:OBBCenter())
  669. local admindist = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
  670. if not string.find(v:GetUserGroup(), "user") and not string.find(v:GetUserGroup(), "vip") and not string.find(v:GetUserGroup(), "VIP") and not string.find(v:GetUserGroup(), "donator") and not string.find(v:GetUserGroup(), "trusted") and not string.find(v:GetUserGroup(), "Trusted") and v != LocalPlayer() and admindist < tonumber(GetConVarNumber("shitty_AdminAlert_distance")) then
  671. cam.Start3D(EyePos() , EyeAngles())
  672. render.SetMaterial( Material("trails/electric") )
  673. render.DrawBeam( LocalPlayer():GetPos(), amdminipos, 20, 1, 1, Color( 255, 0, 0, 255 ) )
  674. cam.End3D()
  675. draw.DrawText( "An admin is nearby!", "DermaLarge", ScrW() * 0.5, ScrH() * 0.7, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER )
  676. end
  677. end
  678. end)
  679. -----------------------------------------------------------------------------------------------------
  680. function shittyrotateup()
  681. timer.Create("spawn", 0.1, 1, function()
  682. LocalPlayer():ConCommand("gm_spawn models/props_rooftop/sign_letter_m001.mdl")
  683. end)
  684. timer.Create("jump", 0.10, 1, function()
  685. LocalPlayer():ConCommand("+jump")
  686. end)
  687. timer.Create("turnback", 0.2, 1, function()
  688. local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
  689. end)
  690. timer.Create("-jumps", 0.3, 1, function()
  691. LocalPlayer():ConCommand("-jump")
  692. end)
  693.  
  694. end
  695. concommand.Add("shitty_rotate_up", shittyrotateup)
  696.  
  697. function shittyrotateup2()
  698. LocalPlayer():ConCommand("gm_spawn models/props_rooftop/sign_letter_m001.mdl")
  699. timer.Create("jump", 0.1, 1, function()
  700. LocalPlayer():ConCommand("+jump")
  701. end)
  702. timer.Create("turnback", 0.2, 1, function()
  703. local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
  704. end)
  705. timer.Create("-jumps", 0.3, 1, function()
  706. LocalPlayer():ConCommand("-jump")
  707. end)
  708.  
  709. end
  710. concommand.Add("shitty_rotate_up2", shittyrotateup2)
  711.  
  712. function shittyrotateupcon()
  713. LocalPlayer():ConCommand("+jump")
  714. local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
  715. timer.Create("-jumps", 0.3, 1, function()
  716. LocalPlayer():ConCommand("-jump")
  717. end)
  718.  
  719. end
  720. concommand.Add("shitty_rotate_connor", shittyrotateupcon)
  721.  
  722. -------------------------------------------------------------------------------------------------------
  723. function tellranks()
  724. surface.PlaySound("UI/buttonclick.wav")
  725. for k, v in pairs(player.GetAll()) do
  726.  
  727. chat.AddText(Color(0, 255, 0), v:Nick()..": is: ", Color(255, 0, 0),v:GetUserGroup())
  728. end
  729. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Told ranks." )
  730. end
  731. concommand.Add("shitty_tellranks", tellranks)
  732. -------------------------------------------------------------------------------------------------------
  733. /*local function namesteal()
  734. rplayer = table.Random(player.GetAll())
  735. for k,v in pairs(player.GetAll()) do
  736. if rplayer == LocalPlayer() then return end
  737. LocalPlayer():ConCommand("say /rpname "..rplayer:Nick().." ") -- 
  738. end
  739. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Attempted to steal name." )
  740. end
  741. concommand.Add("shitty_namesteal", namesteal)*/
  742. -- Old namesteal rip
  743. local function namesteal2()
  744. local x = table.Random(player.GetAll())
  745. vName = x:Nick()
  746. slen = string.len(vName)
  747. if x == LocalPlayer() then
  748. chat.AddText(Color(255, 0, 0), "[Shittyscripts] ", Color(0, 255, 0), "Chose your own name. Trying again.")
  749. RunConsoleCommand("shitty_namesteal")
  750. end
  751. RunConsoleCommand("say", "/rpname "..vName..string.GetChar(vName, slen))
  752. chat.AddText(Color(255, 0, 0), "[Shittyscripts] ", Color(0, 255, 0), "Chose: "..vName)
  753. end
  754. concommand.Add("shitty_namesteal", namesteal2)
  755. -------------------------------------------------------------------------------------
  756. local function shitty180()
  757. local RotateAng = LocalPlayer():EyeAngles()
  758. LocalPlayer():SetEyeAngles(Angle(RotateAng.p, RotateAng.y-180, RotateAng.r))
  759. end
  760. concommand.Add("shitty_180", shitty180)
  761.  
  762. ------------------------------------------------------------------------------------- YES I ADDED SOME FALCOS SO FOKEN WHAT
  763. CreateClientConVar("shitty_pk_nogun", "0", true, true)
  764. hook.Add("HUDPaint", "nogunhook", function()
  765. if shitcvarnum("shitty_pk_nogun") != 0 then
  766. if LocalPlayer():Alive() then
  767. LocalPlayer():GetViewModel():SetNoDraw(true)
  768. end
  769. else
  770. if LocalPlayer():Alive() then
  771. LocalPlayer():GetViewModel():SetNoDraw(false)
  772. end
  773. end
  774. end)
  775. -------------------------------------------------------------------------------------
  776. cvars.AddChangeCallback("shitty_xray", function()
  777. if GetConVarNumber("shitty_xray") == 1 then
  778. surface.PlaySound("buttons/button17.wav")
  779. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Xray is ON." )
  780. elseif GetConVarNumber("shitty_xray") == 0 then
  781. surface.PlaySound("buttons/button18.wav")
  782. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Xray is OFF." )
  783. end
  784. end)
  785. cvars.AddChangeCallback("shitty_esp", function()
  786. if GetConVarNumber("shitty_esp") == 1 then
  787. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP is ON." )
  788. elseif GetConVarNumber("shitty_esp") == 0 then
  789. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP is OFF." )
  790. end
  791. end)
  792. cvars.AddChangeCallback("shitty_esp_dot", function()
  793. if GetConVarNumber("shitty_esp_dot") == 1 then
  794. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP dot is ON." )
  795. elseif GetConVarNumber("shitty_esp_dot") == 0 then
  796. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP dot is OFF." )
  797. end
  798. end)
  799. cvars.AddChangeCallback("shitty_esp_bar", function()
  800. if GetConVarNumber("shitty_esp_bar") == 1 then
  801. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP bar is ON." )
  802. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "If you have low FPS, esp bar is not good.." )
  803. elseif GetConVarNumber("shitty_esp_bar") == 0 then
  804. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP bar is OFF." )
  805. end
  806. end)
  807. cvars.AddChangeCallback("shitty_psayspam", function()
  808. if GetConVarNumber("shitty_psayspam") == 1 then
  809. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Psay is ON." )
  810. elseif GetConVarNumber("shitty_psayspam") == 0 then
  811. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Psay is OFF." )
  812. end
  813. end)
  814. cvars.AddChangeCallback("shitty_bhop", function()
  815. if GetConVarNumber("shitty_bhop") == 1 then
  816. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Bhop is ON." )
  817. elseif GetConVarNumber("shitty_bhop") == 0 then
  818. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Bhop is OFF." )
  819. end
  820. end)
  821. cvars.AddChangeCallback("shitty_aimbot", function()
  822. if GetConVarNumber("shitty_aimbot") == 1 then
  823. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Aimbot is ON." )
  824. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "Use e button (by default) to target people." )
  825. elseif GetConVarNumber("shitty_aimbot") == 0 then
  826. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Aimbot is OFF." )
  827. end
  828. end)
  829. cvars.AddChangeCallback("shitty_headtracers", function()
  830. if GetConVarNumber("shitty_headtracers") == 1 then
  831. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Headtracers are ON." )
  832. elseif GetConVarNumber("shitty_headtracers") == 0 then
  833. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Headtracers are OFF." )
  834. end
  835. end)
  836. cvars.AddChangeCallback("shitty_pk_colorbeams", function()
  837. if GetConVarNumber("shitty_pk_colorbeams") == 1 then
  838. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "PK color beams are ON." )
  839. elseif GetConVarNumber("shitty_pk_colorbeams") == 0 then
  840. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "PK color beams are OFF." )
  841. end
  842. end)
  843. cvars.AddChangeCallback("shitty_playertracers", function()
  844. if GetConVarNumber("shitty_playertracers") == 1 then
  845. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Playertracer is ON." )
  846. elseif GetConVarNumber("shitty_playertracers") == 0 then
  847. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Playertracer is OFF." )
  848. end
  849. end)
  850. cvars.AddChangeCallback("shitty_pk_RemovePropsWhenDead", function()
  851. if GetConVarNumber("shitty_pk_RemovePropsWhenDead") == 1 then
  852. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "PK Remover is ON." )
  853. elseif GetConVarNumber("shitty_pk_RemovePropsWhenDead") == 0 then
  854. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "PK Remover is OFF." )
  855. end
  856. end)
  857. cvars.AddChangeCallback("shitty_showaimthing", function()
  858. if GetConVarNumber("shitty_showaimthing") == 1 then
  859. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Showaimthing is ON." )
  860. elseif GetConVarNumber("shitty_showaimthing") == 0 then
  861. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Showaimthing is OFF." )
  862. end
  863. end)
  864. cvars.AddChangeCallback("shitty_showspeed", function()
  865. if GetConVarNumber("shitty_showspeed") == 1 then
  866. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Showspeed is ON." )
  867. elseif GetConVarNumber("shitty_showspeed") == 0 then
  868. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Showspeed is OFF." )
  869. end
  870. end)
  871.  
  872. cvars.AddChangeCallback("shitty_thirdperson", function()
  873. if GetConVarNumber("shitty_thirdperson") == 1 then
  874. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Thirdperson is ON." )
  875. elseif GetConVarNumber("shitty_thirdperson") == 0 then
  876. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Thirdperson is OFF." )
  877. end
  878. end)
  879.  
  880. cvars.AddChangeCallback("shitty_entityESP", function()
  881. if GetConVarNumber("shitty_entityESP") == 1 then
  882. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "EntityESP is ON." )
  883. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "If you have FPS issues, this is not a good command.." )
  884. elseif GetConVarNumber("shitty_entityESP") == 0 then
  885. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "EntityESP is OFF." )
  886. end
  887. end)
  888.  
  889. cvars.AddChangeCallback("shitty_adminbox", function()
  890. if GetConVarNumber("shitty_adminbox") == 1 then
  891. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Admin box is ON." )
  892. elseif GetConVarNumber("shitty_adminbox") == 0 then
  893. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Admin box is OFF." )
  894. end
  895. end)
  896.  
  897. cvars.AddChangeCallback("shitty_rp_moneyspam", function()
  898. if GetConVarNumber("shitty_rp_moneyspam") == 1 then
  899. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Money spam is ON." )
  900. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "Use N to spam.." )
  901. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "You can change the drop amount with shitty_rp_moneyspam_amount!" )
  902. elseif GetConVarNumber("shitty_rp_moneyspam") == 0 then
  903. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Money spam is OFF." )
  904. end
  905. end)
  906.  
  907. cvars.AddChangeCallback("shitty_rp_moneyspam_give", function()
  908. if GetConVarNumber("shitty_rp_moneyspam_give") == 1 then
  909. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Money spam (give) is ON." )
  910. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "Use N to spam.." )
  911. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "You can change the drop amount with shitty_rp_moneyspam_amount!" )
  912. elseif GetConVarNumber("shitty_rp_moneyspam_give") == 0 then
  913. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Money spam (give) is OFF." )
  914. end
  915. end)
  916.  
  917. cvars.AddChangeCallback("shitty_espbox", function()
  918. if GetConVarNumber("shitty_espbox") == 1 then
  919. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP box is ON." )
  920. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "You can choose the color of the esp box by using shitty_espbox_color." )
  921. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "You can choose between: red, green, blue and team color." )
  922. elseif GetConVarNumber("shitty_espbox") == 0 then
  923. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "ESP box is OFF." )
  924. end
  925. end)
  926.  
  927. ------------------------------------------------------------------------------------- Adding callbacks
  928. deleteshit = CreateClientConVar( "shitty_pk_RemovePropsWhenDead", "0", true, false )
  929. hook.Add("Think", "thedeletehook", function()
  930. if deleteshit:GetBool() then
  931. if not LocalPlayer():Alive() then
  932. timer.Create("deleteprops", 0.2, 1, function()
  933. LocalPlayer():ConCommand( "undoall")
  934. end)
  935.  
  936. end
  937. end
  938. end)
  939.  
  940. --------------------------------------------------------------------------- Adding Propkill command
  941. shouldshowthings1 = CreateClientConVar("shitty_showaimthing", "0", false, true)
  942.  
  943. hook.Add("HUDPaint", "atatatta", function()
  944. if shouldshowthings1:GetBool() then
  945. local getaimthing = LocalPlayer():GetEyeTrace().Entity:GetClass()
  946. local getaimthing2 = LocalPlayer():GetEyeTrace().Entity:GetModel()
  947. if getaimthing == "worldspawn" then return end
  948. draw.SimpleTextOutlined(getaimthing,"Default",ScrW() - 1000,ScrH() - 70,Color(0,255,0,255),4,1,1,Color(0,0,0,255))
  949. if getaimthing == "worldspawn" then return end
  950. draw.SimpleTextOutlined(getaimthing2,"Default",ScrW() - 1000,ScrH() - 50,Color(255,0,0,255),4,1,1,Color(0,0,0,255))
  951. end
  952. end)
  953.  
  954. local function printlookingthings()
  955. local getaimthing = LocalPlayer():GetEyeTrace().Entity:GetClass()
  956. local getaimthing2 = LocalPlayer():GetEyeTrace().Entity:GetModel()
  957. print("Class: "..getaimthing)
  958. print("Model: "..getaimthing2)
  959. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Printed in console." )
  960. end
  961. concommand.Add("shitty_printlookingat", printlookingthings)
  962. -------------------------------------------------------------------------------------
  963. CreateClientConVar("shitty_pk_colorbeams", "0", false, false)
  964. hook.Add("HUDPaint", "physguns", function()
  965. if GetConVarNumber("shitty_pk_colorbeams") != 1 then return end
  966. for k, v in pairs(player.GetAll()) do
  967. if v != LocalPlayer() then
  968. v:SetWeaponColor( Vector(255,255,255) )
  969. end
  970. end
  971. end)
  972.  
  973. CreateClientConVar("shitty_rainbow", "0", false, false)
  974. hook.Add("Think", "spamwepcolz", function()
  975. if GetConVarNumber("shitty_rainbow") != 1 then return end
  976. LocalPlayer():SetWeaponColor(Vector(math.random(255) / 100, math.random(255) / 100, math.random(255) / 100))
  977. end)
  978. -------------------------------------------------------------------------------------
  979. CreateClientConVar("shitty_entityESP", "1", true, false)
  980. /*hook.Add("HUDPaint", "lootesp", function() -- this is the old entity esp, looks better, but the way its made is fucking horrible
  981. if GetConVarNumber("shitty_entityESP") != 1 then return end
  982.  
  983.  
  984. for k, v in pairs(ents.FindByClass("spawned_shipment")) do
  985. shippos = v:GetPos():ToScreen()
  986. local shipz = v:GetClass()
  987. surface.SetFont("Trebuchet18")
  988. surface.SetTextColor( 255, 50, 50, 255 )
  989. surface.SetDrawColor( 50, 50, 50, 200 )
  990. surface.DrawRect( shippos.x - 5 - surface.GetTextSize( v:GetClass() ) / 2, shippos.y -20, surface.GetTextSize( v:GetClass() ) + 30, 17 )
  991. surface.SetTextPos(shippos.x - 50, shippos.y - 20)
  992. surface.DrawText("[$] "..shipz)
  993. end
  994.  
  995. for k, v in pairs(ents.FindByClass("*printer*")) do
  996. printpos = v:GetPos():ToScreen()
  997. local printz = v:GetClass()
  998. surface.SetFont("Trebuchet18")
  999. surface.SetTextColor( 255, 255, 0, 255 )
  1000. surface.SetDrawColor( 50, 50, 50, 200 )
  1001. surface.DrawRect( printpos.x - surface.GetTextSize( v:GetClass() ) / printpos.x, printpos.y, surface.GetTextSize( v:GetClass() ) + 2, 17 )
  1002. surface.SetTextPos(printpos.x, printpos.y)
  1003. surface.DrawText(printz)
  1004. end
  1005.  
  1006. for k, v in pairs(ents.FindByClass("*rprint*")) do
  1007. printpos = v:GetPos():ToScreen()
  1008. local printz = v:GetClass()
  1009. surface.SetFont("Trebuchet18")
  1010. surface.SetTextColor( 255, 255, 0, 255 )
  1011. surface.SetDrawColor( 50, 50, 50, 200 )
  1012. surface.DrawRect( printpos.x - surface.GetTextSize( v:GetClass() ) / printpos.x, printpos.y, surface.GetTextSize( v:GetClass() ) + 2, 17 )
  1013. surface.SetTextPos(printpos.x, printpos.y)
  1014. surface.DrawText(printz)
  1015. end
  1016.  
  1017. for k, v in pairs(ents.FindByClass("spawned_weapon")) do
  1018. weppos = v:GetPos():ToScreen()
  1019. local wepz = v:GetClass()
  1020. surface.SetFont("Trebuchet18")
  1021. surface.SetTextColor( 100, 100, 250, 255 )
  1022. surface.SetDrawColor( 50, 50, 50, 200 )
  1023. surface.DrawRect( weppos.x - surface.GetTextSize( v:GetClass() ) / weppos.x, weppos.y, surface.GetTextSize( v:GetClass() ) + 2, 17 )
  1024. surface.SetTextPos(weppos.x, weppos.y)
  1025. surface.DrawText(wepz)
  1026. end
  1027.  
  1028. for k, v in pairs(ents.FindByClass("spawned_money")) do
  1029. moneypos = v:GetPos():ToScreen()
  1030. local moneyz = v:GetClass()
  1031. surface.SetFont("Trebuchet18")
  1032. surface.SetTextColor( 50, 255, 50, 255 )
  1033. surface.SetDrawColor( 50, 50, 50, 200 )
  1034. surface.DrawRect( moneypos.x + 10 - surface.GetTextSize( v:GetClass() ) / 2, moneypos.y -10, surface.GetTextSize( v:GetClass() ) + 30, 17 )
  1035. surface.SetTextPos(moneypos.x - 30, moneypos.y - 10)
  1036. surface.DrawText("[$] "..moneyz)
  1037. end
  1038.  
  1039. end)*/
  1040.  
  1041. -- this is the more "simple" looking entity esp (used for now)
  1042. local function entityesp()
  1043. if GetConVarNumber("shitty_entityESP") != 1 then return end
  1044. for _, v in pairs(ents.GetAll()) do
  1045. textpos = v:GetPos():ToScreen()
  1046. if IsValid(v) && string.find(v:GetClass(), "printer") or IsValid(v) && string.find(v:GetClass(), "shipment") or IsValid(v) && string.find(v:GetClass(), "money") or IsValid(v) && string.find(v:GetClass(), "spawned_weapon") then
  1047. surface.SetTextPos(textpos.x - 20, textpos.y)
  1048. //surface.SetTextColor(255, 255, 255, 255) -- i wanted it white in the beginning
  1049. surface.SetFont("Default")
  1050. surface.SetDrawColor(50, 50, 50, 240)
  1051. if string.find(v:GetClass(), "spawned_weapon") then
  1052. surface.DrawRect( textpos.x - 20, textpos.y, surface.GetTextSize( "[Weapon]" ), 13 )
  1053. surface.SetTextColor(255, 0, 0, 255)
  1054. surface.DrawText("[Weapon]")
  1055. elseif string.find(v:GetClass(), "shipment") then
  1056. surface.DrawRect( textpos.x - 20, textpos.y, surface.GetTextSize( "[Shipment]" ), 13 )
  1057. surface.SetTextColor(255, 190, 0, 255)
  1058. surface.DrawText("[Shipment]")
  1059. elseif string.find(v:GetClass(), "printer") then
  1060. surface.DrawRect( textpos.x - 20, textpos.y, surface.GetTextSize( "[Printer]" ), 13 )
  1061. surface.SetTextColor(0, 255, 0, 255)
  1062. surface.DrawText("[Printer]")
  1063. elseif string.find(v:GetClass(), "spawned_money") then
  1064. surface.DrawRect( textpos.x - 20, textpos.y, surface.GetTextSize( "[Money]" ), 13 )
  1065. surface.SetTextColor(100, 100, 255, 255)
  1066. surface.DrawText("[Money]")
  1067. end
  1068. end
  1069. end
  1070. end
  1071. hook.Add("HUDPaint", "esptextshit", entityesp)
  1072.  
  1073. cvars.AddChangeCallback("shitty_entityESP", function()
  1074. if GetConVarNumber("shitty_entityESP") == 1 then
  1075. hook.Add("HUDPaint", "esptextshit", entityesp)
  1076. elseif GetConVarNumber("shitty_entityESP") == 0 then
  1077. hook.Remove("esptextshit")
  1078. end
  1079. end)
  1080.  
  1081. -------------------------------------------------------------------------------------
  1082. CreateClientConVar("shitty_entityESP_box", "1", true, false)
  1083. local function entitybox()
  1084. if GetConVarNumber("shitty_entityESP_box") != 1 then return end
  1085. for _, v in pairs(ents.GetAll()) do
  1086. local bxc
  1087. local lowc = v:OBBMins()
  1088. local highc = v:OBBMaxs()
  1089. local ang = v:GetAngles()
  1090.  
  1091. if string.find(v:GetClass(), "spawned_weapon") then
  1092. bxc = Color(255, 0, 0)
  1093. elseif string.find(v:GetClass(), "printer") then
  1094. bxc = Color(0, 255, 0)
  1095. elseif string.find(v:GetClass(), "shipment") then
  1096. bxc = Color(255, 190, 0)
  1097. else
  1098. bxc = Color(0, 0, 255)
  1099. end
  1100.  
  1101. if IsValid(v) && string.find(v:GetClass(), "printer") or IsValid(v) && string.find(v:GetClass(), "shipment") or IsValid(v) && string.find(v:GetClass(), "money") or IsValid(v) && string.find(v:GetClass(), "spawned_weapon") then
  1102. render.DrawWireframeBox(v:GetPos(), Angle(ang.p, ang.y, ang.r), lowc, Vector(highc.x, highc.y, highc.z), bxc, false )
  1103. end
  1104. end
  1105. end
  1106. hook.Add("PostDrawOpaqueRenderables", "entityespbox", entitybox)
  1107.  
  1108. cvars.AddChangeCallback("shitty_entityESP_box", function()
  1109. if GetConVarNumber("shitty_entityESP_box") == 1 then
  1110. hook.Add("PostDrawOpaqueRenderables", "entityespbox", entitybox)
  1111. elseif GetConVarNumber("shitty_entityESP_box") == 0 then
  1112. hook.Remove("entityespbox")
  1113. end
  1114. end)
  1115. -------------------------------------------------------------------------------------
  1116. shitcvar("shitty_esp", "1", true, true)
  1117. shitcvar("shitty_esp_bar", "0", false, false)
  1118. shitcvar("shitty_esp_dot", "1", true, true)
  1119. local function shitesp()
  1120.  
  1121. if tobool( GetConVarNumber( "shitty_esp" ) ) then
  1122. cam.IgnoreZ(true)
  1123. for k, v in pairs( player.GetAll() ) do
  1124. if v:IsValid() then
  1125. local pos = v:LocalToWorld(v:OBBCenter()):ToScreen()
  1126. local espDist = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
  1127.  
  1128. if v != LocalPlayer() then
  1129. if espDist > 10 then
  1130. surface.SetFont("Default")
  1131. surface.SetTextColor( team.GetColor(v:Team()), team.GetColor(v:Team()), team.GetColor(v:Team()), 255 )
  1132. surface.SetDrawColor( 0, 0, 0, 200 )
  1133. surface.DrawRect( pos.x - 15 - surface.GetTextSize( v:Nick() ), pos.y - 25, surface.GetTextSize( v:Nick() ) + 2, 12 )
  1134. surface.SetTextPos( pos.x - 15 - ( surface.GetTextSize( v:Nick() ) ) + 1, pos.y - 26 )
  1135. surface.DrawText(v:Nick())
  1136. else
  1137. surface.SetFont("Default")
  1138. surface.SetTextColor( team.GetColor(v:Team()), team.GetColor(v:Team()), team.GetColor(v:Team()), 255 )
  1139. surface.SetDrawColor( 0, 0, 0, 200 )
  1140. surface.DrawRect( pos.x - 60 - surface.GetTextSize( v:Nick() ), pos.y - 25, surface.GetTextSize( v:Nick() ) + 2, 12 )
  1141. surface.SetTextPos( pos.x - 60 - ( surface.GetTextSize( v:Nick() ) ) + 1, pos.y - 26 )
  1142. surface.DrawText(v:Nick())
  1143. end
  1144. end
  1145. if v != LocalPlayer() then
  1146. if espDist > 10 then
  1147. surface.SetFont("Default")
  1148. surface.SetTextColor( 255, 255, 255, 255 )
  1149. surface.SetDrawColor( 0, 0, 0, 200 )
  1150. surface.DrawRect( pos.x - 15 - surface.GetTextSize( v:Health() ), pos.y - 12, surface.GetTextSize( v:Health() ) + 2, 12 )
  1151. surface.SetTextPos( pos.x - 15 - ( surface.GetTextSize( v:Health() ) ) + 1, pos.y - 13 )
  1152. surface.DrawText(v:Health())
  1153. else
  1154. surface.SetFont("Default")
  1155. surface.SetTextColor( 255, 255, 255, 255 )
  1156. surface.SetDrawColor( 0, 0, 0, 200 )
  1157. surface.DrawRect( pos.x - 60 - surface.GetTextSize( v:Health() ), pos.y - 12, surface.GetTextSize( v:Health() ) + 2, 12 )
  1158. surface.SetTextPos( pos.x - 60 - ( surface.GetTextSize( v:Health() ) ) + 1, pos.y - 13 )
  1159. surface.DrawText(v:Health())
  1160. end
  1161. end
  1162. if v != LocalPlayer() then
  1163. if espDist > 10 then
  1164. surface.SetFont("Default")
  1165. surface.SetTextColor( 255, 255, 255, 255 )
  1166. surface.SetDrawColor( 0, 0, 0, 200 )
  1167. surface.DrawRect( pos.x - 15 - surface.GetTextSize( v:GetUserGroup() ) , pos.y + 1, surface.GetTextSize( v:GetUserGroup() ) + 2, 12 )
  1168. surface.SetTextPos( pos.x - 15 - ( surface.GetTextSize( v:GetUserGroup() ) ) + 1, pos.y)
  1169. surface.DrawText(v:GetUserGroup())
  1170. else
  1171. surface.SetFont("Default")
  1172. surface.SetTextColor( 255, 255, 255, 255 )
  1173. surface.SetDrawColor( 0, 0, 0, 200 )
  1174. surface.DrawRect( pos.x - 60 - surface.GetTextSize( v:GetUserGroup() ) , pos.y + 1, surface.GetTextSize( v:GetUserGroup() ) + 2, 12 )
  1175. surface.SetTextPos( pos.x - 60 - ( surface.GetTextSize( v:GetUserGroup() ) ) + 1, pos.y)
  1176. surface.DrawText(v:GetUserGroup())
  1177. end
  1178. end
  1179. if shitcvarnum("shitty_esp_dot") != 0 then
  1180. if v != ply and v:Alive() then
  1181. local teamcol = team.GetColor(v:Team())
  1182. surface.SetDrawColor(teamcol.r,teamcol.g,teamcol.b, 255)
  1183. surface.DrawRect( pos.x - 4, pos.y, 9, 9 )
  1184. //draw.RoundedBox(1, pos.x - 5, pos.y - 5, 8, 8, Color(teamcol.r,teamcol.g,teamcol.b, 255), 1)
  1185. end
  1186. end
  1187. local pos = v:LocalToWorld(v:OBBCenter()):ToScreen()
  1188. if shitcvarnum("shitty_esp_bar") != 0 then
  1189. local clamphp = v:Health() / 2
  1190. local espDist = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
  1191. if CanSeeHead(v) then
  1192. if v != LocalPlayer() and espDist > 10 then
  1193. draw.RoundedBox(0, v:GetPos():ToScreen().x - 25, v:GetPos():ToScreen().y - 2, 52, 5, Color(255, 255, 255, 255), 1)
  1194. draw.RoundedBox(0, v:GetPos():ToScreen().x - 24, v:GetPos():ToScreen().y - 1, math.Clamp(clamphp, 0, 100), 3, Color(255, 0, 0, 255), 1)
  1195. elseif v != LocalPlayer() then
  1196. draw.RoundedBox(0, v:GetPos():ToScreen().x - 25, v:GetPos():ToScreen().y - 2, 52, 5, Color(255, 255, 255, 255), 1)
  1197. draw.RoundedBox(0, v:GetPos():ToScreen().x - 24, v:GetPos():ToScreen().y - 1, math.Clamp(clamphp, 0, 100), 3, Color(255, 0, 0, 255), 1)
  1198. end
  1199. end
  1200. end
  1201. end
  1202. end
  1203. end
  1204. cam.IgnoreZ(false)
  1205. end
  1206. hook.Add("HUDPaint", "shittyesp", shitesp)
  1207.  
  1208. cvars.AddChangeCallback("shitty_esp", function()
  1209. if GetConVarNumber("shitty_esp") == 1 then
  1210. hook.Add("HUDPaint", "shittyesp", shitesp)
  1211. elseif GetConVarNumber("shitty_esp") == 0 then
  1212. hook.Remove("shittyesp")
  1213. end
  1214. end)
  1215. -----------------------------------------------------------------------------------------------------------------
  1216.  
  1217. --------------------------------------------------------------------------------------
  1218. CreateClientConVar("shitty_rp_moneyspam", "0", false, false)
  1219. CreateClientConVar("shitty_rp_moneyspam_give", "0", false, false)
  1220. CreateClientConVar("shitty_rp_moneyspam_amount", "100000", true, false)
  1221. hook.Add("Think", "spammoney1", function()
  1222. if GetConVarNumber("shitty_rp_moneyspam") != 1 then return end
  1223. if (input.IsKeyDown(KEY_N)) then
  1224. RunConsoleCommand("say", "/dropmoney "..tostring(GetConVarNumber("shitty_rp_moneyspam_amount")))
  1225. end
  1226. end)
  1227.  
  1228. hook.Add("Think", "spammoney2", function()
  1229. if GetConVarNumber("shitty_rp_moneyspam_give") != 1 then return end
  1230. if (input.IsKeyDown(KEY_N)) then
  1231. RunConsoleCommand("say", "/give "..tostring(GetConVarNumber("shitty_rp_moneyspam_amount")))
  1232. end
  1233. end)
  1234. -------------------------------------------------------------------------------------
  1235. shitcvar("shitty_aimtracers", "0", true, false)
  1236. local function aimtracerz()
  1237. if shitcvarnum("shitty_aimtracers") != 1 then return end
  1238. cam.Start3D()
  1239. for c, u in pairs(player.GetAll()) do
  1240. if u != LocalPlayer() and u:Alive() then
  1241. render.SetMaterial( Material("trails/laser") )
  1242. render.DrawBeam( u:GetShootPos(), u:GetEyeTrace().HitPos, 20, 1, 1, Color( 255, 0, 0, 255 ))
  1243. end
  1244. end
  1245. cam.End3D()
  1246. end
  1247.  
  1248. cvars.AddChangeCallback("shitty_aimtracers", function()
  1249. if GetConVarNumber("shitty_aimtracers") == 1 then
  1250. hook.Add("HUDPaint", "aimtracers", aimtracerz)
  1251. elseif GetConVarNumber("shitty_aimtracers") == 0 then
  1252. hook.Remove("aimtracers")
  1253. end
  1254. end)
  1255. ------------------------------------------------
  1256. shitcvar("shitty_playertracers", "1", true, false)
  1257. shitcvar("shitty_playertracers_distance", "100", true, false)
  1258. local function playertracerzzz()
  1259. if shitcvarnum("shitty_playertracers") != 1 then return end
  1260. cam.Start3D()
  1261. for c, u in pairs(player.GetAll()) do
  1262.  
  1263. local traceDist = math.floor((LocalPlayer():GetPos():Distance( u:GetPos()))/40)
  1264.  
  1265. if u != LocalPlayer() and u:Alive() and u:Team() != TEAM_SPECTATOR then
  1266. if traceDist < GetConVarNumber("shitty_playertracers_distance") then
  1267. render.SetMaterial( Material("trails/laser") )
  1268. if not string.find(u:GetUserGroup(), "user") and not string.find(u:GetUserGroup(), "vip") and not string.find(u:GetUserGroup(), "VIP") and not string.find(u:GetUserGroup(), "donator") and not string.find(u:GetUserGroup(), "trusted") and not string.find(u:GetUserGroup(), "Trusted") then
  1269. render.DrawBeam( LocalPlayer():GetShootPos() + LocalPlayer():GetAimVector() * 200, u:LocalToWorld(u:OBBCenter()), 20, 1, 1, Color( 255, 0, 0, 255 ) )
  1270. else
  1271. render.DrawBeam( LocalPlayer():GetShootPos() + LocalPlayer():GetAimVector() * 150, u:LocalToWorld(u:OBBCenter()), 20, 1, 1, Color( 0, 255, 0, 255 ) )
  1272. end
  1273. end
  1274. end
  1275. end
  1276. cam.End3D()
  1277. end
  1278. hook.Add("HUDPaint", "playertrace", playertracerzzz)
  1279.  
  1280. cvars.AddChangeCallback("shitty_playertracers", function()
  1281. if GetConVarNumber("shitty_playertracers") == 1 then
  1282. hook.Add("HUDPaint", "playrtrace", playertracerzzz)
  1283. elseif GetConVarNumber("shitty_playertracers") == 0 then
  1284. hook.Remove("playrtrace")
  1285. end
  1286. end)
  1287. -----------------------------------------------
  1288.  
  1289. shitcvar("shitty_headtracers", "1", true, false)
  1290. shitcvar("shitty_foottracers", "0", true, false)
  1291. local function shittyheadtracers()
  1292. if GetConVarNumber("shitty_headtracers") != 1 then return end
  1293. cam.IgnoreZ(true)
  1294. for _, v in pairs ( player.GetAll() ) do
  1295. local slam = util.QuickTrace( v:GetShootPos(), Vector(0,0,10000), v )
  1296. render.SetMaterial( Material("trails/laser") )
  1297. if v != LocalPlayer() and v:Team() != TEAM_SPECTATOR then
  1298. if v:Alive() then
  1299. if slam.HitNonWorld then
  1300. render.DrawBeam( v:GetShootPos(), slam.HitPos, 50, 1, 12, Color(0, 255, 0))
  1301. else
  1302. render.DrawBeam( v:GetShootPos(), slam.HitPos, 50, 1, 12, Color(255,255,255))
  1303. end
  1304. end
  1305. end
  1306. end
  1307. cam.IgnoreZ(false)
  1308. end
  1309. hook.Add("PostDrawOpaqueRenderables", "headtracers", shittyheadtracers)
  1310.  
  1311. local function foottracers()
  1312. if GetConVarNumber("shitty_foottracers") != 1 then return end
  1313. cam.IgnoreZ(true)
  1314. for k,v in pairs ( player.GetAll() ) do
  1315. local slam = util.QuickTrace( v:GetPos() + Vector(0, 0, 25), Vector(0,0,-10000), v )
  1316. render.SetMaterial( Material("trails/laser") )
  1317. if v != LocalPlayer() and v:Team() != TEAM_SPECTATOR then
  1318. if v:Alive() then
  1319. if slam.HitNonWorld then
  1320. render.DrawBeam( v:GetPos() + Vector(0, 0, 25) + Vector(0, 0, 2), slam.HitPos, 50, 1, 12, Color(0, 255, 0))
  1321. else
  1322. render.DrawBeam( v:GetPos() + Vector(0, 0, 25), slam.HitPos, 50, 1, 12, Color(255, 255, 255))
  1323. end
  1324. end
  1325. end
  1326. end
  1327. cam.IgnoreZ(false)
  1328. end
  1329.  
  1330. cvars.AddChangeCallback("shitty_headtracers", function()
  1331. if GetConVarNumber("shitty_headtracers") == 1 then
  1332. hook.Add("PostDrawOpaqueRenderables", "headtracers", shittyheadtracers)
  1333. elseif GetConVarNumber("shitty_headtracers") == 0 then
  1334. hook.Remove("headtracers")
  1335. end
  1336. end)
  1337.  
  1338. cvars.AddChangeCallback("shitty_foottracers", function()
  1339. if GetConVarNumber("shitty_foottracers") == 1 then
  1340. hook.Add("PostDrawOpaqueRenderables", "foottracerz", foottracers)
  1341. elseif GetConVarNumber("shitty_foottracers") == 0 then
  1342. hook.Remove("foottracerz")
  1343. end
  1344. end)
  1345. -------------------------------------------------------------------------------------
  1346. CreateClientConVar("shitty_espbox", "1", true, false)
  1347. CreateClientConVar("shitty_espbox_color", "teamcolor", true, false)
  1348. hook.Add("PostDrawOpaqueRenderables", "boxesp", function()
  1349. if GetConVarNumber("shitty_espbox") != 1 then return end
  1350. for k, v in pairs(player.GetAll()) do
  1351. if v != LocalPlayer() && v:Alive() && v:Team() != TEAM_SPECTATOR then
  1352. local ply = v
  1353. local plyPos = ply:GetPos()
  1354. local plyAngles = ply:GetAngles()
  1355. local plyOBBMins = ply:OBBMins()
  1356. local plyOBBMaxs = ply:OBBMaxs()
  1357. if GetConVarString("shitty_espbox_color") == "teamcolor" then
  1358. render.DrawWireframeBox(plyPos, Angle(0,0,0), plyOBBMins, Vector(plyOBBMaxs.x, plyOBBMaxs.y, plyOBBMaxs.z), team.GetColor(v:Team()), false)
  1359. elseif GetConVarString("shitty_espbox_color") == "red" then
  1360. render.DrawWireframeBox(plyPos, Angle(0,0,0), plyOBBMins, Vector(plyOBBMaxs.x, plyOBBMaxs.y, plyOBBMaxs.z), Color(255, 0, 0), false)
  1361. elseif GetConVarString("shitty_espbox_color") == "blue" then
  1362. render.DrawWireframeBox(plyPos, Angle(0,0,0), plyOBBMins, Vector(plyOBBMaxs.x, plyOBBMaxs.y, plyOBBMaxs.z), Color(0, 0, 255), false)
  1363. elseif GetConVarString("shitty_espbox_color") == "green" then
  1364. render.DrawWireframeBox(plyPos, Angle(0,0,0), plyOBBMins, Vector(plyOBBMaxs.x, plyOBBMaxs.y, plyOBBMaxs.z), Color(0, 255, 0), false)
  1365. end
  1366. end
  1367. end
  1368. end)
  1369.  
  1370. -------------------------------------------------------------------------------------
  1371. CreateClientConVar("shitty_flashlightspam", "0", false, false)
  1372. CreateClientConVar("shitty_flashlightspam_toggle", "0", true, false)
  1373. local ftoggle
  1374. hook.Add("Think", "ftogglespam", function()
  1375. if GetConVarNumber("shitty_flashlightspam_toggle") == 1 then
  1376. ftoggle = 1
  1377. else
  1378. ftoggle = 0
  1379. end
  1380. end)
  1381.  
  1382. hook.Add("Think", "flashligtspamc", function()
  1383. if GetConVarNumber("shitty_flashlightspam") != 1 then
  1384. hook.Remove("Think", "flashligtspam")
  1385. else
  1386. hook.Add("Think", "flashligtspam", function()
  1387. if LocalPlayer():IsTyping() then return end
  1388. if ftoggle == 0 then
  1389. if input.IsKeyDown(KEY_E) then
  1390. RunConsoleCommand("impulse", "100")
  1391. end
  1392. else
  1393. RunConsoleCommand("impulse", "100")
  1394. end
  1395.  
  1396. if GetConVarNumber("shitty_flashlightspam") != 1 then
  1397. if LocalPlayer():FlashlightIsOn() then
  1398. RunConsoleCommand("impulse", "100")
  1399. end
  1400. end
  1401. end)
  1402. end
  1403. end)
  1404. -------------------------------------------------------------------------------------
  1405. CreateClientConVar("shitty_follow_toggle", "0", false, false)
  1406. CreateClientConVar("shitty_follow", "name", false, false)
  1407. CreateClientConVar("shitty_follow_spam", "name", false, false)
  1408.  
  1409. local friendmsg =
  1410. {
  1411. "Will you be my friend?",
  1412. "I really need a friend.",
  1413. "I'll suck yo dick maaaan",
  1414. "C'mon bro let's go to your place yeah?",
  1415. "You can pet my cat if you feel like it",
  1416. "I will make nice food for us dude",
  1417. "How about a Harry Potter marathon?",
  1418. "Do you like Anime?",
  1419. "We could play cardgames?",
  1420. "I love MLP",
  1421. "We could watch friends together? As friends?",
  1422. }
  1423.  
  1424. hook.Add("Think", "followpeeps", function()
  1425. if GetConVarNumber("shitty_follow_toggle") != 1 then return end
  1426. for _, v in pairs(player.GetAll()) do
  1427. if v:Nick() == GetConVarString("shitty_follow") then
  1428. local targetheadpos,targetheadang = v:LocalToWorld(v:OBBCenter())
  1429. LocalPlayer():SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle())
  1430. if GetConVarNumber("shitty_follow_spam") != 0 then
  1431. RunConsoleCommand("say", table.Random(friendmsg).." ")
  1432. end
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. cvars.AddChangeCallback("shitty_follow_toggle", function()
  1438. if GetConVarNumber("shitty_follow_toggle") == 1 then
  1439. RunConsoleCommand("+forward")
  1440. RunConsoleCommand("+speed")
  1441. elseif GetConVarNumber("shitty_follow_toggle") == 0 then
  1442. RunConsoleCommand("-forward")
  1443. RunConsoleCommand("-speed")
  1444. end
  1445. end)
  1446. -------------------------------------------------------------------------------------
  1447. CreateClientConVar("shitty_AntiAFK", "0", false, false)
  1448.  
  1449. local function randomMovement() -- inspired bt 3kliksphilip lmao
  1450. RunConsoleCommand("-right")
  1451. RunConsoleCommand("-left")
  1452. RunConsoleCommand("-forward")
  1453. RunConsoleCommand("-duck")
  1454.  
  1455. local movement = {
  1456. "+right",
  1457. "+left",
  1458. "+forward",
  1459. "+jump",
  1460. "+duck",
  1461. }
  1462.  
  1463. local chosenMove = table.Random( movement )
  1464.  
  1465. RunConsoleCommand(chosenMove)
  1466.  
  1467. end
  1468.  
  1469. cvars.AddChangeCallback("shitty_AntiAFK", function()
  1470. if GetConVarNumber("shitty_AntiAFK") == 1 then
  1471. timer.Create("movementTimer", .5, 0, randomMovement)
  1472. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Anti AFK is ON." )
  1473. chat.AddText( Color( 255, 0, 0 ), "[Shitty tip] ", Color( 0, 255, 255 ), "This is best in a small room or inside a building." )
  1474. else
  1475. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Anti AFK is OFF." )
  1476. timer.Remove("movementTimer")
  1477. RunConsoleCommand("-right")
  1478. RunConsoleCommand("-left")
  1479. RunConsoleCommand("-forward")
  1480. RunConsoleCommand("-duck")
  1481. RunConsoleCommand("-jump")
  1482. end
  1483. end)
  1484. -------------------------------------------------------------------------------------
  1485. -- THIS IS NOT MINE. FOUND ON MPGH (ALL CREDIT GOES TO ETH0S AND THE ORIGINAL POSTER)
  1486. -- Post: http://www.mpgh.net/forum/showthread.php?t=1050686
  1487. -- This was just too awesome to not include it in my script.
  1488.  
  1489. concommand.Add("shitty_rp_weaponDupe", function()
  1490.  
  1491. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Attempting to dupe weapons." )
  1492.  
  1493. timer.Simple( 0.4744, function()
  1494. RunConsoleCommand("say", "/drop")
  1495. end)
  1496.  
  1497. timer.Simple( 1.4135, function()
  1498. RunConsoleCommand("say", "/sleep")
  1499. end)
  1500.  
  1501. timer.Simple( 7, function()
  1502. RunConsoleCommand("say", "/sleep")
  1503. end)
  1504.  
  1505. end)
  1506.  
  1507. -------------------------------------------------------------------------------------
  1508. CreateClientConVar("shitty_chatspam_custom", "0", false, false)
  1509. CreateClientConVar("shitty_chatspam_custom_msg", "Text to spam", true, false)
  1510.  
  1511. local function chatspamsimpleshit()
  1512. local cspam = {}
  1513. if GetConVarNumber("shitty_chatspam_custom") != 1 then return end
  1514. LocalPlayer():ConCommand("say "..GetConVarString("shitty_chatspam_custom_msg").." " )
  1515. end
  1516. timer.Create("chatspamtimercustom", .5, 0, chatspamsimpleshit)
  1517. -------------------------------------------------------------------------------------
  1518.  
  1519. function haxmenu()
  1520. surface.PlaySound("buttons/button9.wav")
  1521.  
  1522. local f = vgui.Create( "DFrame" )
  1523. f:SetPos( ScrW() * .33, ScrH() * .3 )
  1524. f:SetSize( 660, 500 )
  1525. f:SetTitle( "Shittyscripts menu" )
  1526. f:SetVisible( true )
  1527. f:SetDraggable( true )
  1528. f:ShowCloseButton( true )
  1529. f:MakePopup()
  1530. function f:Paint( w, h )
  1531. draw.RoundedBox( 0, 0, 0, w, h, Color( 0, 150, 255, 255 ) )
  1532. end
  1533.  
  1534. local bg = vgui.Create( "DPropertySheet", f )
  1535. bg:SetPos( 0, 30 )
  1536. bg:SetSize( 900, 900 )
  1537. function bg:Paint( w, h )
  1538. draw.RoundedBox(0, 0, 0, w, h, Color( 50, 50, 50, 255 ))
  1539. end
  1540.  
  1541. local vis = vgui.Create( "DButton", f )
  1542. vis:SetSize(200, 100)
  1543. vis:SetPos(10, 40)
  1544. vis:SetText("Visuals")
  1545. vis:SetFont("DermaLarge")
  1546. function vis:Paint( w, h )
  1547. draw.RoundedBox(0, 0, 0, w, h, Color( 0, 150, 255, 255 ))
  1548. end
  1549. vis.DoClick = function()
  1550. local bg = vgui.Create( "DPropertySheet", f )
  1551. bg:SetPos( 10, 150 )
  1552. bg:SetSize(640, 340 )
  1553. function bg:Paint( w, h )
  1554. draw.RoundedBox(0, 0, 0, w, h, Color( 150, 150, 150, 255 ))
  1555. end
  1556.  
  1557. local ebg = vgui.Create( "DPropertySheet", f )
  1558. ebg:SetPos( 20, 160 )
  1559. ebg:SetSize(200, 130 )
  1560. function ebg:Paint( w, h )
  1561. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1562. end
  1563. local et = vgui.Create( "DLabel", ebg )
  1564. et:SetPos( 170, 5 )
  1565. et:SetText( "ESP" )
  1566. et:SetFont("Default")
  1567.  
  1568. local ebg2 = vgui.Create( "DPropertySheet", f )
  1569. ebg2:SetPos( 20, 300 )
  1570. ebg2:SetSize(200, 180 )
  1571. function ebg2:Paint( w, h )
  1572. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1573. end
  1574.  
  1575. local ebg3 = vgui.Create( "DPropertySheet", f )
  1576. ebg3:SetPos( 230, 160 )
  1577. ebg3:SetSize(200, 130 )
  1578. function ebg3:Paint( w, h )
  1579. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1580. end
  1581.  
  1582. local ebg4 = vgui.Create( "DPropertySheet", f )
  1583. ebg4:SetPos( 230, 300 )
  1584. ebg4:SetSize(200, 180 )
  1585. function ebg4:Paint( w, h )
  1586. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1587. end
  1588.  
  1589. local ebg5 = vgui.Create( "DPropertySheet", f )
  1590. ebg5:SetPos( 440, 300 )
  1591. ebg5:SetSize(200, 180 )
  1592. function ebg5:Paint( w, h )
  1593. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1594. end
  1595.  
  1596. local ebg6 = vgui.Create( "DPropertySheet", f )
  1597. ebg6:SetPos( 440, 160 )
  1598. ebg6:SetSize(200, 130 )
  1599. function ebg6:Paint( w, h )
  1600. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1601. end
  1602.  
  1603. local et2 = vgui.Create( "DLabel", ebg2 )
  1604. et2:SetPos( 150, 5 )
  1605. et2:SetText( "Tracers" )
  1606. et2:SetFont("Default")
  1607. et2:SizeToContents()
  1608.  
  1609. local et3 = vgui.Create( "DLabel", ebg3 )
  1610. et3:SetPos( 130, 5 )
  1611. et3:SetText( "Helpful shit" )
  1612. et3:SetFont("Default")
  1613. et3:SizeToContents()
  1614.  
  1615. local et4 = vgui.Create( "DLabel", ebg4 )
  1616. et4:SetPos( 130, 5 )
  1617. et4:SetText( "Helpful shit" )
  1618. et4:SetFont("Default")
  1619. et4:SizeToContents()
  1620.  
  1621. local et5 = vgui.Create( "DLabel", ebg6 )
  1622. et5:SetPos( 130, 5 )
  1623. et5:SetText( " Physgun" )
  1624. et5:SetFont("Default")
  1625. et5:SizeToContents()
  1626.  
  1627. local esp1 = vgui.Create("DCheckBoxLabel", f)
  1628. esp1:SetPos(40, 170)
  1629. esp1:SetText("ESP")
  1630. esp1:SetConVar( "shitty_esp" )
  1631. ---------
  1632. local esp2 = vgui.Create("DCheckBoxLabel", f)
  1633. esp2:SetPos(40, 190)
  1634. esp2:SetText("ESP dot")
  1635. esp2:SetConVar( "shitty_esp_dot" )
  1636. ---------
  1637. local esp3 = vgui.Create("DCheckBoxLabel", f)
  1638. esp3:SetPos(40, 210)
  1639. esp3:SetText("ESP HP bar")
  1640. esp3:SizeToContents()
  1641. esp3:SetConVar( "shitty_esp_bar" )
  1642. ---------
  1643. local esp4 = vgui.Create("DCheckBoxLabel", f)
  1644. esp4:SetPos(40, 230)
  1645. esp4:SetText("ESP Box (3D)")
  1646. esp4:SizeToContents()
  1647. esp4:SetConVar( "shitty_espbox" )
  1648. ---------
  1649. local c = vgui.Create( "DComboBox", f )
  1650. c:SetPos( 40, 260 )
  1651. c:SetSize( 100, 20 )
  1652. c:SetValue( "ESP Box Color" )
  1653. c:AddChoice( "teamcolor" )
  1654. c:AddChoice( "red" )
  1655. c:AddChoice( "green" )
  1656. c:AddChoice( "blue" )
  1657. c.OnSelect = function( panel, index, value )
  1658. RunConsoleCommand("shitty_espbox_color", value)
  1659. end
  1660.  
  1661. /*local xrayon = vgui.Create("DCheckBoxLabel", ebg2)
  1662. xrayon:SetPos(20, 10)
  1663. xrayon:SetText("X-Ray")
  1664. xrayon:SizeToContents()
  1665. xrayon:SetConVar( "shitty_xray" )*/
  1666.  
  1667. local slamt = vgui.Create("DCheckBoxLabel", ebg2)
  1668. slamt:SetPos(20, 10)
  1669. slamt:SetText("Slam Tracers")
  1670. slamt:SizeToContents()
  1671. slamt:SetConVar( "shitty_headtracers" )
  1672.  
  1673. local slamt2 = vgui.Create("DCheckBoxLabel", ebg2)
  1674. slamt2:SetPos(20, 30)
  1675. slamt2:SetText("Landing Tracers")
  1676. slamt2:SizeToContents()
  1677. slamt2:SetConVar( "shitty_foottracers" )
  1678.  
  1679. local at = vgui.Create("DCheckBoxLabel", ebg2)
  1680. at:SetPos(20, 50)
  1681. at:SetText("Aim lines")
  1682. at:SizeToContents()
  1683. at:SetConVar( "shitty_aimtracers" )
  1684.  
  1685. local pt = vgui.Create("DCheckBoxLabel", ebg2)
  1686. pt:SetPos(20, 70)
  1687. pt:SetText("Player Tracers")
  1688. pt:SizeToContents()
  1689. pt:SetConVar( "shitty_playertracers" )
  1690.  
  1691. local aa = vgui.Create("DCheckBoxLabel", ebg2)
  1692. aa:SetPos(20, 90)
  1693. aa:SetText("Admin Alert")
  1694. aa:SizeToContents()
  1695. aa:SetConVar( "shitty_AdminAlert" )
  1696.  
  1697. local ss = vgui.Create("DCheckBoxLabel", ebg3)
  1698. ss:SetPos(10, 100)
  1699. ss:SetText("Show Speed")
  1700. ss:SizeToContents()
  1701. ss:SetConVar( "shitty_showspeed" )
  1702.  
  1703. local fv = vgui.Create( "DNumSlider", ebg3 )
  1704. fv:SetPos( -120, 20 )
  1705. fv:SetWide( 300 )
  1706. fv:SetMin( 60 )
  1707. fv:SetMax( 130 )
  1708. fv:SetDecimals( 0 )
  1709. fv:SetConVar( "shitty_fov" )
  1710. local fvt = vgui.Create( "DLabel", ebg3 )
  1711. fvt:SetText("FOV")
  1712. fvt:SetFont("Default")
  1713. fvt:SetPos(10, 10)
  1714.  
  1715. local tp = vgui.Create("DCheckBoxLabel", ebg3)
  1716. tp:SetPos(10, 60)
  1717. tp:SetText("Third Person")
  1718. tp:SizeToContents()
  1719. tp:SetConVar( "shitty_thirdperson" )
  1720.  
  1721. local ch = vgui.Create("DCheckBoxLabel", ebg3)
  1722. ch:SetPos(10, 80)
  1723. ch:SetText("Crosshair")
  1724. ch:SizeToContents()
  1725. ch:SetConVar( "shitty_crosshair" )
  1726.  
  1727.  
  1728. local ab = vgui.Create("DCheckBoxLabel", ebg4)
  1729. ab:SetPos(10, 20)
  1730. ab:SetText("Admin box")
  1731. ab:SizeToContents()
  1732. ab:SetConVar( "shitty_adminbox" )
  1733.  
  1734. local sb = vgui.Create("DCheckBoxLabel", ebg4)
  1735. sb:SetPos(10, 45)
  1736. sb:SetText("Spectator box")
  1737. sb:SizeToContents()
  1738. sb:SetConVar( "shitty_spectaterbox" )
  1739.  
  1740. local sla = vgui.Create("DCheckBoxLabel", ebg4)
  1741. sla:SetPos(10, 70)
  1742. sla:SetText("Show looking at details")
  1743. sla:SizeToContents()
  1744. sla:SetConVar( "shitty_showaimthing" )
  1745.  
  1746. local pla = vgui.Create("DButton", ebg4)
  1747. pla:SetSize(180, 70)
  1748. pla:SetPos(10, 95)
  1749. pla:SetText("Print looking at")
  1750. pla.DoClick = function()
  1751. RunConsoleCommand("shitty_printlookingat")
  1752. end
  1753. function pla:Paint( w, h )
  1754. draw.RoundedBox(0, 0, 0, w, h, Color( 255, 255, 255, 255 ))
  1755. end
  1756.  
  1757. local ng = vgui.Create("DCheckBoxLabel", ebg6)
  1758. ng:SetPos(10, 20)
  1759. ng:SetText("No Gun")
  1760. ng:SizeToContents()
  1761. ng:SetConVar( "shitty_pk_nogun" )
  1762.  
  1763. local rb = vgui.Create("DCheckBoxLabel", ebg6)
  1764. rb:SetPos(10, 50)
  1765. rb:SetText("Rainbow Physgun")
  1766. rb:SizeToContents()
  1767. rb:SetConVar( "shitty_rainbow" )
  1768.  
  1769. local pcb = vgui.Create("DCheckBoxLabel", ebg6)
  1770. pcb:SetPos(10, 80)
  1771. pcb:SetText("Force physgun colors")
  1772. pcb:SizeToContents()
  1773. pcb:SetConVar( "shitty_pk_colorbeams" )
  1774.  
  1775. local aad = vgui.Create( "DNumSlider", ebg2 )
  1776. aad:SetPos( -120, 150 )
  1777. aad:SetWide( 300 )
  1778. aad:SetMin( 1 )
  1779. aad:SetMax( 1000 )
  1780. aad:SetDecimals( 0 )
  1781. aad:SetConVar( "shitty_AdminAlert_distance" )
  1782. local aadt = vgui.Create( "DLabel", ebg2 )
  1783. aadt:SetText("Admin Alert Distance")
  1784. aadt:SizeToContents()
  1785. aadt:SetPos(25, 145)
  1786.  
  1787. local ptd = vgui.Create( "DNumSlider", ebg2 )
  1788. ptd:SetPos( -120, 115 )
  1789. ptd:SetWide( 300 )
  1790. ptd:SetMin( 1 )
  1791. ptd:SetMax( 1000 )
  1792. ptd:SetDecimals( 0 )
  1793. ptd:SetConVar( "shitty_playertracers_distance" )
  1794. local aadt = vgui.Create( "DLabel", ebg2 )
  1795. aadt:SetText("Player tracer distance")
  1796. aadt:SizeToContents()
  1797. aadt:SetPos(25, 110)
  1798.  
  1799.  
  1800. local eesp = vgui.Create("DCheckBoxLabel", ebg5)
  1801. eesp:SetPos(10, 20)
  1802. eesp:SetText("Entity ESP (DarkRP)")
  1803. eesp:SizeToContents()
  1804. eesp:SetConVar( "shitty_entityESP" )
  1805.  
  1806.  
  1807.  
  1808. local eespb = vgui.Create("DCheckBoxLabel", ebg5)
  1809. eespb:SetPos(10, 50)
  1810. eespb:SetText("Entity ESP Box")
  1811. eespb:SizeToContents()
  1812. eespb:SetConVar( "shitty_entityESP_box" )
  1813.  
  1814. local et6 = vgui.Create( "DLabel", ebg5 )
  1815. et6:SetPos( 135, 5 )
  1816. et6:SetText( "Entity ESP" )
  1817. et6:SetFont("Default")
  1818. et6:SizeToContents()
  1819.  
  1820. local et7 = vgui.Create( "DLabel", ebg5 )
  1821. et7:SetPos( 145, 100 )
  1822. et7:SetText( "Chams" )
  1823. et7:SetFont("Default")
  1824. et7:SizeToContents()
  1825.  
  1826. local cs = vgui.Create("DCheckBoxLabel", ebg5)
  1827. cs:SetPos(10, 125)
  1828. cs:SetText("Player chams")
  1829. cs:SizeToContents()
  1830. cs:SetConVar( "shitty_chams" )
  1831.  
  1832. local xra2 = vgui.Create("DCheckBoxLabel", ebg5)
  1833. xra2:SetPos(10, 155)
  1834. xra2:SetText("X-ray")
  1835. xra2:SizeToContents()
  1836. xra2:SetConVar( "shitty_xray" )
  1837. end
  1838.  
  1839.  
  1840. local utils = vgui.Create( "DButton", f )
  1841. utils:SetSize(200, 100)
  1842. utils:SetPos(230, 40)
  1843. utils:SetText("Minge")
  1844. utils:SetFont("DermaLarge")
  1845. function utils:Paint( w, h )
  1846. draw.RoundedBox(0, 0, 0, w, h, Color( 0, 150, 255, 255 ))
  1847. end
  1848. utils.DoClick = function()
  1849.  
  1850. local bg2 = vgui.Create( "DPropertySheet", f )
  1851. bg2:SetPos( 10, 150 )
  1852. bg2:SetSize(640, 340 )
  1853. function bg2:Paint( w, h )
  1854. draw.RoundedBox(0, 0, 0, w, h, Color( 150, 150, 150, 255 ))
  1855. end
  1856.  
  1857. local w1 = vgui.Create( "DPropertySheet", f )
  1858. w1:SetPos( 20, 160 )
  1859. w1:SetSize(620, 155 )
  1860. function w1:Paint( w, h )
  1861. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1862. end
  1863.  
  1864. local w2 = vgui.Create( "DPropertySheet", f )
  1865. w2:SetPos( 20, 325 )
  1866. w2:SetSize(620, 155 )
  1867. function w2:Paint( w, h )
  1868. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  1869. end
  1870.  
  1871. local w1t = vgui.Create( "DLabel", w1 )
  1872. w1t:SetPos( 550, 5 )
  1873. w1t:SetText( "Spamming" )
  1874. w1t:SetFont("Default")
  1875.  
  1876. local fs = vgui.Create("DCheckBoxLabel", w1)
  1877. fs:SetPos(20, 20)
  1878. fs:SetText("Flashlight spam (Use e)")
  1879. fs:SizeToContents()
  1880. fs:SetConVar( "shitty_flashlightspam" )
  1881.  
  1882. local fst = vgui.Create("DCheckBoxLabel", w1)
  1883. fst:SetPos(20, 50)
  1884. fst:SetText("Flashlight spam (toggle)")
  1885. fst:SizeToContents()
  1886. fst:SetConVar( "shitty_flashlightspam_toggle" )
  1887.  
  1888. local pss = vgui.Create("DCheckBoxLabel", w1)
  1889. pss:SetPos(20, 90)
  1890. pss:SetText("Psay spam (Use e)")
  1891. pss:SizeToContents()
  1892. pss:SetConVar( "shitty_psayspam" )
  1893.  
  1894. local cs1 = vgui.Create("DCheckBoxLabel", w1)
  1895. cs1:SetPos(20, 120)
  1896. cs1:SetText("Chat spam")
  1897. cs1:SizeToContents()
  1898. cs1:SetConVar( "shitty_chatspam_simple" )
  1899.  
  1900. local rms = vgui.Create("DCheckBoxLabel", w1)
  1901. rms:SetPos(180, 20)
  1902. rms:SetText("RP Money spam (Use n)")
  1903. rms:SizeToContents()
  1904. rms:SetConVar( "shitty_rp_moneyspam" )
  1905.  
  1906. local rmsa = vgui.Create( "DNumSlider", w1 )
  1907. rmsa:SetPos( 45, 50 )
  1908. rmsa:SetWide( 300 )
  1909. rmsa:SetMin( 1 )
  1910. rmsa:SetMax( 10000000 )
  1911. rmsa:SetDecimals( 0 )
  1912. rmsa:SetConVar( "shitty_rp_moneyspam_amount" )
  1913. local rmsat = vgui.Create( "DLabel", w1 )
  1914. rmsat:SetText("Money Spam Amount")
  1915. rmsat:SizeToContents()
  1916. rmsat:SetPos(180, 45)
  1917.  
  1918. local rmsg = vgui.Create("DCheckBoxLabel", w1)
  1919. rmsg:SetPos(180, 90)
  1920. rmsg:SetText("RP 'give' Money spam (Use n)")
  1921. rmsg:SizeToContents()
  1922. rmsg:SetConVar( "shitty_rp_moneyspam_give" )
  1923.  
  1924. local pla = vgui.Create("DButton", w1)
  1925. pla:SetSize(150, 40)
  1926. pla:SetPos(180, 110)
  1927. pla:SetText("RP Namesteal")
  1928. pla.DoClick = function()
  1929. RunConsoleCommand("shitty_namesteal")
  1930. end
  1931.  
  1932. local sfp = vgui.Create("DCheckBoxLabel", w1)
  1933. sfp:SetPos(360, 20)
  1934. sfp:SetText("Follow person")
  1935. sfp:SizeToContents()
  1936. sfp:SetConVar( "shitty_follow_toggle" )
  1937.  
  1938. local sfps = vgui.Create("DCheckBoxLabel", w1)
  1939. sfps:SetPos(360, 45)
  1940. sfps:SetText("Spam chat while following?")
  1941. sfps:SizeToContents()
  1942. sfps:SetConVar( "shitty_follow_spam" )
  1943.  
  1944. local choose = vgui.Create( "DComboBox", w1 )
  1945. choose:SetPos( 360, 70 )
  1946. choose:SetSize( 150, 20 )
  1947. choose:SetValue( "Follow person" )
  1948. for _, v in pairs(player.GetAll()) do
  1949. choose:AddChoice(v:Nick())
  1950. end
  1951. choose.OnSelect = function( panel, index, value )
  1952. chat.AddText( Color(255, 0, 0), "[Shitty scripts] ", Color(0, 255, 0), value, Color(255, 255, 255), " is chosen!" )
  1953. RunConsoleCommand("shitty_follow", value)
  1954. end
  1955.  
  1956. local scc = vgui.Create("DCheckBoxLabel", w1)
  1957. scc:SetPos(360, 100)
  1958. scc:SetText("Custom chatspam")
  1959. scc:SizeToContents()
  1960. scc:SetConVar( "shitty_chatspam_custom" )
  1961.  
  1962. local TextEntry = vgui.Create( "DTextEntry", w1 )
  1963. TextEntry:SetPos( 360, 120 )
  1964. TextEntry:SetSize( 200, 30 )
  1965. TextEntry:SetText( GetConVarString("shitty_chatspam_custom_msg") )
  1966. TextEntry.OnEnter = function( self )
  1967. RunConsoleCommand("shitty_chatspam_custom_msg", self:GetValue().." ")
  1968. end
  1969.  
  1970. local wde = vgui.Create("DButton", w2)
  1971. wde:SetSize(150, 40)
  1972. wde:SetPos(20, 20)
  1973. wde:SetText("RP Weapoon dupe")
  1974. wde.DoClick = function()
  1975. RunConsoleCommand("shitty_rp_weaponDupe")
  1976. end
  1977.  
  1978. local nhy = vgui.Create( "DLabel", w2 )
  1979. nhy:SetPos( 180, 15 )
  1980. nhy:SetSize( 1800 , 50 )
  1981. nhy:SetFont("Default")
  1982. nhy:SetColor(Color(255, 255, 255, 255))
  1983. nhy:SetText( "Dupes the weapon in \nyour hand (uses /sleep)" )
  1984.  
  1985. local w2t = vgui.Create( "DLabel", w2 )
  1986. w2t:SetPos( 515, 5 )
  1987. w2t:SetText( "Exploits +" )
  1988. w2t:SetFont("Default")
  1989. local w2tt = vgui.Create( "DLabel", w2 ) -- retarded as fuck but i'm too tired to do this in a more correct way
  1990. w2tt:SetPos( 570, 5 )
  1991. w2tt:SetText( "tricks" )
  1992. w2tt:SetFont("Default")
  1993.  
  1994. /*local nhy = vgui.Create( "DLabel", w2 )
  1995. nhy:SetPos( 200, 50 )
  1996. nhy:SetSize( 1800 , 50 )
  1997. nhy:SetFont("DermaLarge")
  1998. nhy:SetColor(Color(0, 0, 0, 255))
  1999. nhy:SetText( "Nothing here yet :)" )*/
  2000.  
  2001. end
  2002.  
  2003.  
  2004. local help = vgui.Create( "DButton", f )
  2005. help:SetSize(200, 100)
  2006. help:SetPos(450, 40)
  2007. help:SetText("Other")
  2008. help:SetFont("DermaLarge")
  2009. function help:Paint( w, h )
  2010. draw.RoundedBox(0, 0, 0, w, h, Color( 0, 150, 255, 255 ))
  2011. end
  2012. help.DoClick = function()
  2013.  
  2014. local bg3 = vgui.Create( "DPropertySheet", f )
  2015. bg3:SetPos( 10, 150 )
  2016. bg3:SetSize(640, 340 )
  2017. function bg3:Paint( w, h )
  2018. draw.RoundedBox(0, 0, 0, w, h, Color( 150, 150, 150, 255 ))
  2019. end
  2020.  
  2021. local w3 = vgui.Create( "DPropertySheet", f )
  2022. w3:SetPos( 20, 160 )
  2023. w3:SetSize(620, 155 )
  2024. function w3:Paint( w, h )
  2025. draw.RoundedBox(0, 0, 0, w, h, Color( 100, 100, 100, 255 ))
  2026. end
  2027.  
  2028. local sat = vgui.Create("DCheckBoxLabel", w3)
  2029. sat:SetPos(20, 20)
  2030. sat:SetText("Aimbot")
  2031. sat:SizeToContents()
  2032. sat:SetConVar( "shitty_aimbot" )
  2033.  
  2034. local sat2 = vgui.Create("DCheckBoxLabel", w3)
  2035. sat2:SetPos(20, 50)
  2036. sat2:SetText("Aimbot ignore friends")
  2037. sat2:SizeToContents()
  2038. sat2:SetConVar( "shitty_aimbot_ignore_friends" )
  2039.  
  2040. local sat3 = vgui.Create("DCheckBoxLabel", w3)
  2041. sat3:SetPos(20, 80)
  2042. sat3:SetText("Aimbot ignore team")
  2043. sat3:SizeToContents()
  2044. sat3:SetConVar( "shitty_aimbot_ignore_team" )
  2045.  
  2046. local sbh = vgui.Create("DCheckBoxLabel", w3)
  2047. sbh:SetPos(200, 50)
  2048. sbh:SetText("Auto BHOP")
  2049. sbh:SizeToContents()
  2050. sbh:SetConVar( "shitty_bhop" )
  2051.  
  2052. local aafk = vgui.Create("DCheckBoxLabel", w3)
  2053. aafk:SetPos(200, 20)
  2054. aafk:SetText("Anti AFK")
  2055. aafk:SizeToContents()
  2056. aafk:SetConVar( "shitty_AntiAFK" )
  2057.  
  2058. /*local binder = vgui.Create( "DBinder", w3 )
  2059. binder:SetSize( 200, 80 )
  2060. binder:SetPos( 25, 35 )
  2061.  
  2062. function binder:SetSelectedNumber( num )
  2063. self.m_iSelectedNumber = num
  2064. chat.AddText( "New bound key: "..input.GetKeyName( num ) )
  2065. end*/
  2066.  
  2067. local amethod = vgui.Create( "DComboBox", w3 )
  2068. amethod:SetPos(20, 110)
  2069. amethod:SetSize( 150, 20 )
  2070. amethod:SetValue( "Aimbot Method" )
  2071. amethod:AddChoice("Closest Player")
  2072. amethod:AddChoice("Random")
  2073. amethod:AddChoice("Aimpoint / legit")
  2074. amethod.OnSelect = function( panel, index, value )
  2075. chat.AddText( Color(255, 0, 0), "[Shitty scripts] ", Color(0, 255, 0), value, Color(255, 255, 255), " is now selected." )
  2076. if value == "Closest Player" then
  2077. shitAim.TargetMethod["closest"] = true
  2078. shitAim.TargetMethod["rage"] = false
  2079. shitAim.TargetMethod["aimpoint"] = false
  2080. elseif value == "Random" then
  2081. shitAim.TargetMethod["closest"] = false
  2082. shitAim.TargetMethod["rage"] = true
  2083. shitAim.TargetMethod["aimpoint"] = false
  2084. else
  2085. shitAim.TargetMethod["closest"] = false
  2086. shitAim.TargetMethod["rage"] = false
  2087. shitAim.TargetMethod["aimpoint"] = true
  2088. end
  2089. end
  2090.  
  2091. end
  2092. end
  2093. concommand.Add("shitty_menu", haxmenu)
  2094. -------------------------------------------------------------------------------------
  2095. local function changelog()
  2096. local log = vgui.Create( "DFrame" )
  2097. log:SetPos( ScrW() * .3, ScrH() * .3 )
  2098. log:SetSize( 800, 700 )
  2099. log:SetTitle( "Changelog and info" )
  2100. log:SetVisible( true )
  2101. log:SetDraggable( true )
  2102. log:ShowCloseButton( true )
  2103. log:MakePopup()
  2104. function log:Paint( w, h )
  2105. draw.RoundedBox( 0, 0, 0, w, h, Color( 0, 150, 255, 255 ) )
  2106. end
  2107. local Sheet = vgui.Create( "DPropertySheet" )
  2108. Sheet:SetPos( 10, 30 )
  2109. Sheet:SetSize( 780, 460 )
  2110. Sheet:SetParent(log)
  2111. function Sheet:Paint( w, h )
  2112. draw.RoundedBox( 0, 0, 0, w, h, Color( 100, 100, 100, 255 ) )
  2113. end
  2114.  
  2115. local Sheet3 = vgui.Create( "DPropertySheet" )
  2116. Sheet3:SetPos( 10, 500 )
  2117. Sheet3:SetSize( 780, 190 )
  2118. Sheet3:SetParent(log)
  2119. function Sheet3:Paint( w, h )
  2120. draw.RoundedBox( 0, 0, 0, w, h, Color( 100, 100, 100, 255 ) )
  2121. end
  2122.  
  2123. local Sheet2 = vgui.Create( "DPropertySheet" )
  2124. Sheet2:SetPos( 225, 40 )
  2125. Sheet2:SetSize( 350, 50 )
  2126. Sheet2:SetParent(log)
  2127.  
  2128. local title = vgui.Create( "DLabel" )
  2129. title:SetPos( 240, 40 )
  2130. title:SetSize( 1800 , 50 )
  2131. title:SetFont("DermaLarge")
  2132. title:SetColor(Color(255, 0, 0, 255))
  2133. title:SetText( "Shitty Scripts version "..versionnum.."!" )
  2134. title:SetParent( log )
  2135.  
  2136. local like = vgui.Create( "DLabel", Sheet3 )
  2137. like:SetPos( 60, 10 )
  2138. like:SetSize( 1800 , 50 )
  2139. like:SetFont("DermaLarge")
  2140. like:SetColor(Color(0, 0, 0, 255))
  2141. like:SetText( "Enjoying the scripts and want me to keep developing?" )
  2142.  
  2143. local like2 = vgui.Create( "DLabel", Sheet3 )
  2144. like2:SetPos( 240, 60 )
  2145. like2:SetSize( 1800 , 50 )
  2146. like2:SetFont("DermaLarge")
  2147. like2:SetColor(Color(0, 0, 0, 255))
  2148. like2:SetText( "Then feel free to donate!" )
  2149.  
  2150. local like3 = vgui.Create( "DButton", Sheet3 )
  2151. like3:SetPos( 280, 120 )
  2152. like3:SetSize( 200 , 50 )
  2153. like3:SetText("Donate!")
  2154. like3.DoClick = function()
  2155. gui.OpenURL("https://www.google.com/")
  2156. end
  2157. function like3:Paint( w, h )
  2158. draw.RoundedBox( 0, 0, 0, w, h, Color( 255, 255, 255, 255 ) )
  2159. end
  2160.  
  2161.  
  2162. local news = vgui.Create("DListView")
  2163. news:SetParent(log)
  2164. news:SetPos(50, 100)
  2165. news:SetSize(700, 350)
  2166. news:SetMultiSelect(false)
  2167. news:AddColumn("News")
  2168. news:AddLine("--- Version 0.6 ---")
  2169. news:AddLine("Thirdperson added")
  2170. news:AddLine("RP lag added")
  2171. news:AddLine("Menu added")
  2172. news:AddLine("Changelog / help added")
  2173. news:AddLine("Fixed ESP health bar")
  2174. news:AddLine("Improved ESP")
  2175. news:AddLine("--- Version 0.7 ---")
  2176. news:AddLine("Added spectater box")
  2177. news:AddLine("Added an admin box rank")
  2178. news:AddLine("Fixed spectator box")
  2179. news:AddLine("--- Version 0.8 ---")
  2180. news:AddLine("Admin alert added")
  2181. news:AddLine("Simple chat spam added")
  2182. news:AddLine("--- Version 0.9 ---")
  2183. news:AddLine("Added Aim tracers")
  2184. news:AddLine("Improved player tracers")
  2185. news:AddLine("Improved head tracers (slam tracers)")
  2186. news:AddLine("Slam tracers now point at the ground as well")
  2187. news:AddLine("--- Version 0.9.1 ---")
  2188. news:AddLine("FOV Changer added")
  2189. news:AddLine("Player tracers are now placed in the middle of the screen")
  2190. news:AddLine("Fixed bug with the tracers coming from the feet")
  2191. news:AddLine("Fixed and improved esp hp bars")
  2192. news:AddLine("--- Version 0.9.2 ---")
  2193. news:AddLine("Added new head and feettracers")
  2194. news:AddLine("Admin alert tracers updated")
  2195. news:AddLine("X-ray improved")
  2196. news:AddLine("--- Version 0.9.3 ---")
  2197. news:AddLine("X-ray halo added")
  2198. news:AddLine("ESP box added (3D)")
  2199. news:AddLine("Slamtracers and foottracers fixed")
  2200. news:AddLine("Improved menu")
  2201. news:AddLine("Added weapon color spammer.. Really.. Who needs this?")
  2202. news:AddLine("Added Anti aim (Not done yet)")
  2203. news:AddLine("--- Version 0.9.4 ---")
  2204. news:AddLine("Added follow command for pissing people off")
  2205. news:AddLine("Added better working aimbot")
  2206. news:AddLine("Added better namesteal (RP)")
  2207. news:AddLine("--- Version 0.9.5 ---")
  2208. news:AddLine("Spectator and Admin box has been improved")
  2209. news:AddLine("Admin alert has been improved")
  2210. news:AddLine("Added anti AFK")
  2211. news:AddLine("Fixed slam tracers")
  2212. news:AddLine("--- Version 0.9.6 ---")
  2213. news:AddLine("Fixed aimbot ignore friends")
  2214. news:AddLine("Added player tracer distance")
  2215. news:AddLine("Added DarkRP weapon dupe exploit (Credits to the original creator in the code)")
  2216. news:AddLine("Added Custom chatspam message")
  2217. news:AddLine("Added trusted rank to be ignored for admin alert and adminbox")
  2218. news:AddLine("--- Version 0.9.7 ---")
  2219. news:AddLine("Fixed a problem with the normal chat spam")
  2220. news:AddLine("Added so you can choose wether or not you want to spam the person with the follow command")
  2221. news:AddLine("Done small adjustments to the custom chatspam")
  2222. news:AddLine("--- Version 0.9.8 ---")
  2223. news:AddLine("Fixed aimbot targetting spectators")
  2224. news:AddLine("Fixed tracers targetting spectators")
  2225. news:AddLine("Fixed player chams targetting spectators")
  2226. news:AddLine("Recreated aimbot")
  2227. news:AddLine("Added aimbot target method (more to come)")
  2228.  
  2229. end
  2230. concommand.Add("shitty_help", changelog)
  2231. -------------------------------------------------------------------------------------
  2232. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Scripts are loaded and ready for use" )
  2233. chat.AddText( Color( 255, 0, 0 ), "[Shitty scripts] ", Color( 0, 255, 0 ), "Version ", Color(255, 0, 0 ), "["..versionnum.."]" )
  2234. MsgC( Color( 0, 255, 0 ),[[
  2235. _____ _ _ _ _ _ _
  2236. / ____| | (_| | | | (_) | |
  2237. | (___ | |__ _| |_| |_ _ _ ___ ___ _ __ _ _ __ | |_ ___
  2238. \___ \| '_ \| | __| __| | | / __|/ __| '__| | '_ \| __/ __|
  2239. ____) | | | | | |_| |_| |_| \__ | (__| | | | |_) | |_\__ \
  2240. |_____/|_| |_|_|\__|\__|\__, |___/\___|_| |_| .__/ \__|___/
  2241. __/ | | |
  2242. |___/ |_|
  2243. ]])
  2244. MsgC( Color( 255, 0, 0 ), "v"..versionnum.."\n")
  2245. timer.Create("changelogtimer", 1, 1, function()
  2246. RunConsoleCommand("shitty_help")
  2247. end)
  2248. surface.PlaySound( "buttons/blip1.wav" )
  2249. 8¿•ñ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement