-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmds.lua
2954 lines (2853 loc) · 105 KB
/
cmds.lua
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
--[[
If you remove credit, you will most likely be shat on because of errors from here.
Please go to my server and ask my account about the error since I'd rather not accept friend request nor people talking to me on my main discord.
report bugs here: https://discord.gg/4pphCyUVBf
Otherwise, enjoy the script!
(seriously just report if it does not work, I'm a good scripter ok, I just want to make cool stuff)
--]]
game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents")
game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("SayMessageRequest")
print("start")
if not syn then
tchat("Run it on SynX you idiot. Only works on SynX.")
rchat("music 5648499584")
return
end
print("pass syn check")
-- // This is just a library, so incase you don't have it...
if not is_cd_caller then
loadstring(
[=====[
--LUAU ROBLOX LUA
--SynXLuaU
--[[ Deprecated for now.
if rconsoleprint then
--messagebox("Hello SynX user.","cd/library",0)
end
--]]
--EXTERNAL LUAU
if getgenv then
-- // SERVICES
getgenv().Players = game:GetService("Players")
getgenv().FirstReplicated = nil
-- // #############
--Easy to write coroutine.
getgenv().fspawn = function(f)
coroutine.wrap(f)() -- / 5.24.2021 Doing a wrap might work better?
-- / 6.20.2021 Thanks to unkown user I fixed this lmao
end
--Easy to write frame wait.
getgenv().fwait=function()
game:GetService("RunService").RenderStepped:Wait()
end
--This should just be a function it's self in Lua.
getgenv().stringtobyte = function(text)
local output = ""
for i=1,#text do
output = output.."\\"..text:sub(i):byte()
end
return output
end
--This is the say request remote and won't fire any .Chatted connections. So pretty much most basic admin scripts(This includes chat loggers).
getgenv().fchat = function(input)
game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("SayMessageRequest"):FireServer(input,"All")
end
--Real chat(works in vanilla games that don't mess with the .Chatted or say request remote.
getgenv().rchat = function(input)
if chatbypass then
getgenv().chatbypass = false
game:GetService("Players"):Chat(input)
getgenv().chatbypass = true
elseif _G.owoToggle then
_G.owoToggle = false
game:GetService("Players"):Chat(input)
_G.owoToggle = true
else
game:GetService("Players"):Chat(input)
end
end
getgenv().tchat = function(input)
fchat(input)
rchat(input)
end
--This is proof you are using my library(do you like the way I worded that >3<)
getgenv().is_cd_caller = function()
return true
end
-- / This is WaitFor it's a form of WaitForChild() that will only take strings of code and convert them to wait for each instance.
getgenv().WaitFor = function(objectString)
splits = objectString:split(".")
local out = splits[1]
for i,v in next, splits do
if i~=1 then out = out .. ":WaitForChild('" .. v .. "')" end
end
return out
end
-- / Rejoin
getgenv().Rejoin = function()
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId)
end
end
]=====])()
end
--############
local JSOND = function(a)return game:GetService("HttpService"):JSONDecode(a)end
local JSONE = function(a)return game:GetService("HttpService"):JSONEncode(a)end
JSONB=function(jsn) --Thank you [NekO]
local o=''local tc=0 local isSt=false local nc=false
if type(jsn)~='string'then error('\8[jsonB]:Give Json As String.')else
for i=1,jsn:len()do
t=function()return('\t'):rep(tc)end
local tchr=jsn:sub(i,i)if tchr=='"'or tchr=="'"then isSt=not isSt end
if isSt==false then
if tchr=='{'or tchr=='['then
tc=tc+1 tchr=tchr..'\n'..t()
elseif jsn:sub(i,i+1)=='},'or jsn:sub(i,i+1)=='],'then
tc=tc-1 nc=true tchr='\n'..t()..jsn:sub(i,i+1)..'\n'..t()
elseif jsn:sub(i,i+1)~='},'and jsn:sub(i,i+1)~='],'then
if jsn:sub(i,i)=='}'or jsn:sub(i,i)==']'then
tc=tc-1 tchr='\n'..t()..tchr..'\n'..t()
end
end
if tchr==','then
if jsn:sub(i-1,i)~='],'and jsn:sub(i-1,i)~='},'then
if nc==true and jsn:sub(i-1,i+1)~='","' then
nc=false
else tchr=tchr..'\n'..t()end
end
end
if nc==true and tchr==','then else o=o..tchr end
else o=o..tchr
end
end
end
return o
end
local rconsoleprint = function(input,color)
spawn(function()
if color then
spawn(function()rconsoleprint(color)end)
else
spawn(function()rconsoleprint("@@WHITE@@")end)
end
spawn(function()rconsoleprint(input.."\n")end)
fwait()
spawn(function()rconsoleprint("@@WHITE@@")end)
end)
end
local logwrite = function(msg)
if not isfile("cd/logs.txt")then
writefile("cd/logs.txt",tick().."\n"..msg.."\n")
end
end
local warn = function(msg)
if not isfile("cd/logs.txt")then
writefile("cd/logs.txt",msg)
else
logwrite("cd/logs.txt",":WARN:\n"..msg)
end
end
if not isfolder("cd") then
makefolder("cd")
repeat wait() until isfolder("cd")
writefile("cd/cmds.lua",game:HttpGet("https://raw.githubusercontent.com/casualdegenerate/godlycode/main/cmds.lua"))
writefile("cd/Log.txt","Will be used later to log any errors!")
writefile("cd/README.txt","If you have anything to ask, just message CasualDegenerate on roblox or DM me on discord @casual_degenerate@7475 (586141923048161291)")
makefolder("cd/Cache")
repeat wait() until isfolder("cd/Cache")
makefolder("cd/Config")
repeat wait() until isfolder("cd/Config")
writefile("cd/Config/cmds.settings",
[[{
"experimentalConsole":false,
"servers":{
"colorFriends":true,
"nameOnlyFriends":true,
"namePlayers":true
},
"antiloud":true,"autopdate":false,
"antiPunishTime":3,
"logsYield":5,
"optimizeFPS":true
}]]
)
writefile("cd/Config/Music.txt","5580376560\n5833642888\n1064109642\n535308988\n554711853")
makefolder("cd/Downloads")
repeat wait() until isfolder("cd/Downloads")
makefolder("cd/Lighting")
repeat wait() until isfolder("cd/Lighting")
makefolder("cd/Outfits")
repeat wait() until isfolder("cd/Outfits")
makefolder("cd/Scripts")
repeat wait() until isfolder("cd/Scripts")
end
local a = pcall(function()settings = JSOND(readfile("cd/Config/cmds.settings"))end)
if not a then
settings = {}
end
print(settings,a)
function ws(setting,default)
if settings[setting] == nil then
settings[setting] = default
end
end
function ows(setting,set)
if settings[setting] ~= nil then
settings[setting] = set
writefile("cd/Config/cmds.settings",JSONB(JSONE(settings)))
else
warn("log.txt","You are trying to overwrite "..tostring(setting).." to be "..tostring(set).." that does not exist inside of "..tostring(settings))
rconsoleprint("Please check log.txt","@@YELLOW@@")
end
end
ws("antiloud",false)
ws("experimentalConsole",false)
ws("antiPunishTime",1)
ws("logsYield",5)
ws("optimizeFPS",true)
ws("spin",false)
ws("spinSpeed",65)
ws("fixedMovementHZ",0.3)
writefile("cd/Config/cmds.settings",JSONB(JSONE(settings)))
local s = [[
Nothing here for now :)
]]
if not isfile("cd/README.txt") then
writefile("cd/README.txt",s)
elseif readfile("cd/README.txt") ~= s then
rconsoleprint("[cd/cmds.lua]: The cd/README.txt has been updated! Check it out if you want!","@@GREEN@@")
writefile("cd/README.txt",s)
end
if not isfile("cd/cmds.lua") then
writefile("cd/cmds.lua",game:HttpGet("https://raw.githubusercontent.com/casualdegenerate/godlycode/main/cmds.lua"))
spawn(function()loadstring(readfile("cd/cmds.lua"))()end)
return
end
if readfile("cd/cmds.lua") ~= game:HttpGet("https://raw.githubusercontent.com/casualdegenerate/godlycode/main/cmds.lua") and settings.autoupdate then
writefile("cd/cmds.lua",game:HttpGet("https://raw.githubusercontent.com/casualdegenerate/godlycode/main/cmds.lua"))
spawn(function()rconsoleprint("New Update!")loadstring(readfile("cd/cmds.lua"))()end)
return
end
local msg = "@casual_degenerate#7475"
rchat("h " .. msg)
tchat(msg)
print("first run check pass")
local lplr = game:GetService("Players").LocalPlayer or game:GetService("Players"):GetPropertyChangedSignal("LocalPlayer"):wait()
rconsolename(".\\cd\\cmds.lua")
local lplr = game:GetService("Players").LocalPlayer
if not kek then --Debounce for reboots.
tchat("Loaded .\\cd\\cmds.lua")
end
local cd = Instance.new("Folder") cd.Name = "cd" cd.Parent = Lighting
debug = true
local LS = game:GetService("Lighting")
function dprint(t)if debug --[[and lplr.UserId == 1090451412--]] then print(t)end end
local Fetch = {}
Fetch.Get = function(a)
local succ = ""
local suc,err = pcall(function()
succ = game:HttpGet(a)
end)
if err then
return("err["..err.."]")
else
return(succ)
end
end
local cwarn = function(input)
rchat("cd/warn/: "..input)
end
local cerror = function(input)
rchat("cd/error/: "..input)
end
function GetPlayer(a)
local b={}
local c=a:lower()
if c=="all"then
for d,e in pairs(game.Players:GetPlayers())do
table.insert(b,e)
end
elseif c=="others"then
for d,e in pairs(game.Players:GetPlayers())do
if e.Name~=game.Players.LocalPlayer.Name then
table.insert(b,e)
end
end
elseif c=="me"then
for d,e in pairs(game.Players:GetPlayers())do
if e.Name==game.Players.LocalPlayer.Name then
table.insert(b,e)
end
end
else
for d,e in pairs(game.Players:GetPlayers())do
if e.Name:lower():sub(1,#a)==a:lower()then
table.insert(b,e)
end
end
end
if unpack(b) == nil then --This is to fix any useless uses of the function so if it does spam I can return those parts in the script it does if I'm a dummy.
rconsoleprint("Player is not ingame or you spelt it wrong.","@@RED@@")
end
return b
end
local CheckGamepass=function(userid,gamepass)
local g = game:HttpGet("https://inventory.roblox.com/v1/users/"..tostring(userid).."/items/GamePass/"..tostring(gamepass)):sub(65)
if g ~= "" then
return true
else
return false
end
end
local hasAsset = function(userId,assetId)
local h = Fetch.Get("https://api.roblox.com/ownership/hasasset?userId="..tostring(userId).."&assetId="..tostring(assetId))
return h
end
--[[
local rchat = function(text)
if
end
--]]
--[[Will use in new logs patch when it works...
function filt(txt)local o=''
local t=tick()
local ok='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.,;:{}()^*~\\/!"#¤%&=?><|€'
local function x(xa)
for j=1,#ok do
if xa:byte()==ok:sub(j,j)then
return true
end
end
return false
end
if type(txt)=='string'then
for i=1,#txt do
if x(txt:sub(i,i))then
o=o..txt:sub(i,i)
end
end
end
return o,tick()-t
end
--]]
--GPI is an acronym for GetProductInfo
local gpi = function(id)
if tonumber(id) == nil then
return
end
return game:GetService("MarketplaceService"):GetProductInfo(tonumber(id))
end
local antilogger1 = "000000000000"
for i=1,3 do
antilogger1 = antilogger1..antilogger1..antilogger1
end
local gf=game:GetService("Workspace").Terrain._Game
local camera = game:GetService("Workspace").Camera
--local VS = camera.ViewportSize --This is used to make the patched logs the 'right size' when using it.
--That was removed because it grabbed the PREVIOUS size, when you ran the script.
--This is why I prefer SynX.
if lplrPG then
getgenv().lplrPG:Disable()
end
if nameNil then
getgenv().nameNil:Disable()
end
if lplrCAdded then
getgenv().lplrCAdded:Disable()
end
if lplrChatted then
getgenv().lplrChatted:Disable()
end
if gffCAdded then
getgenv().gffCAdded:Disable()
end
if lunpunish then
getgenv().lunpunish:Disable()
end
if active then
getgenv().active=false
end
if antifling then
getgenv().antifling=false
end
if logsA then
logsA:Disconnect()
logsA = nil
end
if serverc then
getgenv().serverc = false
end
if rep then
getgenv().rep = false
end
if logslast then
getgenv().logslast = ""
end
if giga1 then
getgenv().giga1 = false
end
if giga2 then
getgenv().giga2 = false
end
if giga3 then
getgenv().giga3 = false
end
if giga4 then
getgenv().giga4 = false
end
if giga5 then
getgenv().giga5 = false
end
if giga6 then
getgenv().giga6 = false
end
if OT then
getgenv().OT:Disable()
end
if unguly then
getgenv().unguly = false
end
if antipunish then
getgenv().antipunish = false
end
if selfA then
getgenv().selfA:Disable()
end
if camMod then
getgenv().camMod:Disable()
end
wait(1)
if not kek then
rconsoleprint("Checking player status. Please wait for it to check...","@@LIGHT_GRAY@@")
spawn(function()
for i,aa in pairs({66254, 64354}) do
if CheckGamepass(lplr.UserId,aa) then
rconsoleprint("You're good!","@@GREEN@@")
return
end
end
for i,aa in pairs({35748, 37127}) do
if CheckGamepass(lplr.UserId,aa) then
rconsoleprint("This script does not support person's admin. I'd suggust you to use 'pads' command to force yourself admin when you can.","@@RED@@")
return
end
end
rconsoleprint("This script does not support non perms. I'd suggust you to use 'pads' command to force yourself admin when you can.","@@RED@@")
end)
end
rconsoleprint("Loaded!\nType \"commands\" to get a list of commands ✨✨✨","@@GREEN@@")
print("passed player status")
getgenv().Punished = {}
getgenv().bypassmusic = {
--removed? "5600019442",
"5299353763",
--removed? "9482839292",
"3861919998",
"5116089511",
"4840878880",
"5222738370",
"5495218248",
"5517718752",
"5629710122",
"4449249912",
"5515902212",
"5650070170",
}
getgenv().blacklistm = {}
getgenv().hentai = {5707097328;6591385583}
getgenv().songs = readfile("cd/Config/Music.txt"):split("\n")
getgenv().songsn = {}
getgenv().fix = {
speed = false,
light = false,
terrain = false,
}
getgenv().Music = false
getgenv().power=1
getgenv().tps=0.1
getgenv().musiclprev=""
getgenv().charnil=false
getgenv().antifling=false
getgenv().localunpunish=false
getgenv().logsscramble=false
getgenv().logss=100
getgenv().logse=1000
getgenv().active=true
getgenv().annoy=false
getgenv().antifling=false
getgenv().locked=false
getgenv().cdENV = {
['secure'] = false, --Depricated I guess...
['character'] = lplr.Character,
}
getgenv().Commands = {
["snipe"] = {
toggle = true, --It's a one command and next.
description = "Test command(copied from Kuzo) will snipe <args2>(plr)",
funk = function(args)
args[2] = GetPlayer(args[2])
for _,v in pairs(args[2]) do v = v.Name
rchat("jail "..v)
rchat("ff "..v.." "..v.." "..v)
rchat("freeze "..v.." "..v.." "..v)
for i=1,2000 do --wait()
rchat("explode "..v.." "..v.." "..v)
end
end
end,
},
["regen"] = {
description = "Presses the regen button(Resets admin pads).",
funk = function()
if not gf.Admin:FindFirstChild("Regen") then
rconsoleprint("WARNING: Regen does not exist? Removed by someone?","@@YELLOW@@")
return
end
fireclickdetector(gf.Admin.Regen.ClickDetector,1)
end,
},
["reset"] = {
allies = {"re"},
description = "Reset your character from the I/O.",
funk = function()
rchat("reset me")
end,
},
--[[Old command.
["exit"] = function()
Punished = {}
Music = false
power=1
tps=0.1
musiclprev=""
charnil=false
logsscramble=false
active=false
lplrPG:Disable()
nameNil:Disable()
lplrCAdded:Disable()
lplrChatted:Disable()
gffCAdded:Disable()
lunpunish:Disable()
end,
--]]
--[[["audio"] = function()
local site = game:HttpGet("https://roblox.com/library/"..gf.Folder.Sound.SoundId)
local find = "MediaPlayerIcon icon-play"
local lines = site:split("\n")
for _,v in pairs(lines) do
if v.find(find) then
print(v)
end
end
end,--]]
["permpunish"] = {
allies = {"pp"},
description = "Keeps a person punished.",
toggle = true,
funk = function(args)
if args[2] then
for _,v in pairs(GetPlayer(args[2])) do
table.insert(Punished,v.UserId,true)
pcall(function()
while Punished[v.UserId] do wait(0.3)
if v.Character.Parent ~= LS then
rchat("punish "..v.Name)
end
end
end)
end
else
rconsoleprint("[cmds.lua]: You need to add a player name b-baka! >_<","@@RED@@")
end
end,
},
["unpermpunish"] = {
allies = {"unpp"},
description = "Will unpermpunish the player.",
funk = function(args)
if args[2] then
for _,v in pairs(GetPlayer(args[2])) do
Punished[v.UserId]=nil
wait()rchat("unpunish "..v.Name)
end
else
rconsoleprint("[cmds.lua]: You need to add a player name b-baka! >_<","@@RED@@")
end
end,
},
["klown"] = {
allies = {"klwn","clown"},
description = "Turn args<2>(plr) into a clown.",
funk = function(args)
args[2] = GetPlayer(args[2])
for _,v in pairs(args[2]) do
fchat("Since "..v.Name..", wants to be a clown, take this mask!")
rchat("hat "..v.Name.." 5230747378")
end
end,
},
--[[["jspp"] = function(args)
local json = game:GetService("HttpService"):JSONEncode(Punished)
setclipboard(json)
end,--]]
["visualize"] = {
allies = {"visualizer"--[[lol +r]],"visu"},
description = "Visualizer with the sun and moon.",
toggle = true,
funk = function(args)
if not Music then Music = true
if args[2] ~= nil then rchat("music "..args[2]) end
local s = gf.Folder:WaitForChild("Sound",10)
while Music do
local s = gf.Folder:WaitForChild("Sound")
--[[
if s.PlaybackLoudness*power/150 > 10 then
spawn(function() --print("HIT")
rchat("fogstart 0")
wait(0.5)
rchat("fix")
end)
end
--]]
r=tostring(s.PlaybackLoudness*power/150):sub(1,3)
if r~=musiclprev then
getgenv().musiclprev=r
rchat("time "..r)
print("time "..r)
end
wait(tps)
end
end
end,
},
["unvisualize"] = {
allies = {"unvisualizer"--[[lol +r]],"unvisu"},
description = "Turns off visualizer.",
funk = function(args)
Music = false
if args[2] == "m" then
rchat("stopmusic")
end
end,
},
["con"] = function(args)
if args[2] == "pow" and args[3] ~= nil then
getgenv().power = tonumber(args[3])
elseif args[2] == "tps" and args[3] ~= nil then
getgenv().tps = tonumber(args[3])
end
end,
["cn"] = {
--description = "Will hide your character until you toggle it o",
funk = function()
charnil=true
end,
},
["uncn"] = function()
selfNil:Disable()
end,
--[[I'm an idiot.
["h3"] = function()
for i=1,math.random(1,100) do
rchat("tshirt me "..math.random(100000,999999))
end
rchat("tshirt me 22222222")
wait()
for i=1,math.random(1,100) do
rchat("tshirt me "..math.random(100000,999999))
end
end,
--]]
["?"] = {
description = "Set's your clipboard to the current song playing if any.",
funk = function()
--[[for _,v in pairs(game:GetService("Workspace"):GetDescendants()) do
if v:IsA("Sound") then
sounds = v.SoundId
end
end--]]
local song = gf.Folder:WaitForChild("Sound",2)
if song == nil then
rconsoleprint("[cd.lua]: Aaaaaah! There is no song! ;-;")
return
end
song = song.SoundId:match("%d+")
local sung = gpi(song)
if sung == nil then
rconsoleprint("Error? no name?","@@RED@@")
return
end
sung = sung.Name
rconsoleprint("This song is "..sung.." | [cd.lua]: Say Y if you want it on your clipboard(say anything else if you don't...) *v*")
local input = rconsoleinput()
if input:sub(1,1):lower() == "y" then
setclipboard(tostring(song))
elseif input:sub(1,1):lower() == "p" then
setclipboard(tostring(song))
tchat("[0000"..song:gsub("\n",""):gsub("\r","").."]: "..sung:gsub("\n",""):gsub("\r",""))
end
end,
},
["mimic"] = {
description = "<args2>(plr) <extra>(+e) Will make you look exactly like the person by removing your hats and only having theirs.",
funk = function(args)
local a = function(id)
local h = game:HttpGet("https://avatar.roblox.com/v1/users/"..tostring(id).."/avatar")
local j = game:GetService("HttpService"):JSONDecode(h)
local hats = {8}
for i=41,47 do
table.insert(hats,i)
end
local content={{}}
for _,v in pairs(j.assets) do
for k,f in pairs(hats) do
if v.assetType.id == f then
table.insert(content[1],v.id)
end
end
if v.assetType.name == "Shirt" then
content[2] = v.id
elseif v.assetType.name == "Pants" then
content[3] = v.id
elseif v.assetType.name == "Face" then
content[4] = v.id
end
end
for _,v in pairs(content) do
if _ == 1 then
for o,p in pairs(v) do
rchat("hat me "..p)
end
elseif _ == 2 then
rchat("shirt me "..v)
elseif _ == 3 then
rchat("pants me "..v)
elseif _ == 4 then
rchat("unface me")
rchat("face me "..v)
end
end
end
for _,u in pairs(args) do
if u:find("+e") then
rchat("unshirt me")
rchat("unpants me")
rchat("unhat me")
end
if u:find("+f") then
if tonumber(args[2]) ~= nil then
osidfje = args[2]
else
local h = Fetch.Get("https://api.roblox.com/users/get-by-username?username="..args[2])
local j = JSOND(h)
osidfje = j.Id
end
end
end
if not osidfje then print("no osidfje")
for _,v in pairs(GetPlayer(args[2])) do
osidfje = v.UserId
end
end
a(osidfje)
osidfje=nil
end,
},
["cd"] = {
description = "You can create a cd in cd/Lighting/name.lua simply just follow the example.lua.... if any....",
funk = function(args)
if isfile("cd/Lighting/"..args[2]..".lua") then
loadstring(readfile("cd/Lighting/"..args[2]..".lua"))()
else
rconsoleprint("[cmds.lua]: The file does not exist dummy! >:V","@@RED@@")
end
end,
},
["outfit"] = {
description = "Set's cd/Outfits/<args[2]>.cd as your outfit.",
funk = function(args)
local input = tostring(args[2])
local i = 0
reeeeeeee=false
for _,v in pairs(args) do
if v:find("+random") then reeeeeeee=true
local c = listfiles("cd/Outfits")[math.random(1,#listfiles("cd/Outfits"))]
local c = c:gsub("\\","/")
Outfit=loadstring(readfile(c))()
end
end
if not reeeeeeee then
local err = pcall(function()Outfit=loadstring(readfile("cd/Outfits/"..input..".cd"))()end)
if not err then
rconsoleprint("ERROR: Outfit Input Invalid \(Does Not Exist!!\)","@@RED@@")
return
end
end
for _,v in pairs(args) do
if v:find("+e") then
rchat("unhat me robot.txt")
rchat("unshirt me robot.txt")
rchat("unpants me robot.txt")
end
end
for _,v in pairs(cdENV.character:GetDescendants()) do
if v.Name == "face" and v:IsA("Decal") then
v:Destroy()
end
end
for _,v in pairs(Outfit.Hat) do
rchat("hat me "..antilogger1..v)
end
rchat("shirt me "..antilogger1..Outfit.Shirt)
rchat("pants me "..antilogger1..Outfit.Pants)
rchat("face me "..antilogger1..Outfit.Face)
if Outfit.Creator then rchat("h "..Outfit.Creator) end --if you wanted to give credit...
for _,v in pairs(cdENV.character:GetDescendants()) do
if v.Name == "face" and v:IsA("Decal") then
i=i+1
end
end
spawn(function()
wait(2)
for _,v in pairs(cdENV.character.Head:GetChildren()) do
if v.Name == "face" and _ ~= #cdENV.character.Head:GetChildren()-1 and i>1 then
v:Destroy()
end
end
end)
end,
},
["nn"] = function(args)
namenil=true
end,
["unnn"] = function()
namenil=false
end,
["lunp"] = function()
localunpunish = true
end,
["unlunp"] = function()
localunpunish = false
end,
["rainbow"] = {
allies = {"rgb"},
description = "You run through HSV to rainbow the map once(really internet heavy so it's run through once because I don't want to DDoS the game lol)",
toggle = true,
funk = function(args)
local t = cdENV.character:WaitForChild("PaintBucket",1)
if not t then
t = lplr.Backpack:WaitForChild("PaintBucket",1)
end
if not t then
rchat("gear me 18474459")
t = lplr.Backpack:WaitForChild("PaintBucket",3)
end
rconsoleprint("Unable to find paintbucket, maybe you don't have admin? or there is a massive issue with the script.","@@RED@@")
fwait()t.Parent = cdENV.character
wait(0.5)
local function color(part,c)
local ohTable2 = {
["Part"] = part,
["Color"] = c
}
local ohString1 = "PaintPart"
spawn(function()t.Remotes.ServerControls:InvokeServer(ohString1, ohTable2)end)
end
for aaaa=1,1 do
for _,v in pairs(game:GetService("Workspace").Terrain._Game:GetDescendants()) do if v:IsA("BasePart") then
spawn(function()
for i=0,1,0.04 do fwait()
color(v,Color3.fromHSV(i,1,1))
end
end)
end end
end
end,
},
["copyplayerlist"] = {
allies = {"cpl"},
description = "Copies the playerlist in your clipboard!(useful if you don't know how to type a player name and you want to copy their username",
funk = function()
local output=""
for _,v in pairs(GetPlayer("all")) do
output = output..v.Name..";"
end
setclipboard(output)
end,
},
["logsscramble"] = function()
if logsscramble then
logsscramble=false
else
logsscramble=true
end
end,
["cdcommands"] = function()
local index = 0
local space = "\n"
local command = ""
for _,v in pairs(Commands) do
index++
command = command.."["..tostring(_).."]".."\n"
end
rchat("music "..space:rep(200)..command.."\nIndex: "..index)
end,
["bypass"] = function()
rchat("music "..antilogger1..bypassmusic[math.random(1,#bypassmusic)])
end,
["cd-a"] = function()
local s = ""
for i=1,50000 do
s = s..string.char(math.random(1,255))
end
rchat("music "..s)
end,
["chat"] = {
allies = {"c"},
description = "Will talk over people's screen's(w/ filter ofc)",
funk = function(args)
local s = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
local msg = ""
local nw = "\n "
for _,v in pairs(args) do
if _ ~= 1 then
msg = msg..v.." "
end
end
for i=1,4 do
rchat("h "..s..nw:rep(i)..msg)
end
end,
},
["fix"] = {
toggle = true,
allies = {"fixed"},
description = "<args2>(speed) <args3>(number) will make you at a fixed speed.",
funk = function(args)
if args[2] == "speed" then
if fix.speed == false then fix.speed = true else fix.speed = false end
if args[3] == nil then args[3] = 16 end
while fix.speed do fwait()
if lplr.Character.Humanoid.WalkSpeed ~= args[3] then lplr.Character.Humanoid.WalkSpeed = args[3] end
end
--[[elseif args[2] == "anchor" then
if args[3] == nil or args[3] == "1" then args[3] =
elseif args[2] == "cam" then
for _v, in pairs(game:GetService("Workspace").Camera:GetChildren()) do
if v.Name == "GrayScale" then
v.Parent = nil
end
end--]]
elseif args[2] == "terrain"then
if fix.terrain == false then fix.terrain = true else fix.terrain = false end