-
-
Notifications
You must be signed in to change notification settings - Fork 234
Expand file tree
/
Copy pathFun.luau
More file actions
5190 lines (4705 loc) · 164 KB
/
Fun.luau
File metadata and controls
5190 lines (4705 loc) · 164 KB
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
return function(Vargs, env)
local server = Vargs.Server;
local service = Vargs.Service;
local Settings = server.Settings
local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Deps =
server.Functions, server.Commands, server.Admin, server.Anti, server.Core, server.HTTP, server.Logs, server.Remote, server.Process, server.Variables, server.Deps
if env then setfenv(1, env) end
local Routine = env.Routine
local Pcall = env.Pcall
return {
Glitch = {
Prefix = Settings.Prefix;
Commands = {"glitch", "glitchdisorient", "glitch1", "glitchy"};
Args = {"player", "intensity"};
Description = "Makes the target player(s)'s character teleport back and forth rapidly, quite trippy, makes bricks appear to move as the player turns their character";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local num = tonumber(args[2]) or 15
assert(num > 0, "Intensity must be above 0")
local scr = Deps.Assets.Glitcher:Clone()
scr.Num.Value = num
scr.Type.Value = "trippy"
for _, v in service.GetPlayers(plr, args[1]) do
local new = scr:Clone()
if v.Character then
local torso = v.Character:FindFirstChild("HumanoidRootPart")
if torso then
new.Parent = torso
new.Name = "Glitchify"
new.Disabled = false
end
end
end
end
};
Glitch2 = {
Prefix = Settings.Prefix;
Commands = {"ghostglitch", "glitch2", "glitchghost"};
Args = {"player", "intensity"};
Description = "The same as gd but less trippy, teleports the target player(s) back and forth in the same direction, making two ghost like images of the game";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local num = tonumber(args[2]) or 150
assert(num > 0, "Intensity must be above 0")
local scr = Deps.Assets.Glitcher:Clone()
scr.Num.Value = num
scr.Type.Value = "ghost"
for _, v in service.GetPlayers(plr, args[1]) do
local new = scr:Clone()
if v.Character then
local torso = v.Character:FindFirstChild("HumanoidRootPart")
if torso then
new.Parent = torso
new.Name = "Glitchify"
new.Disabled = false
end
end
end
end
};
Vibrate = {
Prefix = Settings.Prefix;
Commands = {"vibrate", "glitchvibrate"};
Args = {"player", "intensity"};
Description = "Kinda like gd, but teleports the player to four points instead of two";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local num = tonumber(args[2]) or 0.1
assert(num > 0, "Intensity must be above 0")
local scr = Deps.Assets.Glitcher:Clone()
scr.Num.Value = num
scr.Type.Value = "vibrate"
for _, v in service.GetPlayers(plr, args[1]) do
local new = scr:Clone()
if v.Character then
local torso = v.Character:FindFirstChild("HumanoidRootPart")
if torso then
local scr = torso:FindFirstChild("Glitchify")
if scr then scr:Destroy() end
new.Parent = torso
new.Name = "Glitchify"
new.Disabled = false
end
end
end
end
};
UnGlitch = {
Prefix = Settings.Prefix;
Commands = {"unglitch", "unglitchghost", "ungd", "ungg", "ungv", "unvibrate"};
Args = {"player"};
Description = "UnGlitchs the target player(s)";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
local torso = v.Character:FindFirstChild("HumanoidRootPart")
if torso then
local scr = torso:FindFirstChild("Glitchify")
if scr then
scr:Destroy()
end
end
end
end
};
SetFPS = {
Prefix = Settings.Prefix;
Commands = {"setfps"};
Args = {"player", "fps"};
Description = "Sets the target players's FPS";
Fun = true;
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
local value = assert(tonumber(args[2]), "Missing/invalid FPS value (argument #2)")
for _, v in service.GetPlayers(plr, args[1]) do
Remote.Send(v, "Function", "SetFPS", value)
end
end
};
RestoreFPS = {
Prefix = Settings.Prefix;
Commands = {"restorefps", "revertfps", "unsetfps"};
Args = {"player"};
Description = "Restores the target players's FPS";
Fun = true;
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
Remote.Send(v, "Function", "RestoreFPS")
end
end
};
Gerald = {
Prefix = Settings.Prefix;
Commands = {"gerald"};
Args = {"player"};
Description = "A massive Gerald AloeVera hat.";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local gerald = Deps.Assets:FindFirstChild("Gerald")
--// Apparently Rojo doesn't handle mesh parts very well, so I'm loading this remotely (using require to bypass insertservice restrictions)
--// The model is free to take so feel free to that 👍
--// Here's the URL https://www.roblox.com/library/7679952474/Adonis-Assets-Module
if not gerald then -- TODO: Add gerald to deps and remove require, I think the Rojo plugin (up to date) now supports loading
warn("Requiring Assets Module by ID; Expand for module URL > ", {URL = "https://www.roblox.com/library/7679952474/Adonis-Assets-Module"})
gerald = require(7679952474).Gerald --// This apparently caches, so don't delete anything else future usage breaks
end
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character then
local human = v.Character:FindFirstChildOfClass("Humanoid");
if human then
local clone = gerald:Clone()
clone.Name = "__ADONIS_GERALD"
human:AddAccessory(clone)
end
end
end
end
};
UnGerald = {
Prefix = Settings.Prefix;
Commands = {"ungerald"};
Args = {"player"};
Description = "De-Geraldification";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character then
local gerald = v.Character:FindFirstChild("__ADONIS_GERALD")
if gerald then
gerald:Destroy()
end
end
end
end
};
wat = { --// wat??
Prefix = "!";
Commands = {"wat"};
Args = {};
Hidden = true;
Description = "???";
Fun = true;
AdminLevel = "Players";
Function = function(plr: Player, args: {string})
-- Broken sounds: {130872377, 142633540, 217714490, 227499602, 259702986, 3657191505, 4881542521}
local WOT = {754995791, 160715357, 6884041159}
Remote.Send(plr, "Function", "PlayAudio", WOT[math.random(1, #WOT)])
end
};
YouBeenTrolled = {
Prefix = "?";
Commands = {"trolled", "freebobuc", "freedonor", "adminpls", "enabledonor", "freeadmin", "hackadmin"};--//add more :)
Args = {};
Fun = true;
Hidden = true;
Description = "You've Been Trolled You've Been Trolled Yes You've Probably Been Told...";
AdminLevel = "Players";
Function = function(plr: Player, args: {string})
Remote.MakeGui(plr, "Effect", {Mode = "trolling";})
end
};
Trigger = {
Prefix = Settings.Prefix;
Commands = {"trigger", "triggered"};
Args = {"player"};
Fun = true;
Description = "Makes the target player really angry";
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v: Player in service.GetPlayers(plr, args[1]) do
task.defer(function()
local char = v.Character
local head = char and char:FindFirstChild("Head")
if head then
service.New("Sound", {Parent = head; SoundId = "rbxassetid://429400881";}):Play()
service.New("Sound", {Parent = head; Volume = 3; SoundId = "rbxassetid://606862847";}):Play()
local smoke = Instance.new("ParticleEmitter")
smoke.Enabled = true
smoke.Lifetime = NumberRange.new(0, 3)
smoke.Rate = 999999
smoke.RotSpeed = NumberRange.new(0, 20)
smoke.Rotation = NumberRange.new(0, 360)
smoke.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1.25, 1.25), NumberSequenceKeypoint.new(1, 1.25, 1.25) })
smoke.Speed = NumberRange.new(1, 1)
smoke.SpreadAngle = Vector2.new(360, 360)
smoke.Texture = "rbxassetid://10892277322"
smoke.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0) })
smoke.Parent = head
local face = head:FindFirstChild("face")
if face then face.Texture = "rbxassetid://412416747" end
head.BrickColor = BrickColor.new("Maroon")
for i = 1, 10 do
task.wait(0.1)
head.Size *= 1.3
end
service.New("Explosion", {
Parent = char;
Position = head.Position;
BlastRadius = 5;
BlastPressure = 100_000;
})
service.New("Sound", {
Parent = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso");
SoundId = "rbxassetid://165969964";
Volume = 10;
}):Play()
head:Destroy()
end
end)
end
end
};
Brazil = {
Prefix = Settings.Prefix;
Commands = {"brazil", "sendtobrazil"};
Args = {"players"};
AdminLevel = "Moderators";
Fun = true;
Description = "You're going to 🇧🇷.";
Function = function (plr, args)
for _, v in service.GetPlayers(plr, args[1]) do
local root = v.Character:FindFirstChild("HumanoidRootPart")
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://5816432987"
sound.Volume = 10
sound.PlayOnRemove = true
sound.Parent = root
sound:Destroy()
task.wait(1.4)
local vel = Instance.new("BodyVelocity")
vel.Velocity = CFrame.new(root.Position - Vector3.new(0, 1, 0), root.CFrame.LookVector * 5 + root.Position).LookVector * 1500
vel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
vel.P = math.huge
vel.Parent = root
local smoke = Instance.new("ParticleEmitter")
smoke.Enabled = true
smoke.Lifetime = NumberRange.new(0, 3)
smoke.Rate = 999999
smoke.RotSpeed = NumberRange.new(0, 20)
smoke.Rotation = NumberRange.new(0, 360)
smoke.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1.25, 1.25), NumberSequenceKeypoint.new(1, 1.25, 1.25) })
smoke.Speed = NumberRange.new(1, 1)
smoke.SpreadAngle = Vector2.new(360, 360)
smoke.Texture = "rbxassetid://642204234"
smoke.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0) })
smoke.Parent = root
service.Debris:AddItem(smoke, 99)
service.Debris:AddItem(vel, 99)
end
end
};
CharGear = {
Prefix = Settings.Prefix;
Commands = {"chargear", "charactergear", "doll", "cgear", "playergear", "dollify", "pgear", "plrgear"};
Args = {"player/username", "steal"};
Fun = true;
AdminLevel = "Moderators";
Description = "Gives you a doll of a player";
Function = function(plr: Player, args: {string})
local plrChar = assert(plr.Character, "You don't have a character")
local cfr = assert(plrChar:FindFirstChild("RightHand") or plrChar:FindFirstChild("Right Arm"), "You don't have a right hand/arm").CFrame
local steal = args[2] and table.find({"yes", "y", "true"}, args[2]:lower())
assert(args[2] == nil or table.find({"yes", "y", "true", "no", "n", "false"}, args[2]:lower()), "Invalid boolean argument type")
for _, v in service.GetPlayers(plr, args[1], {UseFakePlayer = true}) do
Routine(function()
local targetName = service.Players:GetNameFromUserIdAsync(v.UserId)
local tool = service.New("Tool", {
Name = targetName;
ToolTip = `@{targetName} as a tool`;
})
local handle = service.New("Part", {
Parent = tool;
Name = "Handle";
CanCollide = false;
Transparency = 1;
})
local orgHumanoid = v.Character and v.Character:FindFirstChildOfClass("Humanoid")
local model = service.Players:CreateHumanoidModelFromDescription(
orgHumanoid and orgHumanoid:GetAppliedDescription() or service.Players:GetHumanoidDescriptionFromUserId(v.CharacterAppearanceId > 0 and v.CharacterAppearanceId or v.UserId),
orgHumanoid and orgHumanoid.RigType or Enum.HumanoidRigType.R15
)
model.Name = targetName
local hum = model:FindFirstChildOfClass("Humanoid") or model:WaitForChild("Humanoid")
if hum then
model:ScaleTo(0.5)
for _, obj in model:GetDescendants() do
if obj:IsA("BasePart") then
obj.Massless = true
obj.CanCollide = false
end
end
hum.PlatformStand = if steal then hum.PlatformStand else true
if hum.RigType == Enum.HumanoidRigType.R6 then
model.PrimaryPart = model.HumanoidRootPart -- Making this consistant with R15
end
end
model:PivotTo(cfr)
handle.CFrame = cfr
model.Animate.Disabled = true
model.Parent = tool
if v ~= plr then
if steal then
local orgCharacter = v.Character
v.Character = model
if orgCharacter and not service.IsDestroyed(orgCharacter) then
orgCharacter:Destroy()
end
end
end
service.New("WeldConstraint", {
Parent = tool;
Part0 = handle;
Part1 = model:FindFirstChild("HumanoidRootPart");
})
tool.Parent = plr:FindFirstChildWhichIsA("Backpack")
end)
end
end
};
LowRes = {
Prefix = Settings.Prefix;
Commands = {"lowres", "pixelrender", "pixel", "pixelize"};
Args = {"player", "pixelSize", "renderDist"};
Description = "Pixelizes the player's view";
Fun = true;
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
local size = tonumber(args[2]) or 19
assert(size >= 10, "Pixel size too small (< 10)")
local dist = tonumber(args[3]) or 100
assert(dist <= 10_000, "Render distance too large (> 10,000)")
for i, v in service.GetPlayers(plr, args[1]) do
Remote.MakeGui(v, "Effect", {
Mode = "Pixelize";
Resolution = size;
Distance = dist;
})
end
end
};
ZaWarudo = {
Prefix = Settings.Prefix;
Commands = {"zawarudo", "stoptime"};
Args = {};
Fun = true;
Description = "Freezes everything but the player running the command";
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
local doPause; doPause = function(obj)
if obj:IsA("BasePart") and not obj.Anchored and not obj:IsDescendantOf(plr.Character) then
obj.Anchored = true
table.insert(Variables.FrozenObjects, obj)
end
for i, v in obj:GetChildren() do
doPause(v)
end
end
if not Variables.ZaWarudoDebounce then
if Variables.ZaWarudo then
Admin.RunCommandAsPlayer(`{Settings.Prefix}unzawarudo`, plr)
else
Variables.ZaWarudoDebounce = true
task.delay(10, function() Variables.ZaWarudoDebounce = false end)
local audio = service.New("Sound", service.SoundService)
audio.SoundId = "rbxassetid://8762717966" -- Old audio: "rbxassetid://274698941"
audio.Volume = 10
audio.Name = "ADONIS_ZAWARUDO_AUDIO"
audio:Play()
task.wait(2.25)
doPause(workspace)
Variables.ZaWarudo = game.DescendantAdded:Connect(function(c)
if c:IsA("BasePart") and not c.Anchored and c.Name ~= "HumanoidRootPart" then
c.Anchored = true
table.insert(Variables.FrozenObjects, c)
end
end)
local cc = service.New("ColorCorrectionEffect", service.Lighting)
cc.Name = "ADONIS_ZAWARUDO"
for i = 0,-2,-0.1 do
cc.Saturation = i
task.wait(0.01)
end
task.wait(2.5)
audio:Destroy()
local clock = service.New("Sound", service.SoundService)
clock.Name = "ADONIS_CLOCK_AUDIO"
clock.SoundId = "rbxassetid://9133682204" -- Other new audio: "rbxassetid://850256806" Old audio "rbxassetid://160189066"
clock.Looped = true
clock.Volume = 1
clock:Play()
Variables.ZaWarudoDebounce = false
end
end
end
};
UnZaWarudo = {
Prefix = Settings.Prefix;
Commands = {"unzawarudo", "unstoptime"};
Args = {};
Fun = true;
Description = "Stops zawarudo";
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
if not Variables.ZaWarudoDebounce and Variables.ZaWarudo then
Variables.ZaWarudoDebounce = true
task.delay(10, function() Variables.ZaWarudoDebounce = false end)
local audio = service.New("Sound", service.SoundService)
audio.SoundId = "rbxassetid://676242549"
audio.Volume = 0.5
audio.Name = "ADONIS_ZAWARUDO_AUDIO"
audio:Play()
task.wait(2)
for i, part in Variables.FrozenObjects do
part.Anchored = false
end
local old = service.Lighting:FindFirstChild("ADONIS_ZAWARUDO")
if old then
for i = -2, 0, 0.1 do
old.Saturation = i
task.wait(0.01)
end
old:Destroy()
end
local clock = service.SoundService:FindFirstChild("ADONIS_CLOCK_AUDIO")
if clock then
clock:Stop()
clock:Destroy()
end
audio:Destroy()
Variables.ZaWarudo:Disconnect()
Variables.FrozenObjects = {}
Variables.ZaWarudo = false
Variables.ZaWarudoDebounce = false
end
end
};
Dizzy = {
Prefix = Settings.Prefix;
Commands = {"dizzy"};
Args = {"player", "speed"};
Description = "Causes motion sickness";
AdminLevel = "Admins";
Fun = true;
Function = function(plr: Player, args: {string})
local speed = tonumber(args[2]) or 50
for _, v in service.GetPlayers(plr, args[1]) do
Remote.Send(v, "Function", "Dizzy", speed)
end
end
};
UnDizzy = {
Prefix = Settings.Prefix;
Commands = {"undizzy"};
Args = {"player"};
Description = "UnDizzy";
AdminLevel = "Admins";
Fun = true;
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
Remote.Send(v, "Function", "Dizzy", false)
end
end
};
Davey = {
Prefix = Settings.Prefix;
Commands = {"Davey_Bones", "davey"};
Args = {"player"};
Description = "Turns you into me <3";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for i, v in service.GetPlayers(plr, args[1]) do
Admin.RunCommandAsPlayer(`{Settings.Prefix}char`, v, "me", "id-698712377")
end
end
};
Boombox = {
Prefix = Settings.Prefix;
Commands = {"boombox"};
Args = {"player"};
Description = "Gives the target player(s) a boombox";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local gear = service.Insert(tonumber(212641536))
if gear:IsA("BackpackItem") then
service.New("StringValue", gear).Name = Variables.CodeName..gear.Name
for i, v in service.GetPlayers(plr, args[1]) do
if v:FindFirstChild("Backpack") then
gear:Clone().Parent = v.Backpack
end
end
end
end
};
Infect = {
Prefix = Settings.Prefix;
Commands = {"infect", "zombify"};
Args = {"player"};
Description = "Turn the target player(s) into a suit zombie";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local infect; infect = function(humanoid)
local properties = {
HeadColor = BrickColor.new("Artichoke").Color,
LeftArmColor = BrickColor.new("Artichoke").Color,
RightArmColor = BrickColor.new("Artichoke").Color,
LeftLegColor = BrickColor.new("Artichoke").Color,
RightLegColor = BrickColor.new("Artichoke").Color,
TorsoColor = BrickColor.new("Artichoke").Color,
Face = math.random(1, 3) == 3 and 173789114 or 133360789,
}
local ActionProperties = {
Speed = args[2] or nil,
Health = args[3] or nil,
Jumppower = args[4] or nil,
}
if humanoid and humanoid.RootPart and string.lower(humanoid.Name) ~= "zombie" and not humanoid.Parent:FindFirstChild("Infected") then
local description = humanoid:GetAppliedDescription()
local cl = service.New("StringValue")
cl.Name = "Infected"
cl.Parent = humanoid.Parent
for k, v in properties do
description[k] = v
end
task.defer(humanoid.ApplyDescription, humanoid, description, Enum.AssetTypeVerification.Always)
if ActionProperties.Speed then humanoid.WalkSpeed = ActionProperties.Speed end
if ActionProperties.Jumppower then humanoid.JumpPower = ActionProperties.Jumppower end
if ActionProperties.Health then humanoid.MaxHealth = ActionProperties.Health; humanoid.Health = ActionProperties.Health end
for _, part in humanoid.Parent:GetChildren() do
if part:IsA("BasePart") then
local tconn; tconn = part.Touched:Connect(function(hit)
if cl.Parent ~= humanoid.Parent then
tconn:Disconnect()
elseif hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
infect(hit.Parent:FindFirstChildOfClass("Humanoid"))
end
end)
cl.Changed:Connect(function()
if cl.Parent ~= humanoid.Parent then
tconn:Disconnect()
end
end)
end
end
end
end
for _, v in service.GetPlayers(plr, args[1]) do
infect(v.Character and v.Character:FindFirstChildOfClass("Humanoid"))
end
end
};
Rainbowify = {
Prefix = Settings.Prefix;
Commands = {"rainbowify", "rainbow"};
Args = {"player"};
Description = "Make the target player(s)'s character flash rainbow colors";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local scr = Deps.Assets.Rainbowify
for i, v in service.GetPlayers(plr, args[1]) do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
if v.Character:FindFirstChild("Shirt") then
v.Character.Shirt:Destroy()
end
if v.Character:FindFirstChild("Pants") then
v.Character.Pants:Destroy()
end
local new = scr:Clone()
new.Parent = v.Character.HumanoidRootPart
new.Disabled = false
end
end
end
};
Unrainbowify = {
Prefix = Settings.Prefix;
Commands = {"unrainbowify", "unrainbow"};
Args = {"player"};
Description = "Removes the rainbow effect from the player(s) specified";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for i, v in service.GetPlayers(plr, args[1]) do
if v.Character.HumanoidRootPart:FindFirstChild("Rainbowify") then
v.Character.HumanoidRootPart.Rainbowify.Name = "Stop"
end
end
end
};
Noobify = {
Prefix = Settings.Prefix;
Commands = {"noobify", "noob"};
Args = {"player"};
Description = "Make the target player(s) look like a noob";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
local properties = {
HeadColor = BrickColor.new("Bright yellow").Color,
LeftArmColor = BrickColor.new("Bright yellow").Color,
RightArmColor = BrickColor.new("Bright yellow").Color,
LeftLegColor = BrickColor.new("Br. yellowish green").Color,
RightLegColor = BrickColor.new("Br. yellowish green").Color,
TorsoColor = BrickColor.new("Bright blue").Color,
Pants = 0, Shirt = 0, LeftArm = 0, RightArm = 0,
LeftLeg = 0, RightLeg = 0, Torso = 0
}
for _, v in service.GetPlayers(plr, args[1]) do
local humanoid = v.Character and v.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
Admin.RunCommand(`{Settings.Prefix}clearhats`, v.Name)
local description = humanoid:GetAppliedDescription()
for k, v in properties do
description[k] = v
end
task.defer(humanoid.ApplyDescription, humanoid, description, Enum.AssetTypeVerification.Always)
end
end
end
};
Material = {
Prefix = Settings.Prefix;
Commands = {"material", "mat"};
Args = {"player", "material"};
Description = "Make the target the material you choose";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
--local chosenMat = if tonumber(args[2]) then Enum.Material:FromValue(tonumber(args[2])) elseif not args[2] then "Plastic" else Enum.Material:FromName(args[2])
local mats = {
Plastic = 256;
Wood = 512;
Slate = 800;
Concrete = 816;
CorrodedMetal = 1040;
DiamondPlate = 1056;
Foil = 1072;
Grass = 1280;
Ice = 1536;
Marble = 784;
Granite = 832;
Brick = 848;
Pebble = 864;
Sand = 1296;
Fabric = 1312;
SmoothPlastic = 272;
Metal = 1088;
WoodPlanks = 528;
Neon = 288;
}
local enumMats = Enum.Material:GetEnumItems()
local chosenMat = args[2] or "Plastic"
if not args[2] then
Functions.Hint("Material wasn't supplied; Plastic was chosen instead", {plr})
elseif tonumber(args[2]) then
chosenMat = table.find(mats, tonumber(args[2]))
end
if not chosenMat or not Enum.Material:FromName(chosenMat) then
Remote.MakeGui(plr, "Output", {Title = "Error"; Message = "Invalid material choice";})
return
end
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character then
for _, p in v.Character:GetChildren() do
if p:IsA("BasePart") then
p.Material = chosenMat
end
end
end
end
end
};
Neon = {
Prefix = Settings.Prefix;
Commands = {"neon", "neonify"};
Args = {"player", "color"};
Description = "Make the target neon";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character then
for _, p in v.Character:GetChildren() do
if p:IsA("Shirt") or p:IsA("Pants") or p:IsA("ShirtGraphic") or p:IsA("CharacterMesh") or p:IsA("Accoutrement") then
p:Destroy()
elseif p:IsA("BasePart") then
if args[2] then
local str = BrickColor.new("Institutional white").Color
local teststr = args[2]
if BrickColor.new(teststr) ~= nil then str = BrickColor.new(teststr) end
p.BrickColor = str
end
p.Material = "Neon"
if p.Name == "Head" then
local mesh = p:FindFirstChild("Mesh")
if mesh then mesh:Destroy() end
end
end
end
end
end
end
};
Ghostify = {
Prefix = Settings.Prefix;
Commands = {"ghostify", "ghost"};
Args = {"player"};
Description = "Turn the target player(s) into a ghost";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
Admin.RunCommand(`{Settings.Prefix}noclip`, v.Name)
if v.Character:FindFirstChild("Shirt") then
v.Character.Shirt:Destroy()
end
if v.Character:FindFirstChild("Pants") then
v.Character.Pants:Destroy()
end
for _, prt in v.Character:GetChildren() do
if prt:IsA("BasePart") and prt.Name ~= "HumanoidRootPart" then
prt.Transparency = .5
prt.Reflectance = 0
prt.BrickColor = BrickColor.new("Institutional white")
if prt.Name:find("Leg") then
prt.Transparency = 1
end
end
end
end
end
end
};
Goldify = {
Prefix = Settings.Prefix;
Commands = {"goldify", "gold"};
Args = {"player"};
Description = "Make the target player(s) look like gold";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
if v.Character:FindFirstChild("Shirt") then
v.Character.Shirt.Parent = v.Character.HumanoidRootPart
end
if v.Character:FindFirstChild("Pants") then
v.Character.Pants.Parent = v.Character.HumanoidRootPart
end
for _, prt in v.Character:GetChildren() do
if prt:IsA("BasePart") and prt.Name ~= "HumanoidRootPart" then
prt.Transparency = 0
prt.Reflectance = .4
prt.BrickColor = BrickColor.new("Bright yellow")
end
end
end
end
end
};
Shiney = {
Prefix = Settings.Prefix;
Commands = {"shiney", "shineify", "shine"};
Args = {"player"};
Description = "Make the target player(s)'s character shiney";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
if v.Character:FindFirstChild("Shirt") then
v.Character.Shirt:Destroy()
end
if v.Character:FindFirstChild("Pants") then
v.Character.Pants:Destroy()
end
for _, m in v.Character:GetChildren() do
if m:IsA("BasePart") and m.Name ~= "HumanoidRootPart" then
m.Transparency = 0
m.Reflectance = 1
m.BrickColor = BrickColor.new("Institutional white")
end
end
end
end
end
};
Spook = {
Prefix = Settings.Prefix;
Commands = {"spook"};
Args = {"player"};
Description = "Makes the target player(s)'s screen 2spooky4them";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for i, v in service.GetPlayers(plr, args[1]) do
Remote.MakeGui(v, "Effect", {Mode = "Spooky";})
end
end
};
Thanos = {
Prefix = Settings.Prefix;
Commands = {"thanos", "thanossnap", "balancetheserver", "snap"};
Args = {"player"};
Description = "\"Fun isn't something one considers when balancing the universe. But this... does put a smile on my face.\"";
Fun = true;
AdminLevel = "Admins";
Function = function(plr, args, data)
local players = {}
local deliverUs = {}
local playerList = service.GetPlayers(args[1] and plr, args[1])
local plrLevel = data.PlayerData.Level
local audio = Instance.new("Sound")
audio.Name = "Adonis_Snap"
audio.SoundId = "rbxassetid://2231214507"
audio.Looped = false
audio.Volume = 1
audio.PlayOnRemove = true
task.wait()
audio:Destroy()
if #playerList == 1 then
local player = playerList[1]
local tLevel = Admin.GetLevel(player)
if tLevel < plrLevel then
deliverUs[player] = true
table.insert(players, player)
end
elseif #playerList > 1 then
for i = 1, #playerList*10 do
if #players < math.max((#playerList/2), 1) then
local index = math.random(1, #playerList)
local targPlayer = playerList[index]
if not deliverUs[targPlayer] then
local targLevel = Admin.GetLevel(targPlayer)
if targLevel < plrLevel then
deliverUs[targPlayer] = true
table.insert(players, targPlayer)
else
table.remove(playerList, index)
end
task.wait()
end
else
break
end
end
end
for i, p in players do
service.TrackTask("Thread: Thanos", function()
for t = 0.1, 1.1, 0.05 do
if p.Character then
local human = p.Character:FindFirstChildOfClass("Humanoid")
if human then
human.HealthDisplayDistance = 1
human.NameDisplayDistance = 1
human.HealthDisplayType = "AlwaysOff"
human.NameOcclusion = "OccludeAll"
end
for k, v in p.Character:GetChildren() do
if v:IsA("BasePart") then
local decal = v:FindFirstChildOfClass("Decal")
local foundDust = v:FindFirstChild("Thanos_Emitter")
local trans = (t/k)+t