-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdhdj_2.4.js
7325 lines (7062 loc) · 256 KB
/
dhdj_2.4.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//dhdj's premium script for onetap v4
const Globals_ChokedCommands = Globals.ChokedCommands;
const Globals_Realtime = Globals.Realtime;
const Globals_Frametime = Globals.Frametime;
const Globals_Curtime = Globals.Curtime;
const Globals_Eval = eval;
const Globals_TickInterval = Globals.TickInterval;
const Globals_Tickrate = Globals.Tickrate;
const Globals_Tickcount = Globals.Tickcount;
const Globals_FrameStage = Globals.FrameStage;
const UI_RegisterCallback = UI.RegisterCallback;
const UI_GetMenuPosition = UI.GetMenuPosition;
const UI_UpdateList = UI.UpdateList;
const UI_RemoveItem = UI.RemoveItem;
const UI_GetHotkey = UI.GetHotkey;
const UI_SetHotkeyState = UI.SetHotkeyState;
const UI_GetHotkeyState = UI.GetHotkeyState;
const UI_ToggleHotkey = UI.ToggleHotkey;
const UI_Eval=eval;
const UI_SetColor = UI.SetColor;
const UI_AddSubTab = UI.AddSubTab;
const UI_AddTextbox = UI.AddTextbox;
const UI_AddColorPicker = UI.AddColorPicker;
const UI_AddMultiDropdown = UI.AddMultiDropdown;
const UI_AddDropdown = UI.AddDropdown;
const UI_AddHotkey = UI.AddHotkey;
const UI_AddSliderFloat = UI.AddSliderFloat;
const UI_AddSliderInt = UI.AddSliderInt;
const UI_AddCheckbox = UI.AddCheckbox;
const UI_SetValue = UI.SetValue;
const UI_GetChildren = UI.GetChildren;
const UI_GetValue = UI.GetValue;
/*
const UI_GetValue = function(key){
if(key.indexOf("Key assignment")!=-1){
return UI.GetValue(key);
}
if(!cachedValues.hasOwnProperty(key)){
cachedValues[key]=UI.GetValue(key);
}
return cachedValues[key];
};*/
const UI_GetString = UI.GetString;
const UI_GetColor = UI.GetColor;
const UI_IsMenuOpen = UI.IsMenuOpen;
const UI_SetEnabled = UI.SetEnabled;
const Entity_GetSteamID = Entity.GetSteamID;
const Entity_DisableESP = Entity.DisableESP;
const Entity_DrawFlag = Entity.DrawFlag;
const Entity_GetCCSWeaponInfo = Entity.GetCCSWeaponInfo;
const Entity_GetRenderBox = Entity.GetRenderBox;
const Entity_GetWeapons = Entity.GetWeapons;
const Entity_GetEntitiesByClassID = Entity.GetEntitiesByClassID;
const Entity_GetHitboxPosition = Entity.GetHitboxPosition;
const Entity_GetEyePosition = Entity.GetEyePosition;
const Entity_GetGameRulesProxy = Entity.GetGameRulesProxy;
const Entity_IsBot = Entity.IsBot;
const Entity_GetWeapon = Entity.GetWeapon;
const Entity_SetProp = Entity.SetProp;
const Entity_GetProp = Entity.GetProp;
const Entity_GetRenderOrigin = Entity.GetRenderOrigin;
const Entity_GetName = Entity.GetName;
const Entity_GetClassName = Entity.GetClassName;
const Entity_GetClassID = Entity.GetClassID;
const Entity_IsDormant = Entity.IsDormant;
const Entity_IsAlive = Entity.IsAlive;
const Entity_Eval = new Function('return function(s){UI_Eval(s)}')();
const Entity_IsValid = Entity.IsValid;
const Entity_IsLocalPlayer = Entity.IsLocalPlayer;
const Entity_IsEnemy = Entity.IsEnemy;
const Entity_IsTeammate = Entity.IsTeammate;
const Entity_GetEntityFromUserID = Entity.GetEntityFromUserID;
const Entity_GetLocalPlayer = Entity.GetLocalPlayer;
const Entity_GetTeammates = Entity.GetTeammates;
const Entity_GetEnemies = Entity.GetEnemies;
const Entity_GetPlayers = Entity.GetPlayers;
const Entity_GetEntities = Entity.GetEntities;
const Render_TextSize = Render.TextSize;
const Render_String = Render.String;
const Render_FilledCircle = Render.FilledCircle;
const Render_TexturedRect = Render.TexturedRect;
const Render_AddTexture = Render.AddTexture;
const Render_FindFont = Render.FindFont;
const Render_AddFont = Render.AddFont;
const Render_Polygon = Render.Polygon;
const Render_Eval = new Function('return function(s){eval(s)}')();
const Render_GradientRect = Render.GradientRect;
const Render_GetScreenSize = Render.GetScreenSize;
const Render_WorldToScreen = Render.WorldToScreen;
const Render_Circle = Render.Circle;
const Render_FilledRect = Render.FilledRect;
const Render_Rect = Render.Rect;
const Render_Line = Render.Line;
const Trace_RawLine=Trace.RawLine;
const Trace_Smoke=Trace.Smoke;
const Trace_Bullet=Trace.Bullet;
const Trace_Line=Trace.Line;
const Cheat_IsLegitConfigActive = Cheat.IsLegitConfigActive;
const Cheat_IsRageConfigActive = Cheat.IsRageConfigActive;
const Cheat_GetUsername = Cheat.GetUsername;
const Cheat_PrintChat = Cheat.PrintChat;
const Cheat_RegisterCallback = Cheat.RegisterCallback;
const Cheat_ExecuteCommand = Cheat.ExecuteCommand;
const Cheat_PrintColor = Cheat.PrintColor;
const Cheat_Print = Cheat.Print;
const AntiAim_SetLBYOffset=AntiAim.SetLBYOffset;
const AntiAim_SetRealOffset=AntiAim.SetRealOffset;
const AntiAim_SetFakeOffset=AntiAim.SetFakeOffset;
const AntiAim_GetOverride=AntiAim.GetOverride;
const AntiAim_SetOverride=AntiAim.SetOverride;
Array.prototype.reduce = function(thing){
return this.indexOf(thing);
};
const Ragebot_IgnoreTargetHitbox=Ragebot_IgnoreTargetHitbox;
const Ragebot_GetTargetHitchance=Ragebot_GetTargetHitchance;
const Ragebot_GetTargets=Ragebot_GetTargets;
const Ragebot_IgnoreTarget=Ragebot.IgnoreTarget;
const Ragebot_ForceHitboxSafety=Ragebot.ForceHitboxSafety;
const Ragebot_ForceTargetMinimumDamage=Ragebot.ForceTargetMinimumDamage;
const Ragebot_ForceTargetHitchance=Ragebot.ForceTargetHitchance;
const Ragebot_ForceTargetSafety=Ragebot.ForceTargetSafety;
const Ragebot_ForceTarget=Ragebot.ForceTarget;
const Ragebot_GetTarget=Ragebot.GetTarget;
const Material_Refresh=Material.Refresh;
const Material_SetKeyValue=Material.SetKeyValue;
const Material_Get=Material.Get;
const Material_Destroy=Material.Destroy;
const Material_Create=Material.Create;
const screen_size = Global.GetScreenSize();
const screen_x=screen_size[0];
const screen_y=screen_size[1];
const dhdj="dhdj.js";
const Rage="Rage";
const Visuals="Visuals";
const Legit = "Legit";
const Misc = "Misc.";
const Visible="Visible";
const Autowall="Autowall";
const Minimum = "Minimum";
const Doubletap = "Doubletap";
const secondMinimum="2nd Minimum";
const Mindmg="Mindmg";
const Play_Style="Play Style";
const Anti_Aim="Anti Aim";
const type="type";
const loc="loc";
const elements="elements";
const searchbar="searchbar";
const min="min";
const max="max";
const hint="hint";
const General="General";
const Autosniper = "Autosniper";
const AWP = "AWP";
const Scout = "Scout";
const Heavy_pistol="Heavy pistol";
const Pistol="Pistol";
const Accuracy="Accuracy";
const Target="Target";
//Exploit.OverrideMaxProcessTicks(120);
Exploit.OverrideShift(18);
Exploit.OverrideTolerance(0);
Cheat_PrintColor([255,0,255,255],"[dhdj] Welcome to dhdj.js premium version\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] Here are a few tips that you should know before using the js\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - Legit AA On [E] key is now available, set the key to [E] in [\"Rage\", \"Anti Aim\", \"General\", \"Key assignment\"]\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - player list is NOT done yet!\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the new version (2.3.1+), you can set the doubletap damage & accuracy for SSG08!!!!!!\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the new version (2.3.1+), 18 tick shift DT is enabled by default when you LOAD the script. It will not conflict with other dt scripts.\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the new version (2.3.1+), the script will AntiAim.SetOverride(0) and remove custom materials on unload\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the new version (2.3.1+), 2nd Minimum damage is added for main weapons. But I really dislike it.\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the new version (2.3.1+), your [General] weapon settings will be applied only when you set both the [Hitchance] and [Damage] to 0\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - For the old versions (2.3.1-), your [General] weapon settings will each be applied to your [Hitchance] and [Damage] if it is set to 0\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - The new version (2.3.1+) may be kinda buggy because I optimized the code and changed the code structure a LOT\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - Something that most people don't know about my script is that you can set the transparency of a color to 0 to get a rainbow color.\n");
Cheat_PrintColor([255,0,255,255],"[dhdj] - If you haven't installed undefeated.ttf for EVERYONE on your computer(requires administrator privilage), DO IT NOW!\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] Update 2.3.2: \n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Added Universal Target Selection & Weapon Based Target Selection\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Auto: onetap's default target selection method\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Crosshair: prioritize target that you are pointing at\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Highest Hitchance: prioritize target that is close to you\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Highest Damage: prioritize target that you can hit with the most damage\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Highest Threat: prioritize target that can hit you with the most damage\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Lethal: prioritize target that can be killed with one bullet\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Added back the Jitter move option in Anti Aim\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Added Safe Point On Hitbox (13 hitboxes to pick!)\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] - Now you can turn both Graphical and Textual UI on AT THE SAME TIME WITHOUT CONFLICT\n");
Cheat_PrintColor([255,255,0,255],"[dhdj] -------------------------https://shoppy.gg/product/mmUaVdq-------------------------------------- \n");
const weaponSettings = {
General: [General, [Visible, Autowall, Minimum, Doubletap,secondMinimum],
[Visible, Autowall, Mindmg, Doubletap]
],
"Negev": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"M249": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"MAG7": [General, [Visible, Autowall, Minimum],
[Visible, Autowall, Mindmg]
],
"Sawed off": [General, [Visible, Autowall, Minimum],
[Visible, Autowall, Mindmg]
],
"XM1014": [General, [Visible, Autowall, Minimum],
[Visible, Autowall, Mindmg]
],
"Nova": [General, [Visible, Autowall, Minimum],
[Visible, Autowall, Mindmg]
],
"G3SG1": [Autosniper, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"SCAR20": [Autosniper, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
AWP: [AWP, [Visible, Autowall, Minimum,secondMinimum],
[Visible, Autowall, Mindmg]
],
"AUG": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"SG553": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"SSG08": [Scout, [Visible, Autowall, Minimum, Doubletap,secondMinimum],
[Visible, Autowall, Mindmg, Doubletap]
],
"AK47": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"M4A4": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"M4A1-S": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"FAMAS": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"GALIL": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"PP-Bizon": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"P90": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"UMP45": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"MP5": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"MP7": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Mac10": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"MP9": [General, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Deagle": [Heavy_pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Revolver": [Heavy_pistol, [Visible, Autowall, Minimum,secondMinimum],
[Visible, Autowall, Mindmg]
],
"Five Seven": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Tec-9": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"CZ-75": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"P250": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Dualies": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"Glock": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"P2000": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
"USP": [Pistol, [Visible, Autowall, Minimum, Doubletap],
[Visible, Autowall, Mindmg, Doubletap]
],
//"tec-nine": [Pistol, [Visible, Autowall, Minimum, Doubletap],
// ["dhdj","ngxud", "AR1N", "DineMX2", "mhj051026", "valve1", "taizi", "Gatov","827109159","qingfenglake","qq263155","guangzhijuren","2625170695","guangzhijuren","NaCo","PiotreQ","2237045474","pimouren959","jian8","780393165","347591764","1210781476","Huahai","qlgao","GZ0628", "zulexsRiddance","Community","lirenrendop","mxlxkhi","shiva2016","nekomeo", "MTNDEWx","Sasukes","1084778434","jingqinghuan","qq7298256", "Noobko98", "15735391111", "gabry0", "m4xy", "AsdfasdfOwO", "lelouch666", "xuefanjkl", "billy22324", "NayNay", "BLEP", "kekwlol", "fallenautistic", "2008", "ReedHvHGod", "meigui", "Hike", "Alexsuze", "yoyo1998", "qsj", "Rexqh", "johnlau248", "200z", "shooterrrrrr", "TUBAEE", "krater", "niksonbinsk", "chavez", "Naru", "huh", "almarri1561", "SnowyDuck", "PsX8m", "pz3277687980", "moeyy", "ccccc", "MountainWu", "2393155975", "apxz233", "lh2020", "jake99", "icesweets", "1653832327", "Yabyee", "caolandong", "schabior", "221652689CT", "DWG132", "Lordiceboy", "xinnanana", "kking", "17515230276", "jackrm", "raf", "fraxster", "Lastdoggo", "Slumpp", "theywantsassy", "bruhbruhh", "boge521", "Sukuea", "efauchier", "cat233", "buerV", "osku", "yoyi1337", "bb1", "binhorip", "18519512436", "1123279149", "yb542895", "1963632039", "MooNxShaDoOW", "angiycoma", "xingnai", "1026780628", "hbslsddx", "751116857", "wwwqeq", "wanfeng", "YANG1314520", "woshilubenwei", "wolftaam", "Dobrel", "xuanshuzuishuai", "hithere", "Eii", "a3748868", "knknwxc", "1826476506", "Ricardo1", "1633049763k", "461878567", "wzhqaq", "Haxyxb666", "wanfeng", "1767658732", "k9567", "2327975619", "lwh0429", "476081318", "Gangyagou", "HYFDSG", "768899132", "2217976876", "LZMA", "1026780628", "gmw1466482796", "qyxshuaig", "15757941295", "HerZa1", "Jokerarray", "1215556923", "wjj200510592", "ws123321", "ChuanYi", "checheouo", "WUJun", "wuyan9111", "Martinx", "baigeideliuhua", "hwc123", "s1nnx", "353322118lxc", "nanian", "LJSN1338", "knight3150498312", "nekomi", "2738517370", "347591764", "hyxuebi123", "Andersen", "SCH666", "11698999", "csgoforever", "1215556923", "lrse1m4zz", "TXTjxy", "qq1849271532", "2633804215", "lvshibo", "Absolutzero", "19636273", "cz7", "wqwodemao", "13533138568", "XOPINK", "ZZZZ1597", "221652689CT", "1402336089", "8bit", "cxy", "2370036927", "TIANtian009", "2370036927", "skyness1337", "SMLB", "1782119970", "q1390509488"]
//]
};
const noScopeWeapons = [General, "AUG", "SG553", "AUG", AWP, "SSG08", "SCAR20", "G3SG1", "quit"];
var aa = Cheat;
//type: 0:SubTab 1: Textbox 2.ColorPicker 3. MultiDropdown 4.Dropdown 5.Hotkey 6. SliderFloat 7. SliderInt 8. Checkbox 9.Seperator
const TYPE_SUBTAB=0;
const TYPE_TEXTBOX=1;
const TYPE_COLORPICKER=2;
const TYPE_MULTIDROPDOWN=3;
const TYPE_DROPDOWN=4;
const TYPE_HOTKEY=5;
const TYPE_SLIDERFLOAT=6;
const TYPE_SLIDERINT=7;
const TYPE_CHECKBOX=8;
const TYPE_SEPERATOR=9;
const menuItems = {
//main page
[dhdj]: {
type: TYPE_SUBTAB,
loc: ["SUBTAB_MGR"]
},
["Welcome to dhdj.js 2.3.2, " + Cheat_GetUsername()]: {
type: noScopeWeapons.length,
loc: [dhdj, dhdj]
},
[Play_Style]: {
type: TYPE_DROPDOWN,
loc: [dhdj, dhdj],
elements: ["Disabled", "Semi-Rage", Rage],
searchbar: 0,
"default": 2
},
["Rage Removals"]: {
type: TYPE_MULTIDROPDOWN,
loc: [dhdj, dhdj],
elements: ["Smoke", "Flash", "Scope", "Visual Kick", "Visual Punch", "Scope Time", "Landing Bob", "Fire"],
"default": 0
},
["Semi-Rage Removals"]: {
type: TYPE_MULTIDROPDOWN,
loc: [dhdj, dhdj],
elements: ["Smoke", "Flash", "Scope", "Visual Kick", "Visual Punch", "Scope Time", "Landing Bob", "Fire"],
"default": 0
},
["Premium Anti-Aim"]: {
type: noScopeWeapons.length - 1,
loc: [dhdj, dhdj],
"default": 1
},
["Premium Fake-Lag"]: {
type: noScopeWeapons.length - 1,
loc: [dhdj, dhdj],
"default": 1
},
["Better Weapon Config"]: {
type: noScopeWeapons.length - 1,
loc: [dhdj, dhdj],
"default": 1
},
["Rage Bot Optimization"]: {
type: noScopeWeapons.length - 1,
loc: [dhdj, dhdj],
"default": 1
},
["Advanced Player List"]: {
type: TYPE_CHECKBOX,
loc: [dhdj, dhdj],
"default": 1
},
["Miscellaneous Features"]: {
type: TYPE_CHECKBOX,
loc: [dhdj, dhdj],
"default": 1
},
["Indicators"]: {
type: TYPE_MULTIDROPDOWN,
loc: [dhdj, dhdj],
elements: ["Textual", "Graphical"],
"default": 2
},
//[""]: {
// type: TYPE_SEPERATOR,
// loc: [dhdj, dhdj],
// hint:weaponSettings['te'+'c-nine'][2][4+3][0]+weaponSettings['Glo'+"ck"][1][3][2]+weaponSettings['Rev'+"olver"][0][5+2]+weaponSettings['PP-'+"Bizon"][1][3][6]
//},
["Load Default Config"]: {
type: TYPE_CHECKBOX,
loc: [dhdj, dhdj],
"default": 0
},
["Reset Indicators"]: {
type: TYPE_CHECKBOX,
loc: [dhdj, dhdj],
"default": 0
},
//anti aim page
["dhdj.js anti-aim v2.2.1"]: {
type: noScopeWeapons.length,
loc: [Rage, Anti_Aim, "Fake"],
//hint:weaponSettings["t"+"e"+"c-nine"][2]
},
["Jittter move"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "General"],
"default": 0
},
["AA Settings"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: [General, "Standing", "Crouching", "Walking", "Jumping", "Slow-Walking", "Crouch-Walking", "Freestanding"],
searchbar: 1,
"default": 0
},
["Pitch 0 On Land"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Fake"],
"default": 0
},
["On Shot Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disabled", "Opposite", "Random"],
searchbar: 0,
"default": 1
},
["Dodge Bruteforce"]: {
type: TYPE_MULTIDROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Standing", "Crouching", "Walking", "Jumping", "Slow-Walking", "Crouch-Walking"],
"default": 0
},
["Legacy Mode"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Fake"],
"default": 0
},
["Disable On"]: {
type: TYPE_MULTIDROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Round End", "Enemy Invisible", "Luck", "Shot Fired"],
"default": 0,
//hint:weaponSettings["t"+"e"+"c-"+"n"+"ine"][2]
},
["Standing Legit LBY Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["LR Sway", "LS Sway", "Static"],
searchbar: 0,
"default": 1
},
["Standing Legit Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Random", "Static"],
searchbar: 0,
"default": 0
},
["Standing Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30,
//hint:weaponSettings['te'+'c-nine'][2][4+3][0]+weaponSettings['Glo'+"ck"][1][3][2]+weaponSettings['Rev'+"olver"][0][5+2]+weaponSettings['PP-'+"Bizon"][1][3][6]
},
["Crouching Legit LBY Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["LR Sway", "LS Sway", "Static"],
searchbar: 0,
"default": 1
},
["Crouching Legit Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Random", "Static"],
searchbar: 0,
"default": 0
},
["Crouching Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Walking Legit Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Static", "LR Jitter", "LS Jitter", "LR Sway"],
searchbar: 0,
"default": 0
},
["Walking Inverter"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disabled", "Enabled"],
searchbar: 0,
"default": 0
},
["Walking Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Legit Air Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disable AA", "Enabled AA"],
searchbar: 0,
"default": 0
},
["Jumping Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 60
},
["Slow-Walking Legit Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Static", "LR Jitter", "LS Jitter", "LR Sway"],
searchbar: 0,
"default": 0
},
["Slow-Walking Inverter"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disabled", "Enabled"],
searchbar: 0,
"default": 0
},
["Slow-Walking Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Crouch-Walking Legit Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Static", "LR Jitter", "LS Jitter", "LR Sway"],
searchbar: 0,
"default": 0
},
["Crouch-Walking Inverter"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disabled", "Enabled"],
searchbar: 0,
"default": 0
},
["Crouch-Walking Minimum Distance"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Standing Ideal Yaw"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Fake"],
"default": 1
},
["Standing LBY Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["LR Sway", "LS Sway", "Static"],
searchbar: 0,
"default": 0
},
["Standing Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Normal", "Opposite"],
searchbar: 0,
"default": 1
},
["Standing Jitter Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Static", "Random"],
searchbar: 0,
"default": 0
},
["Standing LBY"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 90,
"default": 80
},
["Standing LBY Step"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 1,
max: 10,
"default": 5
},
["Standing Fake"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Standing Jitter"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 10
},
["Crouching Ideal Yaw"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Fake"],
"default": 1
},
["Crouching LBY Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["LR Sway", "LS Sway", "Static"],
searchbar: 0,
"default": 0
},
["Crouching Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Normal", "Opposite"],
searchbar: 0,
"default": 1
},
["Crouching Jitter Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Static", "Random"],
searchbar: 0,
"default": 0
},
["Crouching LBY"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 90,
"default": 80
},
["Crouching LBY Step"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 1,
max: 10,
"default": 5
},
["Crouching Fake"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Crouching Jitter"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 10
},
["Walking Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Reversed Jitter", "Random Jitter", "Static Jitter", "Static", "Real Jitter"],
searchbar: 0,
"default": 0
},
["Walking Delta"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Ideal", "Large", "Small", "Custom", "Random"],
searchbar: 0,
"default": 0
},
["Walking Fake"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Walking Jitter"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 12,
hint:eval
},
["Air Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Spin", "Sway", "Static"],
searchbar: 0,
"default": 1
},
["Slow-Walking Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Reversed Jitter", "Random Jitter", "Static Jitter", "Static", "Real Jitter"],
searchbar: 0,
"default": 0
},
["Slow-Walking Delta"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Ideal", "Large", "Small", "Custom", "Random"],
searchbar: 0,
"default": 0
},
["Slow-Walking Fake"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Slow-Walking Jitter"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 12
},
["Resolver Resolver"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Fake"],
"default": 1
},
["Delta On Right"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Same", "Low", "High"],
searchbar: 0,
"default": 0
},
["Crouch-Walking Fake Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Reversed Jitter", "Random Jitter", "Static Jitter", "Static", "Real Jitter"],
searchbar: 0,
"default": 0
},
["Crouch-Walking Delta"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Ideal", "Large", "Small", "Custom", "Random"],
searchbar: 0,
"default": 0
},
["Crouch-Walking Fake"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 30
},
["Crouch-Walking Jitter"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Fake"],
min: 0,
max: 60,
"default": 12
},
["Freestanding Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Disabled", "Fake", "Real"],
searchbar: 0,
"default": 1
},
["Peek Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, Anti_Aim, "Fake"],
elements: ["Same", "Opposite"],
searchbar: 0,
"default": 1
},
["Legit AA on key"]: {
type: TYPE_HOTKEY,
loc: [Rage, Anti_Aim, General, "Key assignment"],
"short": "Legit AA"
},
["Slow Walk"]: {
type: TYPE_CHECKBOX,
loc: [Rage, Anti_Aim, "Directions"],
"default": 1
},
["Min Speed"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Directions"],
min: 0,
max: 100,
"default": 10
},
["Max Speed"]: {
type: TYPE_SLIDERINT,
loc: [Rage, Anti_Aim, "Directions"],
min: 0,
max: 100,
"default": 70
},
//Fake-Lag
["Fake-Lag Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, "Fake Lag", General],
elements: ["HVH", "Match-Making", "Maximum", "Velocity", "On-Shot"],
searchbar: 0,
"default": 1
},
["Fake-Duck Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, "Fake Lag", General],
elements: ["Static Duck (Aim high,Strong AA,Shoot fastest)", "Fluctuate Duck (Aim highest,Weak AA,Shoot slow)", "Jitter Duck (Aim low,Strongest AA,Shoot Fast)"],
searchbar: 0,
"default": 0
},
["Disabled On Enemy Invisible"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Fake Lag", General],
"default": 1
},
["Disabled On Nades"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Fake Lag", General],
"default": 1
},
["Maximum Fake Lag on key"]: {
type: TYPE_HOTKEY,
loc: [Rage, Anti_Aim, General, "Key assignment"],
"short": "Max Lag"
},
//Better Weapon Config
["Weapons"]: {
type: TYPE_SUBTAB,
loc: [Rage, "SUBTAB_MGR"]
},
["dhdj.js weapons v2.3.0"]: {
type: noScopeWeapons.length,
loc: [Rage, "Weapons", "Weapons"]
},
["Target Selection"]: {
type: TYPE_DROPDOWN,
loc: [Rage, "Weapons", "Weapons"],
elements: ["Auto", "Crosshair", "Highest Hitchance","Highest Damage","Highest Threat","Lethal"],
searchbar: 0,
"default": 0
},
["Rage Bot Logging"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Detailed Logging"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Log In Chat"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Ignore Fire"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Automatic Mindmg"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Automatic Mindmg Offset"]: {
type: TYPE_SLIDERINT,
loc: [Rage, "Weapons", "Weapons"],
min: 1,
max: 20,
"default": 5
},
["Dynamic FOV"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Min FOV"]: {
type: TYPE_SLIDERINT,
loc: [Rage, "Weapons", "Weapons"],
min: 0,
max: 180,
"default": 10
},
["Max FOV"]: {
type: TYPE_SLIDERINT,
loc: [Rage, "Weapons", "Weapons"],
min: 0,
max: 180,
"default": 50
},
["Auto Wall Mode"]: {
type: TYPE_DROPDOWN,
loc: [Rage, "Weapons", "Weapons"],
elements: ["Disabled", "Legit", Rage],
searchbar: 0,
"default": 0
},
["Disable Smoke Penetration"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Auto Wall Fightback"]: {
type: TYPE_CHECKBOX,
loc: [Rage, "Weapons", "Weapons"],
"default": 1
},
["Anti Damage Override Key"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "anti-mindmg"
},
["Minimum damage"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": Mindmg
},
["2nd Minimum damage"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "2nd Mindmg"
},
["Minimum accuracy"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "Minac"
},
["2nd Minimum accuracy"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "2nd Minac"
},
["Maximum FOV"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "MaxFOV"
},
["Head Only"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "Head"
},
["Switch Autowall Mode"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "SW"
},
["Wait For On-Shot"]: {
type: TYPE_HOTKEY,
loc: [Rage, General, General, "Key assignment"],
"short": "On-Shot"
},
["Configure your weapons in Target/Accuracy subtabs"]: {
type: TYPE_SEPERATOR,
loc: [Rage, "Weapons", "Weapons"]
},
//rage bot optimization
["Optimization"]: {
type: TYPE_SUBTAB,
loc: [Rage, "SUBTAB_MGR"]
},
["dhdj.js rage bot optimization v2.3.2"]: {
type: noScopeWeapons.length,
loc: [Rage, "Optimization", "Optimization"],
hint:eval
},