View difference between Paste ID: a7zeQmeY and qgvWdnMC
SHOW: | | - or go back to the newest paste.
1
---copyright Basictality
2
wait() --ignore this. (if u touch it won't load)
3-
adminwew = game.Players.Sarah67853 local admins = {adminwew.Name,adminwew}
3+
adminwew = game.Players.xXsaborzackXx local admins = {adminwew.Name,adminwew}
4
 chatname = '[bOrb]: '
5
wpadtrans = "0"
6
 OrbName = "bOrb"
7
prefix = "-"
8
dis = "7"
9-
Speed = "0.1" --The best ones are 0.1 - 0.5
9+
Speed = "0.3" --The best ones are 0.1 - 0.5
10
Banned = "angelofdarkness7877"
11
Chat = true
12
----------------------------------------------------------------------------------------------
13-
 print[[version 51.6]]
13+
 print[[Version S.89]]
14
 print[[Edited By Sabor]]
15
 print[[By Basic]]
16
 print[[Saborzack Is A G
17
 meplyr = adminwew
18
 ----------Message-----------
19
 function OnChatted(msg)
20
	    if msg:lower():sub(1,3) == prefix.."m " then
21
		for i,v in pairs(game.Players:children()) do
22
mesgui=Instance.new('ScreenGui',v.PlayerGui)
23
mesframe=Instance.new('Frame',mesgui)
24
mesframe.Size = UDim2.new(0,1,0,1)
25
mesframe.BackgroundTransparency=0.6
26
mesframe.Position = UDim2.new(0,-2000,0,0)
27
mesframe.BackgroundColor3 = Color3.new(0,0,0)
28
mesframe:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", 1.2)
29
mesframe:TweenSize(UDim2.new(0, 1400, 0, 700), "Out", 1.2)
30
31
mestl=Instance.new('TextLabel',mesframe)
32
mestl.TextScaled = true
33
mestl.Text = 'Message from '..adminwew.Name..':'
34
mestl.BackgroundColor3 = Color3.new(255,255,255)
35
mestl.BackgroundTransparency = 0.4
36
mestl.TextColor3 = Color3.new(255,255,255)
37
mestl.Size = UDim2.new(0,1400,0,50)
38
39
mestl1=Instance.new('TextLabel',mesframe)
40
mestl1.TextScaled = true
41
mestl1.Text = msg:sub(4,#msg)
42
mestl1.Position = UDim2.new(0,0,0,300)
43
mestl1.BackgroundTransparency = 0.5
44
mestl1.TextColor3 = Color3.new(255,255,255)
45
mestl1.Size = UDim2.new(0,1400,0,50)
46
game.Debris:AddItem(mesframe,3)
47
		end
48
		end
49
	end
50
51
adminwew.Chatted:connect(OnChatted)
52
------------Pitch------------
53
function OnChatted(msg)
54
	    if msg:lower():sub(1,7) == prefix.."pitch " then
55
	find = 'BasMus'
56
	if workspace:FindFirstChild(find) then
57
workspace[find].Pitch = msg:sub(8,#msg)
58
	end
59
	end
60
end
61
62
adminwew.Chatted:connect(OnChatted)
63
-----------Ambient-----------
64
function OnChatted(msg)
65
	    if msg:lower():sub(1,9) == prefix.."ambient " then
66
game.Lighting.Ambient = Color3.new(msg:sub(10,#msg),msg:sub(10,#msg),msg:sub(10,#msg))
67
end
68
end
69
70
adminwew.Chatted:connect(OnChatted)
71
-------------Time------------
72
function OnChatted(msg)
73
	    if msg:lower():sub(1,6) == prefix.."time " then
74
game.Lighting.TimeOfDay = msg:sub(7,#msg)
75
end
76
end
77
78
adminwew.Chatted:connect(OnChatted)
79
----------Exe Script---------
80
function OnChatted(msg)
81
	    if msg:lower():sub(1,5) == prefix.."exe " then
82
loadstring(msg:sub(6,#msg))()
83
if Chat == true then
84
	game:GetService("Chat"):Chat(wpad,chatname.."Executed script.",Enum.ChatColor.Blue)
85
end
86
end
87
end
88
89
adminwew.Chatted:connect(OnChatted)
90
----=-------Music------------
91
function OnChatted(msg)
92
	    if msg:lower():sub(1,5) == prefix.."mus " then
93
		find = 'BasMus'
94
	if workspace:FindFirstChild(find) then
95
game.Debris:AddItem(workspace[find],0)
96
		end
97
msgs=Instance.new('Sound',workspace)
98
msgs.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(6,#msg)
99
msgs.Volume = 5
100
msgs.Name = 'BasMus'
101
msgs.Pitch = 1
102
msgs.Looped = true
103
msgs:play()
104
if Chat == true then
105
		game:GetService("Chat"):Chat(wpad,chatname.."Playing "..msg:sub(6,#msg)..".",Enum.ChatColor.Blue)
106
107
end
108
end
109
end
110
111
adminwew.Chatted:connect(OnChatted)
112
----------cmds gui-----------
113
for i,v in pairs(game.Players:children()) do
114
function OnChatted(cmds)
115
	    if cmds:lower():sub(1,7) == prefix.."cmds" then
116
cmdgui=Instance.new('ScreenGui',v.PlayerGui)
117
cmdframe=Instance.new('Frame',cmdgui)
118
cmdframe.Size = UDim2.new(0,500,0,350)
119
cmdframe.Position = UDim2.new(0,430,0,-300)
120
cmdframe:TweenPosition(UDim2.new(0,430,0,200),'Out','Quad',0.35)
121
cmdframe.BackgroundTransparency=0.5
122
cmdframe.BackgroundColor3 = Color3.new(0,0,0)
123
124
cmdtl=Instance.new('TextLabel',cmdframe)
125
cmdtl.Text = "Commands [24]"
126
cmdtl:TweenSize(UDim2.new(0,500,0,50),'Out','Quad',0.35)
127
cmdtl.TextScaled = true
128
cmdtl.BackgroundTransparency=1
129
cmdtl.TextColor3 = Color3.new(255,255,255)
130
cmdtl.TextStrokeTransparency = 0
131
132
cmdprefixltl=Instance.new('TextLabel',cmdframe)
133
cmdprefixltl.Text = "Prefix: "..prefix
134
cmdprefixltl:TweenSize(UDim2.new(0,100,0,50),'Out','Quad',0.35)
135
cmdprefixltl.BackgroundTransparency=1
136
cmdprefixltl.TextColor3 = Color3.new(255,255,255)
137
cmdprefixltl.TextStrokeTransparency = 0
138
cmdprefixltl.FontSize = "Size14"
139
cmdprefixltl:TweenPosition(UDim2.new(0,-5,0,-15),'Out','Quad',0.35)
140
141
cmdbutton=Instance.new('TextButton',cmdframe)
142
cmdbutton.TextScaled = true
143
cmdbutton.Text = "X"
144
cmdbutton.BackgroundTransparency = 1
145
cmdbutton.TextColor3 = Color3.new(1,0,0)
146
cmdbutton.Size = UDim2.new(0,50,0,50)
147
cmdbutton:TweenPosition(UDim2.new(0,450,0,0),'Out','Quad',0.35)
148
149
function onClick()
150
	cmdframe:TweenPosition(UDim2.new(0,430,0,700),'Out','Quad',0.35)
151
	game.Debris:AddItem(cmdframe,2)
152
end
153
154
cmdbutton.MouseButton1Down:connect(onClick)
155
156
sf=Instance.new('ScrollingFrame',cmdframe)
157
sf:TweenSize(UDim2.new(0,480,0,260),'Out','Quad',0.35)
158
sf:TweenPosition(UDim2.new(0,10,0,50),'Out','Quad',0.35)
159
sf.BackgroundTransparency = 0.5
160
sf.BackgroundColor3 = Color3.new(0,0,0)
161
162
fc=Instance.new('TextLabel',sf)
163
fc.TextColor3 = Color3.new(255,255,255)
164
fc.TextScaled = true
165
fc.Text = "Explode <plyr>"
166
fc.BackgroundColor = BrickColor.new'Dark blue'
167
fc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
168
fc.BackgroundTransparency=0
169
170
sc=fc:Clone()
171
sc.Parent = sf
172
sc.Text = "kill <plyr>"
173
sc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
174
sc:TweenPosition(UDim2.new(0,0,0,35),'Out','Quad',0.35)
175
176
tc=sc:clone()
177
tc.Parent = sf
178
tc.Text = "UnGod <plyr>"
179
tc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
180
tc:TweenPosition(UDim2.new(0,0,0,70),'Out','Quad',0.35)
181
182
fc=sc:clone()
183
fc.Parent = sf
184
fc.Text = "Freeze <plyr>"
185
fc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
186
fc:TweenPosition(UDim2.new(0,0,0,105),'Out','Quad',0.35)
187
188
fic=sc:clone()
189
fic.Parent = sf
190
fic.Text = "Thaw <plyr>"
191
fic:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
192
fic:TweenPosition(UDim2.new(0,0,0,140),'Out','Quad',0.35)
193
194
sic=sc:clone()
195
sic.Parent = sf
196
sic.Text = "resp/respawn/res <plyr>"
197
sic:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
198
sic:TweenPosition(UDim2.new(0,0,0,175),'Out','Quad',0.35)
199
200
sec=sc:clone()
201
sec.Parent = sf
202
sec.Text = "God <plyr>"
203
sec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
204
sec:TweenPosition(UDim2.new(0,0,0,210),'Out','Quad',0.35)
205
206
eec=sc:clone()
207
eec.Parent = sf
208
eec.Text = "BSOD/Lag <plyr>"
209
eec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
210
eec:TweenPosition(UDim2.new(0,0,0,245),'Out','Quad',0.35)
211
212
nec=sc:clone()
213
nec.Parent = sf
214
nec.Text = "ff/shield/forcefield <plyr>"
215
nec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
216
nec:TweenPosition(UDim2.new(0,0,0,280),'Out','Quad',0.35)
217
218
tec=sc:clone()
219
tec.Parent = sf
220
tec.Text = "kick/boot <plyr>"
221
tec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
222
tec:TweenPosition(UDim2.new(0,0,0,315),'Out','Quad',0.35)
223
224
elec=sc:clone()
225
elec.Parent = sf
226
elec.Text = "ban/banish <plyr>"
227
elec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
228
elec:TweenPosition(UDim2.new(0,0,0,350),'Out','Quad',0.35)
229
230
twec=sc:clone()
231
twec.Parent = sf
232
twec.Text = "unban/unbanish <plyr>"
233
twec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
234
twec:TweenPosition(UDim2.new(0,0,0,385),'Out','Quad',0.35)
235
236
thec=sc:clone()
237
thec.Parent = sf
238
thec.Text = "sword <plyr>"
239
thec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
240
thec:TweenPosition(UDim2.new(0,0,0,420),'Out','Quad',0.35)
241
242
foec=sc:clone()
243
foec.Parent = sf
244
foec.Text = "ngrav/nograv/nogravity <plyr>"
245
foec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
246
foec:TweenPosition(UDim2.new(0,0,0,455),'Out','Quad',0.35)
247
248
fiec=sc:clone()
249
fiec.Parent = sf
250
fiec.Text = "grav/gravity <plyr>"
251
fiec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
252
fiec:TweenPosition(UDim2.new(0,0,0,490),'Out','Quad',0.35)
253
254
sixec=sc:clone()
255
sixec.Parent = sf
256
sixec.Text = "unjail/nojail <plyr>"
257
sixec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
258
sixec:TweenPosition(UDim2.new(0,0,0,525),'Out','Quad',0.35)
259
260
sitec=sc:clone()
261
sitec.Parent = sf
262
sitec.Text = "light/plight <plyr>"
263
sitec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
264
sitec:TweenPosition(UDim2.new(0,0,0,560),'Out','Quad',0.35)
265
266
enitec=sc:clone()
267
enitec.Parent = sf
268
enitec.Text = "rlight/nolight/unlight <plyr>"
269
enitec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
270
enitec:TweenPosition(UDim2.new(0,0,0,595),'Out','Quad',0.35)
271
272
nineteen=sc:clone()
273
nineteen.Parent = sf
274
nineteen.Text = "jail/lockup <plyr>"
275
nineteen:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
276
nineteen:TweenPosition(UDim2.new(0,0,0,630),'Out','Quad',0.35)
277
278
twenty=sc:clone()
279
twenty.Parent = sf
280
twenty.Text = "unff/unforcefield/unshield <plyr>"
281
twenty:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
282
twenty:TweenPosition(UDim2.new(0,0,0,630),'Out','Quad',0.35)
283
284
twenty1=sc:clone()
285
twenty1.Parent = sf
286
twenty1.Text = "jail <plyr>"
287
twenty1:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
288
twenty1:TweenPosition(UDim2.new(0,0,0,665),'Out','Quad',0.35)
289
290
twenty2=sc:clone()
291
twenty2.Parent = sf
292
twenty2.Text = "sit <plyr>"
293
twenty2:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
294
twenty2:TweenPosition(UDim2.new(0,0,0,0),'Out','Quad',0.35)
295
twenty2.TextTransparency=1
296
twenty2.BackgroundTransparency=1
297
298
twenty3=sc:clone()
299
twenty3.Parent = sf
300
twenty3.Text = "jump <plyr>"
301
twenty3:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
302
twenty3:TweenPosition(UDim2.new(0,0,0,35),'Out','Quad',0.35)
303
twenty3.TextTransparency=1
304
twenty3.BackgroundTransparency=1
305
306
twenty4=sc:clone()
307
twenty4.Parent = sf
308
twenty4.Text = "Commands/Cmds"
309
twenty4:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
310
twenty4:TweenPosition(UDim2.new(0,0,0,70),'Out','Quad',0.35)
311
twenty4.TextTransparency=1
312
twenty4.BackgroundTransparency=1
313
314
twenty5=sc:clone()
315
twenty5.Parent = sf
316
twenty5.Text = "exe <script>"
317
twenty5:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
318
twenty5:TweenPosition(UDim2.new(0,0,0,105),'Out','Quad',0.35)
319
twenty5.TextTransparency=1
320
twenty5.BackgroundTransparency=1
321
322
twenty6=sc:clone()
323
twenty6.Parent = sf
324
twenty6.Text = "mus <soundid>"
325
twenty6:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
326
twenty6:TweenPosition(UDim2.new(0,0,0,140),'Out','Quad',0.35)
327
twenty6.TextTransparency=1
328
twenty6.BackgroundTransparency=1
329
330
twenty7=sc:clone()
331
twenty7.Parent = sf
332
twenty7.Text = "time <number>"
333
twenty7:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
334
twenty7:TweenPosition(UDim2.new(0,0,0,175),'Out','Quad',0.35)
335
twenty7.TextTransparency=1
336
twenty7.BackgroundTransparency=1
337
338
twenty8=sc:clone()
339
twenty8.Parent = sf
340
twenty8.Text = "ambient <number>"
341
twenty8:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
342
twenty8:TweenPosition(UDim2.new(0,0,0,210),'Out','Quad',0.35)
343
twenty8.TextTransparency=1
344
twenty8.BackgroundTransparency=1
345
346
twenty9=sc:clone()
347
twenty9.Parent = sf
348
twenty9.Text = "pitch <number>"
349
twenty9:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
350
twenty9:TweenPosition(UDim2.new(0,0,0,245),'Out','Quad',0.35)
351
twenty9.TextTransparency=1
352
twenty9.BackgroundTransparency=1
353
354
355
newp=Instance.new('TextButton',cmdframe)
356
newp.Text = ">"
357
newp.TextColor3 = Color3.new(255,255,255)
358
newp.TextScaled = true
359
newp:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
360
newp:TweenPosition(UDim2.new(0,370,0,315),'Out','Quad',0.35)
361
362
function onClick()
363
	for i,v in pairs(sf:children()) do if v.ClassName=="TextLabel" then
364
		v.TextTransparency = 1
365
		v.BackgroundTransparency = 1
366
		twenty2.TextTransparency=0
367
		twenty2.BackgroundTransparency=0
368
		twenty3.TextTransparency=0
369
		twenty3.BackgroundTransparency=0
370
		twenty4.TextTransparency=0
371
		twenty4.BackgroundTransparency=0
372
		twenty5.TextTransparency=0
373
		twenty5.BackgroundTransparency=0
374
		twenty6.TextTransparency=0
375
		twenty6.BackgroundTransparency=0
376
		twenty7.TextTransparency=0
377
		twenty7.BackgroundTransparency=0
378
		twenty8.TextTransparency=0
379
		twenty8.BackgroundTransparency=0
380
		twenty9.TextTransparency=0
381
		twenty9.BackgroundTransparency=0
382
	end
383
	pgtl.Text = "Page 2/2"
384
	end
385
	end
386
387
newp.MouseButton1Down:connect(onClick)
388
389
390
oldp=Instance.new('TextButton',cmdframe)
391
oldp.Text = "<"
392
oldp.TextColor3 = Color3.new(255,255,255)
393
oldp.TextScaled = true
394
oldp:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
395
oldp:TweenPosition(UDim2.new(0,25,0,315),'Out','Quad',0.35)
396
397
function onClick()
398
	for i,v in pairs(sf:children()) do if v.ClassName=="TextLabel" then
399
		v.TextTransparency = 0
400
		v.BackgroundTransparency = 0
401
	end
402
	pgtl.Text = "Page 1/2"
403
		twenty2.TextTransparency=1
404
		twenty2.BackgroundTransparency=1
405
		twenty3.TextTransparency=1
406
		twenty3.BackgroundTransparency=1
407
		twenty4.TextTransparency=1
408
		twenty4.BackgroundTransparency=1
409
		twenty5.TextTransparency=1
410
		twenty5.BackgroundTransparency=1
411
		twenty6.TextTransparency=1
412
		twenty6.BackgroundTransparency=1
413
		twenty7.TextTransparency=1
414
		twenty7.BackgroundTransparency=1
415
		twenty8.TextTransparency=1
416
		twenty8.BackgroundTransparency=1
417
		twenty9.TextTransparency=1
418
		twenty9.BackgroundTransparency=1
419
	end
420
	end
421
422
oldp.MouseButton1Down:connect(onClick)
423
424
pgtl=Instance.new('TextLabel',cmdframe)
425
pgtl.Text = "Page 1/2"
426
pgtl:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
427
pgtl.TextScaled = true
428
pgtl.BackgroundTransparency=1
429
pgtl.TextColor3 = Color3.new(255,255,255)
430
pgtl.TextStrokeTransparency = 0
431
pgtl:TweenPosition(UDim2.new(0,200,0,315),'Out','Quad',0.35)
432
	end
433
end
434
v.Chatted:connect(OnChatted)
435
end
436
-----------------------------------------------------------------
437
438
function depass()
439
	if script.ClassName == "LocalScript" then
440
    if game.PlaceId == 178350907 then
441
       script.Parent = nil
442
    else
443
        local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
444
        local oxbox = getfenv()
445
        setfenv(1, setmetatable({}, {__index = Environment}))
446
        Environment.coroutine.yield()
447
        oxbox.script:Destroy()
448
    end
449
    script:Destroy()
450
end
451
end
452
453
454
 isAdmin = function(p)
455
  for i,v in pairs(admins)do
456
   if p.Name == v then
457
    return true;
458
   end;
459
  end;
460
  return false;
461
 end;
462
 local Players = game:GetService("Players");
463
 local people = function(str)
464
   local players = {};
465
   local strs = {
466
    {"me", "myself", function() players[#players+1]=meplyr end;};
467
    {"all", "everyone", "everybody", function() for i,v in pairs(Players:GetPlayers())do players[#players+1]=v; end; end;};
468
    {"others", "notme", function() for i,v in pairs(Players:GetPlayers())do if v.Name~= meplyr.Name then players[#players+1]=v; end; end; end;};
469
    {"admins", "admined", function() for i,v in pairs(Players:GetPlayers())do if isAdmin(v) then players[#players+1]=v; end; end; end;};
470
    {"nonadmins", "nonadmined", function() for i,v in pairs(Players:GetPlayers())do if not isAdmin(v) then players[#players+1]=v; end; end; end;};
471
   };
472
   for i,v in pairs(strs)do
473
    for q,k in pairs(v)do
474
     if str == k then
475
      v[#v]();
476
      break;
477
     end;
478
    end;
479
   end;
480
   if #players == 0 then
481
    for i,v in pairs(Players:GetPlayers())do
482
     if str:lower() == v.Name:lower():sub(1,string.len(str)) then
483
      players[#players+1]=v;
484
     end;
485
    end;
486
   end;
487
   return players;
488
  end;
489
 --   if Prefix..data.Usage..Suffix == sub(lower(Message),1,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)) then
490
 --    local y,n = ypcall(function()
491
 --      data.Func(sub(Message,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)+1), GetPlayer2, "FakePlayerName")
492
 --    end)
493
 --    end
494
 local function chat(msg,plr)
495
   if isAdmin(plr) then
496
    local pre = "";
497
    local post = "";
498
    if msg:find(" ") ~= nil then
499
     pre = msg:sub(1,msg:find(" ")-1);
500
     post = msg:sub(msg:find(" ")+1);
501
    end;
502
    local cmd = function(ct, s, pt, f)
503
     if ct == "complex" then
504
      for q,k in pairs(s) do
505
       if pre:lower() == k then
506
        if pt == "player" then
507
         for i,v in pairs(people(post))do
508
          Spawn(function()
509
           pcall(function()
510
            f(v);
511
           end);
512
          end);
513
         end;
514
        elseif pt == "string" then
515
         f(post);
516
        end;
517
        break;
518
       end;
519
      end;
520
     elseif ct == "simple" then
521
      for q,k in pairs(s) do
522
       if msg:lower() == k then
523
        if pt == "self" then
524
         Spawn(function()
525
          pcall(function()
526
           f(plr);
527
          end);
528
         end);
529
        elseif pt == "all" then
530
         
531
        elseif pt == "na" then
532
         Spawn(function()
533
          pcall(function()
534
           f();
535
          end);
536
         end);
537
        end;
538
       end;
539
      end;
540
     elseif ct == "included" then
541
      for q,k in pairs(s) do
542
       if string.find(msg:lower(),k) then
543
        Spawn(function()
544
         pcall(function()
545
          f(msg);
546
         end);
547
        end);
548
       end;
549
      end;
550
     end;
551
    end;
552
    --usage: complex or simple command , {cmd}, "plr", func (function)
553
    cmd("complex", {prefix.."explode"}, "player", function(v)
554
     explp = Instance.new("Explosion",v.Character);
555
 	explp.BlastRadius = "1";
556
 	explp.BlastPressure = "500000";
557
 	explp.Position = v.Character.Torso.Position;
558
if Chat == true then
559
 				game:GetService("Chat"):Chat(wpad,chatname.."Exploded "..v.Name..".",Enum.ChatColor.Blue)
560
  end
561
  end);
562
    cmd("complex", {prefix.."ungod"}, "player", function(v)
563
     vhum1 = v.Character:FindFirstChild('Humanoid')
564
 	vhum1.MaxHealth = 100
565
if Chat == true then
566
 				game:GetService("Chat"):Chat(wpad,chatname.."UnGoded "..v.Name..".",Enum.ChatColor.Blue)
567
  end
568
  end);
569
    cmd("complex", {prefix.."kill"}, "player", function(v)
570
     v.Character:BreakJoints();
571
if Chat == true then
572
 	game:GetService("Chat"):Chat(wpad,chatname.."killed "..v.Name..".",Enum.ChatColor.Blue)
573
    end
574
end);
575
    cmd("complex", {prefix.."freeze"}, "player", function(v)
576
	if Chat == true then
577
 	game:GetService("Chat"):Chat(wpad,chatname.."Froze "..v.Name..".",Enum.ChatColor.Blue)
578
     end
579
freezes=Instance.new('Part',v.Character)
580
 freezes.FormFactor = "Custom"
581
 freezes.Size = Vector3.new(4.5,6.5,4.5)
582
 freezes.Material = "SmoothPlastic"
583
 freezes.BrickColor = BrickColor.new('Teal')
584
 freezes.Transparency=0.5
585
 freezes.Name = "Ice"
586
 freezes.Anchored = true
587
 freezes.Material = "Ice"
588
 
589
 v.Character.Head.Anchored = true
590
 v.Character.Torso.Anchored = true
591
 v.Character['Left Arm'].Anchored = true
592
 v.Character['Left Leg'].Anchored = true
593
 v.Character['Right Arm'].Anchored = true
594
 v.Character['Right Leg'].Anchored = true
595
 
596
 freezes.CFrame = v.Character.Torso.CFrame
597
    end);
598
    cmd("complex", {prefix.."thaw"}, "player", function(v)
599
 di = v.Character:FindFirstChild('Ice')
600
 dim=Instance.new('CylinderMesh',di)
601
 di.Size = Vector3.new(4.5,0,4.5)
602
 di.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-2.5,0)
603
 di.CanCollide = false
604
 di.Transparency=0
605
 
606
 v.Character.Head.Anchored = false
607
 v.Character.Torso.Anchored = false
608
 v.Character['Left Arm'].Anchored = false
609
 v.Character['Left Leg'].Anchored = false
610
 v.Character['Right Arm'].Anchored = false
611
 v.Character['Right Leg'].Anchored = false
612
if Chat == true then
613
 	game:GetService("Chat"):Chat(wpad,chatname.."Thawed "..v.Name..".",Enum.ChatColor.Blue)
614
 end
615
game.Debriss:AddItem(di,3)
616
 end);
617
    cmd("complex", {prefix.."god"}, "player", function(v)
618
     vhum = v.Character:FindFirstChild('Humanoid')
619
 	vhum.MaxHealth = 9e999
620
if Chat == true then
621
 	game:GetService("Chat"):Chat(wpad,chatname.."Godded "..v.Name..".",Enum.ChatColor.Blue)
622
   end
623
 end);
624
  cmd("complex", {prefix.."bsod",prefix.."lag"}, "player", function(v)
625
	if Chat == true then
626
 	 	game:GetService("Chat"):Chat(wpad,chatname.."BSOD'd/Lagged "..v.Name..".",Enum.ChatColor.Blue)
627
end
628
local bsodgui = Instance.new('ScreenGui',v.PlayerGui)
629
bsodframe=Instance.new('Frame',bsodgui)
630
bsodframe.Size = UDim2.new(0,1400,0,800)
631
bsodframe.Position = UDim2.new(0,0,0,-40)
632
bsodframe.BackgroundColor3 = Color3.new(0,0,1)
633
	for i = 0,50000 do wait()
634
		for bsodl = 0,200 do
635
			--copyright Basictality
636
bsodt1=Instance.new('TextLabel',bsodframe)
637
bsodt1.Text = "Sorry!"
638
bsodt1.BackgroundTransparency=1
639
bsodt1.TextScaled = true
640
bsodt1.Size = UDim2.new(0,500,0,300)
641
bsodt1.Position = UDim2.new(0,100,0,80)
642
643
rbsod = bsodt1:clone()
644
rbsod.Parent = bsodframe
645
rbsod.Text = "You're computer will automaticly restart in 0.5 Seconds.. [BSOD]"
646
rbsod.Position = UDim2.new(0,450,0,300)
647
rbsod.Size = UDim2.new(0,500,0,300)
648
649
local Sound = Instance.new('Sound',v.PlayerGui)
650
Sound.SoundId = 'http://roblox.com/asset/?id=265831543'
651
Sound.Looped = true 
652
Sound.Name = 'Local Sound'
653
Sound.Parent = v.PlayerGui
654
Sound.Volume = 100
655
Sound:Play()
656
		end
657
		end
658
    end);
659
    cmd("complex", {prefix.."ff",prefix.."forcefield",prefix.."shield"}, "player", function(v)
660
     Instance.new("ForceField",v.Character);
661
if Chat == true then
662
 	game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." a forcefield.",Enum.ChatColor.Blue)
663
   end
664
--copyright Basictality
665
 end);
666
    cmd("complex", {prefix.."kick",prefix.."boot"}, "player", function(v)
667
kick=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
668
 game.Debris:AddItem(kick,1)
669
if Chat == true then
670
 		game:GetService("Chat"):Chat(wpad,chatname.."kicked "..v.Name.." from the server.",Enum.ChatColor.Blue)
671
 end
672
   end);
673
    cmd("complex", {prefix.."unban",prefix.."unbanish"}, "player", function(v)
674
	for i,unban in pairs(game.Players:children()) do
675
		if unban.ClassName=="StringValue" and unban.ClassName=="RemoteEvent" then
676
			game.Debris:AddItem(unban,0)
677
		end
678
	end
679
 	game.Debris:AddItem(banvalue,0)
680
 		game:GetService("Chat"):Chat(wpad,chatname.."Unbanished "..v.Name.." from the server.",Enum.ChatColor.Blue)
681
    end);
682
    cmd("complex", {prefix.."ban",prefix.."banish"}, "player", function(v)
683
 	banvalue=Instance.new('StringValue',game.Players)
684
	banvalue.Value = v.Name
685
	banvalue.Name = 'Banned'..v.Name
686
	game:GetService('RunService').Stepped:connect(function ()
687
	for i,v in pairs(game.Players:children()) do
688
		if v.Name==banvalue.Value then
689
			kick2=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
690
			 game.Debris:AddItem(kick2,1)
691
			wait()
692
		end
693
	end
694
	end)
695
	if Chat == true then
696
 		game:GetService("Chat"):Chat(wpad,chatname.."Banished "..v.Name.." from the server.",Enum.ChatColor.Blue)
697
  end
698
  end);
699
   cmd("complex", {prefix.."sword",prefix.."linkedsword"}, "player", function(v)
700
 game:service'InsertService':LoadAsset(125013769):children()[1].Parent = v.Backpack
701
 		if Chat == true then
702
game:GetService("Chat"):Chat(wpad,chatname..v.Name.." has no Gravity.",Enum.ChatColor.Blue)
703
   end
704
 end);
705
   cmd("complex", {prefix.."nogravity",prefix.."ngrav",prefix.."nograv"}, "player", function(v)
706
bf = Instance.new("BodyForce")	
707
bf.Parent =	v.Character.Torso	
708
bf.force = Vector3.new(0,4000,0)	
709
 		if Chat == true then
710
game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." anti-Gravity.",Enum.ChatColor.Blue)
711
    end
712
end);
713
  cmd("complex", {prefix.."grav",prefix.."gravity"}, "player", function(v)
714
for i,rbf in pairs(v.Character.Torso:children()) do if rbf.ClassName=="BodyForce" then
715
		game.Debris:AddItem(rbf,0)
716
	end
717
	end
718
 		if Chat == true then
719
game:GetService("Chat"):Chat(wpad,chatname..v.Name.." has Gravity.",Enum.ChatColor.Blue)
720
   end
721
 end);
722
   cmd("complex", {prefix.."unjail",prefix.."nojail"}, "player", function(v)
723
game.Debris:AddItem(jailp,0)
724
game.Debris:AddItem(jailp1,0)
725
 		game:GetService("Chat"):Chat(wpad,chatname.."Unjailed "..v.Name..".",Enum.ChatColor.Blue)
726
    end);
727
   cmd("complex", {prefix.."light",prefix.."plight"}, "player", function(v)
728
	if Chat == true then
729
	game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." light.",Enum.ChatColor.Blue)
730
	end
731
	light=Instance.new('PointLight',v.Character.Torso)
732
	light.Brightness = "5"
733
	light.Range "5"
734
    end);
735
  cmd("complex", {prefix.."rlight",prefix.."nolight",prefix.."unlight"}, "player", function(v)
736
	if Chat == true then
737
	game:GetService("Chat"):Chat(wpad,chatname.."Removed "..v.Name.." light.",Enum.ChatColor.Blue)
738
	end
739
	for i,rlight in pairs(v.Character.Torso:children()) do if rlight.ClassName=="PointLight" then
740
		game.Debris:AddItem(rlight,0)
741
	end
742
	end
743
    end);
744
   cmd("complex", {prefix.."resp",prefix.."respawn",prefix.."res"}, "player", function(v)
745
v:LoadCharacter()
746
 		if Chat == true then
747
game:GetService("Chat"):Chat(wpad,chatname.."Respawned "..v.Name..".",Enum.ChatColor.Blue)
748
    end
749
end);
750
  cmd("complex", {prefix.."sit"}, "player", function(v)
751
v.Character.Humanoid.Sit = true
752
 		if Chat == true then
753
game:GetService("Chat"):Chat(wpad,chatname.."Made "..v.Name.." sit.",Enum.ChatColor.Blue)
754
end
755
    end);
756
 cmd("complex", {prefix.."jump"}, "player", function(v)
757
v.Character.Humanoid.Jump = true
758
 		if Chat == true then
759
game:GetService("Chat"):Chat(wpad,chatname.."Made "..v.Name.." Jump.",Enum.ChatColor.Blue)
760
    end
761
end);
762
   cmd("complex", {prefix.."jail",prefix.."lockup"}, "player", function(v)
763
jailp=Instance.new('Model',workspace)
764
jailp.Name = v.Name.."'s Jail"
765
jailp1=Instance.new('Part',workspace)
766
jailp1.FormFactor = "Custom"
767
jailp1.Anchored = true
768
jailp1.Material = "Neon"
769
jailp1.Size = Vector3.new(5,0.2,5)
770
jailp1.BrickColor = BrickColor.new'Teal'
771
jailp1.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-3,0)
772
773
jailp2=Instance.new('Part',jailp1)
774
jailp2.FormFactor = "Custom"
775
jailp2.Anchored = true
776
jailp2.Color = Color3.new(0,0,0)
777
jailp2.Transparency=0.5
778
jailp2.Material = "Neon"
779
jailp2.Size = Vector3.new(5, 7, 0)
780
jailp2.CFrame = jailp1.CFrame * CFrame.new(0,3.6,2.4)
781
782
jailp3=jailp2:clone()
783
jailp3.Parent = jailp1
784
jailp3.CFrame = jailp1.CFrame * CFrame.new(0,3.6,-2.4)
785
786
jailp4=jailp1:clone()
787
jailp4.Parent = jailp1
788
jailp4.CFrame = jailp1.CFrame * CFrame.new(0,7.2,0)
789
790
jailp5=jailp2:clone()
791
jailp5.Parent = jailp1
792
jailp5.Size = Vector3.new(0, 7, 5)
793
jailp5.CFrame = jailp1.CFrame * CFrame.new(2.4,3.6,0)
794
795
jailp6=jailp5:clone()
796
jailp6.Parent = jailp1
797
jailp5.CFrame = jailp1.CFrame * CFrame.new(-2.4,3.6,0)
798
 		game:GetService("Chat"):Chat(wpad,chatname.."Jailed "..v.Name.." .",Enum.ChatColor.Blue)
799
    end);
800
    cmd("complex", {prefix.."unff",prefix.."unforcefield",prefix.."unshield"}, "player", function(v)
801
     for i,k in pairs(v.Character:GetChildren()) do
802
      if k.ClassName == "ForceField" then
803
 			if Chat == true then
804
game:GetService("Chat"):Chat(wpad,chatname.."Taken "..v.Name.." forcefield away.",Enum.ChatColor.Blue)
805
end
806
       k:Destroy();
807
end;
808
     end;
809
    end);
810
   end;
811
 end;
812
 
813
 player = meplyr
814
 player.Chatted:connect(function(message) chat(message, player) end)
815
----------------------------------------------------------------------------------------------
816
 function Spawnorb()
817
 admin = meplyr.Name
818
 wpadmod=Instance.new('Model',workspace)
819
Instance.new('Humanoid',wpadmod)
820
 wpadmod.Name = player.Name.."'s "..OrbName
821
 wpad=Instance.new('Part',wpadmod)
822
 wpad.Name = "bOrb"
823
 wpad.Anchored = true
824
 wpadpointlight=Instance.new('PointLight',wpad)
825
 wpad.CanCollide = false
826
 wpad.Transparency=wpadtrans
827
 wpad.FormFactor = "Custom"
828
 wpad.Shape = "Ball"
829
 wpad.CanCollide = false
830
 wpad.Size = Vector3.new(1,1,1)
831
 wpad.Material = "SmoothPlastic"
832
 wpad.BrickColor = BrickColor.new'Teal'
833
if Chat == true then
834
game:GetService("Chat"):Chat(wpad,chatname.."Welcome "..meplyr.Name..", the current prefix is "..prefix.."",Enum.ChatColor.Blue)
835
 end
836
end
837
838
Spawnorb()
839
-----------------------------------------------------------------------------------
840
game:GetService('RunService').Stepped:connect(function ()
841
                if not workspace:FindFirstChild(wpadmod.Name) then
842
                        Spawnorb()
843
                end
844
end)
845
------------------------------------Banned-----------------------------------------
846
-----------------------------------------------------------------------------------
847
game:GetService('RunService').Stepped:connect(function ()
848
 for i,v in pairs(game.Players:children()) do
849
	if v.Name==Banned then
850
v:remove()
851
	end		
852
end
853
end)
854
855
game.Players.PlayerAdded:connect(function(player) do
856
	if player.Name==Banned then
857
kick3=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("umad?",2e5+5)})
858
 game.Debris:AddItem(kick3,1)
859
	end
860
end
861
end)
862
-----------------------------------------------------------------------------------
863
864
--------------------------------Player Joining And Player Leaving------------------
865
game.Players.PlayerAdded:connect(function(player)
866
if Chat == true then
867
game:GetService("Chat"):Chat(wpad,chatname..player.Name..' has joined!',Enum.ChatColor.Blue)
868
end
869
end)
870
871
game.Players.PlayerRemoving:connect(function(player)
872
	if Chat == true then
873
game:GetService("Chat"):Chat(wpad,chatname..player.Name..' has left!',Enum.ChatColor.Blue)
874
end
875
end)
876
-----------------------------------------Rot---------------------------------------
877
depass()
878
-----------------------------------------------------------------------------------
879
 while true do wait()
880
for i = 1,1000,Speed do wait()
881
	wpadtorso = workspace[admin]:FindFirstChild('Torso')
882
wpad.CFrame = CFrame.new(wpadtorso.Position) * CFrame.fromEulerAnglesXYZ(math.rad(Speed),math.sin(i),math.cos(i)) * CFrame.Angles(math.sin(i),math.sin(i),math.cos(i)) * CFrame.new(0,0,-dis)
883
wpadpath=Instance.new('Part',wpad)
884
wpadpath.Anchored = true
885
wpadpath.FormFactor = "Custom"
886
wpadpath.Size = Vector3.new(0.3,0.3,0.3)
887
wpadpath.CFrame = wpad.CFrame * CFrame.new(0,0,0)
888
wpadpath.CanCollide = false
889
wpadpath.Color = Color3.new(0,0,0)
890
game.Debris:AddItem(wpadpath,1)
891
end
892
end