-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmd-x
16553 lines (15510 loc) · 494 KB
/
cmd-x
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
--[[----------------------------------------------------------------
| ▄▀▄▄▄▄ ▄▀▀▄ ▄▀▄ ▄▀▀█▄▄ ▄▀▀▄ ▄▀▄ |
| █ █ ▌ █ █ ▀ █ █ ▄▀ █ █ █ █ |
| ▐ █ ▐ █ █ ▐ █ █ ▐ ▀▄▀ |
| █ █ █ █ █ ▄▀ █ |
| ▄▀▄▄▄▄▀ ▄▀ ▄▀ ▄▀▄▄▄▄▀ █ ▄▀ |
| █ ▐ █ █ █ ▐ ▄▀ ▄▀ |
| ▐ ▐ ▐ ▐ █ ▐ |
| ▐ ▐ ▐ ▐ █ ▐ |
|------------------------------------------------------------------|
| Credits: | Binds & Info: |
| pigeon#1818 | U Open and close output |
| hz#4777 | RShift Fill suggestion |
| Curvn#2646| ; Focus on CMDBar |
| -------------- | Q Open and close |
| | LShift+Bksp Clear CMDbar |
| | |
| | .cmds List commands |
----------------------------------------------------------------]]--
---------------------------------------|
while not game:IsLoaded() or not game:GetService("CoreGui") or not game:GetService("Players").LocalPlayer or not game:GetService("Players").LocalPlayer.PlayerGui do wait() end
-- Constraints: -----------------------|
local ver = "1.9.9f"
local cordCode = "https://discord.gg/JyzvQ6zdfg"
---------------------------------------|
Parents = {[1] = game:GetService("CoreGui"):FindFirstChild("RobloxGui"), [2] = game:GetService("CoreGui"), [3] = game:GetService("Players").LocalPlayer.PlayerGui}
if Parents[1] then
getParent = Parents[1]
else
getParent = Parents[2]
end
if PROTOSMASHER_LOADED and get_hidden_gui then getParent = get_hidden_gui() end
local firetouchinterest = firetouchinterest or fake_touch or nil
for _, v in pairs(Parents[1]:GetDescendants()) do
if v.Name == "holder" then
v.Parent:Destroy()
end
end
for _, v in pairs(Parents[2]:GetDescendants()) do
if v.Name == "holder" then
v.Parent:Destroy()
end
end
Unnamed = Instance.new("ScreenGui", getParent)
Unnamed.Name = "Unnamed"
Unnamed.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Unnamed.ResetOnSpawn = false
Unnamed.DisplayOrder = 2147483647
if not syn then syn = {} end
if not syn.queue_on_teleport then syn.queue_on_teleport = queue_on_teleport end
if not is_sirhurt_closure and syn.protect_gui then syn.protect_gui(Unnamed) end
sgui = Instance.new("ScreenGui", Unnamed)
sgui.IgnoreGuiInset = true
local function Draw(positionsent, line, thickness)
local positions = {
[1] = positionsent and positionsent[1] and UDim2.new(0, positionsent[1].X, 0, positionsent[1].Y) or UDim2.new(0, 0, 0, 0),
[2] = positionsent and positionsent[2] and UDim2.new(0, positionsent[2].X, 0, positionsent[2].Y) or UDim2.new(0, 0, 0, 0)
}
local distances = {
X = positions[2].X.Offset - positions[1].X.Offset,
Y = positions[2].Y.Offset - positions[1].Y.Offset
}
local distance = (distances.X ^ 2 + distances.Y ^ 2) ^ .5
local angle = math.atan2(distances.Y, distances.X)
line.Size = UDim2.new(0, distance, 0, thickness)
local center = Vector2.new(
(positions[1].X.Offset + positions[2].X.Offset) / 2,
(positions[1].Y.Offset + positions[2].Y.Offset) / 2
)
line.Position = UDim2.new(0, center.X - distance / 2, 0, center.Y - thickness / 2)
line.Rotation = math.deg(angle)
line.BorderSizePixel = 0
return line
end
oldDrawing = Drawing
newDrawing = {new = function(DrawingType)
if DrawingType == "Line" then
local line = {}
local line_object = Instance.new("Frame", sgui)
line_object.ZIndex = 3000
return setmetatable({},{
__index = function(self,key)
if key == "Remove" then
line_object:Destroy()
return function() end
end
end,
__newindex = function(self,key,value)
local thickness = 1
if key == "Visible" then
line_object.Visible = value
elseif key == "From" or key == "To" then
line[key] = value
elseif key == "Thickness" then
thickness = value
end
Draw({line.From, line.To}, line_object, thickness * 2)
end
})
elseif DrawingType == "Circle" then
local circle = {}
local circle_object = Instance.new("Frame",Parent)
circle_object.BorderSizePixel = 0
circle_object.AnchorPoint = Vector2.new(0.5, 0.5)
Instance.new("UICorner",circle_object).CornerRadius = UDim.new(1,0)
return setmetatable({},{
__index = function(self,key)
if key == "Remove" then
return function() circle_object:Destroy() end
end
end,
__newindex = function(self,key,value)
if key == "Visible" then
circle_object.Visible = value
elseif key == "Color" then
circle_object.BackgroundColor3 = value
elseif key == "Position" then
circle_object.Position = UDim2.new(0, value.X, 0, value.Y)
elseif key == "Radius" then
circle_object.Size = UDim2.new(0, value * 2, 0, value * 2)
end
end
})
elseif DrawingType == "Text" then
local text = {}
local text_object = Instance.new("TextLabel",Parent)
text_object.BorderSizePixel = 0
text_object.AnchorPoint = Vector2.new(0.5, 0.5)
return setmetatable({},{
__index = function(self,key)
if key == "Remove" then
return function() text_object:Destroy() end
end
end,
__newindex = function(self,key,value)
if key == "Visible" then
text_object.Visible = value
elseif key == "Color" then
text_object.TextColor3 = value
elseif key == "Position" then
text_object.Position = UDim2.new(0,value.X,0,value.Y)
elseif key == "Size" then
text_object.TextSize = value
elseif key == "Text" then
text_object.Text = value
end
end
})
elseif DrawingType == "Square" then
local box = {}
local box_object = Instance.new("Frame",Parent)
box_object.BorderSizePixel = 0
box_object.AnchorPoint = Vector2.new(0.5, 0.5)
return setmetatable({},{
__index = function(self,key)
if key == "Remove" then
return function() box_object:Destroy() end
end
end,
__newindex = function(self,key,value)
if key == "Visible" then
box_object.Visible = value
elseif key == "Color" then
box_object.BackgroundColor3 = value
elseif key == "Position" then
box_object.Position = UDim2.new(0,value.X,0,value.Y)
elseif key == "Size" then
box_object.Size = UDim2.new(0,value.X,0,value.Y)
end
end
})
end
end}
Drawing = Drawing or newDrawing
if drawingtype == "new" then
if Drawing then
setreadonly(Drawing, false)
end
Drawing = newDrawing
setreadonly(Drawing, true)
end
local mt = getrawmetatable(game)
local oldindex = mt.__index
setreadonly(mt, false)
mt.__index = newcclosure(function(self,...)
local args = {...}
if not checkcaller() and self == getParent and args[1] == Unnamed.Name then
return nil
end
return oldindex(self,...)
end)
setreadonly(mt, true)
_G.Unnamed = Unnamed
_G.dontTween = false
_G.dragVars = {}
_G.connections = {}
function createDrag(object)
_G.dragVars[object] = {}
object.MouseEnter:Connect(function()
_G.dragVars[object].checkMouse = true
_G.dragVars[object].mdwn = object.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
_G.dragVars[object].startpos = object.Position
_G.dragVars[object].startdrag = input.Position
_G.dragVars[object].mouseDown = true
_G.dragVars[object].mou = input
_G.dragVars[object].mloo = game:GetService("RunService").RenderStepped:Connect(function()
if _G.dragVars[object].mouseDown then
_G.dragVars[object].delta = _G.dragVars[object].mou.Position - _G.dragVars[object].startdrag
object.Position = UDim2.new(_G.dragVars[object].startpos.X.Scale, _G.dragVars[object].startpos.X.Offset + _G.dragVars[object].delta.X, _G.dragVars[object].startpos.Y.Scale, _G.dragVars[object].startpos.Y.Offset + _G.dragVars[object].delta.Y)
end
end)
end
end)
_G.dragVars[object].mmoved = object.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
_G.dragVars[object].mou = input
end
end)
object.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
_G.dragVars[object].mouseDown = false
_G.dragVars[object].mmoved:Disconnect()
if _G.dragVars[object].mloo then _G.dragVars[object].mloo:Disconnect() end
end
end)
end)
object.MouseLeave:Connect(function()
if _G.dragVars[object].mdwn then
_G.dragVars[object].mdwn:Disconnect()
end
end)
end
function Stand(Text1,Text2,Text3,Text4,Text5,Text6,Btn)
if game:GetService("UserInputService").VREnabled then
RunDude = true
return
end
RunDude = false
LoadingFrame = Instance.new("Frame", getParent)
RandomReason = Instance.new("TextLabel", getParent)
RunQuestion = Instance.new("TextLabel", getParent)
Executors = Instance.new("TextLabel", getParent)
Paid = Instance.new("TextLabel", getParent)
Free = Instance.new("TextLabel", getParent)
Help = Instance.new("TextLabel", getParent)
HmmButton = Instance.new("TextButton", getParent)
LoadingFrame.Name = "LoadingFrame"
LoadingFrame.Parent = Unnamed
LoadingFrame.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
LoadingFrame.BackgroundTransparency = 0.100
LoadingFrame.Position = UDim2.new(-9.31322575e-10, 0, -0.101388887, 0)
LoadingFrame.Size = UDim2.new(1, 0, 1.20000005, 0)
RandomReason.Name = "Random/Reason"
RandomReason.Parent = LoadingFrame
RandomReason.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
RandomReason.BackgroundTransparency = 1.000
RandomReason.Position = UDim2.new(0.489562511, 0, 0.335111082, 0)
RandomReason.Size = UDim2.new(0.0199999996, 0, 0.0500000007, 0)
RandomReason.Font = Enum.Font.GothamBold
RandomReason.Text = Text1
RandomReason.TextColor3 = Color3.fromRGB(255, 255, 255)
RandomReason.TextSize = 50.000
RunQuestion.Name = "RunQuestion"
RunQuestion.Parent = LoadingFrame
RunQuestion.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
RunQuestion.BackgroundTransparency = 1.000
RunQuestion.Position = UDim2.new(0.489562511, 0, 0.383953691, 0)
RunQuestion.Size = UDim2.new(0.0199999996, 0, 0.0500000007, 0)
RunQuestion.Font = Enum.Font.GothamBold
RunQuestion.Text = Text2
RunQuestion.TextColor3 = Color3.fromRGB(255, 255, 255)
RunQuestion.TextSize = 25.000
Executors.Name = "Executors"
Executors.Parent = LoadingFrame
Executors.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Executors.BackgroundTransparency = 1.000
Executors.Position = UDim2.new(0.492968768, 0, 0.474129587, 0)
Executors.Size = UDim2.new(0.0130000003, 0, 0.0500000007, 0)
Executors.Font = Enum.Font.GothamBold
Executors.Text = Text3
Executors.TextColor3 = Color3.fromRGB(255, 255, 255)
Executors.TextSize = 20.000
Paid.Name = "Paid"
Paid.Parent = LoadingFrame
Paid.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Paid.BackgroundTransparency = 1.000
Paid.Position = UDim2.new(0.492968738, 0, 0.496083349, 0)
Paid.Size = UDim2.new(0.0130000003, 0, 0.0500000007, 0)
Paid.Font = Enum.Font.GothamBold
Paid.Text = Text4
Paid.TextColor3 = Color3.fromRGB(255, 255, 255)
Paid.TextSize = 17.000
Help.Name = "Help"
Help.Parent = LoadingFrame
Help.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Help.BackgroundTransparency = 1.000
Help.Position = UDim2.new(0.492968738, 0, 0.66259259, 0)
Help.Size = UDim2.new(0.0130000003, 0, 0.0500000007, 0)
Help.Font = Enum.Font.GothamBold
Help.Text = "Need help? "..cordCode
Help.TextColor3 = Color3.fromRGB(255, 255, 255)
Help.TextSize = 20.000
HmmButton.Name = "HmmButton"
HmmButton.Parent = LoadingFrame
HmmButton.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
HmmButton.BackgroundTransparency = 0.700
HmmButton.BorderColor3 = Color3.fromRGB(53, 51, 51)
HmmButton.BorderSizePixel = 0
HmmButton.Position = UDim2.new(0.424718767, 0, 0.582555592, 0)
HmmButton.Size = UDim2.new(0.150000006, 0, 0.0500000007, 0)
HmmButton.Font = Enum.Font.GothamBold
HmmButton.Text = Text6
HmmButton.TextColor3 = Color3.fromRGB(255, 255, 255)
HmmButton.TextSize = 30.000
HmmButton.Visible = Btn
HmmButton.MouseButton1Down:Connect(function()
LoadingFrame:Destroy()
RunDude = true
end)
Free.Name = "Free"
Free.Parent = LoadingFrame
Free.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Free.BackgroundTransparency = 1.000
Free.Position = UDim2.new(0.492968738, 0, 0.514601827, 0)
Free.Size = UDim2.new(0.0130000003, 0, 0.0500000007, 0)
Free.Font = Enum.Font.GothamBold
Free.Text = Text5
Free.TextColor3 = Color3.fromRGB(255, 255, 255)
Free.TextSize = 17.000
end
local cmdp = game:GetService("Players")
local cmdlp = cmdp.LocalPlayer
--[[local cg = game:GetService("CoreGui")
for i,v in pairs(cg:GetChildren()) do
if v:IsA("Sound") and v.Volume == 2 and v.Name:sub(16, 16) == "4" then
v:Destroy()
Stand("Looks like Infinite Yield has something to say.","We have no problem with you using both products","", "We have deleted their text-to-speech message for your convenience","We don't know where such a message is coming from. Please don't show any disrespect to ZWolf or Edge, they had nothing to do with it to my knowledge. -fini","Continue", true)
while not RunDude do wait() end
end
end
local mt = getrawmetatable(game:GetService("CoreGui"))
local namecall = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
if checkcaller() and IY_LOADED and getnamecallmethod() == "Play" and string.sub(tostring(self), 16, 16) == "4" and typeof(self) == "Instance" then
Stand("Looks like Infinite Yield has something to say.","We have no problem with you using both products","", "We have deleted their text-to-speech message for your convenience","We don't know where such a message is coming from. Please don't show any disrespect to ZWolf or Edge, they had nothing to do with it to my knowledge. -fini","Continue", true)
return nil
end
return namecall(self, ...)
end)
setreadonly(mt, true)--]]
Stand("CMD-X V2 is in development.", "Please join the discord for development updates.", "You can get the discord invite by using the .discord command.", "", "", "Continue", true)
while not RunDude do wait() end
wait(.5)
loadstring(game:HttpGet("https://raw.githubusercontent.com/CMD-X/CMD-X/master/Version.lua",true))()
if Current and Current.Version ~= ver then
Stand("CMD-X is not up to par!","CMD-X cannot run.","","Your version: "..ver,"Current version: "..Current.Version,"Run Anyway",true)
while not RunDude do
wait()
end
end
--local _S__ = ""
--if identifyexecutor then
-- _S__ = select(1, identifyexecutor())
--end
--if request or syn and syn.request then
-- local re = request or syn.request
-- re({
-- Url = "https://fini.work/experiment",
-- Method = "POST",
-- Headers = {
-- requester = "Client",
-- ezD = _S__
-- }
-- })
--elseif game.HttpPost then
-- game:HttpPost("https://fini.work/experiment", "", _S__)
--end
if isfile then
if not isfile("CMD-X.lua") then
Stand("Looks like you're new here!","To view commands, use .commands","You can use different stuff like .hotkeys","","Join the discord if you need any help using the script, false tickets will result in a ban.","Okay",true)
repeat wait() until RunDude == true
end
end
--repeat wait() until RunDude == true
-- Variables: ------------------------|
local player = cmdlp
local cmdl = game:GetService("Lighting")
local cmdrs = game:GetService("ReplicatedStorage")
local cmdrs2 = game:GetService("RunService")
local cmdts = game:GetService("TweenService")
local cmdvu = game:GetService("VirtualUser")
local cmduis = game:GetService("UserInputService")
local Mouses = cmdlp:GetMouse()
cmdm = Mouses
local Devs = {
[39081] = "Owner", -- Fini
[23899181] = "Owner", -- Pigeon
[142804804] = "Dev", -- Adam
}
DevCords = {
"fini.work";
--"pigeon";
"curvn."
}
local Donors = {
[27857816] = "1",
[1593530598] = "1",
[1210065667] = "1",
[1675012876] = "1",
[601259819] = "1",
[1705160893] = "1",
[721317702] = "1",
[381299060] = "1",
[62254438] = "1",
[80660070] = "1",
[68822680] = "1",
[143626710] = "1",
[38027403] = "1",
[13913098] = "1",
[64101399] = "1",
[24308208] = "1",
[1132193781] = "1",
[50296684] = "1",
[541776532] = "1",
[366030180] = "1",
[381515262] = "1",
[101164614] = "1",
[1401506430] = "2",
[676116823] = "2",
[869278474] = "2",
[1837905336] = "2",
[102584667] = "2",
[1608042178] = "2",
[76075913] = "2",
[77464736] = "2",
[199876604] = "2",
[901149570] = "2",
[52286515] = "2",
[8826296] = "2",
[908657] = "Custom1",
[376132] = "Custom3",
[1406394712] = "Custom4",
[89579038] = "Custom5", -- top donor {$200}
[18923632] = "Custom6",
[272502925] = "Custom7",
[453568] = "Custom8",
[432122324] = "Custom9",
}
local Tier = {
["1"] = {
Tag = "Donor of CMD-X",
Color = Color3.fromRGB(255,70,70),
SCHAT = "DONOR"
},
["2"] = {
Tag = "Donor of CMD-X",
Color = Color3.fromRGB(255,215,100),
SCHAT = "DONOR"
},
["Custom1"] = {
Tag = "cr",
Color = Color3.fromRGB(209,156,240),
SCHAT = "CR"
},
["Custom2"] = {
Tag = "Infernal",
Color = Color3.fromRGB(170, 1, 20),
SCHAT = "INFERNAL"
},
["Custom3"] = {
Tag = "The Chosen",
Color = Color3.fromRGB(63, 0, 0),
SCHAT = "THE CHOSEN"
},
["Custom4"] = {
Tag = "Ex-Top Donor",
Color = Color3.fromRGB(255,0,255),
SCHAT = "EX-TOP"
},
["Custom5"] = {
Tag = "DuBz_Bubby",
Color = "RGBDev",
SCHAT = "TOP DONOR"
},
["Custom6"] = {
Tag = "Classy Cute",
Color = Color3.fromRGB(252,144,3),
SCHAT = "SUGAR DADDY"
},
["Custom7"] = {
Tag = "Duck",
Color = Color3.fromRGB(0,255,255),
SCHAT = "DUCK",
},
["Custom8"] = {
Tag = "7",
Color = Color3.fromRGB(255,0,0),
SCHAT = "7"
},
["Custom9"] = {
Tag = "NO BITCHES?",
Color = Color3.fromRGB(176, 0, 0),
SCHAT = "NO BITCHES?"
},
}
function loaddefaults()
text2 = false
hotkeyopen = 'q'
hotkeyfocus = ';'
hotkeyfly = ''
hotkeyxray = ''
hotkeyesp = ''
hotkeyaimbot = ''
prefix = '.'
prompt = 'CMD-X Prompt >'
enterCMD = {}
gotoPos = 0
gotoPosSide = 0
gotoPosHead = 0
WPs = {}
discordTag = ''
permfcspeed = 1
permflyspeed = 1
permwalkspeed = 50
permjumppower = 150
permhipheight = 20
permgravity = 196.2
permmaxsl = 89.99
Adm = {}
hkBinds = {}
dStyle = "rounded"
conFly = true
suggestions = true
oldNum = 0
hotkeyctp = "LeftControl"
permspamspeed = 1
mentions = true
sDetect = true
SavedPos = {X = 900, Y = 600}
hotkeynoclip = ""
ChatBind = false
CMDTab = {"commands","credits","plugin","changestyle","hotkeys","entercmds","support","",""}
TabsOff = true
KeepCMDXOn = false
ifKickedAuto = false
whyIs = 0
combos = {}
drawingtype = "old"
aliases = {}
clicktplimit = 0
end
function updatesaves()
local update = {
text2 = text2;
hotkeyopen = hotkeyopen;
hotkeyfocus = hotkeyfocus;
hotkeyfly = hotkeyfly;
hotkeyxray = hotkeyxray;
hotkeyesp = hotkeyesp;
hotkeyaimbot = hotkeyaimbot;
prefix = prefix;
prompt = prompt;
enterCMD = enterCMD;
gotoPos = gotoPos;
gotoPosSide = gotoPosSide;
gotoPosHead = gotoPosHead;
WPs = WPs;
discordTag = discordTag;
permfcspeed = permfcspeed;
permflyspeed = permflyspeed;
permwalkspeed = permwalkspeed;
permjumppower = permjumppower;
permhipheight = permhipheight;
permgravity = permgravity;
permmaxsl = permmaxsl;
Adm = Adm;
AdmIG = AdmIG;
hkBinds = hkBinds;
dStyle = dStyle;
conFly = conFly;
suggestions = suggestions;
oldNum = oldNum;
hotkeyctp = hotkeyctp;
permspamspeed = permspamspeed;
mentions = mentions;
sDetect = sDetect;
SavedPos = SavedPos;
hotkeynoclip = hotkeynoclip;
ChatBind = ChatBind;
CMDTab = CMDTab;
TabsOff = TabsOff;
KeepCMDXOn = KeepCMDXOn;
ifKickedAuto = ifKickedAuto;
whyIs = whyIs;
drawingtype = drawingtype;
aliases = aliases;
clicktplimit = clicktplimit;
combos = combos;
}
writefile("CMD-X.lua", game:GetService("HttpService"):JSONEncode(update))
end
function loadsaves()
local success, errorsend = pcall(function()
saves = game:GetService("HttpService"):JSONDecode(readfile("CMD-X.lua"))
end)
if not success then
loaddefaults()
updatesaves()
return
end
text2 = saves.text2
hotkeyopen = saves.hotkeyopen
hotkeyfocus = saves.hotkeyfocus
hotkeyfly = saves.hotkeyfly
hotkeyxray = saves.hotkeyxray
hotkeyesp = saves.hotkeyesp
hotkeyaimbot = saves.hotkeyaimbot
prefix = saves.prefix
prompt = saves.prompt
enterCMD = saves.enterCMD
gotoPos = saves.gotoPos
gotoPosSide = saves.gotoPosSide
gotoPosHead = saves.gotoPosHead
WPs = saves.WPs
discordTag = saves.discordTag
permfcspeed = saves.permfcspeed
permflyspeed = saves.permflyspeed
permwalkspeed = saves.permwalkspeed
permjumppower = saves.permjumppower
permhipheight = saves.permhipheight
permgravity = saves.permgravity
permmaxsl = saves.permmaxsl
Adm = saves.Adm
AdmIG = saves.AdmIG
hkBinds = saves.hkBinds
dStyle = saves.dStyle
conFly = saves.conFly
suggestions = saves.suggestions
oldNum = saves.oldNum
hotkeyctp = saves.hotkeyctp
permspamspeed = saves.permspamspeed
mentions = saves.mentions
sDetect = saves.sDetect
SavedPos = saves.SavedPos
hotkeynoclip = saves.hotkeynoclip
ChatBind = saves.ChatBind
CMDTab = saves.CMDTab
TabsOff = saves.TabsOff
KeepCMDXOn = saves.KeepCMDXOn
ifKickedAuto = saves.ifKickedAuto
whyIs = saves.whyIs
combos = saves.combos
drawingtype = saves.drawingtype
aliases = saves.aliases
clicktplimit = saves.clicktplimit
end
if writefile and readfile then
loadsaves()
else
loaddefaults()
end
checkArg = {
[172667278.9] = "\85\115\105\110\103\32\98\111\116\115\32\116\111\32\39\97\116\116\101\109\112\116\39\32\116\111\32\114\97\105\100\32\67\77\68\45\88\32\115\101\114\118\101\114\46",
[117849776.6] = "\83\116\105\108\108\32\110\101\101\100\32\116\104\97\116\32\114\101\97\115\111\110\32\111\110\32\119\104\121\46",
[838753790.5] = "\100\117\110\110\111\32\119\104\121\32\121\111\117\114\32\98\108\39\101\100\32\98\117\116\32\103\111\110\110\97\32\107\101\101\112\32\117\32\115\105\110\99\101\32\117\114\32\112\114\111\102\105\108\101\32\103\97\121\46",
[3993039278.4] = "",
[628686490.5] = "\83\101\110\100\105\110\103\32\99\104\105\108\100\112\111\114\110\32\116\111\32\104\122\46",
[303591427.1] = "",
[6571024505.1] = "\110\105\99\101\32\116\114\121",
[54603839] = "",
}
local requirements = cmdlp["\85\115\101\114\73\100"]
function isDoneLoading(arg)
if checkArg[requirements * 290 / 100] then
whyIs = requirements
updatesaves()
return false
elseif checkArg[whyIs * 290 / 100] then
return false
else
whyIs = 0
updatesaves()
return true
end
end
if cmduis.VREnabled then
SavedPos = {X = 147, Y = 324}
end
function commandsLoaded()
return isDoneLoading()
end
Inputting = false
ChatBar = nil
Current = nil
if not commandsLoaded() then
Stand("\89\111\117\32\97\114\101\32\110\111\116\32\119\101\108\99\111\109\101\32\97\116\32\67\77\68\45\88\46","\67\77\68\45\88\32\119\105\108\108\32\110\111\116\32\114\117\110\46","","\82\101\97\115\111\110\58\32"..checkArg[whyIs * 290 / 100],"","",false)
repeat wait() until RunDude == true
end
function Check()
wait(.1)
Inputting = false
Disconnection:Disconnect()
end
function InputBegan()
if cmduis:GetFocusedTextBox() then
ChatBar = cmduis:GetFocusedTextBox()
Inputting = true
Current = ChatBar.FocusLost
Disconnection = Current:Connect(Check)
end
end
InputConnect = cmduis.InputBegan:Connect(InputBegan)
AntiCheat = {
ScriptDetectOff = false;
TurboNameSpam = false;
HideParentInExploit = false;
HideParentInPG = false;
AutoAntiKick = false;
RemoveScripts = false;
IntroAudioOff = false;
DontJumbleNames = false;
OneTimeScramble = false;
PrintingOff = false;
NoGui = false;
Custom1 = false;
Attachment = "HairAttachment";
Warning1 = false;
CheckFocusBreak = false;
}
AntiCheat.Games = {
[176053469] = function()
AntiCheat.CheckFocusBreak = true
Unnamed.Parent = Parents[3]
end,
[4052062489] = function()
AntiCheat.AutoAntiKick = true
end,
[5278850819] = function()
workspace.FallenPartsDestroyHeight = 0/0
AntiCheat.Attachment = "Sf"
AntiCheat.Warning1 = true
for _,v in pairs(workspace.Structure.KillPart:GetChildren()) do
v:Destroy()
end
for _,v in pairs(workspace.Structure.Edges:GetChildren()) do
v:Destroy()
end
for _,c in pairs(getconnections(char.DescendantAdded)) do c:Disable() end
for _,c in pairs(getconnections(hrp:GetPropertyChangedSignal("Velocity"))) do c:Disable() end
for _,c in pairs(getconnections(hum:GetPropertyChangedSignal("WalkSpeed"))) do c:Disable() end
for _,c in pairs(getconnections(hum:GetPropertyChangedSignal("JumpPower"))) do c:Disable() end
for _,c in pairs(getconnections(game.ReplicatedStorage.Remotes.ChildRemoved)) do c:Disable() end
game.ReplicatedStorage.Remotes.event:Destroy()
end,
[2988554876] = function()
cmdrs.AC:Destroy()
cmdlp.PlayerScripts.AntiCheat:Destroy()
end,
[10019007167] = function()
AntiCheat.ScriptDetectOff = true
AntiCheat.IntroAudioOff = true
Unnamed.Parent = Parents[3]
end,
}
if AntiCheat.Games[game.PlaceId] then
pcall(function() AntiCheat.Games[game.PlaceId]() end)
end
if AntiCheat.Custom1 then
local old = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self,...)
if self.Name == "TimeEvent" then
return
end
return old(self, ...)
end)
setreadonly(mt, true)
end
if AntiCheat.HideParentInPG then
getParent = cmdlp.PlayerGui
end
if AntiCheat.HideParentInExploit then
if syn.protect_gui then
getParent = syn.protect_gui
syn.protect_gui(Unnamed)
elseif get_hidden_gui then
getParet = get_hidden_gui
Unnamed.Parent = get_hidden_gui()
else
Stand("Your exploit does not support syn.protect_gui/get_hidden_gui!","CMD-X cannot run.","Explanation;","This game has an anti-cheat and our way of stopping it is through syn.protect_gui/get_hidden_gui.","","Run Anyway",true)
repeat wait() until RunDude == true
end
end
if AntiCheat.AutoAntiKick then
local oldcall = mt.__namecall
setreadonly(mt,false)
mt.__namecall = newcclosure(function(...)
local args = {...}
if getnamecallmethod() == "Kick" then
return nil
end
return oldcall(self,...)
end)
end
if AntiCheat.RemoveScripts then
for _,v in pairs(cmdp:GetDescendants()) do
if v:IsA("LocalScript") and v.Name ~= "Animate" and v.Parent ~= "Chat" then
v:Destroy()
end
end
Stand("CMD-X has to delete local scripts!","Your game may not work.","Explanation;","This game has an anticheat and our way of solving it is removing scripts.","","Run Anyway",true)
repeat wait() until RunDude == true
end
if AntiCheat.OneTimeScramble then
Unnamed.Name = math.random(1,100000)
end
local AudioIds = {5032588119}
if AntiCheat.IntroAudioOff == false then
local Sound2 = Instance.new("Sound", nil)
local c = getconnections(game:GetService("PolicyService").ChildAdded)
for i,v in pairs(c) do v:Disable() end
Sound2.Parent = game:GetService("PolicyService")
for i,v in pairs(c) do v:Enable() end
Sound2.Name = "19324854"
Sound2.SoundId = "http://www.roblox.com/asset/?id="..AudioIds[1]
Sound2:Play()
end
holder = Instance.new("Frame", getParent)
holder.Visible = false
output = Instance.new("Frame", getParent)
output1 = Instance.new("TextLabel", getParent)
output2 = Instance.new("TextLabel", getParent)
output3 = Instance.new("TextLabel", getParent)
output4 = Instance.new("TextLabel", getParent)
output5 = Instance.new("TextLabel", getParent)
output6 = Instance.new("TextLabel", getParent)
output7 = Instance.new("TextLabel", getParent)
output8 = Instance.new("TextLabel", getParent)
output9 = Instance.new("TextLabel", getParent)
entry = Instance.new("Frame", getParent)
user = Instance.new("TextLabel", getParent)
cmd = Instance.new("TextBox", getParent)
cmdsu = Instance.new("TextLabel", getParent)
output.Name = "output"
output.Parent = holder
output.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
output.BorderSizePixel = 0
output.Position = UDim2.new(0, -8, 0, 19)
output.Size = UDim2.new(0, 525, 0, 253)
output.Style = Enum.FrameStyle.RobloxRound
output.Visible = false
local Gui = {}
if not AntiCheat.HideParentInExploit and getParent ~= game then
for _,v in pairs(getParent:GetDescendants()) do
table.insert(Gui,v.Name)
table.insert(Gui,math.random(-2e9,2e9))
end
end
if getParent ~= game then
game:GetService("RunService").RenderStepped:Connect(function()
if AntiCheat.DontJumbleNames == false then
if AntiCheat.HideParentInExploit == false then
if AntiCheat.TurboNameSpam == false then
Unnamed.Name = Gui[math.random(#Gui)]
else
for _,v in pairs(Unnamed:GetDescendants()) do
v.Name = Gui[math.random(#Gui)]
end
end
else
if AntiCheat.TurboNameSpam == false then
Unnamed.Name = math.random(1000000)
else
for _,v in pairs(Unnamed:GetDescendants()) do
v.Name = math.random(1000000)
end
end
end
end
end)
end
function Confirm(Reason,Reason2)
Confirmation = false
HeyDestroyed = false
ConfirmationFrame = Instance.new("Frame", getParent)
Sure = Instance.new("TextLabel", getParent)
Not = Instance.new("TextLabel", getParent)
Help2 = Instance.new("TextLabel", getParent)
Yes = Instance.new("TextButton", getParent)
No = Instance.new("TextButton", getParent)
ConfirmationFrame.Name = "ConfirmationFrame"
ConfirmationFrame.Parent = Unnamed
ConfirmationFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
ConfirmationFrame.BackgroundTransparency = 0
ConfirmationFrame.BorderSizePixel = 0
ConfirmationFrame.Position = UDim2.new(0.328281224, 0, 0.362222254, 0)
ConfirmationFrame.Size = UDim2.new(0.342812598, 0, 0.275277853, 0)
Sure.Name = "Sure"
Sure.Parent = ConfirmationFrame
Sure.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sure.BackgroundTransparency = 1.000
Sure.Position = UDim2.new(0.489562482, 0, 0.113113157, 0)
Sure.Size = UDim2.new(0.0199999996, 0, 0.0500000007, 0)
Sure.Font = Enum.Font.GothamBold
Sure.Text = Reason
Sure.TextColor3 = Color3.fromRGB(255, 255, 255)
Sure.TextSize = 20.000
Not.Name = "Not"
Not.Parent = ConfirmationFrame
Not.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Not.BackgroundTransparency = 1.000
Not.Position = UDim2.new(0.459936291, 0, 0.222500637, 0)
Not.Size = UDim2.new(0.0692250952, 0, 0.10650862, 0)
Not.Font = Enum.Font.GothamBold
Not.Text = Reason2
Not.TextColor3 = Color3.fromRGB(255, 255, 255)
Not.TextSize = 20.000
if Reason == "Default" then
Sure.Text = "Are you sure you want to run this command?"
end
if Reason2 == "Default" then
Not.Text = "This may not work properly."
end
Help2.Name = "Help2"
Help2.Parent = ConfirmationFrame
Help2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Help2.BackgroundTransparency = 1.000
Help2.Position = UDim2.new(0.467900336, 0, 0.834136486, 0)
Help2.Size = UDim2.new(0.0622250475, 0, 0.118617564, 0)
Help2.Font = Enum.Font.GothamBold
Help2.Text = "Need help? "..cordCode