-
Notifications
You must be signed in to change notification settings - Fork 698
/
Admin Infinite.lua
13994 lines (13200 loc) · 482 KB
/
Admin Infinite.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
---------------------------------------------------------------
---------------------------------------------------------------
-- _____ __ _ _ _ __ ___ _ _ --
-- |_ _| / _(_) (_) | \ \ / (_) | | | | --
-- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
-- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
-- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
-- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
-- --
---------------------------------------------------------------
---------------------------Edge-Moon---------------------------
---------------------------------------------------------------
local Version = '9.5.2'
HttpService = game:GetService("HttpService")
SAVEFILE = {
colorR = 0.121569;
colorG = 0.121569;
colorB = 0.121569;
cmdprefix = ';';
suggestionstoggle = true;
allowfriends = true;
JLnotify = true;
Mseconds = '7';
Nfriends = true;
cmdbarbind = ';';
chatsV = false;
whispersV = false;
commandsV = false;
aliasSave = {}
}
defaults = HttpService:JSONEncode(SAVEFILE)
loaded = false
function run()
local function writeF()
writefile("IY.txt", defaults)
wait(1)
local newjson = readfile("IY.txt")
local CREATEFILE = HttpService:JSONDecode(newjson)
colorR = CREATEFILE.colorR
colorG = CREATEFILE.colorG
colorB = CREATEFILE.colorB
cmdprefix = CREATEFILE.cmdprefix
suggestionstoggle = CREATEFILE.suggestionstoggle
allowfriends = CREATEFILE.allowfriends
JLnotify = CREATEFILE.JLnotify
Mseconds = CREATEFILE.Mseconds
Nfriends = CREATEFILE.Nfriends
cmdbarbind = CREATEFILE.cmdbarbind
chatsV = CREATEFILE.chatsV
whispersV = CREATEFILE.whispersV
commandsV = CREATEFILE.commandsV
aliasSave = CREATEFILE.aliasSave
loaded = true end
function pcWRITE()
local file, err = pcall(writeF)
if not file then
warn("READ/WRITE ERROR: "..err)
R_W = game:GetObjects("rbxassetid://01587976911")[1] R_W.Parent = game.CoreGui
function Click(mouse) R_W:Destroy()
for _, child in pairs(game.CoreGui:GetChildren()) do
if child.Name == "IYrun" then
child:Destroy() end end end
R_W.drag.PromptDialog.shadow.Exit.MouseButton1Down:connect(Click) end end
if is_protosmasher_caller ~= nil or elysianexecute ~= nil or Synapse ~= nil then
local function sfile()
local checktxt = readfile("IY.txt")
if checktxt == nil then pcWRITE() writeF()
else return end end
local success, message2 = pcall(sfile)
if success then
local json = readfile("IY.txt")
local LOADFILE = HttpService:JSONDecode(json)
colorR = LOADFILE.colorR
colorG = LOADFILE.colorG
colorB = LOADFILE.colorB
cmdprefix = LOADFILE.cmdprefix
suggestionstoggle = LOADFILE.suggestionstoggle
allowfriends = LOADFILE.allowfriends
JLnotify = LOADFILE.JLnotify
Mseconds = LOADFILE.Mseconds
Nfriends = LOADFILE.Nfriends
cmdbarbind = LOADFILE.cmdbarbind
chatsV = LOADFILE.chatsV
whispersV = LOADFILE.whispersV
commandsV = LOADFILE.commandsV
aliasSave = LOADFILE.aliasSave
loaded = true else
pcWRITE() writeF() end
else
colorR = 0.121569
colorG = 0.121569
colorB = 0.121569
cmdprefix = ';'
suggestionstoggle = true
allowfriends = true
JLnotify = true
Mseconds = '7'
Nfriends = true
cmdbarbind = ';'
chatsV = false
whispersV = false
commandsV = false
aliasSave = {}
loaded = true
end
repeat wait() until loaded == true
local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local Player = gPlayers.LocalPlayer
local Mouse = Player:GetMouse() local char = Player.Character local LP = gPlayers.LocalPlayer local gPlayers = game:GetService("Players") local _players = game:GetService('Players') MSGhook = false local services={} local cmds={}
local std={} local loopkillT = {} local rainbowT = {} local disabletoolsT = {} local banT = {} local adminT = {} function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false local scriptprefix='\\'
local split=" " slock = false
function updatefile()
local update = {
colorR = colorR;
colorG = colorG;
colorB = colorB;
cmdprefix = cmdprefix;
suggestionstoggle = suggestionstoggle;
allowfriends = allowfriends;
JLnotify = JLnotify;
Mseconds = Mseconds;
Nfriends = Nfriends;
cmdbarbind = cmdbarbind;
chatsV = chatsV;
whispersV = whispersV;
commandsV = commandsV;
aliasSave = aliasSave
}
local updated = HttpService:JSONEncode(update)
wait(0.1)
writefile("IY.txt", updated) end
function isNumber(str)
return tonumber(str) ~= nil end
function msghook()
for _, child in pairs( workspace:GetChildren()) do
if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
child.Name = "IYmessage" child.Text = '' MSGhook = true end end
if workspace:FindFirstChild("IYmessage") then MSGhook = true
else MSGhook = false end end
game:GetService("RunService").RenderStepped:Connect(function()
game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
if r15noclip then
if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
if LP.Character and LP.Character:FindFirstChild('Humanoid') then
LP.Character.Humanoid.Died:connect(function() FLYING = false end)
if MSGhook == true and workspace:FindFirstChild("IYmessage") then
if workspace.IYmessage.Text == '' then
for _, child in pairs( LightingService:GetChildren()) do
if child.Name == "IYmblur" then
child:Destroy() end end end
else MSGhook = false end
for i,v in pairs(_players:GetPlayers()) do
if FindTable(loopkillT, v.Name) then
v.Character:BreakJoints() end
if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
v.Backpack:Destroy()
for i,n in pairs(v.Character:GetChildren()) do
if n:IsA('Tool') or n:IsA('HopperBin') then
n:destroy() end end end
if FindTable(rainbowT, v.Name) then
v.Neutral = false
v.TeamColor = BrickColor.random()
end end end end)
LightingService = game:GetService("Lighting")
origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
function FindTable(Table, Name)
for i,v in pairs(Table) do
if v == Name then
return true
end end
return false
end
function GetInTable(Table, Name)
for i = 1, #Table do
if Table[i] == Name then
return i
end end
return false end
_players.PlayerRemoving:connect(function(player)
for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end
for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end
if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
game:FindService('StarterGui'):SetCore('SendNotification', {
Title = player.Name,
Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
Duration = 5,
})
elseif JLnotify == true and Nfriends == false then
game:FindService('StarterGui'):SetCore('SendNotification', {
Title = player.Name,
Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
Duration = 5,
})
end
end)
FLYING = false
iyflyspeed = 1
function sFLY() -- from rocky2u cmdscript
repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
repeat wait() until Mouse
local T = LP.Character.HumanoidRootPart
local CONTROL = {F = 0, B = 0, L = 0, R = 0}
local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
local SPEED = 0
local function FLY()
FLYING = true
local BG = Instance.new('BodyGyro', T)
local BV = Instance.new('BodyVelocity', T)
BG.P = 9e4
BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
BG.cframe = T.CFrame
BV.velocity = Vector3.new(0, 0.1, 0)
BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
spawn(function()
repeat wait()
LP.Character.Humanoid.PlatformStand = true
if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
SPEED = 50
elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
SPEED = 0
end
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
else
BV.velocity = Vector3.new(0, 0.1, 0)
end
BG.cframe = workspace.CurrentCamera.CoordinateFrame
until not FLYING
CONTROL = {F = 0, B = 0, L = 0, R = 0}
lCONTROL = {F = 0, B = 0, L = 0, R = 0}
SPEED = 0
BG:destroy()
BV:destroy()
LP.Character.Humanoid.PlatformStand = false
end)
end
Mouse.KeyDown:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = iyflyspeed
elseif KEY:lower() == 's' then
CONTROL.B = -iyflyspeed
elseif KEY:lower() == 'a' then
CONTROL.L = -iyflyspeed
elseif KEY:lower() == 'd' then
CONTROL.R = iyflyspeed
end
end)
Mouse.KeyUp:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 0
elseif KEY:lower() == 's' then
CONTROL.B = 0
elseif KEY:lower() == 'a' then
CONTROL.L = 0
elseif KEY:lower() == 'd' then
CONTROL.R = 0
end
end)
FLY()
end
function NOFLY()
FLYING = false
LP.Character.Humanoid.PlatformStand = false
end
HK = {
'-HOTKEYS-',
'HOLD F2 - Click TP',
'F4 - Toggle Fly',
'F5 - Toggle Noclip',
'-COMMANDS-'
}
CMDs = {
'addalias [cmd] [alias]',
'addstat [plr] [text]',
'admins',
'admin [plr]',
'agelock [age num]',
'addban [full username]',
'age [plr]',
'aliases',
'alien / ayylmao [plr]',
'ambient [R G B]',
'anchor',
'animation [plr] [anim]',
'arrest [plr]',
'bait',
'ball [plr]',
'bang [plr] [plr] / bang [plr]',
'bans',
'ban [plr]',
'base',
'begone / thot [plr]',
'bgui [plr] [text]',
'blackandwhite',
'bleach [plr]',
'blackify [plr]',
'blind [plr]',
'blur [num]',
'bomb [plr]',
'box [plr]',
'breakloops/break (cmd loops)',
'brightness [num]',
'bring [plr]',
'btools [plr]',
'burn [plr]',
'cape [plr] [R G B]',
'car [plr]',
'change [plr] [stat] [num]',
'charplr / cp [plr] [plr]',
'char [plr] [ID]',
'chat [plr] [msg]',
'chickenarms / chicken [plr]',
'clear',
'clip',
'clone [plr]',
'clraliases',
'clrbans',
'clrterrain',
'cmds',
'confuse [plr]',
'control [plr]',
'copytools / ctools [plr]',
'countdown [num]',
'crash [plr]',
'creeper [plr]',
'cripple [plr]',
'crucify [plr]',
'damage [plr]',
'dance [plr]',
'day',
'decalspam [ID]',
'deleteclass / dc [class name]',
'deletepos / dpos [name]',
'delete [part name]',
'devuzi',
'disablereset [plr]',
'disabletools [plr]',
'disable [plr]',
'disco',
'discomesh [plr]',
'distortsound / distort [num]',
'dog [plr]',
'dong [plr]',
'draw',
'duck [plr]',
'dummy [name]',
'earthquake [power] [intensity]',
'enablereset [plr]',
'enabletools [plr]',
'enable [plr]',
'esp [plr]',
'exit',
'explode [plr]',
'explorer / dex',
'f3x',
'face [plr] [ID]',
'fart [plr]',
'fat [plr]',
'fegod',
'feinvisible / feinvis',
'fekill [plr] (need a tool)',
'ff [plr]',
'filtering',
'fire [plr] [R G B]',
'firstp [plr]',
'fix',
'fixcam',
'fixlighting / fixl',
'flashlight [plr]',
'fling [plr]',
'float [plr]',
'flood',
'fly',
'flyspeed [num]',
'fogcolor [R G B]',
'fogend [num]',
'freecam / fc',
'freecamspeed / fcspeed [num]',
'freeze / fr [plr]',
'ghost [plr]',
'glass [plr]',
'globalshadows / gshadows',
'glowstick [plr] [R G B]',
'god [plr]',
'goto [plr]',
'gravity [num]',
'hang [plr]',
'hatsize [plr] [num]',
'hat [plr] [ID]',
'headshake [plr]',
'headsize [plr] [num]',
'heal [plr]',
'hidename [plr]',
'hideplaylist / hideplayer',
'hipheight / hheight [plr] [num]',
'hub',
'infect [plr]',
'insert [ID/name]',
'invert',
'invisible / invis [plr]',
'invisibleff / invisff [plr]',
'iyspam',
'jail [plr]',
'jumppower / jpower [plr] [num]',
'jump [plr]',
'keeptools / ktools [plr]',
'keybind [key] [cmd]',
'kick [plr]',
'kidnap [plr]',
'kill [plr]',
'knife',
'knuckles [plr]',
'light [plr] [R G B]',
'loadm',
'loadmap [ID]',
'loadpos / lpos [plr] [name]',
'lockws',
'lock [plr]',
'logs',
'longneck [plr]',
'loopbring [plr]',
'loopheal [plr]',
'loopjump / ljump [plr]',
'loopkill [plr]',
'loopname / lname [plr]',
'loopoof',
'loopsit / lsit [plr]',
'mage',
'maxhealth [plr] [num]',
'maxzoom [plr] [num]',
'mesh [plr] [mesh] [texture]',
'message / m [msg]',
'meteor [plr]',
'name [plr]',
'neon [plr]',
'nextsong',
'night',
'nil [plr]',
'noarms [plr]',
'nobox [plr]',
'noclip',
'noclones [plr]',
'nodong [plr]',
'nodummies',
'noesp [plr]',
'noglobalshadows / nogshadows',
'nokeeptools / noktools [plr]',
'nolimbs [plr]',
'nooutlines',
'noparticles [plr]',
'noplrsound [plr]',
'norain',
'normal [plr]',
'notools [plr]',
'nuke [plr]',
'os [plr]',
'offset [plr] [coordinate]',
'outlines',
'paper [plr]',
'partdisco',
'particles [plr] [ID]',
'pipetp [plr] [plr]',
'pitch [num]',
'playhash / hash [hash]',
'playlist / player [ID],[ID]...',
'plrsound [plr] [ID]',
'positions / pos',
'prefix [string]',
'prevsong',
'punish [plr]',
'rainbowname [plr]',
'rainbow [plr]',
'rain [mesh] [texture]',
'refresh / re [plr]',
'rejoin',
'remotespy',
'removealias [alias]',
'removebait / nobait',
'rgui',
'removehats / rhats [plr]',
'removespawns',
'respawn [plr]',
'restoremap / rmap',
'rocket [plr]',
'savelighting / slighting',
'savemap / smap',
'savepos / spos [name]',
'script [script]',
'seagull / gull [plr]',
'seizure [plr]',
'serverinfo / info',
'serverlock / slock',
'servermessage / sm [msg]',
'sethealth [plr] [num]',
'setsong [num]',
'settings',
'sgod [plr]',
'shiny [plr]',
'shrek [plr]',
'shutdown',
'sit [plr]',
'size [plr] [num]',
'skydive [plr]',
'skygif [ID],[ID]... [interval]',
'sky [ID]',
'smite [plr]',
'smoke [plr]',
'sound / music [ID/name]',
'sparkles / sp [plr] [R G B]',
'spasm [plr]',
'spawnpoint [plr]',
'spectate / view [plr]',
'speed / ws [plr] [num]',
'sphere [plr]',
'spin [plr]',
'spookyify',
'starman [plr]',
'strength [plr]',
'strobe',
'stun [plr]',
'sun [intense] [spread]',
'sword [plr]',
'tablet',
'team [plr] [team]',
'terrain',
'thaw / unfr [plr]',
'thirdp [plr]',
'time [num]',
'tools [plr]',
'torso [plr]',
'tppos [plr] [coordinate]',
'tp [plr] [plr]',
'trail [plr] [R G B]',
'trip [plr]',
'unadmin [plr]',
'unagelock',
'unanchor',
'unball [plr]',
'unban [plr]',
'unbgui [plr]',
'unblind [plr]',
'unblur',
'uncape [plr]',
'uncar [plr]',
'unchar [plr]',
'unconfuse [plr]',
'uncreeper [plr]',
'uncripple [plr]',
'undecalspam',
'undisco',
'undog [plr]',
'unduck [plr]',
'unff [plr]',
'unfire [plr]',
'unfloat [plr]',
'unfly',
'unfreecam / unfc',
'unghost [plr]',
'ungod [plr]',
'unhidename [plr]',
'uninfect [plr]',
'unjail [plr]',
'unkeybind [key]',
'unlight [plr]',
'unlockws',
'unlock [plr]',
'unlongneck [plr]',
'unloopbring [plr]',
'unloopheal [plr]',
'unloopjump / unljump [plr]',
'unloopkill [plr]',
'unloopname / unlname [plr]',
'unloopoof',
'unloopsit / unlsit [plr]',
'unname [plr]',
'unpartdisco',
'unpunish [plr]',
'unrainbowname [plr]',
'unseizure [plr]',
'unserverlock / unslock',
'unshrek [plr]',
'unskygif',
'unsmoke [plr]',
'unsparkles / unsp [plr]',
'unspectate / unview',
'unspin [plr]',
'unstarman [plr]',
'unstrength [plr]',
'unstrobe',
'unstun [plr]',
'untrail [plr]',
'unweaken [plr]',
'version',
'visible / vis [plr]',
'volume / vol [num]',
'weaken [plr]',
'whiteify [plr]',
'zinnia [plr]'
}
function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end
std.inTable=function(tbl,val)
if tbl==nil then return false end
for _,v in pairs(tbl)do
if v==val then return true end
end
return false
end
std.out=function(str)
print(str)
end
std.list=function(tbl)
local str=''
for i,v in pairs(tbl)do
str=str..tostring(v)
if i~=#tbl then str=str..', ' end
end
return str
end
std.endat=function(str,val)
local z=str:find(val)
if z then
return str:sub(0,z-string.len(val)),true
else
return str,false
end
end
std.first=function(str) return str:sub(1,1) end
function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
local exec=function(str)
spawn(function()
local script, loaderr = loadstring(str)
if not script then
error(loaderr)
else
script()
end
end)
end
local findCmd=function(cmd_name)
for i,v in pairs(cmds)do
if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
return v
end
end
end
local getCmd=function(msg)
local cmd,hassplit=std.endat(msg:lower(),split)
if hassplit then
return {cmd,true}
else
return {cmd,false}
end
end
local getprfx=function(strn)
if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
end return
end
function dragGUI(gui)
spawn(function()
local UserInputService = game:GetService("UserInputService")
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), "InOut", "Quart", 0.04, true, nil)
end
gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end)
end
maincolor = Color3.new(colorR, colorG, colorB)
function updatecolors(color)
colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
maincolor = color
for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do
if child.Name == "TopBarContainer" then
child.BackgroundColor3 = color
end end
FeedbackMain.BackgroundColor3 = maincolor
MAIN.BackgroundColor3 = maincolor
bar.BackgroundColor3 = maincolor
game.CoreGui.sugg.suggestions.BackgroundColor3 = color
if game.CoreGui:FindFirstChild('Updates') then
game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Sinfo') then
game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('cp') then
game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color
game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Bans') then
game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Pos') then
game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Admins') then
game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Logs') then
game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end
if game.CoreGui:FindFirstChild('Aliases') then
game.CoreGui.Aliases.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Aliases.drag.PromptDialog.shadow.BackgroundColor3 = color end
for _, child in pairs( game.CoreGui:GetChildren()) do
if child.Name == "Models" then
game.CoreGui.Models.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Models.drag.PromptDialog.shadow.BackgroundColor3 = color
end
end
for _, child in pairs( game.CoreGui:GetChildren()) do
if child.Name == "Audios" then
game.CoreGui.Audios.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
game.CoreGui.Audios.drag.PromptDialog.shadow.BackgroundColor3 = color
end
end
end
function respawn(plr)
local M = Instance.new('Model', workspace) M.Name = 'respawn_iy'
local H = Instance.new('Humanoid', M)
local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
plr.Character = M end
local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930")
WL = {'IoIman616','Conceptual_Nullifier','Thomasbudge','N3xuI','MoonlightTears','DesiredUsername1233','marie',LP.Name}
function kickF(plr)
spawn(function()
if plr.Parent ~= nil then
if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
local newChar = dummy:Clone() newChar.Parent = workspace
newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
for i = 1,4 do
local Plat = Instance.new('SkateboardPlatform', newChar)
Plat.Position = newChar.HumanoidRootPart.Position
Plat.Name = 'IYplat'
Plat.Size = Vector3.new(10, 1.2, 10)
Plat.Transparency = 1 end
plr.Character = newChar
local PART = Instance.new('Part', newChar)
PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0)
PART.Size = Vector3.new(10, 1.2, 10)
PART.Anchored = true
PART.Transparency = 1
if newChar:FindFirstChild("SkateboardPlatform") then
newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end
wait(0.4)
if newChar then newChar:Destroy() end
kickF(plr) end
end end) end
function refresh(plr)
spawn(function()
local rpos = plr.Character.HumanoidRootPart.Position
wait(0.1) plr.Character:Destroy() respawn(plr) wait(0.1)
repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
plr.Character:MoveTo(rpos) end) end
function getArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S:lower(), split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S, split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
_players.PlayerAdded:connect(function(player)
if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
game:FindService('StarterGui'):SetCore('SendNotification', {
Title = player.Name,
Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
Duration = 5,
})
elseif JLnotify == true and Nfriends == false then
game:FindService('StarterGui'):SetCore('SendNotification', {
Title = player.Name,
Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
Duration = 5,
})
end
if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
spawn(function()
repeat wait() until player.Character
kickF(player)
end)
end)
elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
spawn(function()
repeat wait() until player.Character
kickF(player)
end)
end
if FindTable(banT, player.userId) then
spawn(function()
repeat wait() until player.Character
Notify('Banned player, ' .. player.Name .. ' attempted to join')
kickF(player)
end)
end
if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then
spawn(function()
repeat wait() until player.Character
kickF(player)
end)
else
if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then
spawn(function()
repeat wait() until player.Character
kickF(player)
end)
end
end
end)
local customAlias = {}
local findCmd=function(cmd_name)
for i,v in pairs(cmds)do
if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
return v
end
end
return customAlias[cmd_name:lower()]
end
local function splitString(str,delim)
local broken = {}
if delim == nil then delim = "," end
for w in string.gmatch(str,"[^"..delim.."]+") do
table.insert(broken,w)
end
return broken
end
local historyCount = 0
local cmdHistory = {}
lastBreakTime = 0
local function execCmd(cmdStr,speaker)
local rawCmdStr = cmdStr
cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
local commandsToRun = splitString(cmdStr,"\\")
for i,v in pairs(commandsToRun) do
v = string.gsub(v,"%%BackSlash%%","\\")
local x,y,num = v:find("^(%d+)%^")
local cmdDelay = 0
if num then
v = v:sub(y+1)
local x,y,del = v:find("^([%d%.]+)%^")
if del then
v = v:sub(y+1)
cmdDelay = tonumber(del) or 0
end
end
num = tonumber(num or 1)
local args = splitString(v,split)
local cmd = findCmd(args[1])
if cmd then
table.remove(args,1)
cargs = args
if speaker == gPlayers.LocalPlayer then
if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
end
if #cmdHistory > 20 then table.remove(cmdHistory) end
local cmdStartTime = tick()
for rep = 1,num do
if lastBreakTime > cmdStartTime then break end
pcall(function()
cmd.FUNC(args, speaker)
end)
if cmdDelay ~= 0 then wait(cmdDelay) end
end
end
end
end
logsloaded = false
ChatLog = function(plr)
plr.Chatted:Connect(function(Message)
if logsloaded == true then
if whispersV == true and Message:lower():sub(1,2) == '/w' then
CreateLabel(plr.Name,Message)
elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then
CreateLabel(plr.Name,Message)
elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then
CreateLabel(plr.Name,Message)
elseif chatsV == true and Message:lower():sub(1,2) ~= '/e' and Message:lower():sub(1,2) ~= '/w' and Message:lower():sub(1,1) ~= cmdprefix then
CreateLabel(plr.Name,Message)
end end end) end
function do_exec(str, plr) if not isAdmin(plr) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end
for _, plr in pairs(gPlayers:GetChildren()) do
if plr.ClassName == "Player" then
updateevents(plr) ChatLog(plr) end end
_players.PlayerAdded:connect(function(player)
updateevents(player) ChatLog(player)
end)
_G.exec_cmd = execCmd
--gPlayers.LocalPlayer.Chatted:connect(doexec)
function GLS(lower, start) local AA = '' for i,v in pairs(cargs) do if i > start then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not lower then return AA else return string.lower(AA) end end
local _char=function(plr_name)
for i,v in pairs(gPlayers:GetChildren())do
if v:IsA'Player'then
if v.Name==plr_name then return v.Character end
end
end
return
end
local _plr=function(plr_name)
for i,v in pairs(gPlayers:GetChildren())do
if v:IsA'Player'then
if v.Name==plr_name then return v end
end
end
return
end
function addcmd(name,desc,alias,func)
cmds[#cmds+1]=
{
NAME=name;
DESC=desc;
ALIAS=alias;
FUNC=func;
}
end
SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
local SpecialPlayerCases = {
["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
["others"] = function(speaker)
local plrs = {}
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if v ~= speaker then
table.insert(plrs,v)
end
end
return plrs
end,
["me"] = function(speaker)return {speaker} end,
["#(%d+)"] = function(speaker,args,currentList)
local returns = {}
local randAmount = tonumber(args[1])
local players = {unpack(currentList)}
for i = 1,randAmount do
if #players == 0 then break end
local randIndex = math.random(1,#players)
table.insert(returns,players[randIndex])
table.remove(players,randIndex)
end
return returns
end,
["random"] = function(speaker,args,currentList)
local players = currentList
return {players[math.random(1,#players)]}
end,
["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
local returns = {}
local team = args[1]
for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
table.insert(returns,plr)
end
end
return returns
end,
["allies"] = function(speaker)
local returns = {}
local team = speaker.Team
for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
if plr.Team == team then