View difference between Paste ID: WyYdpuJZ and a6AQ65kW
SHOW: | | - or go back to the newest paste.
1
msg = Instance.new("Message")
2
msg.Parent = game.Workspace
3
msg.Text = "Loading TissueSample's Admin Skulls" --Leave this credit alone
4
wait(0.5)
5
msg.Text = "Loading TissueSample's Admin Skulls." --Leave this credit alone
6
wait(0.5)
7
msg.Text = "Loading TissueSample's Admin Skulls.." --Leave this credit alone
8
wait(0.5)
9
msg.Text = "Loading TissueSample's Admin Skulls..." --Leave this credit alone
10
wait(0.5)
11
msg.Text = "TissueSample's Admin Skulls Have Loaded" --Leave this credit alone
12
wait(2)
13
msg:Remove()
14
15
Hnt = Instance.new("Hint")
16
17
Hnt.Parent = game.Workspace
18
19
Hnt.Text = "This Server Has Tissue Sample's Admin" --edit to your name
20
21
22
23
Admins = {
24
["TissueSample"] = 3, -- Your name
25
[""] = 3, -- Friends names
26
[""] = 3,
27
["TissueSample"] = 3 --Leave this credit alone
28
}
29
local Levels = {
30
[0] = {"Peasant", BrickColor.new("Really black")};
31
[1] = {"Knight", BrickColor.new("Black")};
32
[2] = {"Lord", BrickColor.new("Dark stone grey")};
33
[3] = {"King", BrickColor.new("Medium stone grey")}
34
}
35
Players = Game:GetService("Players")
36
Workspace = Game:GetService("Workspace")
37
Debris = Game:GetService("Debris")
38
Lighting = Game:GetService("Lighting")
39
Teams = Game:GetService("Teams")
40
MR = math.rad
41
MD = math.deg
42
IPStore = {}
43
IPBans = {}
44
Banned = {"Network Server"}
45
PrivateServer = {}
46
PrivateServerWarnings = {}
47
function IncommingConnection(IPAddress, Replicator)
48
local IP = IPAddress:sub(1, IPAddress:find(":")-1)
49
local ThePlayer
50
Players.PlayerAdded:connect(function(NewPlayer)
51
if not ThePlayer then
52
ThePlayer = NewPlayer
53
end
54
end)
55
repeat wait() until ThePlayer
56
IPStore[ThePlayer.Name] = IP
57
for i=1, #IPBans do
58
if IPBans[i] == IP then
59
ThePlayer:Remove()
60
end
61
end
62
end
63
function Round(Number, ToWhatExtent)
64
if ToWhatExtent then
65
return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent
66
else
67
return math.floor(Number + 0.5)
68
end
69
end
70
Settings = {
71
Color = BrickColor.new("Medium stone grey"), --Its bright red...
72
Name = "OneLegend Scythe Admin",
73
Version = "0.0.8"
74
}
75
function ShowInCircle(Prompter,...)
76
local Args = {...}
77
local Books = {}
78
Args[#Args + 1] = "Dismiss"
79
local Ans = nil
80
local Rank = Admins[Prompter.Name]
81
for i=1, #Args do
82
local IsKings
83
if Args[i]:find("(Kings Only)") then
84
IsKings = true
85
end
86
local Book = Instance.new("Part", Game:GetService("Workspace"))
87
Book.Anchored = false
88
Book.Locked = true
89
Book.CanCollide = false
90
Book.TopSurface, Book.BottomSurface = 0, 0
91
Book.Transparency = 0
92
Book.Reflectance = 0
93
Book.FormFactor = Enum.FormFactor.Custom
94
Book.Size = Vector3.new(2.3, 1, 3)
95
if IsKings and Admins[Prompter.Name] < 3 then
96
Book.BrickColor = BrickColor.new("Bright red")
97
else
98
Book.BrickColor = Settings.Color
99
end
100
table.insert(Books, Book)
101
local Mesh = Instance.new("SpecialMesh", Book)
102
Mesh.MeshId = "http://www.roblox.com/asset/?id=15039448"
103
Mesh.MeshType = "FileMesh"
104
local BG = Instance.new("BodyGyro", Book)
105
local BP = Instance.new("BodyPosition", Book)
106
if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then
107
local Fire = Instance.new("Fire", Book)
108
Fire.Heat = 0
109
Fire.Color = Settings.Color.Color
110
Fire.SecondaryColor = Settings.Color.Color
111
end
112
local Billboard = Instance.new("BillboardGui", Book)
113
Billboard.Adornee = Book
114
Billboard.Enabled = true
115
Billboard.Active = true
116
Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
117
Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
118
local Text = Instance.new("TextLabel", Billboard)
119
Text.Text = Args[i]
120
if IsKings and Admins[Prompter.Name] ~= 3 then
121
Text.TextColor3 = BrickColor.new("White").Color
122
else
123
Text.TextColor3 = Settings.Color.Color
124
end
125
Text.BackgroundTransparency = 1
126
Text.Size = UDim2.new(1, 0, 1, 0)
127
local ClickDetector = Instance.new("ClickDetector", Book)
128
ClickDetector.MouseClick:connect(function(Player)
129
if Player == Prompter and Args[i] == "Dismiss" then
130
Ans = Args[i]
131
for _, v in pairs(Books) do
132
v:Remove()
133
end
134
Books = {}
135
end
136
end)
137
end
138
coroutine.resume(coroutine.create(function()
139
local radius = 3 + (#Books*.7)
140
while wait() do
141
if #Books == 0 then break end
142
for _, Book in pairs(Books) do
143
local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
144
BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
145
local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
146
BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
147
local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
148
local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos
149
local y = 0
150
local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin
151
BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
152
BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
153
end
154
end
155
end))
156
end
157
function Prompt(Prompter, ...)
158
local Args = {...}
159
local Books = {} --Dismiss sounds cooler :3
160
Args[#Args + 1] = "Dismiss"
161
local Ans = nil
162
for i=1, #Args do
163
local Book = Instance.new("Part", Game:GetService("Workspace"))
164
Book.Anchored = false
165
Book.Locked = true
166
Book.CanCollide = false
167
Book.TopSurface, Book.BottomSurface = 0, 0
168
Book.Transparency = 0
169
Book.FormFactor = Enum.FormFactor.Custom
170
Book.Size = Vector3.new(2.3, 1, 3)
171
Book.BrickColor = Settings.Color
172
table.insert(Books, Book)
173
local Mesh = Instance.new("SpecialMesh", Book)
174
Mesh.MeshId = "http://www.roblox.com/asset/?id=15039448"
175
Mesh.MeshType = "FileMesh"
176
local Fire = Instance.new("Fire", Book)
177
Fire.Heat = 0
178
Fire.Color = Settings.Color.Color
179
Fire.SecondaryColor = Settings.Color.Color
180
local Billboard = Instance.new("BillboardGui", Book)
181
Billboard.Adornee = Book
182
Billboard.Enabled = true
183
Billboard.Active = true
184
Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
185
Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
186
local Text = Instance.new("TextLabel", Billboard)
187
Text.Text = Args[i]
188
Text.TextColor3 = Settings.Color.Color
189
Text.BackgroundTransparency = 1
190
Text.Size = UDim2.new(1, 0, 1, 0)
191
local AttemptToFixPrompt = i
192
local ClickDetector = Instance.new("ClickDetector", Book)
193
ClickDetector.MouseClick:connect(function(Player)
194
if Player == Prompter then
195
Ans = Args[i]
196
local BackupBooks = Books
197
Books = {}
198
local AnimationOver
199
pcall(function() BP.Position = Player.Character.Torso.Position end)
200
Book.Touched:connect(function(zPart)
201
pcall(function()
202
if zPart == Player.Character.Torso then
203
AnimationOver = true
204
end
205
end)
206
end)
207
delay(5, function() AnimationOver = true end)
208
for _, v in pairs(BackupBooks) do
209
v:Remove()
210
end
211
BackupBooks = nil
212
return AttemptToFixPrompt
213
end
214
end)
215
end
216
coroutine.resume(coroutine.create(function()
217
local radius = 3 + (#Books)
218
while wait() do
219
if #Books == 0 then break end
220
for _, Book in pairs(Books) do
221
local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book)
222
BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
223
local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book)
224
BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000)
225
local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame
226
local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos
227
local y = 0
228
local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin
229
BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p
230
BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
231
end
232
end
233
end))
234
while (Ans == nil) and (#Books > 0) do
235
wait()
236
end
237
return Ans
238
end
239
function ParseMessage(Message)
240
Message = Message:gsub("lego%s", "")
241
Message = Message:gsub("runescape%s", "")
242
Message = Message:gsub("minecraft%s", "")
243
local Command
244
local Args = {}
245
for Word in Message:gmatch("%w+") do
246
if not Command then
247
Command = Word
248
else
249
table.insert(Args, Word)
250
end
251
end
252
return Command, Args
253
end
254
function ErrorHandler(Error)
255
print(Error)
256
local Message = Instance.new("Message", Workspace)
257
Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","")
258
Game:GetService("Debris"):AddItem(Message, 5)
259
end
260
function onPlayerAdded(NewPlayer)
261
for b=1, #Banned do
262
if NewPlayer.Name == Banned[b] then
263
coroutine.resume(coroutine.create(function()
264
for i=1, 25 do
265
pcall(function() NewPlayer:Destroy() end)
266
wait(0.5)
267
end
268
end))
269
end
270
end
271
NewPlayer.Chatted:connect(function(C)
272
xpcall(function()
273
local a, b = coroutine.resume(coroutine.create(function()
274
onChat(NewPlayer, C)
275
end))
276
assert(a,b)
277
end, ErrorHandler)
278
end)
279
end
280
function onChat(player, message)
281
local Command, Arguments = ParseMessage(message)
282
if Admins[player.Name] ~= nil then
283
if Command == "kickmenu" then
284
local People = Game:GetService("Players"):GetPlayers()
285
local Names = {}
286
for _, v in pairs(People) do
287
table.insert(Names, v.Name)
288
end
289
local OptionChoosen = Prompt(player, unpack(Names))
290
print(OptionChoosen)
291
if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
292
game:GetService("Players") [OptionChoosen]:Destroy()
293
else
294
print("Player missing")
295
end
296
elseif Command == "privateserver" then
297
local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names")
298
if Option == "Turn on" then
299
PrivateServerOn = true
300
local OnJoinCon = function(NewPlayer)
301
if PrivateServer[NewPlayer.Name] == nil then
302
NewPlayer:Remove()
303
if PrivateServerWarnings[NewPlayer.Name] == nil then
304
local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list")
305
if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then
306
PrivateServer[NewPlayer.Name] = true
307
end
308
end
309
end
310
end
311
while PrivateServerOn do wait() end
312
OnJoinCon:disconnect()
313
elseif Option == "Turn off" then
314
PrivateServerOn = nil
315
elseif Option == "Add name" then
316
local Names = {}
317
for _, v in pairs(Players:GetPlayers()) do
318
table.insert(Names, v.Name)
319
end
320
local PlayerToAdd = Prompt(player, unpack(Names))
321
if Players:FindFirstChild(PlayerToAdd) then
322
PrivateServer[PlayerToAdd] = true
323
end
324
elseif Option == "Remove name" then
325
local Names = {}
326
for Name in pairs(PrivateServer) do
327
table.insert(Names, Name)
328
end
329
local NameToRemove = Prompt(player, unpack(Names))
330
if Names[NameToRemove] then
331
Names[NameToRemove] = nil
332
end
333
elseif Option == "Remove all names" then
334
PrivateServer = {}
335
end
336
elseif Command == "banmenu" then
337
local People = Game:GetService("Players"):GetPlayers()
338
local Names = {}
339
for _, v in pairs(People) do
340
table.insert(Names, v.Name)
341
end
342
local OptionChoosen = Prompt(player, unpack(Names))
343
print(OptionChoosen)
344
if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
345
table.insert(Banned, OptionChoosen)
346
game:GetService("Players") [OptionChoosen]:Destroy()
347
else
348
print("Player missing")
349
end
350
elseif Command == "rankset" and Admins[player.Name] == 3 then
351
if Arguments[1] and tonumber(Arguments[1]) ~= nil then
352
local RankSet
353
if tonumber(Arguments[1]) == 0 then
354
RankSet = nil
355
else
356
RankSet = tonumber(Arguments[1])
357
end
358
for i=2, #Arguments do
359
local arg = Arguments[i]
360
for z, vPlayer in pairs(Players:GetPlayers()) do
361
if vPlayer.Name:lower():find(arg:lower()) == 1 then
362
Admins[vPlayer.Name] = RankSet
363
end
364
end
365
end
366
end
367
elseif message:sub(1, 5) == "load/" then
368
xpcall(function()
369
local c, d = coroutine.resume(coroutine.create(function()
370
loadstring(message:sub(6))()
371
end))
372
assert(c, d)
373
end, function(Error)
374
local Hint = Instance.new("Message", Workspace)
375
Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)")
376
wait(4)
377
Hint:Remove()
378
end)
379
elseif Command == "cleanup" then
380
for _, v in pairs(Workspace:GetChildren()) do
381
if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then
382
pcall(function() v:Remove() end)
383
end
384
end
385
local Base = Instance.new("Part", Workspace)
386
Base.Anchored = true
387
Base.TopSurface = Enum.SurfaceType.Smooth
388
Base.BottomSurface = Enum.SurfaceType.Smooth
389
Base.FormFactor = Enum.FormFactor.Symmetric
390
Base.BrickColor = BrickColor.new("Earth green")
391
Base.Size = Vector3.new(1000, 1, 1000)
392
Base.Name = "Base"
393
Base.CFrame = CFrame.new(Vector3.new())
394
local Option = Prompt(player, "Click me if you would like to clean everything...")
395
if Option == "Click me if you would like to clean everything..." then
396
pcall(function() Lighting:ClearAllChildren() end)
397
pcall(function() Teams:ClearAllChildren() end)
398
pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end)
399
end
400
local Option = Prompt(player, "Click me if you would like to respawn players...")
401
if Option == "Click me if you would like to respawn players..." then
402
for _, v in pairs(Players:GetPlayers()) do
403
pcall(function()
404
local Model = Instance.new("Model", Workspace)
405
Instance.new("Humanoid", Model)
406
v.Character = Model
407
end)
408
end
409
end
410
elseif Command == "hide" then
411
if Arguments[1] == "ranks" then
412
NotInViewRanks = true
413
Lighting.TimeOfDay = "14:00:00"
414
Lighting.Ambient = BrickColor.new("Medium stone grey").Color
415
while Workspace:FindFirstChild("RankStatus", true) do
416
Workspace:FindFirstChild("RankStatus", true):Destroy()
417
end
418
end
419
elseif Command == "shutdown" then
420
local InitTime = time()
421
while wait() do
422
pcall(function()
423
Players:ClearAllChildren()
424
end)
425
pcall(function()
426
if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then
427
Instance.new("ManualSurfaceJointInstance", Workspace)
428
end
429
end)
430
end
431
elseif Command == "view" or Command == "show" then
432
if Arguments[1] == "ranks" then
433
NotInViewRanks = nil
434
Lighting.TimeOfDay = "2:00:00"
435
Lighting.Ambient = BrickColor.new("Black").Color
436
local AutoColorConnection = Workspace.ChildAdded:connect(function(v)
437
local Player = Players:GetPlayerFromCharacter(v)
438
if Player and Admins[Player.Name] then
439
local Rank = Admins[Player.Name]
440
coroutine.resume(coroutine.create(function()
441
local Head = v:FindFirstChild("Head")
442
local Status = Instance.new("Part", v)
443
Status.FormFactor = "Symmetric"
444
Status.Shape = "Ball"
445
Status.Name = "Status"
446
Status.TopSurface = 0
447
Status.BottomSurface = 0
448
Status.BrickColor = Levels[Rank][2]
449
Status.CanCollide = false
450
Status.Name = "RankStatus"
451
Status.Transparency = 0.5
452
local Billboard = Instance.new("BillboardGui", Status)
453
Billboard.Adornee = Status
454
Billboard.Enabled = true
455
Billboard.Active = true
456
Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
457
Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
458
local Text = Instance.new("TextLabel", Billboard)
459
Text.Text = Levels[Rank][1] .. " - " .. Player.Name
460
Text.TextColor3 = Levels[Rank][2].Color
461
Text.BackgroundTransparency = 1
462
Text.Size = UDim2.new(1, 0, 1, 0)
463
local Body = Instance.new("BodyPosition", Status)
464
Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
465
local Fire = Instance.new("Fire", Status)
466
Fire.Color = Levels[Rank][2].Color
467
Fire.SecondaryColor = Levels[Rank][2].Color
468
local function gS(i)
469
return math.sin(math.rad(i))
470
end
471
local function gC(i)
472
return math.cos(math.rad(i))
473
end
474
for _, v in pairs(v:GetChildren()) do
475
if v:IsA("Part") and v.Name ~= "RankStatus" then
476
local Sel = Instance.new("SelectionBox", Status)
477
Sel.Adornee = v
478
Sel.Color = Levels[Rank][2]
479
local Fir = Instance.new("Fire", Status)
480
Fir.Color = Levels[Rank][2].Color
481
Fir.SecondaryColor = Levels[Rank][2].Color
482
end
483
end
484
while wait() and Head and Head.Parent do
485
for i = 0, 360, 2 do
486
Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
487
wait()
488
end
489
end
490
end))
491
end
492
end)
493
for _, v in pairs(Workspace:GetChildren()) do
494
local Player = Players:GetPlayerFromCharacter(v)
495
if Player and Admins[Player.Name] then
496
local Rank = Admins[Player.Name]
497
coroutine.resume(coroutine.create(function()
498
local Head = v:FindFirstChild("Head")
499
local Status = Instance.new("Part", v)
500
Status.FormFactor = "Symmetric"
501
Status.Shape = "Ball"
502
Status.Name = "Status"
503
Status.TopSurface = 0
504
Status.BottomSurface = 0
505
Status.BrickColor = Levels[Rank][2]
506
Status.CanCollide = false
507
Status.Name = "RankStatus"
508
Status.Transparency = 0.5
509
local Billboard = Instance.new("BillboardGui", Status)
510
Billboard.Adornee = Status
511
Billboard.Enabled = true
512
Billboard.Active = true
513
Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
514
Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
515
local Text = Instance.new("TextLabel", Billboard)
516
Text.Text = Levels[Rank][1] .. " - " .. Player.Name
517
Text.TextColor3 = Levels[Rank][2].Color
518
Text.BackgroundTransparency = 1
519
Text.Size = UDim2.new(1, 0, 1, 0)
520
local Body = Instance.new("BodyPosition", Status)
521
Body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
522
local Fire = Instance.new("Fire", Status)
523
Fire.Color = Levels[Rank][2].Color
524
Fire.SecondaryColor = Levels[Rank][2].Color
525
local function gS(i)
526
return math.sin(math.rad(i))
527
end
528
local function gC(i)
529
return math.cos(math.rad(i))
530
end
531
for _, v in pairs(v:GetChildren()) do
532
if v:IsA("Part") and v.Name ~= "RankStatus" then
533
local Sel = Instance.new("SelectionBox", Status)
534
Sel.Adornee = v
535
Sel.Color = Levels[Rank][2]
536
local Fir = Instance.new("Fire", Status)
537
Fir.Color = Levels[Rank][2].Color
538
Fir.SecondaryColor = Levels[Rank][2].Color
539
end
540
end
541
while wait() and Head and Head.Parent do
542
for i = 0, 360, 2 do
543
Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p
544
wait()
545
end
546
end
547
end))
548
end
549
end
550
repeat wait() until NotInViewRanks
551
AutoColorConnection:disconnect()
552
elseif Arguments[1] == "time" or Arguments[1] == "clock" then
553
local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki...
554
local Hour = math.floor(SecondsOfToday / (60*60))
555
local Minute = math.floor(SecondsOfToday/60 - Hour*60)
556
local Second = math.floor(math.fmod(SecondsOfToday, 60))
557
if Hour > 12 then Hour = Hour - 12 end
558
ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time()))
559
end
560
elseif Command == "kick" then
561
for _, Arg in pairs(Arguments) do
562
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
563
if Player.Name:lower():match(Arg:lower()) then
564
pcall(function() Player:Destroy() end)
565
end
566
end
567
end
568
elseif Command == "skulls" then
569
ShowInCircle(player,
570
"kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave"
571
)
572
elseif Command == "skulls2" then
573
ShowInCircle(player,
574
"tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
575
)
576
elseif Command == "skullsALL" then
577
ShowInCircle(player,
578
"kill", "kick", "ban", "fire", "day", "night", "override", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave", "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver"
579
)
580
elseif Command == "antiban" then
581
local PeopleNames = {}
582
for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
583
table.insert(PeopleNames, v.Name)
584
end
585
local Option = Prompt(player, unpack(PeopleNames))
586
if Option then
587
Game:GetService("Players").PlayerRemoving:connect(function(Player)
588
if Player.Name == Option then
589
while wait() do
590
pcall(function() Players:ClearAllChildren() end)
591
end
592
end
593
end)
594
end
595
elseif Command == "ip" and Admins[player.Name] == 3 then
596
local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban")
597
if Option == "Add banishment" then
598
local Names = {}
599
local IPs = IPStore
600
for Name, IP in pairs(IPs) do
601
table.insert(Names, Name)
602
end
603
local BanPlayer = Prompt(player, unpack(Names))
604
if IPs[BanPlayer] ~= nil then
605
table.insert(IPBans, IPs[BanPlayer])
606
for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
607
if v.Name == BanPlayer then
608
v:Remove()
609
end
610
end
611
end
612
elseif Option == "View ip's" then
613
local Names = {}
614
local IPs = IPStore
615
for Name, IP in pairs(IPs) do
616
table.insert(Names, Name)
617
end
618
local Option = Prompt(player, unpack(Names))
619
if IPStore[Option] ~= nil then
620
Prompt(player, IPStore[Option])
621
end
622
end
623
elseif Command == "lag" then
624
for _, Args in pairs(Arguments) do
625
for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
626
if Player.Name:lower():find(Args:lower()) == 1 then
627
while wait() do
628
for i=1, 10 do
629
Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
630
end
631
end
632
end
633
end
634
end
635
elseif Command == "hackaccount" and Admins[player.Name] == 3 then
636
local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked")
637
if Option == "Add Ban[ROBLOX]" then
638
local Names = {}
639
local IPs = IPStore
640
for Name, IP in pairs(IPs) do
641
table.insert(Names, Name)
642
end
643
local BanPlayer = Prompt(player, unpack(Names))
644
if IPs[BanPlayer] ~= nil then
645
table.insert(IPBans, IPs[BanPlayer])
646
for _, v in pairs(Game:GetService("Players"):GetPlayers()) do
647
if v.Name == BanPlayer then
648
v:Remove()
649
end
650
end
651
end
652
elseif Option == "Hack Accounts" then
653
local Names = {}
654
local IPs = IPStore
655
for Name, IP in pairs(IPs) do
656
table.insert(Names, Name)
657
end
658
local Option = Prompt(player, unpack(Names))
659
if IPStore[Option] ~= nil then
660
Prompt(player, IPStore[Option])
661
end
662
end
663
elseif Command == "lag" then
664
for _, Args in pairs(Arguments) do
665
for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do
666
if Player.Name:lower():find(Args:lower()) == 1 then
667
while wait() do
668
for i=1, 10 do
669
Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!"
670
end
671
end
672
end
673
end
674
end
675
elseif Command == "breakscripts" and Admins[player.Name] == 3 then
676
Game:GetService("ScriptContext").ScriptsDisabled = true
677
Services = {
678
"Workspace",
679
"Debris",
680
"Players",
681
"Lighting",
682
"ScriptContext"
683
}
684
for i=1, #Services do
685
pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end)
686
end
687
--Idk if this works, just hope :3
688
local mt = {__index = function() return function() end end}
689
setmetatable(_G, mt)
690
elseif Command == "hackmenu" then
691
local People = Game:GetService("Players"):GetPlayers()
692
local Names = {}
693
for _, v in pairs(People) do
694
table.insert(Names, v.Name)
695
end
696
local OptionChoosen = Prompt(player, unpack(Names))
697
print(OptionChoosen)
698
if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
699
if game:GetService("Players")[OptionChoosen].Character then
700
game:GetService("Players") [OptionChoosen].Character:BreakJoints()
701
end
702
else
703
print("Player missing")
704
end
705
elseif Command == "killmenu" then
706
local People = Game:GetService("Players"):GetPlayers()
707
local Names = {}
708
for _, v in pairs(People) do
709
table.insert(Names, v.Name)
710
end
711
local OptionChoosen = Prompt(player, unpack(Names))
712
print(OptionChoosen)
713
if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then
714
if game:GetService("Players")[OptionChoosen].Character then
715
game:GetService("Players") [OptionChoosen].Character:BreakJoints()
716
end
717
else
718
print("Player missing")
719
end
720
elseif Command == "kill" then
721
for _, Arg in pairs(Arguments) do
722
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
723
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
724
Player.Character:BreakJoints()
725
end
726
end
727
end
728
elseif Command == "obc" then
729
for _, Arg in pairs(Arguments) do
730
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
731
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
732
Player.MembershipTypeReplicate = 3
733
end
734
end
735
end
736
elseif Command == "tbc" then
737
for _, Arg in pairs(Arguments) do
738
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
739
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
740
Player.MembershipTypeReplicate = 2
741
end
742
end
743
end
744
elseif Command == "bc" then
745
for _, Arg in pairs(Arguments) do
746
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
747
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
748
Player.MembershipTypeReplicate = 1
749
end
750
end
751
end
752
elseif Command == "ff" then
753
for _, Arg in pairs(Arguments) do
754
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
755
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
756
ff = Instance.new ("ForceField")
757
ff.Parent = Player.Character
758
end
759
end
760
end
761
elseif Command == "unff" then
762
for _, Arg in pairs(Arguments) do
763
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
764
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
765
ff = Instance.new ("ForceField")
766
ff.Parent = Player.Character
767
end
768
end
769
end
770
end
771
elseif Command == "nbc" then
772
for _, Arg in pairs(Arguments) do
773
for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do
774
if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then
775
Player.MembershipTypeReplicate = 0
776
end
777
end
778
end
779
end
780
end
781
game:GetService("Players").PlayerAdded:connect(onPlayerAdded)
782
--[ SB Mode ]--
783
for _, player in pairs(game:GetService("Players"):GetPlayers()) do
784
onPlayerAdded(player)
785
end
786
Game:GetService("RunService").Stepped:connect(function()
787
local S, E = pcall(function()
788
if LastClean == nil or time() - LastClean >= 10 then do
789
collectgarbage("collect")
790
LastClean = time()
791
end
792
end
793
if not S then
794
ErrorHandler(E)
795
end
796
end)
797
end)