SHOW:
|
|
- or go back to the newest paste.
1 | --__(KAJ Admin Generation Four)__-- | |
2 | --__(KAJ Admin Generation Four)__-- | |
3 | --__(KAJ Admin Generation Four)__-- | |
4 | --__(KAJ Admin Generation Four)__-- | |
5 | --__(KAJ Admin Generation Four)__-- | |
6 | --__(KAJ Admin Generation Four)__-- | |
7 | --__(KAJ Admin Generation Four)__-- | |
8 | --__(KAJ Admin Generation Four)__-- | |
9 | --__(KAJ Admin Generation Four)__-- | |
10 | --__(KAJ Admin Generation Four)__-- | |
11 | --__(KAJ Admin Generation Four)__-- | |
12 | --__(KAJ Admin Generation Four)__-- | |
13 | --__(KAJ Admin Generation Four)__-- | |
14 | --__(KAJ Admin Generation Four)__-- | |
15 | --__(KAJ Admin Generation Four)__-- | |
16 | --__(KAJ Admin Generation Four)__-- | |
17 | --__(KAJ Admin Generation Four)__-- | |
18 | --__(KAJ Admin Generation Four)__-- | |
19 | --__(KAJ Admin Generation Four)__-- | |
20 | --__(KAJ Admin Generation Four)__-- | |
21 | --__(KAJ Admin Generation Four)__-- | |
22 | --__(KAJ Admin Generation Four)__-- | |
23 | --__(KAJ Admin Generation Four)__-- | |
24 | --__(KAJ Admin Generation Four)__-- | |
25 | --__(KAJ Admin Generation Four)__-- | |
26 | --__(KAJ Admin Generation Four)__-- | |
27 | --__(KAJ Admin Generation Four)__-- | |
28 | --__(KAJ Admin Generation Four)__-- | |
29 | --__(KAJ Admin Generation Four)__-- | |
30 | --__(KAJ Admin Generation Four)__-- | |
31 | --__(KAJ Admin Generation Four)__-- | |
32 | --__(KAJ Admin Generation Four)__-- | |
33 | --__(KAJ Admin Generation Four)__-- | |
34 | --__(KAJ Admin Generation Four)__-- | |
35 | --__(KAJ Admin Generation Four)__-- | |
36 | --__(KAJ Admin Generation Four)__-- | |
37 | --__(KAJ Admin Generation Four)__-- | |
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | wait() | |
47 | LocalPlayer = game:service("Players").LocalPlayer | |
48 | local char = LocalPlayer.Character | |
49 | script.Parent = _Kaley_Alison_Jacquelyn_ | |
50 | Tabs = {} | |
51 | Cmds = {} | |
52 | key = "/" | |
53 | chatgui = false | |
54 | probemode = false | |
55 | connection = nil | |
56 | selection = false | |
57 | Bypass = fals | |
58 | XAdminsAdmin = "StefanukSwAg" | |
59 | XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin) | |
60 | XAdmin = { | |
61 | AdminsSoundAdminMusic = { | |
62 | AdminMusic = { | |
63 | {ID = "http://www.roblox.com/Asset/?id=316121133",PITCH = 1,NAME = "Supertoast"}; | |
64 | {ID = "http://www.roblox.com/Asset/?id=144364636",PITCH = 1,NAME = "Hey brother"}; | |
65 | {ID = "http://www.roblox.com/Asset/?id=142720946",PITCH = 1,NAME = "Tsunami Hardstyle"}; | |
66 | {ID = "http://www.roblox.com/Asset/?id=133517131",PITCH = 1,NAME = "Swordland"}; | |
67 | {ID = "http://www.roblox.com/Asset/?id=155183751",PITCH = 1,NAME = "Crossing Fields"}; | |
68 | {ID = "http://www.roblox.com/Asset/?id=155319906",PITCH = 1,NAME = "Problem"}; | |
69 | {ID = "http://www.roblox.com/Asset/?id=155104467",PITCH = 1,NAME = "Take Me Home"}; | |
70 | {ID = "http://www.roblox.com/Asset/?id=142276301",PITCH = 1,NAME = "Overtime"}; | |
71 | {ID = "http://www.roblox.com/Asset/?id=142516045",PITCH = 1,NAME = "Orchestra"}; | |
72 | {ID = "http://www.roblox.com/Asset/?id=142518226",PITCH = 1,NAME = "X files"}; | |
73 | {ID = "http://www.roblox.com/Asset/?id=143545724",PITCH = 1,NAME = "Ghost"}; | |
74 | {ID = "http://www.roblox.com/Asset/?id=156650736",PITCH = 1,NAME = "trapped"}; | |
75 | {ID = "http://www.roblox.com/Asset/?id=131243684",PITCH = 1,NAME = "Chillstep"}; | |
76 | {ID = "http://www.roblox.com/Asset/?id=154199055",PITCH = 1,NAME = "What About Love"}; | |
77 | {ID = "http://www.roblox.com/Asset/?id=152020611",PITCH = 1,NAME = "Rich Girl"}; | |
78 | {ID = "http://www.roblox.com/Asset/?id=145411653",PITCH = 1,NAME = "What does the fox say?"}; | |
79 | {ID = "http://www.roblox.com/Asset/?id=154604668",PITCH = 1,NAME = "I Like It Loud"}; | |
80 | {ID = "http://www.roblox.com/Asset/?id=158643393",PITCH = 1,NAME = "[i made this audio] Alive(Cash Cash x DJ Kalkutta Remix) Part 1"}; | |
81 | {ID = "http://www.roblox.com/Asset/?id=158643635",PITCH = 1,NAME = "[i made this audio] Alive(Cash Cash x DJ Kalkutta Remix) Part 2"}; | |
82 | {ID = "http://www.roblox.com/Asset/?id=149881491",PITCH = 1,NAME = "Addicted to you"}; | |
83 | {ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"}; | |
84 | {ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"}; | |
85 | {ID = "http://www.roblox.com/Asset/?id=144105373",PITCH = 1,NAME = "What My Cutie Mark Is Telling Me"}; | |
86 | {ID = "http://www.roblox.com/Asset/?id=144468928",PITCH = 3,NAME = "wat the stopid"}; | |
87 | {ID = "http://www.roblox.com/Asset/?id=152940771",PITCH = 1,NAME = "This is what if feels LIKE"}; | |
88 | {ID = "http://www.roblox.com/Asset/?id=144658116",PITCH = 1,NAME = "Fifth harmony"}; | |
89 | {ID = "http://www.roblox.com/Asset/?id=148952593",PITCH = 1,NAME = "Talk dirty to me"}; | |
90 | {ID = "http://www.roblox.com/Asset/?id=148321914",PITCH = 1,NAME = "Selfie"}; | |
91 | {ID = "http://www.roblox.com/Asset/?id=130872377",PITCH = 1,NAME = "Narwhals"}; | |
92 | {ID = "http://www.roblox.com/Asset/?id=142492972",PITCH = 1,NAME = "Overfly"}; | |
93 | {ID = "http://www.roblox.com/Asset/?id=149811427",PITCH = 1,NAME = "mmm"}; | |
94 | }; | |
95 | }; | |
96 | }; | |
97 | tabmodel = Instance.new("Model", Workspace) | |
98 | tabmodel.Name = "KAJ Admin" | |
99 | SourceName = "DSource" | |
100 | Banlist = {"nolanhawz1","MUSHR0OM","ServerGuardianAdmin","SeverGuardianAdmin","Edward6789","willowtree1118","tyresias","davenlaw","NilScripter","iKrypto"} | |
101 | BSoDBanList = {"MUSHR0OM","ServerGuardianAdmin","SeverGuardianAdmin","Edward6789","willowtree1118","tyresias","davenlaw","NilScripter","iKrypto"} | |
102 | ||
103 | ||
104 | function Connect(player) | |
105 | if game.Players[player] then | |
106 | if not Players[player.Name] then | |
107 | NewLS(CrashSource,player.Backpack) | |
108 | table.insert(Players,player.Name) | |
109 | Output('Entered > '..player.Name,__) | |
110 | end | |
111 | end | |
112 | end | |
113 | ||
114 | ||
115 | function Crash(name) | |
116 | name = tostring(name or "nil") | |
117 | local t = Instance.new("StringValue") | |
118 | t.Name = "DISC: "..name | |
119 | t.Parent = game.Lighting | |
120 | game:GetService("Debris"):AddItem(t,1) | |
121 | end | |
122 | ||
123 | ConnectSource = [=[ | |
124 | wait() | |
125 | script:ClearAllChildren() | |
126 | wait() | |
127 | script.Parent = nil | |
128 | wait() | |
129 | Player = game:service'Players'.LocalPlayer | |
130 | wait() | |
131 | while wait(0.1) do --this is actually the nilcrash | |
132 | if game.Lighting:findFirstChild("DISC: nil") then | |
133 | if Player.Parent == nil then | |
134 | repeat Delay(0, wait) until false | |
135 | end | |
136 | end | |
137 | if game.Lighting:findFirstChild("DISC: "..Player.Name) then | |
138 | repeat Delay(0, wait) until false | |
139 | end | |
140 | if game.Lighting:findFirstChild("DISC: all") then | |
141 | repeat Delay(0, wait) until false | |
142 | end | |
143 | end | |
144 | ]=] | |
145 | ||
146 | ||
147 | DLSource = [==[ | |
148 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
149 | wait(0) | |
150 | script.Parent = nil | |
151 | plr = game:GetService("Players").LocalPlayer | |
152 | local plrgui = plr:findFirstChild("PlayerGui") | |
153 | if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end | |
154 | while plr.Parent == game:GetService("Players") do | |
155 | wait() | |
156 | for i = 1, 100000 do | |
157 | local sc = Instance.new("ScreenGui",plrgui) | |
158 | local fr = Instance.new("TextLabel",sc) | |
159 | fr.Text = "DL'D BY KAJ" | |
160 | fr.Size = UDim2.new(1, 0, 1, 0) | |
161 | fr.FontSize = "Size48" | |
162 | end | |
163 | end | |
164 | ]==] | |
165 | ||
166 | LagSource = [[ | |
167 | wait() | |
168 | script.Parent = game:service'TeleportService' | |
169 | CC = workspace.CurrentCamera | |
170 | game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson | |
171 | ||
172 | RS = game:service("RunService") | |
173 | PG = game.Players.LocalPlayer.PlayerGui | |
174 | C = game.Players.LocalPlayer.Character | |
175 | function Lag() | |
176 | coroutine.resume(coroutine.create(function() | |
177 | while wait() do | |
178 | M = Instance.new("Message",CC) | |
179 | M.Text = tick()*math.floor(5%4*21) | |
180 | H = Instance.new("Hint",CC) | |
181 | H.Text = 'Super lagged' | |
182 | SG=Instance.new("ScreenGui",PG) | |
183 | FR=Instance.new("Frame",SG) | |
184 | FR.Size = UDim2.new(500,500,500,500) | |
185 | while wait() do | |
186 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
187 | end | |
188 | P=Instance.new("Part",CC) | |
189 | E=Instance.new("Explosion",P) | |
190 | E.BlastRadius=math.huge | |
191 | E.Position=P.Position | |
192 | F=Instance.new("Fire",P) | |
193 | S=Instance.new("Smoke",P) | |
194 | P.CFrame = CC.Focus | |
195 | P.Anchored = true | |
196 | P.CanCollide = false | |
197 | P.AncestryChanged:connect(function()Lag()end) | |
198 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
199 | end | |
200 | end)) | |
201 | end | |
202 | RS.Stepped:connect(function()for i=1,10000 do Lag()Lag()Lag()end end) | |
203 | ]] | |
204 | ||
205 | ||
206 | ||
207 | ||
208 | coroutine.resume(coroutine.create(function() | |
209 | while wait(3) do | |
210 | if game:GetService("Players").Name ~= "Players" then | |
211 | game:GetService("Players").Name = "Players" | |
212 | end | |
213 | end | |
214 | end)) | |
215 | ||
216 | function Dismiss() | |
217 | for i = 1, 10 do | |
218 | for i = 1, #Tabs do | |
219 | table.remove(Tabs, i) | |
220 | if tabmodel then | |
221 | tabmodel:ClearAllChildren() | |
222 | end end end | |
223 | end | |
224 | ||
225 | function AddCmd(Name,Say,Desc,Func) | |
226 | table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func}) | |
227 | end | |
228 | ||
229 | ||
230 | ||
231 | found = false | |
232 | ||
233 | coroutine.wrap(function() | |
234 | while found == false do | |
235 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end | |
236 | for _,scriptinworkspace in pairs(workspace:children()) do | |
237 | if scriptinworkspace then | |
238 | if scriptinworkspace:IsA("Script") then | |
239 | if scriptinworkspace:FindFirstChild(SourceName) then | |
240 | newScript = scriptinworkspace:Clone() | |
241 | wait(0.2) | |
242 | newScript.Name = "NewScript" | |
243 | newScript.Disabled = true | |
244 | newScript:FindFirstChild(SourceName).Value = "" | |
245 | Output("Source found", __) | |
246 | found = true | |
247 | break | |
248 | end | |
249 | end | |
250 | end | |
251 | end | |
252 | wait() | |
253 | end | |
254 | end)() | |
255 | ||
256 | AddCmd("Unpunish player","unpunish","Restore the player's character", | |
257 | function(plrs) | |
258 | for _, plr in pairs(plrs) do | |
259 | if plr then | |
260 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
261 | end | |
262 | end | |
263 | end | |
264 | ) | |
265 | ||
266 | function NewS(sourcevalue, parent) | |
267 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
268 | NS(sourcevalue, parent) | |
269 | else | |
270 | if newScript then | |
271 | local scr = newScript:Clone() | |
272 | if scr:FindFirstChild(SourceName) then | |
273 | if scr:FindFirstChild(SourceName) then | |
274 | scr:FindFirstChild(SourceName).Value = sourcevalue | |
275 | scr.Parent = parent | |
276 | wait(0.5) | |
277 | scr.Disabled = false | |
278 | return scr | |
279 | end | |
280 | end | |
281 | end | |
282 | end | |
283 | end | |
284 | ||
285 | sorcery = script:Clone() | |
286 | ||
287 | Services = { | |
288 | game:GetService("Workspace"), | |
289 | game:GetService("Players"), | |
290 | game:GetService("Lighting"), | |
291 | game:GetService("StarterPack"), | |
292 | game:GetService("StarterGui"), | |
293 | game:GetService("Teams"), | |
294 | game:GetService("SoundService"), | |
295 | game:GetService("Debris"), | |
296 | game:GetService("InsertService"), | |
297 | game:GetService("RunService"), | |
298 | game:GetService("Chat"), | |
299 | game:GetService("TeleportService"), | |
300 | game:GetService("Geometry"), | |
301 | game:GetService("MarketplaceService"), | |
302 | game:GetService("BadgeService"), | |
303 | game:GetService("NetworkClient"), | |
304 | game:GetService("FriendService"), | |
305 | } | |
306 | ||
307 | function Explore(Item) | |
308 | Dismiss() | |
309 | if(Item==nil)then | |
310 | for _,v in pairs(Services)do | |
311 | Output(v.Name,function() Explore(v) end) | |
312 | end; | |
313 | else | |
314 | f={ | |
315 | ['View children']=function() | |
316 | Dismiss() | |
317 | for _,v in pairs(Item:children())do | |
318 | Output(v.Name,function() | |
319 | Explore(v) | |
320 | wait() | |
321 | end); | |
322 | end; | |
323 | end; | |
324 | ['View parent']=function() | |
325 | Explore(Item.Parent) | |
326 | end; | |
327 | ['Destroy']=function() | |
328 | Item:Destroy(); | |
329 | Explore(Item.Parent); | |
330 | end; | |
331 | ['Clear']=function() | |
332 | Item:ClearAllChildren() | |
333 | end; | |
334 | ['Clone']=function() | |
335 | pcall(function() | |
336 | cloneableObj = Item:clone() | |
337 | end) | |
338 | end; | |
339 | ['Remove']=function() | |
340 | Item:remove() | |
341 | end; | |
342 | ['Paste']=function() | |
343 | if cloneableObj then | |
344 | cloneableObj.Parent = Item | |
345 | end | |
346 | end; | |
347 | ['Ki'..'ck Item']=function() | |
348 | NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item) | |
349 | end; | |
350 | }; | |
351 | for i,v in pairs(f)do | |
352 | Output(tostring(i),v); | |
353 | end; | |
354 | Output('Item Name: \''..tostring(Item.Name)..'\'',nil); | |
355 | Output('Class: \''..tostring(Item.ClassName)..'\'',nil); | |
356 | if cloneableObj then | |
357 | Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil); | |
358 | end | |
359 | end; | |
360 | end; | |
361 | ||
362 | AddCmd("Explore","explore","Explore the game", | |
363 | function() | |
364 | Explore() | |
365 | end | |
366 | ) | |
367 | ||
368 | function NewLS(sourcevalue, parent) | |
369 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
370 | NLS(sourcevalue, parent) | |
371 | else | |
372 | local NS = sorcery:Clone() | |
373 | NS.Name = "NewLocal" | |
374 | local Source = NS:findFirstChild(SourceName) | |
375 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
376 | Source.Value = sourcevalue | |
377 | NS.Parent = parent | |
378 | NS.Disabled = false | |
379 | return NS | |
380 | end | |
381 | end | |
382 | ||
383 | Clothes = {} | |
384 | ||
385 | for _,Item in pairs(LocalPlayer.Character:GetChildren()) do | |
386 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
387 | table.insert(Clothes,Item:Clone()) | |
388 | end | |
389 | end | |
390 | for i,v in pairs(LocalPlayer.Character:GetChildren()) do | |
391 | if v:IsA("BodyColors") then | |
392 | body = v | |
393 | torsocolor = body.TorsoColor | |
394 | leftlegcolor = body.LeftLegColor | |
395 | rightlegcolor = body.RightLegColor | |
396 | leftarmcolor = body.LeftArmColor | |
397 | rightarmcolor = body.RightArmColor | |
398 | headcolor = body.HeadColor | |
399 | end | |
400 | end | |
401 | ||
402 | mouse = LocalPlayer:GetMouse() | |
403 | ||
404 | mouse.KeyDown:connect(function(key) | |
405 | if key == "q" then | |
406 | game:service'StarterGui':SetCoreGuiEnabled(4, true) | |
407 | end | |
408 | end) | |
409 | ||
410 | AddCmd("Chat","chat","Turn you chat on/off", | |
411 | function(plrs, msg) | |
412 | if msg == "off" then | |
413 | chatgui = false | |
414 | elseif msg == "on" then | |
415 | chatgui = true | |
416 | end | |
417 | end | |
418 | ) | |
419 | ||
420 | AddCmd("Set speed","ws","Sets the Speed of a player", | |
421 | function(plrs, msg) | |
422 | local keypos = msg:find(key) | |
423 | local targPlayers = msg:sub(1,keypos-1) | |
424 | local plrs = getPlayers(targPlayers) | |
425 | local speed = msg:sub(tonumber(keypos+1)) | |
426 | for _,v in pairs(plrs) do | |
427 | if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then | |
428 | v.Character:findFirstChild("Humanoid").WalkSpeed = speed | |
429 | end | |
430 | end | |
431 | end | |
432 | ) | |
433 | ||
434 | ||
435 | Bad_Char = "" | |
436 | ||
437 | ||
438 | AddCmd("Commands","cmds","Show the commands", | |
439 | function() | |
440 | Dismiss() | |
441 | for i, v in pairs(Cmds) do | |
442 | Output(v["Name"], | |
443 | function() | |
444 | Output("Description: "..v["Desc"], __) | |
445 | Output("Usage: "..v["Say"], __) | |
446 | Output("Name: "..v["Name"], __) | |
447 | end) | |
448 | end | |
449 | end | |
450 | ) | |
451 | ||
452 | AddCmd("Rejoin player","rej","Rejoin the player", | |
453 | function(plrs) | |
454 | for _, plr in pairs(plrs) do | |
455 | if plr and plr.Backpack then | |
456 | NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack) | |
457 | end | |
458 | end | |
459 | end | |
460 | ) | |
461 | ||
462 | AddCmd("Clean workspace","clean","Clean the workspace", | |
463 | function() | |
464 | for a,b in pairs(game.Workspace:GetChildren()) do | |
465 | if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
466 | pcall(function() b:Destroy() end) | |
467 | end | |
468 | end | |
469 | if game.Workspace:findFirstChild('Base') == nil then | |
470 | local Base = Instance.new("Part",Game.Workspace) | |
471 | Base.Name = "Base" | |
472 | Base.Anchored = true | |
473 | Base.Locked = true | |
474 | Base.BrickColor = BrickColor.new("Bright green") | |
475 | Base.Size = Vector3.new(2048,2,2048) | |
476 | Base.CFrame = CFrame.new(0,0,0) | |
477 | end | |
478 | Output("You have cleaned workspace!") | |
479 | end | |
480 | ) | |
481 | ||
482 | AddCmd("Execute", "exe","Execute a a Script", | |
483 | function(plrs, msg) | |
484 | a,b = ypcall(function() | |
485 | loadstring(msg)() | |
486 | end) if not a then Output(b,"Bright red") end | |
487 | end | |
488 | ) | |
489 | ||
490 | AddCmd("Anchored", "anchor","Anchor all parts", | |
491 | function() | |
492 | g = game.Workspace:GetChildren () do | |
493 | for i = 1, #g do | |
494 | if g[i].ClassName == "Part" then | |
495 | g[i].Anchored = true else if | |
496 | g[i].ClassName == "Model" then | |
497 | y = g[i]:GetChildren () | |
498 | for i = 1, #y do | |
499 | if y[i].ClassName == "Part" then | |
500 | y[i].Anchored = true | |
501 | end | |
502 | end | |
503 | end | |
504 | end | |
505 | end | |
506 | end | |
507 | end | |
508 | ) | |
509 | ||
510 | AddCmd("Unanchor", "unanchor","unanchor all parts", | |
511 | function() | |
512 | g = game.Workspace:GetChildren () do | |
513 | for i = 1, #g do | |
514 | if g[i].ClassName == "Part" then | |
515 | g[i].Anchored = false else if | |
516 | g[i].ClassName == "Model" then | |
517 | y = g[i]:GetChildren () | |
518 | for i = 1, #y do | |
519 | if y[i].ClassName == "Part" then | |
520 | y[i].Anchored = false | |
521 | end | |
522 | end | |
523 | end | |
524 | end | |
525 | end | |
526 | end | |
527 | end | |
528 | ) | |
529 | ||
530 | AddCmd("Give KAJ Admin to a player","kaj","Give KAJ Admin to a player", | |
531 | function(plrs) | |
532 | for _, plr in pairs(plrs) do | |
533 | if plr and plr.Backpack then | |
534 | script.Parent = plr.Backpack | |
535 | Output("You gave admin to: "..plr.Name, __) | |
536 | end | |
537 | end | |
538 | end | |
539 | ) | |
540 | AddCmd("Script Info","sinfo","Shows the info of the Script", | |
541 | function() | |
542 | Output("Buyable:No") | |
543 | Output("Script name: KAJ Admin") | |
544 | Output("Creators are: Cobalt1164, KajAdmin") | |
545 | Output("The name is based on my 3 crushes, Kaley Franzwa, Alison Agular, and Jacquelyn Mollenhoff") | |
546 | Output("If you have a request, message the creators.") | |
547 | Output("Generation 4") | |
548 | Output("Version 4.1") | |
549 | end | |
550 | ) | |
551 | AddCmd("Away from Keyboard","afk","Your afk", | |
552 | function() | |
553 | Dismiss() | |
554 | for i = 1,4 do | |
555 | wait() | |
556 | Output("i'm afk go away") | |
557 | end | |
558 | end | |
559 | ) | |
560 | AddCmd("Test if KAJ Admin is still Working","a","Test!!!", | |
561 | function() | |
562 | Dismiss() | |
563 | for i = 1,4 do | |
564 | wait() | |
565 | Output("KAJ Admin is working") | |
566 | end | |
567 | end | |
568 | ) | |
569 | AddCmd("Back","back","Your back", | |
570 | function() | |
571 | Dismiss() | |
572 | for i = 1,4 do | |
573 | wait() | |
574 | Output("im back!!") | |
575 | end | |
576 | wait(3) | |
577 | Dismiss() | |
578 | end | |
579 | ) | |
580 | ||
581 | AddCmd("Ban a player","ban","Kicks a player when he enters", | |
582 | function(plrs, msg) | |
583 | for _,v in pairs(plrs) do | |
584 | if v then | |
585 | table.insert(Banlist,v.Name) | |
586 | Output('Banned > '..v.Name,__) | |
587 | else | |
588 | Output(Error) | |
589 | end | |
590 | end | |
591 | end | |
592 | ) | |
593 | ||
594 | ||
595 | AddCmd("Lighting Fix","fixl","Lighting fix", | |
596 | function() | |
597 | function dtr() | |
598 | local sk = game.Lighting:findFirstChild("Sky") | |
599 | if sk ~= nil then | |
600 | sk:Remove() | |
601 | end | |
602 | game.Lighting.FogEnd = 10011111111 | |
603 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
604 | game.Lighting.TimeOfDay = "14:00:00" | |
605 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
606 | game.Lighting.Brightness = 1 | |
607 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
608 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
609 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
610 | end | |
611 | ||
612 | dtr() | |
613 | ||
614 | game.Lighting.Changed:connect(dtr) | |
615 | end | |
616 | ) | |
617 | ||
618 | AddCmd("Cobalt Sky","cs","Set the skybox to ME", | |
619 | function() | |
620 | sky = Instance.new("Sky") | |
621 | sky.Parent = game.Lighting | |
622 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=159514018" | |
623 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=159514018" | |
624 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=159514018" | |
625 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=159514018" | |
626 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=159514018" | |
627 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=159514018" | |
628 | end | |
629 | ) | |
630 | ||
631 | ||
632 | AddCmd("Shutdown","sd","Shuts the server down", | |
633 | function() | |
634 | ||
635 | wait(1) | |
636 | for _,v in pairs(game.Players:GetPlayers()) do v:Kick() end | |
637 | end | |
638 | ) | |
639 | ||
640 | AddCmd("Respawn","respawn","Respawn player", | |
641 | function(plrs) | |
642 | for _,plr in pairs(plrs) do | |
643 | if plr then | |
644 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
645 | end | |
646 | end | |
647 | end | |
648 | ) | |
649 | ||
650 | AddCmd("Connect","connect","Connect a player", | |
651 | function(plrs) | |
652 | for _,plr in pairs(plrs) do | |
653 | if plr and plr.Backpack then | |
654 | Connect(plr) | |
655 | end | |
656 | end | |
657 | end | |
658 | ) | |
659 | AddCmd("Hello!","helh","SPAM HELLO AND HI!11", | |
660 | function() | |
661 | while true do wait() Output("Hello") Output("Hi") | |
662 | end end | |
663 | ) | |
664 | AddCmd("Night","night","Makes it night", | |
665 | function() | |
666 | game.Lighting.TimeOfDay = "00:00:00" | |
667 | end | |
668 | ) | |
669 | AddCmd("Kick player list","klist", "Show a kick player list", | |
670 | function() | |
671 | Dismiss() | |
672 | Output("Players to kick", __) | |
673 | for _,v in pairs(game:GetService("Players"):GetChildren()) do | |
674 | Output(v.Name, | |
675 | function() | |
676 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", v.Backpack) | |
677 | v:Destroy() | |
678 | end) | |
679 | end | |
680 | end | |
681 | ) | |
682 | AddCmd("Day","day","Makes it day", | |
683 | function() | |
684 | game.Lighting.TimeOfDay = "12:00:00" | |
685 | end | |
686 | ) | |
687 | ||
688 | AddCmd("Disconnect","dc","DC'S a player", | |
689 | function(plrs) | |
690 | for _,plr in pairs(plrs) do | |
691 | if plr and plr.Backpack then | |
692 | NewLS([[local lp = game.Players.LocalPlayer;lp.Parent = nil;wait();lp.Parent = game.Players]],plr.Backpack) | |
693 | end | |
694 | end | |
695 | end) | |
696 | ||
697 | AddCmd("Script local","ls","LocalScript", | |
698 | function(nothing, msg) | |
699 | if LocalPlayer.Parent ~= nil then | |
700 | NewLS(msg, LocalPlayer.Backpack) | |
701 | end | |
702 | end | |
703 | ) | |
704 | ||
705 | AddCmd("Playerinfo","pinfo","Get info on someone", | |
706 | function(plrs) | |
707 | for _,plr in pairs(plrs) do | |
708 | if plr then | |
709 | Output("Age: "..plr.AccountAge,"noncolar") | |
710 | Output("Membership: "..plr.MembershipType.Name,"Hot pink") | |
711 | Output("Player: "..plr.Name,"Royal purple") | |
712 | Output("Id: "..plr.userId,"New Yeller") | |
713 | Output("Camera Mode: "..plr.CameraMode.Name,"Dark green") | |
714 | end | |
715 | end | |
716 | end) | |
717 | ||
718 | AddCmd("Force shutdown","fsd","Forces shutdown", | |
719 | function(nothing, msg) | |
720 | NewS([[local b = Instance.new ("ManualSurfaceJointInstance",Workspace)]],workspace) | |
721 | end | |
722 | ) | |
723 | ||
724 | ||
725 | ||
726 | AddCmd("Create base","base","Create the base", | |
727 | function() | |
728 | a = Instance.new("Part") | |
729 | a.Parent = Workspace | |
730 | a.Name = "Base" | |
731 | a.Position = Vector3.new(0, 0.6, 0) | |
732 | a.Size = Vector3.new(1002, 0, 1002) | |
733 | a.Material = "Grass" | |
734 | a.Anchored = true | |
735 | a.BrickColor = BrickColor.new("Dark green") | |
736 | end | |
737 | ) | |
738 | ||
739 | AddCmd("Ping","ping","Ping something", | |
740 | function(plrs, msg) | |
741 | if msg == "" then | |
742 | Output("pong", __) | |
743 | else | |
744 | Output(msg, __) | |
745 | end | |
746 | end | |
747 | ) | |
748 | ||
749 | AddCmd("Dismiss","dt","Dismiss tabs", | |
750 | function() | |
751 | Dismiss() | |
752 | end | |
753 | ) | |
754 | ||
755 | AddCmd("God player","god","God a player", | |
756 | function(plrs) | |
757 | for _, plr in pairs(plrs) do | |
758 | if plr and plr.Character and plr.Character.Humanoid then | |
759 | me = plr | |
760 | me.Character.Humanoid.MaxHealth=math.huge | |
761 | end | |
762 | end | |
763 | end | |
764 | ) | |
765 | ||
766 | AddCmd("DL","dl","DL a player", | |
767 | function(Plrs) | |
768 | for _, plr in pairs(Plrs) do | |
769 | if plr and plr.Backpack then | |
770 | for i = 0,7,1 do | |
771 | NewLS(DLSource, plr.Backpack) | |
772 | Output("You DL'D "..plr.Name, __) | |
773 | ||
774 | end | |
775 | end | |
776 | end | |
777 | end | |
778 | ) | |
779 | ||
780 | ||
781 | ||
782 | AddCmd("Nilp","nils","Shows nil", | |
783 | function() | |
784 | NewS([[ | |
785 | Model = Instance.new("Model", game.Lighting) | |
786 | Model.Name = "V3rm Tabs" | |
787 | for _,v in pairs(game:service'NetworkServer':children()) do | |
788 | if v:GetPlayer() then | |
789 | if v:GetPlayer().Parent ~= game:service'Players' then | |
790 | Instance.new("StringValue",Model).Value = v:GetPlayer().Name | |
791 | end | |
792 | end | |
793 | end | |
794 | ]], workspace) | |
795 | wait() | |
796 | np = nil | |
797 | for i = 0,5,1 do | |
798 | if game.Lighting:findFirstChild("V3rm Tabs") then | |
799 | np = game.Lighting:findFirstChild("V3rm Tabs") | |
800 | break | |
801 | end | |
802 | wait(0.1) | |
803 | end | |
804 | if np ~= nil then | |
805 | Dismiss() | |
806 | for _,v in pairs(np:children()) do | |
807 | if v:IsA("StringValue") then | |
808 | Output(v.Value,"Royal purple") | |
809 | end | |
810 | end | |
811 | elseif np == nil then | |
812 | Output("Something broke","Royal purple") | |
813 | end | |
814 | end | |
815 | ) | |
816 | ||
817 | ||
818 | ||
819 | ||
820 | AddCmd("reload","char","Makes your character", | |
821 | function() | |
822 | if workspace.CurrentCamera == nil then return end | |
823 | local camera = workspace.CurrentCamera | |
824 | local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1] | |
825 | local human = new_char.Humanoid | |
826 | human.Parent = nil | |
827 | new_char.Name = LocalPlayer.Name | |
828 | wait() | |
829 | human.Parent = new_char | |
830 | camera.CameraSubject = human | |
831 | camera.CameraType = "Custom" | |
832 | new_char.Parent = workspace | |
833 | LocalPlayer.Character = new_char | |
834 | new_char:MakeJoints() | |
835 | new_char.Torso.BrickColor = torsocolor | |
836 | new_char["Left Leg"].BrickColor = leftlegcolor | |
837 | new_char["Right Leg"].BrickColor = rightlegcolor | |
838 | new_char["Left Arm"].BrickColor = leftarmcolor | |
839 | new_char["Right Arm"].BrickColor = rightarmcolor | |
840 | new_char.Head.BrickColor = headcolor | |
841 | for i,v in pairs(Clothes) do | |
842 | v:Clone().Parent = new_char | |
843 | end | |
844 | probemode = false | |
845 | end | |
846 | ) | |
847 | ||
848 | AddCmd("Remove KAJ Admin","kajr","Remove KAJ Admin", | |
849 | function() | |
850 | Output("Remove KAJ Admin?", | |
851 | function() | |
852 | for i,v in pairs(getfenv(1)) do | |
853 | getfenv(1)[i] = nil | |
854 | end | |
855 | script.Disabled = true | |
856 | LocalPlayer = NO_PLAYER | |
857 | script:findFirstChild(SourceName).Value = " " | |
858 | script.Disabled = true | |
859 | tabmodel:ClearAllChildren() | |
860 | tabmodel:Destroy() | |
861 | connection:disconnect() | |
862 | Tabs = {} | |
863 | Cmds = {} | |
864 | Banlist = {} | |
865 | fh.all = true | |
866 | coroutine.resume(coroutine.create(function() | |
867 | while wait(0.1) do | |
868 | Dismiss() | |
869 | end | |
870 | end)) | |
871 | end) | |
872 | end | |
873 | ) | |
874 | ||
875 | AddCmd("ForceField","ff","Give a forcefield to player", | |
876 | function(plrs) | |
877 | for _, plr in pairs(plrs) do | |
878 | if plr and plr.Character then | |
879 | ||
880 | ||
881 | Instance.new("ForceField", plr.Character) | |
882 | end | |
883 | end | |
884 | end | |
885 | ) | |
886 | AddCmd("Super FF","sff","Give 6000 forcefields to a player", | |
887 | function(plrs) | |
888 | for _, plr in pairs(plrs) do | |
889 | if plr and plr.Character then | |
890 | for i = 1,6000 do | |
891 | Instance.new("ForceField", plr.Character) | |
892 | end | |
893 | end | |
894 | end | |
895 | end | |
896 | ) | |
897 | function ShowBL() | |
898 | Dismiss() | |
899 | for _,v in pairs(Banlist) do | |
900 | Output(v, "Royal purple", function() | |
901 | Dismiss() | |
902 | Output("Un-ban", "Black", function() table.remove(Banlist,_) end) | |
903 | Output("Back", "Royal purple", function() ShowBL() end) | |
904 | end) | |
905 | end | |
906 | end | |
907 | ||
908 | AddCmd("Banlist","bl","Show banned players", | |
909 | function() | |
910 | ShowBL() | |
911 | end | |
912 | ) | |
913 | AddCmd("C-FF","cff","Puts as much as ff's as there are commands", | |
914 | function(plrs) | |
915 | for _, plr in pairs(plrs) do | |
916 | if plr and plr.Character then | |
917 | for i = 1,#Cmds do | |
918 | Instance.new("ForceField",plr.Character) | |
919 | end | |
920 | end | |
921 | end | |
922 | end | |
923 | ) | |
924 | AddCmd("Lag player","lag","Lag a player", | |
925 | function(plrs) | |
926 | for _, plr in pairs(plrs) do | |
927 | if plr and plr.Backpack then | |
928 | NewLS(LagSource, plr.Backpack) | |
929 | end | |
930 | end | |
931 | end | |
932 | ) | |
933 | AddCmd("Scythe","scy","Give someone scythe script", | |
934 | function(plrs) | |
935 | for _, plr in pairs(plrs) do | |
936 | if plr and plr.Backpack then | |
937 | NewLS(ScytheSource, plr.Backpack) | |
938 | end | |
939 | end | |
940 | end | |
941 | ) | |
942 | AddCmd("Normal Crash","ncr","Normal crash a player", | |
943 | function(Plrs) | |
944 | for _,plr in pairs(Plrs) do | |
945 | if plr and plr.Backpack then | |
946 | NewLS("repeat until false",plr.Backpack) | |
947 | end | |
948 | end | |
949 | end | |
950 | ) | |
951 | AddCmd("Crash player","crash","Crash a player", | |
952 | function(plrs) | |
953 | for _, plr in pairs(plrs) do | |
954 | if plr and plr.Backpack then | |
955 | NewLS("while true do end", plr.Backpack) | |
956 | end | |
957 | end | |
958 | end | |
959 | ) | |
960 | ||
961 | AddCmd("Kill player","kill","Kill a player", | |
962 | function(plrs) | |
963 | for _, plr in pairs(plrs) do | |
964 | if plr and plr.Character then | |
965 | plr.Character:BreakJoints() | |
966 | end | |
967 | end | |
968 | end | |
969 | ) | |
970 | AddCmd("Mute player","mute","Removes a players chatbar", | |
971 | function(plrs) | |
972 | for _, plr in pairs(plrs) do | |
973 | if plr and plr.Backpack then | |
974 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack) | |
975 | end | |
976 | end | |
977 | end | |
978 | ) | |
979 | AddCmd("Unmute player","unmute","Creates a players chatbar when removed", | |
980 | function(plrs) | |
981 | for _, plr in pairs(plrs) do | |
982 | if plr and plr.Backpack then | |
983 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack) | |
984 | end | |
985 | end | |
986 | end | |
987 | ) | |
988 | ||
989 | AddCmd("Un-ForceField","unff","Remove the forcefield of someone", | |
990 | function(plrs) | |
991 | for _, plr in pairs(plrs) do | |
992 | if plr and plr.Character then | |
993 | pcall(function() | |
994 | for _,v in pairs(plr.Character:GetChildren()) do | |
995 | if v:IsA("ForceField") then | |
996 | v:Destroy() | |
997 | end | |
998 | end | |
999 | end) | |
1000 | end | |
1001 | end | |
1002 | end | |
1003 | ) | |
1004 | ||
1005 | ||
1006 | ||
1007 | AddCmd("Teleport","tp","Teleport a player to a place", | |
1008 | function(plrs, msg) | |
1009 | local keypos = msg:find(key) | |
1010 | local targPlayers = msg:sub(1,keypos-1) | |
1011 | local plrs = getPlayers(targPlayers) | |
1012 | local id = msg:sub(tonumber(keypos+1)) | |
1013 | for _,v in pairs(plrs) do | |
1014 | if v and v.Backpack then | |
1015 | NewLS([[game:service'TeleportService':Teleport(]]..id..[[)]], v.Backpack) | |
1016 | end | |
1017 | end | |
1018 | end | |
1019 | ) | |
1020 | ||
1021 | ||
1022 | AddCmd("Deep clean","deepclean","Ultimate clean", | |
1023 | function() | |
1024 | local sk = game.Lighting:findFirstChild("Sky") | |
1025 | if sk ~= nil then | |
1026 | sk:Remove() | |
1027 | end | |
1028 | game.Lighting.FogEnd = 10011111111 | |
1029 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
1030 | game.Lighting.TimeOfDay = "14:00:00" | |
1031 | game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
1032 | game.Lighting.Brightness = 1 | |
1033 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
1034 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
1035 | game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7) | |
1036 | t = game.Teams:GetChildren() | |
1037 | for i = 1, #t do | |
1038 | if t[i]:IsA("Team") then | |
1039 | t[i]: Destroy() | |
1040 | end | |
1041 | end | |
1042 | l = game.Lighting:GetChildren() | |
1043 | for i = 1, #l do | |
1044 | if l[i]:IsA("Sky") then | |
1045 | l[i]: Destroy() | |
1046 | end | |
1047 | end | |
1048 | g = game.Workspace:GetChildren() | |
1049 | for i = 1, #g do | |
1050 | if g[i]:IsA("Part") then | |
1051 | g[i]: Destroy() | |
1052 | end | |
1053 | end | |
1054 | for i = 1, #g do | |
1055 | if g[i]:IsA("Script") then | |
1056 | g[i]: Destroy() | |
1057 | end | |
1058 | end | |
1059 | for i = 1, #g do | |
1060 | if g[i]:IsA("StringValue") then | |
1061 | g[i]: Destroy() | |
1062 | end | |
1063 | end | |
1064 | for i = 1, #g do | |
1065 | if g[i]:IsA("IntValue") then | |
1066 | g[i]: Destroy() | |
1067 | end | |
1068 | end | |
1069 | for i = 1, #g do | |
1070 | if g[i]:IsA("BoolValue") then | |
1071 | g[i]: Destroy() | |
1072 | end | |
1073 | end | |
1074 | for i = 1, #g do | |
1075 | if g[i]:IsA("NumberValue") then | |
1076 | g[i]: Destroy() | |
1077 | end | |
1078 | end | |
1079 | for i = 1, #g do | |
1080 | if g[i]:IsA("ObjectValue") then | |
1081 | g[i]: Destroy() | |
1082 | end | |
1083 | end | |
1084 | for i = 1, #g do | |
1085 | if g[i]:IsA("RayValue") then | |
1086 | g[i]: Destroy() | |
1087 | end | |
1088 | end | |
1089 | for i = 1, #g do | |
1090 | if g[i]:IsA("Sound") then | |
1091 | g[i]: Destroy() | |
1092 | end | |
1093 | end | |
1094 | for i = 1, #g do | |
1095 | if g[i]:IsA("Accoutrement") then | |
1096 | g[i]: Destroy() | |
1097 | end | |
1098 | end | |
1099 | for i = 1, #g do | |
1100 | if g[i]:IsA("BrickColorValue") then | |
1101 | g[i]: Destroy() | |
1102 | end | |
1103 | end | |
1104 | for i = 1, #g do | |
1105 | if g[i]:IsA("Motor") then | |
1106 | g[i]: Destroy() | |
1107 | end | |
1108 | end | |
1109 | for i = 1, #g do | |
1110 | if g[i]:IsA("MotorFeature") then | |
1111 | g[i]: Destroy() | |
1112 | end | |
1113 | end | |
1114 | for i = 1, #g do | |
1115 | if g[i]:IsA("Color3Value") then | |
1116 | g[i]: Destroy() | |
1117 | end | |
1118 | end | |
1119 | for i = 1, #g do | |
1120 | if g[i]:IsA("BindableEvent") then | |
1121 | g[i]: Destroy() | |
1122 | end | |
1123 | end | |
1124 | for i = 1, #g do | |
1125 | if g[i]:IsA("BindableFunction") then | |
1126 | g[i]: Destroy() | |
1127 | end | |
1128 | end | |
1129 | for i = 1, #g do | |
1130 | if g[i]:IsA("LocalScript") then | |
1131 | g[i]: Destroy() | |
1132 | end | |
1133 | end | |
1134 | for i = 1, #g do | |
1135 | if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "KAJ Admin" then | |
1136 | g[i]: Remove() | |
1137 | end | |
1138 | end | |
1139 | for i = 1, #g do | |
1140 | if g[i]:IsA("Hint") then | |
1141 | g[i]: Destroy() | |
1142 | end | |
1143 | end | |
1144 | for i = 1, #g do | |
1145 | if g[i]:IsA("Truss") then | |
1146 | g[i]: Destroy() | |
1147 | end | |
1148 | end | |
1149 | for i = 1, #g do | |
1150 | if g[i]:IsA("Tool") then | |
1151 | g[i]: Destroy() | |
1152 | end | |
1153 | end | |
1154 | for i = 1, #g do | |
1155 | if g[i]:IsA("HopperBin") then | |
1156 | g[i]: Destroy() | |
1157 | end | |
1158 | end | |
1159 | for i = 1, #g do | |
1160 | if g[i]:IsA("Fire") then | |
1161 | g[i]: Destroy() | |
1162 | end | |
1163 | end | |
1164 | for i = 1, #g do | |
1165 | if g[i]:IsA("Explosion") then | |
1166 | g[i]: Destroy() | |
1167 | end | |
1168 | end | |
1169 | for i = 1, #g do | |
1170 | if g[i]:IsA("Hat") then | |
1171 | g[i]: Destroy() | |
1172 | end | |
1173 | end | |
1174 | p = Instance.new("Part") | |
1175 | p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true, | |
1176 | BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
1177 | while true do wait() | |
1178 | for i = 1, #g do | |
1179 | if g[i]:IsA("Message") then | |
1180 | g[i]: Destroy() | |
1181 | end | |
1182 | end | |
1183 | for i = 1, #g do | |
1184 | if g[i]:IsA("Hint") then | |
1185 | g[i]: Destroy() | |
1186 | end | |
1187 | end | |
1188 | end | |
1189 | end | |
1190 | ) | |
1191 | ||
1192 | ||
1193 | AddCmd("DL BanList","dlbl","Show DL banned players", | |
1194 | function() | |
1195 | Showbb() | |
1196 | end | |
1197 | ) | |
1198 | ||
1199 | AddCmd("DL ban","dlb","DL ban a player", | |
1200 | function(plrs, msg) | |
1201 | for _,v in pairs(plrs) do | |
1202 | if v then | |
1203 | table.insert(DLBanList,v.Name) | |
1204 | Output('DL Banned > '..v.Name,__) | |
1205 | for _, plr in pairs(plrs) do | |
1206 | if plr and plr.Backpack then | |
1207 | NewLS(DLSource, plr.Backpack) | |
1208 | else | |
1209 | Output(Error) | |
1210 | end | |
1211 | end | |
1212 | end | |
1213 | end | |
1214 | end | |
1215 | ) | |
1216 | ||
1217 | function Showbb() | |
1218 | Dismiss() | |
1219 | for _,v in pairs(DLBanList) do | |
1220 | Output(v,nil, function() | |
1221 | Dismiss() | |
1222 | Output(v) | |
1223 | Output("Un-Ban","Royal purple", function() | |
1224 | table.remove(DLBanList, _) | |
1225 | end) | |
1226 | Output("Back","Royal purple", function() | |
1227 | Showbb() | |
1228 | end) | |
1229 | end) | |
1230 | end | |
1231 | end | |
1232 | ||
1233 | AddCmd("#cmds","#cmds","Number of the commands", | |
1234 | function() | |
1235 | Output(#Cmds, __) | |
1236 | end | |
1237 | ) | |
1238 | ||
1239 | ||
1240 | ||
1241 | AddCmd("Age","age","Show the age of a player", | |
1242 | function(Plrs) | |
1243 | for _, plr in pairs(Plrs) do | |
1244 | if plr then | |
1245 | Output(plr.Name.." is "..tostring(plr.AccountAge)) | |
1246 | end | |
1247 | end | |
1248 | end) | |
1249 | AddCmd("Nuke","nuke","Nuke a player", | |
1250 | function(plrs) | |
1251 | for _, plr in pairs(plrs) do | |
1252 | if plr and plr.Character then | |
1253 | a = Instance.new("Explosion", plr.Character) | |
1254 | a.Position = plr.Character.Torso | |
1255 | end | |
1256 | end | |
1257 | end | |
1258 | ) | |
1259 | AddCmd("Fix Cam","fixcam","Fix someones camera", | |
1260 | function(plrs, msg) | |
1261 | for _, plr in pairs(plrs) do | |
1262 | if plr and plr.Backpack then | |
1263 | NewLS([[ | |
1264 | game.Workspace.CurrentCamera:Destroy() | |
1265 | cam = Instance.new("Camera", workspace) | |
1266 | cam.Name = "CurrentCamera" | |
1267 | cam.FieldOfView = 70 | |
1268 | cam.CameraType = "Custom" | |
1269 | cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid]], plr.Backpack) | |
1270 | end | |
1271 | end | |
1272 | end | |
1273 | ) | |
1274 | AddCmd("Stamper Tools","stools","Get or Give StamperTools", | |
1275 | function() | |
1276 | x = game:GetService("InsertService"):LoadAsset(73089166) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1277 | x = game:GetService("InsertService"):LoadAsset(73089204) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1278 | x = game:GetService("InsertService"):LoadAsset(73089190) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1279 | x = game:GetService("InsertService"):LoadAsset(58880579) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1280 | x = game:GetService("InsertService"):LoadAsset(60791062) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1281 | x = game:GetService("InsertService"):LoadAsset(73089239) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1282 | end | |
1283 | ) | |
1284 | ||
1285 | AddCmd("Cobalts Favorite","cft","My favorite gear", | |
1286 | function() | |
1287 | x = game:GetService("InsertService"):LoadAsset(121946387) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1288 | x = game:GetService("InsertService"):LoadAsset(159229806) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1289 | x = game:GetService("InsertService"):LoadAsset(159199218) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1290 | x = game:GetService("InsertService"):LoadAsset(158069143) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1291 | x = game:GetService("InsertService"):LoadAsset(77443704) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1292 | x = game:GetService("InsertService"):LoadAsset(68603324) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
1293 | end) | |
1294 | AddCmd("Tsunami","play tsunami","Play my music", | |
1295 | function() | |
1296 | v=Instance.new("Sound") | |
1297 | v.Parent = char | |
1298 | v.SoundId="http://www.roblox.com/Asset/?id=142720946" | |
1299 | v.Name="wontremoveunlessidohahaidiot" | |
1300 | v.Pitch = 1 | |
1301 | v.Looped=true | |
1302 | wait() | |
1303 | v:Play() | |
1304 | ||
1305 | end | |
1306 | ) | |
1307 | AddCmd("Rich Girl","play rich girl","Play ma other music", | |
1308 | function() | |
1309 | v=Instance.new("Sound") | |
1310 | v.Parent = char | |
1311 | v.SoundId="http://www.roblox.com/Asset/?id=152020611" | |
1312 | v.Pitch = 1 | |
1313 | v.Name="wontremoveunlessidohahaidiot" | |
1314 | v.Looped=true | |
1315 | wait() | |
1316 | v:Play() | |
1317 | ||
1318 | end | |
1319 | ) | |
1320 | AddCmd("Take me home","play take me home","Play ma other music", | |
1321 | function() | |
1322 | v=Instance.new("Sound") | |
1323 | v.Parent = char | |
1324 | v.SoundId="http://www.roblox.com/Asset/?id=155104467" | |
1325 | v.Pitch = 1 | |
1326 | v.Name="wontremoveunlessidohahaidiot" | |
1327 | v.Looped=true | |
1328 | wait() | |
1329 | v:Play() | |
1330 | ||
1331 | end | |
1332 | ) | |
1333 | ||
1334 | AddCmd("Night of Nights","play night0nights","Play night of nights", | |
1335 | function() | |
1336 | v=Instance.new("Sound") | |
1337 | v.Parent = char | |
1338 | v.SoundId="http://www.roblox.com/Asset/?id=150486020" | |
1339 | v.Pitch = 1 | |
1340 | v.Name="wontremoveunlessidohahaidiot" | |
1341 | v.Looped=true | |
1342 | wait() | |
1343 | v:Play() | |
1344 | end | |
1345 | ) | |
1346 | ||
1347 | AddCmd("Supertoast","play Supertoast","Play the music Supertoast", | |
1348 | function() | |
1349 | v=Instance.new("Sound") | |
1350 | v.Parent = char | |
1351 | v.SoundId="http://www.roblox.com/Asset/?id=316121133" | |
1352 | v.Pitch = 1 | |
1353 | v.Name="wontremoveunlessidohahaidiot" | |
1354 | v.Looped=true | |
1355 | wait() | |
1356 | v:Play() | |
1357 | ||
1358 | end | |
1359 | ) | |
1360 | ||
1361 | AddCmd("Lunar dial clock","play ldc","Play lunar dial clock", | |
1362 | function() | |
1363 | v=Instance.new("Sound") | |
1364 | v.Parent = char | |
1365 | v.SoundId="http://www.roblox.com/Asset/?id=149966328" | |
1366 | v.Pitch = 1 | |
1367 | v.Name="wontremoveunlessidohahaidiot" | |
1368 | v.Looped=true | |
1369 | wait() | |
1370 | v:Play() | |
1371 | end | |
1372 | ) | |
1373 | AddCmd("Music Remove","mre","Remove the current music playing", | |
1374 | function() | |
1375 | game.Workspace.wontremoveunlessidohahaidiot:Destroy() | |
1376 | end | |
1377 | ) | |
1378 | AddCmd("Music List","music","The music list", | |
1379 | function() | |
1380 | for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do | |
1381 | Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function() | |
1382 | MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i] | |
1383 | MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character) | |
1384 | MusicPlay.Name = MusicStuff.NAME | |
1385 | MusicPlay.SoundId = MusicStuff.ID | |
1386 | MusicPlay.Pitch = MusicStuff.PITCH | |
1387 | MusicPlay.Looped = true | |
1388 | wait(0.2) | |
1389 | MusicPlay:Play() | |
1390 | end) | |
1391 | end | |
1392 | end | |
1393 | ) | |
1394 | function Output(Txt, func) | |
1395 | P = Instance.new("Part", tabmodel) | |
1396 | P.Shape = "Block" | |
1397 | P.Color = Color3.new(226, 4, 204) | |
1398 | P.Anchored = true | |
1399 | P.Transparency = (0.5) | |
1400 | P.Size = Vector3.new(0.5,0.5,0.5) | |
1401 | P.CanCollide = false | |
1402 | MD=Instance.new("SpecialMesh",P) | |
1403 | MD.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
1404 | MD.Scale=Vector3.new(1,2,1) | |
1405 | if probemode == false then | |
1406 | if LocalPlayer.Character.Torso then | |
1407 | P.Position = LocalPlayer.Character.Torso.Position | |
1408 | elseif LocalPlayer.Character.Torso == nil then return end | |
1409 | elseif probemode == true then | |
1410 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1411 | P.Position = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position | |
1412 | elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") == nil then return end | |
1413 | else | |
1414 | return | |
1415 | end | |
1416 | Instance.new("Sparkles", P) | |
1417 | local s = Instance.new("SelectionBox") | |
1418 | s.Color = BrickColor.new(22,44,11) | |
1419 | s.Adornee = P | |
1420 | s.Parent = P | |
1421 | s.Transparency = (0.99999999999) | |
1422 | Instance.new("PointLight", P) | |
1423 | bg = Instance.new("BillboardGui", P) | |
1424 | bg.Adornee = tab | |
1425 | bg.Size = UDim2.new(8, 0, 7.5, 0) | |
1426 | bg.StudsOffset = Vector3.new(0, 1, 0) | |
1427 | text = Instance.new("TextLabel", bg) | |
1428 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
1429 | text.FontSize = "Size18" | |
1430 | text.BackgroundTransparency = 1 | |
1431 | text.Font = "SourceSansBold" | |
1432 | text.TextStrokeTransparency = 0 | |
1433 | text.TextColor3 = Color3.new(180, 180, 180) | |
1434 | text.Text = Txt | |
1435 | Click = Instance.new("ClickDetector",P) | |
1436 | Click.MaxActivationDistance = math.huge | |
1437 | Click.MouseClick:connect(function(Plr) | |
1438 | if Plr.Name == LocalPlayer.Name then | |
1439 | Dismiss() | |
1440 | func = func | |
1441 | func() | |
1442 | end | |
1443 | end) | |
1444 | table.insert(Tabs, P) | |
1445 | end | |
1446 | ||
1447 | function getPlayers(msg) | |
1448 | local plrs = {} | |
1449 | if msg == "me" then | |
1450 | table.insert(plrs, LocalPlayer) | |
1451 | elseif msg == "all" then | |
1452 | plrs = game:GetService("Players"):GetChildren() | |
1453 | elseif msg == "noobs" then | |
1454 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1455 | if plr.AccountAge > 700 then | |
1456 | table.insert(plrs, plr) | |
1457 | end | |
1458 | end | |
1459 | elseif msg == "veterans" then | |
1460 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1461 | if plr.AccountAge > 700 then | |
1462 | table.insert(plrs, plr) | |
1463 | end | |
1464 | end | |
1465 | elseif msg == "others" then | |
1466 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1467 | if v ~= LocalPlayer then | |
1468 | table.insert(plrs, v) | |
1469 | end | |
1470 | end | |
1471 | else | |
1472 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1473 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
1474 | table.insert(plrs, v) | |
1475 | end | |
1476 | end | |
1477 | end | |
1478 | return plrs | |
1479 | end | |
1480 | ||
1481 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1482 | end | |
1483 | ||
1484 | LocalPlayer.Chatted:connect(function(m) | |
1485 | for i,v in pairs(Cmds) do | |
1486 | if v["Say"]..key == m:sub(1, #v["Say"]+#key) then | |
1487 | v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1)) | |
1488 | end | |
1489 | end | |
1490 | end) | |
1491 | ||
1492 | for i = 0,8,1 do | |
1493 | wait(0.01) | |
1494 | end | |
1495 | ||
1496 | ||
1497 | for _,v in pairs(game.Players:GetPlayers()) do | |
1498 | if v.Name == "Cobalt1164" or v.Name == "KajAdmin" then | |
1499 | Output("Creator of KAJ Admin is in-game") | |
1500 | end | |
1501 | end | |
1502 | ||
1503 | game.Players.PlayerAdded:connect(function(plr) | |
1504 | if plr.Name == "Cobalt1164" or plr.Name == "KajAdmin" then | |
1505 | Output("Creator of KAJ Admin is in-game") | |
1506 | end | |
1507 | end) | |
1508 | ||
1509 | tabmodeldebounce = false | |
1510 | modeldebounce = false | |
1511 | game:service'RunService'.Stepped:connect(function() | |
1512 | if modeldebounce then return end | |
1513 | rot = (rot % 360) + 0.0001 | |
1514 | if tabmodel.Parent ~= workspace then | |
1515 | modeldebounce = true | |
1516 | tabs = {} | |
1517 | tabmodel = Instance.new("Model", workspace) | |
1518 | tabmodel.Name = "KAJ Admin" | |
1519 | tabs = {} | |
1520 | wait() | |
1521 | modeldebounce = false | |
1522 | end | |
1523 | end) | |
1524 | ||
1525 | rot = 0 | |
1526 | ||
1527 | ||
1528 | ||
1529 | Output("Welcome to KAJ Admin") | |
1530 | Output("Not buyable") | |
1531 | Output("Creators are: Cobalt1164, KajAdmin") | |
1532 | Output("Enjoy the script") | |
1533 | Output("If you have a request, message the creators.") | |
1534 | Output("You have loaded Generation Four") | |
1535 | ||
1536 | coroutine.resume(coroutine.create(function() | |
1537 | game:GetService("RunService").Stepped:connect(function() | |
1538 | if probemode == false then | |
1539 | if LocalPlayer.Character then | |
1540 | if LocalPlayer.Character:findFirstChild("Torso") then | |
1541 | rot = rot + 0.0001 | |
1542 | for i,v in pairs(Tabs) do | |
1543 | ypcall(function() | |
1544 | local pos = LocalPlayer.Character.Torso.CFrame | |
1545 | local radius = 4 + (#Tabs * 0.5) | |
1546 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1547 | local y = 0 | |
1548 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1549 | local arot = Vector3.new(x, y, z) + pos.p | |
1550 | local brot = v.CFrame.p | |
1551 | local crot = (arot * .1 + brot * .9) | |
1552 | v.CFrame = CFrame.new(crot, pos.p) | |
1553 | end) | |
1554 | end | |
1555 | end | |
1556 | end | |
1557 | end | |
1558 | if probemode == true then | |
1559 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
1560 | rot = rot + 0.001 | |
1561 | for i,v in pairs(Tabs) do | |
1562 | ypcall(function() | |
1563 | local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame | |
1564 | local radius = 4 + (#Tabs * 0.5) | |
1565 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1566 | local y = 0 | |
1567 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
1568 | local arot = Vector3.new(x, y, z) + pos.p | |
1569 | local brot = v.CFrame.p | |
1570 | local crot = (arot * .1 + brot * .9) | |
1571 | v.CFrame = CFrame.new(crot, pos.p) | |
1572 | end) | |
1573 | end | |
1574 | end | |
1575 | end | |
1576 | end) | |
1577 | end)) | |
1578 | ||
1579 | game:GetService("RunService").RenderStepped:connect(function() | |
1580 | for _,a in pairs(game:service('Players'):children()) do | |
1581 | for _,b in pairs(Banlist) do | |
1582 | if b:find(a.Name) then | |
1583 | NewLS([==[ | |
1584 | Instance.new('Message',Workspace).Text = "You are Banned." | |
1585 | local p = game:GetService("Players").LocalPlayer | |
1586 | p.Parent=nil | |
1587 | wait() | |
1588 | p.Parent=game:GetService("Players") | |
1589 | ]==], a.Backpack) | |
1590 | a:remove() | |
1591 | Output('BANN3D>>'..a.Name..',banned player tried to join but failed',__) | |
1592 | else | |
1593 | end | |
1594 | end | |
1595 | end | |
1596 | end) | |
1597 | game.Players.ChildRemoved:connect(function(plr) | |
1598 | Output("Left>>"..plr.Name) | |
1599 | wait(4) | |
1600 | Dismiss() | |
1601 | end) | |
1602 | ||
1603 | game.Players.ChildAdded:connect(function(plr) | |
1604 | Output("Entered>>"..plr.Name) | |
1605 | wait(4) | |
1606 | Dismiss() | |
1607 | end) | |
1608 | ||
1609 | wait(0.001) | |
1610 | script:ClearAllChildren(); | |
1611 | script.Parent=nil; | |
1612 | wait(1) | |
1613 | LocalPlayer = game:service'Players'.LocalPlayer | |
1614 | Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"} | |
1615 | DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name)) | |
1616 | DeModel.StudsOffset = Vector3.new(0,2.5,0) | |
1617 | DeModel.Name = ":D" | |
1618 | FR = Instance.new("Frame",DeModel) | |
1619 | FR.Size=UDim2.new(1,0,1,0) | |
1620 | FR.BackgroundColor3=BrickColor.new("Really black").Color | |
1621 | FR.BorderSizePixel=0 | |
1622 | FR.ZIndex=2 | |
1623 | CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head | |
1624 | game:service'RunService'.RenderStepped:connect(function() | |
1625 | pcall(function() | |
1626 | local a = workspace:findFirstChild(LocalPlayer.Name) | |
1627 | if a.ClassName == 'Part' then | |
1628 | CurrParent = a | |
1629 | else | |
1630 | CurrParent = a:findFirstChild'Head' | |
1631 | end | |
1632 | end) | |
1633 | if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then | |
1634 | pcall(function() | |
1635 | if CurrParent.ClassName == 'Part' then | |
1636 | DeModel = Instance.new("BillboardGui", CurrParent) | |
1637 | DeModel.Adornee = CurrParent | |
1638 | DeModel.StudsOffset = Vector3.new(0,2.5,0) | |
1639 | DeModel.Name = ":D" | |
1640 | FR = Instance.new("Frame",DeModel) | |
1641 | FR.Size=UDim2.new(1,0,1,0) | |
1642 | FR.BackgroundColor3=BrickColor.new("Really black").Color | |
1643 | FR.BorderSizePixel=0 | |
1644 | FR.ZIndex=2 | |
1645 | end | |
1646 | end) | |
1647 | end | |
1648 | end) | |
1649 | function CreateLetter(what, pos, posy, cl) | |
1650 | pcall(function() | |
1651 | if cl == nil then cl = "Toothpaste" end | |
1652 | if Letters[what:byte()-31] then | |
1653 | what = Letters[what:byte()-31] | |
1654 | else | |
1655 | what = Letters[1] | |
1656 | end | |
1657 | if type(what) ~= "string" then return end | |
1658 | what = what:gsub('\n','') | |
1659 | what = what:gsub('\t','') | |
1660 | what = what:gsub(' ','') | |
1661 | pos = pos * 2 | |
1662 | posy = posy * 2 | |
1663 | c = 0 | |
1664 | for y=1,7 do | |
1665 | for x=1,5 do | |
1666 | c = c + 1 | |
1667 | if what:sub(c, c) == "1" then | |
1668 | local a = Instance.new("Frame", FR) | |
1669 | a.Name = "L" | |
1670 | a.ZIndex=3 | |
1671 | a.Size = UDim2.new(0,2,0,2) | |
1672 | a.BorderSizePixel = 0 | |
1673 | a.BackgroundTransparency = 1 | |
1674 | a.BackgroundColor3 = BrickColor.new(cl).Color | |
1675 | a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy) | |
1676 | coroutine.wrap(function() | |
1677 | wait(math.random(1, 10)/50) | |
1678 | a.BackgroundTransparency = 0 | |
1679 | end)() | |
1680 | end | |
1681 | end | |
1682 | end | |
1683 | end) | |
1684 | end | |
1685 | LocalPlayer.Chatted:connect(function(m) | |
1686 | pcall(function() | |
1687 | local cl = "Royal purple" | |
1688 | for _,v in pairs(DeModel.Frame:children()) do | |
1689 | v:Destroy() | |
1690 | end | |
1691 | if m:sub(1,2) == '/e' then return end | |
1692 | if m:sub(1,3) == "/! " then | |
1693 | m = m:sub(4) | |
1694 | DeModel.Frame.BackgroundColor3 = BrickColor.new("Navy blue").Color | |
1695 | cl = "Really black" | |
1696 | else | |
1697 | DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color | |
1698 | end | |
1699 | ||
1700 | ||
1701 | ||
1702 | m1 = m:gsub("\n"," ") | |
1703 | m1 = m1:gsub("\t"," ") | |
1704 | m1 = m1:gsub("math.pi",tostring(math.pi)) | |
1705 | if #m1 <= 30 then | |
1706 | DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20) | |
1707 | elseif #m1 <= 60 then | |
1708 | DeModel.Size = UDim2.new(0,330,0,40) | |
1709 | elseif #m1 <= 90 then | |
1710 | DeModel.Size = UDim2.new(0,330,0,60) | |
1711 | elseif #m1 > 90 then | |
1712 | DeModel.Size = UDim2.new(0,340,0,60) | |
1713 | m1 = m1:sub(1,90).."..." | |
1714 | end | |
1715 | coroutine.wrap(function() | |
1716 | for i = 1,0,-1/#m1 do | |
1717 | DeModel.Frame.Transparency = i | |
1718 | wait(1/60) | |
1719 | end | |
1720 | end)() | |
1721 | if #m1 < 30 then | |
1722 | for i = 1,#m1 do | |
1723 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1724 | wait(1/60) | |
1725 | end | |
1726 | elseif #m1 <= 60 then | |
1727 | for i = 1,30 do | |
1728 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1729 | wait(1/60) | |
1730 | end | |
1731 | for i = 31,#m1 do | |
1732 | CreateLetter(m1:sub(i,i),(i-30)*5,10,cl) | |
1733 | wait(1/60) | |
1734 | end | |
1735 | elseif #m1 >= 60 then | |
1736 | for i = 1,30 do | |
1737 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1738 | wait(1/60) | |
1739 | end | |
1740 | for i = 31,60 do | |
1741 | CreateLetter(m1:sub(i,i),(i-30)*5,10,cl) | |
1742 | wait(1/60) | |
1743 | end | |
1744 | for i = 61,#m1 do | |
1745 | CreateLetter(m1:sub(i,i),(i-60)*5,20,cl) | |
1746 | wait(1/60) | |
1747 | end | |
1748 | end | |
1749 | end) | |
1750 | end) |