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