SHOW:
|
|
- or go back to the newest paste.
1 | - | --Nilizer!-- |
1 | + | --Plutos Admin V4.0-- |
2 | --Local script- | |
3 | --[Working on v5]-- | |
4 | ||
5 | ||
6 | ||
7 | --[Now 12.4 are variable's meaning 4, so v4]-- | |
8 | Version = 5.0 | |
9 | Bet = ";" --What key do you want after each command? | |
10 | Tablet1Size = Vector3.new(3, 0.2, 3) --]\ | |
11 | Tablet2Size = Vector3.new(3,4,0.05) --] Tablet sizes | |
12 | TabletMain=Vector3.new(3,0.2,3) --]/ | |
13 | AntiFall = true; --Don't die when you fall into the void? (Warning, you will be stuck there) | |
14 | GuiChat=true; --Reversed, for gui chat, I recommend doing gui/on in game... | |
15 | - | TimeLeft = 60 --How long before the server dies after telling it to shut.down? |
15 | + | TimeLeft = 0 --How long before the server dies after telling it to shut.down? |
16 | - | banlist = {"awarefootball,k2smoker,Drager910"} |
16 | + | banlist = {"618,k2smoker,Drager910"} |
17 | KickingPhrases={ | |
18 | }; | |
19 | outlength = 1 --tablet dist (lower is further) | |
20 | OutputType = true; | |
21 | clickdetectdist = 3000000 -- measured by studs | |
22 | script.Parent = Instance.new('Glue') | |
23 | LocalPlayer = game.Players.LocalPlayer | |
24 | ClonyPooPoo = script:Clone() | |
25 | NormPooPoo = nil | |
26 | Commands = {} | |
27 | tablets = {} | |
28 | SelOut=false --BreakTablets/Script if true | |
29 | ChatNo = true; | |
30 | CancelSd = false; -- Don't touch | |
31 | Camera = game.Workspace.CurrentCamera | |
32 | SourceName = "DSource" | |
33 | SourceValue = "" | |
34 | tablets2 = {} | |
35 | Removed = false; | |
36 | newscript = script:Clone() | |
37 | NILIZERka = {} | |
38 | - | allowed = {'Luperds'}; |
38 | + | allowed = {'chucky4523'}; |
39 | nilprilist = {'Luperds'}; | |
40 | nilprion = false; | |
41 | nilinsert = "21001552" | |
42 | nilsb = newscript | |
43 | nilbet = Bet | |
44 | nilparts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"}; | |
45 | nilab = {'Luperds'} | |
46 | nilplayers = {}; | |
47 | NILIZERka.remove = true; -- backwards | |
48 | nilbubblechat = false; | |
49 | niladmins = allowed | |
50 | nilban = banlist | |
51 | nilconnect = {} | |
52 | nilblocked = {} | |
53 | nillog = {"script ran", "loaded"} | |
54 | nilcblocked = {} | |
55 | nilplatvic = nil | |
56 | nilplatpos = 3 | |
57 | nilplat = Instance.new("Part") | |
58 | nilplat.Name = "Platform" | |
59 | nilplat.Size = Vector3.new(10, 1, 10) | |
60 | nilplat.TopSurface = "Smooth" | |
61 | nilplat.BottomSurface = "Smooth" | |
62 | nilplat.BrickColor = BrickColor.new("Really Red") | |
63 | nilplat.Transparency = 0.7 | |
64 | nilplat.Anchored = true; | |
65 | nilversion = "10.2" | |
66 | niltextcolor = Color3.new(1, 0, 0); | |
67 | nilchatting = false; | |
68 | nilipban = {}; | |
69 | nilip = {}; | |
70 | nilabtime = 30; | |
71 | niloverride = false; | |
72 | ||
73 | log = function(msg) | |
74 | table.insert(nillog, msg) | |
75 | end | |
76 | ||
77 | table.insert(nilprilist,game.Players.LocalPlayer.Name) | |
78 | table.insert(nilab,game.Players.LocalPlayer.Name) | |
79 | table.insert(allowed,game.Players.LocalPlayer.Name) | |
80 | for _,v in pairs(script:GetChildren()) do | |
81 | if v:IsA("StringValue") then | |
82 | SourceName = v.Name | |
83 | SourceValue = v.Value | |
84 | print(SourceName) | |
85 | end | |
86 | end | |
87 | ||
88 | NewSource = function(S,P) | |
89 | DS = NormPooPoo:Clone() | |
90 | DS:ClearAllChildren() | |
91 | --DS.Disabled = true | |
92 | EN = Instance.new('StringValue',DS) | |
93 | EN.Name = SourceName | |
94 | EN.Value = S | |
95 | DS.Parent = P | |
96 | --DS.Disabled = false | |
97 | return DS | |
98 | end | |
99 | localScript = function(Source,Parent) | |
100 | local NewScript = ClonyPooPoo:Clone() | |
101 | NewScript:ClearAllChildren() | |
102 | local Souc = Instance.new('StringValue') | |
103 | Souc.Parent = NewScript | |
104 | Souc.Name = SourceName | |
105 | Souc.Value = Source | |
106 | NewScript.Parent = Parent | |
107 | return NewScript | |
108 | end | |
109 | Players = game:service'Players' | |
110 | CharacterName = LocalPlayer.Name | |
111 | --[[ LoadCharacter ]]-- | |
112 | function LoadCharacter(DaCFrame) | |
113 | if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end | |
114 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
115 | ||
116 | Character.Name = CharacterName or LocalPlayer.Name -- Character.Name | |
117 | ||
118 | Character.Parent = workspace | |
119 | ||
120 | LocalPlayer.Character = Character | |
121 | ||
122 | Character.Torso.CFrame = DaCFrame | |
123 | ||
124 | Camera.CameraSubject = Character.Humanoid | |
125 | ||
126 | Camera.CameraType = "Custom" | |
127 | if LocalPlayer.Name == 'Luperds' then | |
128 | local Shirt = Instance.new("Shirt",Character) | |
129 | ||
130 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
131 | ||
132 | local Pants = Instance.new("Pants",Character) | |
133 | ||
134 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
135 | local gG = Game:service'InsertService':LoadAsset(19380685) | |
136 | if gG == nil then | |
137 | gG = Game:GetService('InsertService'):LoadAsset(78033664) | |
138 | end | |
139 | gG.Parent = game.Workspace | |
140 | for i=1,#gG:GetChildren() do | |
141 | gG:children()[i].Parent = Character | |
142 | end | |
143 | gG:Destroy() | |
144 | local CharMeshes = {} | |
145 | MessyHairAndCap = Instance.new("Hat") | |
146 | MessyHairAndCap.Name = "MessyHairAndCap" | |
147 | MessyHairAndCap.Parent = Character | |
148 | MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001) | |
149 | ||
150 | Handle = Instance.new("Part") | |
151 | Handle.Name = "Handle" | |
152 | Handle.Parent = MessyHairAndCap | |
153 | Handle.FormFactor = Enum.FormFactor.Custom | |
154 | Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439) | |
155 | Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001) | |
156 | Handle.BottomSurface = Enum.SurfaceType.Smooth | |
157 | Handle.CFrame = CFrame.new(20.3775578, 47.991024, -385.506439, -0.810529113, -0.000474232278, -0.585697949, -0.000547972333, 0.999999821, -5.13653722e-005, 0.58569783, 0.000279313157, -0.810529232) | |
158 | Handle.Locked = true | |
159 | Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201) | |
160 | Handle.TopSurface = Enum.SurfaceType.Smooth | |
161 | Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819) | |
162 | ||
163 | Mesh = Instance.new("SpecialMesh") | |
164 | Mesh.Parent = Handle | |
165 | Mesh.TextureId = "http://www.roblox.com/asset/?id=62509661" | |
166 | Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
167 | Mesh.Scale = Vector3.new(1.1, 1, 1) | |
168 | Mesh.MeshType = Enum.MeshType.FileMesh | |
169 | ||
170 | DogTags = Instance.new("Hat") | |
171 | DogTags.Name = "DogTags" | |
172 | DogTags.Parent = Character | |
173 | DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991) | |
174 | ||
175 | Handle2 = Instance.new("Part") | |
176 | Handle2.Name = "Handle" | |
177 | Handle2.Parent = DogTags | |
178 | Handle2.FormFactor = Enum.FormFactor.Symmetric | |
179 | Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131) | |
180 | Handle2.Size = Vector3.new(1, 1, 1) | |
181 | Handle2.BottomSurface = Enum.SurfaceType.Smooth | |
182 | Handle2.CFrame = CFrame.new(28.3629551, 47.7913933, -394.372131, 0.326909542, -0.945055604, 0.000115543604, -5.45084476e-005, 0.000103473663, 0.99999994, -0.945055604, -0.326909482, -1.76429749e-005) | |
183 | Handle2.Locked = true | |
184 | Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252) | |
185 | Handle2.TopSurface = Enum.SurfaceType.Smooth | |
186 | Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792) | |
187 | ||
188 | Mesh2 = Instance.new("SpecialMesh") | |
189 | Mesh2.Parent = Handle2 | |
190 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431" | |
191 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421" | |
192 | Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003) | |
193 | Mesh2.MeshType = Enum.MeshType.FileMesh | |
194 | ||
195 | DarkAgeNinjaSwordpack = Instance.new("Hat") | |
196 | DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack" | |
197 | DarkAgeNinjaSwordpack.Parent = Character | |
198 | DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976) | |
199 | ||
200 | Handle3 = Instance.new("Part") | |
201 | Handle3.Name = "Handle" | |
202 | Handle3.Parent = DarkAgeNinjaSwordpack | |
203 | Handle3.FormFactor = Enum.FormFactor.Custom | |
204 | Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124) | |
205 | Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036) | |
206 | Handle3.BottomSurface = Enum.SurfaceType.Smooth | |
207 | Handle3.CFrame = CFrame.new(15.2650156, 47.4921036, -382.539124, -0.138142824, 0.990412474, -0.000127494335, -0.00010445714, 0.00011408329, 1.00000012, 0.990412414, 0.138142735, 8.76188278e-005) | |
208 | Handle3.Locked = true | |
209 | Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279) | |
210 | Handle3.TopSurface = Enum.SurfaceType.Smooth | |
211 | Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556) | |
212 | ||
213 | Mesh3 = Instance.new("SpecialMesh") | |
214 | Mesh3.Parent = Handle3 | |
215 | Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355" | |
216 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435" | |
217 | Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988) | |
218 | Mesh3.MeshType = Enum.MeshType.FileMesh | |
219 | ||
220 | Roblox20LeftLeg = Instance.new("CharacterMesh") | |
221 | Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg" | |
222 | Roblox20LeftLeg.Parent = Character | |
223 | Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg | |
224 | Roblox20LeftLeg.MeshId = 27111857 | |
225 | ||
226 | Roblox20RightLeg = Instance.new("CharacterMesh") | |
227 | Roblox20RightLeg.Name = "Roblox 2.0 Right Leg" | |
228 | Roblox20RightLeg.Parent = Character | |
229 | Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg | |
230 | Roblox20RightLeg.MeshId = 27111882 | |
231 | ||
232 | Roblox20torso = Instance.new("CharacterMesh") | |
233 | Roblox20torso.Name = "Roblox 2.0 torso" | |
234 | Roblox20torso.Parent = Character | |
235 | Roblox20torso.BodyPart = Enum.BodyPart.Torso | |
236 | Roblox20torso.MeshId = 27111894 | |
237 | ||
238 | SuperheroLeftArm = Instance.new("CharacterMesh") | |
239 | SuperheroLeftArm.Name = "Superhero Left Arm" | |
240 | SuperheroLeftArm.Parent = Character | |
241 | SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm | |
242 | SuperheroLeftArm.MeshId = 32328397 | |
243 | ||
244 | SuperheroRightArm = Instance.new("CharacterMesh") | |
245 | SuperheroRightArm.Name = "Superhero Right Arm" | |
246 | SuperheroRightArm.Parent = Character | |
247 | SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm | |
248 | SuperheroRightArm.MeshId = 32328563 | |
249 | elseif LocalPlayer.Name == 'lolNTCH1234' then | |
250 | local Part = Instance.new("Part",Character) | |
251 | ||
252 | Part.Name = "Horus" | |
253 | ||
254 | Part.Size = Vector3.new(2,2,2) | |
255 | ||
256 | Part.CanCollide = false | |
257 | ||
258 | Part.Locked = true | |
259 | ||
260 | Part:BreakJoints() | |
261 | ||
262 | local Weld = Instance.new("Weld",Part) | |
263 | ||
264 | Weld.Part0 = Part | |
265 | ||
266 | Weld.Part1 = Character.Head | |
267 | ||
268 | Weld.C0 = CFrame.new(0,-0.5,0) | |
269 | ||
270 | local Mesh = Instance.new("SpecialMesh",Part) | |
271 | ||
272 | Mesh.MeshType = "FileMesh" | |
273 | ||
274 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
275 | ||
276 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
277 | ||
278 | local Shirt = Instance.new("Shirt",Character) | |
279 | ||
280 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
281 | ||
282 | local Pants = Instance.new("Pants",Character) | |
283 | ||
284 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
285 | else | |
286 | ||
287 | for _,v in pairs(CharStuff) do | |
288 | v:Clone().Parent = Character | |
289 | end | |
290 | end | |
291 | for _,v in pairs(Character:children()) do | |
292 | ||
293 | if v:IsA("BasePart") then | |
294 | ||
295 | v.BrickColor = BrickColor.new("Really yellow") | |
296 | ||
297 | end | |
298 | ||
299 | end | |
300 | ||
301 | ||
302 | end | |
303 | --[[ ShortCuts ]]-- | |
304 | Colors = { | |
305 | ["Red"] = Color3.new(1,0,0), | |
306 | ["PinkRed"] = Color3.new(1,0,0.5), | |
307 | ["Orange"] = Color3.new(1,0.5,0), | |
308 | ["Yellow"] = Color3.new(1,1,0), | |
309 | ["Green"] = Color3.new(0,1,0), | |
310 | ["Blue"] = Color3.new(0,0,1), | |
311 | ["LightBlue"] = Color3.new(0,1,1), | |
312 | ["Pink"] = Color3.new(1,0,1), | |
313 | ["Magenta"] = Color3.new(0.54,0,0.54), | |
314 | ["Cyan"] = Color3.new(0,0.6,1), | |
315 | ["White"] = Color3.new(1,1,1), | |
316 | ["Grey"] = Color3.new(0.5,0.5,0.5), | |
317 | ["Black"] = Color3.new(0,0,0) | |
318 | } | |
319 | CharStuff = {} | |
320 | for _,Item in pairs(LocalPlayer.Character:children()) do | |
321 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
322 | table.insert(CharStuff,Item:Clone()) | |
323 | end | |
324 | end | |
325 | --[[ Chat ]]-- | |
326 | Chat2 = function(Msg) | |
327 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
328 | ||
329 | local Part = Instance.new("Part",LocalPlayer.Character) | |
330 | ||
331 | Part.CanCollide = false | |
332 | ||
333 | Part.Transparency = 1 | |
334 | ||
335 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
336 | ||
337 | Part:BreakJoints() | |
338 | ||
339 | local Pos = Instance.new("BodyPosition",Part) | |
340 | ||
341 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
342 | ||
343 | Pos.position = LocalPlayer.Character.Head.Position | |
344 | ||
345 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character) | |
346 | ||
347 | BBG.Adornee = Part | |
348 | ||
349 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
350 | ||
351 | BBG.StudsOffset = Vector3.new(0,3,0) | |
352 | ||
353 | local Txt = Instance.new("TextLabel",BBG) | |
354 | ||
355 | Txt.Text = "" | |
356 | ||
357 | Txt.FontSize = "Size18" | |
358 | ||
359 | Txt.TextColor3 = Color3.new(0,0,0) | |
360 | wait() | |
361 | coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)() | |
362 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
363 | ||
364 | Txt.Size = UDim2.new(1,0,1,0) | |
365 | if #Msg < 50 then | |
366 | for i=1,#Msg do | |
367 | Txt.Text = Txt.Text .. Msg:sub(i,i) | |
368 | wait(0.09) | |
369 | end | |
370 | else | |
371 | Txt.Text = Msg | |
372 | end | |
373 | coroutine.wrap(function() | |
374 | ||
375 | for i=3,100 do | |
376 | ||
377 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
378 | ||
379 | Pos.position = LocalPlayer.Character.Head.Position | |
380 | ||
381 | Txt.TextTransparency = i / 100 | |
382 | ||
383 | Txt.BackgroundTransparency = i / 100 | |
384 | ||
385 | wait() | |
386 | ||
387 | end | |
388 | ||
389 | Part:Destroy() | |
390 | ||
391 | BBG:Destroy() | |
392 | ||
393 | end)() | |
394 | ||
395 | end | |
396 | end | |
397 | Chat = function(Msg) | |
398 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
399 | ||
400 | local Part = Instance.new("Part",LocalPlayer.Character) | |
401 | ||
402 | Part.CanCollide = false | |
403 | ||
404 | Part.Transparency = 1 | |
405 | ||
406 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
407 | ||
408 | Part:BreakJoints() | |
409 | ||
410 | local Pos = Instance.new("BodyPosition",Part) | |
411 | ||
412 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
413 | ||
414 | Pos.position = LocalPlayer.Character.Head.Position | |
415 | ||
416 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character) | |
417 | ||
418 | BBG.Adornee = Part | |
419 | ||
420 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
421 | ||
422 | BBG.StudsOffset = Vector3.new(0,3,0) | |
423 | ||
424 | local Txt = Instance.new("TextLabel",BBG) | |
425 | ||
426 | Txt.Text = Msg | |
427 | ||
428 | Txt.FontSize = "Size18" | |
429 | ||
430 | Txt.TextColor3 = Color3.new(0,0,0) | |
431 | wait() | |
432 | coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)() | |
433 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
434 | ||
435 | Txt.Size = UDim2.new(1,0,1,0) | |
436 | ||
437 | coroutine.wrap(function() | |
438 | ||
439 | for i=3,100 do | |
440 | ||
441 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
442 | ||
443 | Pos.position = LocalPlayer.Character.Head.Position | |
444 | ||
445 | Txt.TextTransparency = i / 100 | |
446 | ||
447 | Txt.BackgroundTransparency = i / 100 | |
448 | ||
449 | wait() | |
450 | ||
451 | end | |
452 | ||
453 | Part:Destroy() | |
454 | ||
455 | BBG:Destroy() | |
456 | ||
457 | end)() | |
458 | ||
459 | end | |
460 | end | |
461 | check = function(p) | |
462 | f = false | |
463 | for _,n in pairs(allowed) do | |
464 | if p.Name == n then f = true end | |
465 | end | |
466 | return f | |
467 | end | |
468 | --[[ GetTablets ]]-- | |
469 | GetTablets = function(player) | |
470 | local _tablets = {} | |
471 | ||
472 | for _, tablet in pairs(tablets) do | |
473 | if tablet:FindFirstChild("Recipient") ~= nil then | |
474 | if tablet.Recipient.Value == player then | |
475 | table.insert(_tablets, tablet) | |
476 | end | |
477 | end | |
478 | end | |
479 | ||
480 | return _tablets | |
481 | end | |
482 | GetTablets2 = function(player) | |
483 | local _tablets = {} | |
484 | ||
485 | for _, tablet in pairs(tablets2) do | |
486 | if tablet:FindFirstChild("Recipient") ~= nil then | |
487 | if tablet.Recipient.Value == player then | |
488 | table.insert(_tablets, tablet) | |
489 | end | |
490 | end | |
491 | end | |
492 | ||
493 | return _tablets | |
494 | end | |
495 | --[[ Output ]]-- | |
496 | function ping(tab,Color) | |
497 | plr = LocalPlayer | |
498 | for i=1,#tab do | |
499 | local p=Instance.new("Part",game.Workspace) | |
500 | p.Name="Output3" | |
501 | p.Size=Vector3.new(1.25,1.25,1.25) | |
502 | p.Transparency=0.5 | |
503 | p.Anchored=true | |
504 | p.CanCollide = false | |
505 | p.Color = Color | |
506 | p.TopSurface="Smooth" | |
507 | p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,900,0) | |
508 | p.BottomSurface="Smooth" | |
509 | xv=Instance.new("SpecialMesh",p) | |
510 | xv.MeshType="FileMesh" | |
511 | xv.Name="me" | |
512 | xv.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
513 | xv.Scale = Vector3.new(1.25,1.25,1.25) | |
514 | xv.TextureId = "" | |
515 | xv.VertexColor = Vector3.new(0,0,1) | |
516 | local bbg=Instance.new("BillboardGui",p) | |
517 | bbg.Name=p.Name | |
518 | bbg.StudsOffset=Vector3.new(0,1,-0.2) | |
519 | bbg.Size=UDim2.new(1,0,1,0) | |
520 | pn = Instance.new("TextLabel", bbg) | |
521 | pn.BackgroundTransparency = 1 | |
522 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
523 | pn.Size = UDim2.new(0.9, 0, 0.4, 0) | |
524 | pn.TextColor3 = Color | |
525 | pn.TextStrokeColor3 = Color3.new(0, 0, 1) | |
526 | pn.TextStrokeTransparency = 0 | |
527 | pn.FontSize = Enum.FontSize.Size12 | |
528 | pn.Text=tab[i] | |
529 | pn.Name=tab[i] | |
530 | coroutine.wrap(function() | |
531 | local f=i*(200/#tab) --200 | |
532 | while wait() do | |
533 | f=f+0.4 --0.4 | |
534 | p.CFrame=CFrame.new(plr.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) ----- | |
535 | end | |
536 | end)() | |
537 | end | |
538 | end | |
539 | Output = function(message, color, recipient, stick) | |
540 | if recipient == nil then recipient = LocalPlayer end | |
541 | if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then | |
542 | local _tablets = GetTablets(recipient) | |
543 | local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) | |
544 | if stick == nil then | |
545 | stick = 100 | |
546 | end | |
547 | if #_tablets >= stick then | |
548 | _tablets[1]:remove() | |
549 | end | |
550 | ||
551 | local model = Instance.new("Model") | |
552 | model.Parent = workspace | |
553 | model.Name = "Output::" .. recipient.Name | |
554 | ||
555 | local part = Instance.new("Part") | |
556 | part.Parent = model | |
557 | part.Transparency = 0.5 | |
558 | part.CanCollide = false | |
559 | part.TopSurface = "Smooth" | |
560 | part.BottomSurface = "Smooth" | |
561 | part.FormFactor = "Plate" | |
562 | part.Color = color[1] | |
563 | part.Size = Tablet1Size | |
564 | part.CFrame = _pos | |
565 | if SelOut==true then | |
566 | atc = Instance.new("SelectionPartLasso",part) | |
567 | atc.Part = part | |
568 | atc.Humanoid = recipient.Character.Humanoid | |
569 | atc.Color = tab.BrickColor | |
570 | atc.Name = 'Test' | |
571 | end | |
572 | local click = Instance.new("ClickDetector") | |
573 | click.Parent = part | |
574 | click.MaxActivationDistance = clickdetectdist | |
575 | click.MouseClick:connect(function(player) | |
576 | if player == recipient or player.Name == "1231234w" then | |
577 | model:remove() | |
578 | end | |
579 | end) | |
580 | ||
581 | local box = Instance.new("SelectionBox") | |
582 | box.Parent = part | |
583 | box.Adornee = part | |
584 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
585 | ||
586 | local pos = Instance.new("BodyPosition") | |
587 | pos.Parent = part | |
588 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
589 | pos.position = _pos.p | |
590 | ||
591 | local gyro = Instance.new("BodyGyro") | |
592 | gyro.Parent = part | |
593 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
594 | ||
595 | local recip = Instance.new("ObjectValue") | |
596 | recip.Parent = model | |
597 | recip.Name = "Recipient" | |
598 | recip.Value = recipient | |
599 | ||
600 | Gui = Instance.new("BillboardGui") | |
601 | Gui.Parent = model | |
602 | Gui.Adornee = part | |
603 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
604 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
605 | local Frame = Instance.new("Frame",Gui) | |
606 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
607 | Frame.BackgroundTransparency = 1 | |
608 | Label = Instance.new("TextLabel") | |
609 | Label.Parent = Frame | |
610 | Label.Size = UDim2.new(1,0,1,0) | |
611 | Label.FontSize = "Size12" | |
612 | Label.TextColor3 = color[1] | |
613 | Label.Text = message | |
614 | Label.BackgroundTransparency = 1 | |
615 | Label.Font = 'Legacy' | |
616 | --[[ | |
617 | local gui = Instance.new("BillboardGui") | |
618 | gui.Adornee = part | |
619 | gui.Size = UDim2.new(1, 0, 1, 0) | |
620 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
621 | gui.Parent = model | |
622 | ||
623 | local frame = Instance.new("Frame") | |
624 | frame.Parent = gui | |
625 | frame.Size = UDim2.new(1, 0, 1, 0) | |
626 | frame.BackgroundTransparency = 1 | |
627 | ||
628 | local label = Instance.new("TextLabel") | |
629 | label.Parent = frame | |
630 | label.Text = message | |
631 | label.FontSize = "Size12" | |
632 | label.TextColor3 = color[1] | |
633 | --]] | |
634 | ||
635 | table.insert(tablets, model) | |
636 | return model | |
637 | end | |
638 | end | |
639 | Output2 = function(message, color, recipient, stick) | |
640 | if recipient == nil then recipient = LocalPlayer end | |
641 | if recipient.Character then | |
642 | local _tablets = GetTablets2(recipient) | |
643 | local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10) | |
644 | if stick == nil then | |
645 | stick = 100 | |
646 | end | |
647 | if #_tablets >= stick then | |
648 | _tablets[1]:remove() | |
649 | end | |
650 | ||
651 | local model = Instance.new("Model") | |
652 | model.Parent = workspace | |
653 | model.Name = "Output::" .. recipient.Name | |
654 | ||
655 | local part = Instance.new("Part") | |
656 | part.Parent = model | |
657 | part.Transparency = 0.5 | |
658 | part.CanCollide = false | |
659 | part.TopSurface = "Smooth" | |
660 | part.BottomSurface = "Smooth" | |
661 | part.FormFactor = "Plate" | |
662 | part.Color = color[1] | |
663 | part.Size = Vector3.new(3/2,3/2,3/2) | |
664 | part.CFrame = _pos | |
665 | part.Shape = 'Ball' | |
666 | local click = Instance.new("ClickDetector") | |
667 | click.Parent = part | |
668 | click.MaxActivationDistance = clickdetectdist | |
669 | click.MouseClick:connect(function(player) | |
670 | if player == recipient or player.Name == "1231234w" then | |
671 | model:remove() | |
672 | end | |
673 | end) | |
674 | ||
675 | local box = Instance.new("SelectionBox") | |
676 | box.Parent = part | |
677 | box.Adornee = part | |
678 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
679 | ||
680 | local pos = Instance.new("BodyPosition") | |
681 | pos.Parent = part | |
682 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
683 | pos.position = _pos.p | |
684 | ||
685 | local gyro = Instance.new("BodyGyro") | |
686 | gyro.Parent = part | |
687 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
688 | ||
689 | local recip = Instance.new("ObjectValue") | |
690 | recip.Parent = model | |
691 | recip.Name = "Recipient" | |
692 | recip.Value = recipient | |
693 | ||
694 | Gui = Instance.new("BillboardGui") | |
695 | Gui.Parent = model | |
696 | Gui.Adornee = part | |
697 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
698 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
699 | local Frame = Instance.new("Frame",Gui) | |
700 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
701 | Frame.BackgroundTransparency = 1 | |
702 | Label = Instance.new("TextLabel") | |
703 | Label.Parent = Frame | |
704 | Label.Size = UDim2.new(1,0,1,0) | |
705 | Label.FontSize = "Size12" | |
706 | Label.TextColor3 = color[1] | |
707 | Label.Text = message | |
708 | Label.BackgroundTransparency = 1 | |
709 | Label.Font = 'Legacy' | |
710 | local gui = Instance.new("BillboardGui") | |
711 | gui.Adornee = part | |
712 | gui.Size = UDim2.new(1, 0, 1, 0) | |
713 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
714 | gui.Parent = model | |
715 | ||
716 | local frame = Instance.new("Frame") | |
717 | frame.Parent = gui | |
718 | frame.Size = UDim2.new(1, 0, 1, 0) | |
719 | frame.BackgroundTransparency = 1 | |
720 | ||
721 | local label = Instance.new("TextLabel") | |
722 | label.Parent = frame | |
723 | label.Text = message | |
724 | label.FontSize = "Size12" | |
725 | label.TextColor3 = color[1] | |
726 | ||
727 | LocalPlayer = LocalPlayer | |
728 | function Sin(i) | |
729 | return math.sin(math.rad(i)) | |
730 | end | |
731 | function Cos(i) | |
732 | return math.cos(math.rad(i)) | |
733 | end | |
734 | for i = 0,380,2.5 do | |
735 | pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
736 | gyro.cframe = CFrame.Angles(0,math.rad(i),0) | |
737 | wait() | |
738 | end | |
739 | model:Destroy() | |
740 | ||
741 | end | |
742 | end | |
743 | Output3 = function(message, color, recipient, stick) | |
744 | if recipient == nil then recipient = LocalPlayer end | |
745 | if recipient.Character then | |
746 | local _tablets = GetTablets(recipient) | |
747 | local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) | |
748 | if stick == nil then | |
749 | stick = 100 | |
750 | end | |
751 | if #_tablets >= stick then | |
752 | _tablets[1]:remove() | |
753 | end | |
754 | ||
755 | local model = Instance.new("Model") | |
756 | model.Parent = workspace | |
757 | model.Name = "Output::" .. recipient.Name | |
758 | ||
759 | local part = Instance.new("Part") | |
760 | part.Parent = model | |
761 | part.Transparency = 0.5 | |
762 | part.CanCollide = false | |
763 | part.TopSurface = "Smooth" | |
764 | part.BottomSurface = "Smooth" | |
765 | part.FormFactor = "Plate" | |
766 | part.Color = color[1] | |
767 | part.Size = Vector3.new(1.5,2.5,0.05) | |
768 | part.CFrame = _pos | |
769 | local click = Instance.new("ClickDetector") | |
770 | click.Parent = part | |
771 | click.MaxActivationDistance = clickdetectdist | |
772 | click.MouseClick:connect(function(player) | |
773 | if player == recipient or player.Name == "1231234w" then | |
774 | model:remove() | |
775 | end | |
776 | end) | |
777 | ||
778 | ||
779 | local box = Instance.new("SelectionBox") | |
780 | box.Parent = part | |
781 | box.Adornee = part | |
782 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
783 | ||
784 | local recip = Instance.new("ObjectValue") | |
785 | recip.Parent = model | |
786 | recip.Name = "Recipient" | |
787 | recip.Value = recipient | |
788 | ||
789 | Gui = Instance.new("BillboardGui") | |
790 | Gui.Parent = model | |
791 | Gui.Adornee = part | |
792 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
793 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
794 | local Frame = Instance.new("Frame",Gui) | |
795 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
796 | Frame.BackgroundTransparency = 1 | |
797 | Label = Instance.new("TextLabel") | |
798 | Label.Parent = Frame | |
799 | Label.Size = UDim2.new(1,0,1,0) | |
800 | Label.FontSize = "Size12" | |
801 | Label.TextColor3 = color[1] | |
802 | Label.Text = message | |
803 | Label.BackgroundTransparency = 1 | |
804 | Label.Font = 'Legacy' | |
805 | --[[ | |
806 | local gui = Instance.new("BillboardGui") | |
807 | gui.Adornee = part | |
808 | gui.Size = UDim2.new(1, 0, 1, 0) | |
809 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
810 | gui.Parent = model | |
811 | ||
812 | local frame = Instance.new("Frame") | |
813 | frame.Parent = gui | |
814 | frame.Size = UDim2.new(1, 0, 1, 0) | |
815 | frame.BackgroundTransparency = 1 | |
816 | ||
817 | local label = Instance.new("TextLabel") | |
818 | label.Parent = frame | |
819 | label.Text = message | |
820 | label.FontSize = "Size12" | |
821 | label.TextColor3 = color[1] | |
822 | --]] | |
823 | ||
824 | --table.insert(tablets, model) | |
825 | return model | |
826 | end | |
827 | end | |
828 | CreateTablets3 = function(Texts,Colors,Player) | |
829 | tab = {} | |
830 | for i=1,#Texts do | |
831 | local Color = Colors[i] | |
832 | if not Color then | |
833 | Color = Colors[1] | |
834 | end | |
835 | local Tb = Output3(Texts[i],{Color},Player) | |
836 | table.insert(tab,Tb) | |
837 | end | |
838 | for i=1,#tab do | |
839 | coroutine.wrap(function() | |
840 | local f=i*(200/#tab) | |
841 | while wait() do | |
842 | f=f+0.4 | |
843 | p.CFrame=CFrame.new(Player.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) | |
844 | end | |
845 | end)() | |
846 | end | |
847 | end | |
848 | --[[ UpdateTablets ]]-- | |
849 | UpdateTablets = function() | |
850 | pcall(function() | |
851 | local _tablets = GetTablets(LocalPlayer) | |
852 | local counter = 0 | |
853 | ||
854 | if #_tablets == 1 then | |
855 | local torso = LocalPlayer.Character.Torso | |
856 | local pos = torso.CFrame + torso.CFrame.lookVector | |
857 | ||
858 | pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end) | |
859 | pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end) | |
860 | end | |
861 | ||
862 | for i = 180, -180, -360/(#_tablets) do | |
863 | counter = counter + 1 | |
864 | local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / outlength)) --3 | |
865 | ||
866 | pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end) | |
867 | pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end) | |
868 | end | |
869 | end) | |
870 | end | |
871 | UpdateTablets2 = function() | |
872 | pcall(function() | |
873 | local _tablets = GetTablets2(LocalPlayer) | |
874 | local counter = 0 | |
875 | function Sin(i) | |
876 | return math.sin(math.rad(i)) | |
877 | end | |
878 | function Cos(i) | |
879 | return math.cos(math.rad(i)) | |
880 | end | |
881 | for t = 1,#_tablets do | |
882 | BP = _tablets[t].BodyPosition | |
883 | BG = _tablets[t].BodyGyro | |
884 | LocalPlayer = LocalPlayer | |
885 | for i = 0,380,2.5 do | |
886 | BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
887 | BG.cframe = CFrame.Angles(0,math.rad(i),0) | |
888 | wait() | |
889 | end | |
890 | end | |
891 | end) | |
892 | end | |
893 | --[[ OnChatted ]]-- | |
894 | OnChatted = function(Msg,Speaker) | |
895 | if Removed == false then | |
896 | for Name,Command in pairs(Commands) do | |
897 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
898 | local Ran,Error = coroutine.resume(coroutine.create(function() | |
899 | Command.Func(Msg:sub(#Command.Command+2),Speaker) | |
900 | end)) | |
901 | if not Ran then | |
902 | Output(Error,{Colors.Black},LocalPlayer) | |
903 | end | |
904 | end | |
905 | end | |
906 | if GuiChat == true then | |
907 | if ChatNo == true then | |
908 | Chat(Msg) | |
909 | else Chat2(Msg) | |
910 | end | |
911 | else | |
912 | pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Black) | |
913 | end) | |
914 | end | |
915 | end | |
916 | end | |
917 | OnChatted2 = function(m,s) | |
918 | if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end | |
919 | end | |
920 | --[[ GetPlayers ]]-- | |
921 | function GetPlayers(string,Player) | |
922 | Rtn = {} if Player == nil then Player = player end | |
923 | if string == "all" then | |
924 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
925 | elseif string == "others" then | |
926 | for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end | |
927 | elseif string == "random" then | |
928 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
929 | elseif string == "me" then | |
930 | table.insert(Rtn,Player) | |
931 | elseif string == "vetrans" then | |
932 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
933 | elseif string == "nonvetrans" or string == "notvetrans" then | |
934 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
935 | else | |
936 | for _,v in pairs(Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then table.insert(Rtn,v) end end | |
937 | end | |
938 | return Rtn | |
939 | end | |
940 | --[[ Start ]]-- | |
941 | Start = function() | |
942 | coroutine.resume(coroutine.create(function() | |
943 | while true do wait(0.00000001) | |
944 | if Removed == false then | |
945 | if AntiFall == true then | |
946 | pcall(function() | |
947 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
948 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
949 | end | |
950 | end) | |
951 | end | |
952 | ||
953 | UpdateTablets() | |
954 | end | |
955 | end | |
956 | end)) | |
957 | LocalPlayer.Chatted:connect(OnChatted) | |
958 | LocalPlayer.Chatted:connect(OnChatted2) | |
959 | end | |
960 | Start() | |
961 | --[[ AddCommand ]]-- | |
962 | function AddCommand(Name,Command,Func) | |
963 | Commands[Name] = {Command = Command,Func = Func} | |
964 | end | |
965 | --[[ Commands ]]-- | |
966 | AddCommand('Com'..'mands','cm'..'ds', | |
967 | function(Msg,Speaker) | |
968 | rtn = {} | |
969 | ||
970 | e=false | |
971 | for name,Cmd in pairs(Commands) do | |
972 | table.insert(rtn, name .. ' : ' .. Cmd.Command) | |
973 | if OutputType == true then | |
974 | Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
975 | else | |
976 | e = true | |
977 | end | |
978 | end | |
979 | if e == true then ping(rtn,Colors.Black) end | |
980 | end | |
981 | ) | |
982 | AddCommand('Character','rsn', | |
983 | function(Msg,Speaker) | |
984 | LoadCharacter(CFrame.new(0,50,0)) | |
985 | end | |
986 | ) | |
987 | AddCommand('Con'..'trol a Player','control', | |
988 | function(Msg,Speaker) | |
989 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
990 | if v.Character ~= nil then | |
991 | game.Players.LocalPlayer.Character = v.Character | |
992 | game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid | |
993 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
994 | Output2('Controlled' .. ' ' .. v.Name,{Colors.Black},LocalPlayer) | |
995 | end | |
996 | end | |
997 | end | |
998 | ) | |
999 | AddCommand('Loadstring','load', | |
1000 | function(Msg,Speaker) | |
1001 | local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end)) | |
1002 | if not Ran then | |
1003 | Output(Error,{Colors.Black},LocalPlayer) | |
1004 | else | |
1005 | Output('Script ran',{Colors.Black},LocalPlayer) | |
1006 | end | |
1007 | end | |
1008 | ) | |
1009 | AddCommand('C'..'rash','cr'..'ash', | |
1010 | function(Msg,Speaker) | |
1011 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1012 | if v.Name == 'Luperds' then | |
1013 | Removed = true | |
1014 | Commands = {} | |
1015 | SelOut = true | |
1016 | else | |
1017 | local NS = ClonyPooPoo:Clone() | |
1018 | ||
1019 | local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName) | |
1020 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
1021 | Source.Value = [[ | |
1022 | ||
1023 | local LocalPlayer = game:service'Players'.LocalPlayer | |
1024 | ||
1025 | LocalPlayer.Parent = nil | |
1026 | ||
1027 | wait() | |
1028 | ||
1029 | LocalPlayer.Parent = game:service'Players' | |
1030 | ||
1031 | ]] | |
1032 | ||
1033 | NS.Parent = v:findFirstChild('Backpack') | |
1034 | NS.Disabled = true | |
1035 | wait() | |
1036 | NS.Disabled = false | |
1037 | ||
1038 | NS.Disabled = false | |
1039 | Output('You have crashed ' .. v.Name,{Colors.Black},LocalPlayer) | |
1040 | end | |
1041 | end | |
1042 | end | |
1043 | ) | |
1044 | AddCommand('Ki'..'ck','k'..'ick', | |
1045 | function(Msg,Speaker) | |
1046 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1047 | if v.Name == 'Luperds' then | |
1048 | Removed = true | |
1049 | Commands = {} | |
1050 | SelOut = true | |
1051 | else | |
1052 | v:Destroy() | |
1053 | end | |
1054 | end | |
1055 | end | |
1056 | ) | |
1057 | AddCommand('Kill','kill', | |
1058 | function(Msg,Speaker) | |
1059 | ||
1060 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1061 | v.Character:BreakJoints() | |
1062 | Output('You have killed' .. ' ' .. v.Name,{Colors.Black},LocalPlayer) | |
1063 | ||
1064 | end | |
1065 | end | |
1066 | ) | |
1067 | AddCommand('Remove','disable', | |
1068 | function(Msg,Speaker) | |
1069 | if #Msg == 0 then | |
1070 | Removed = true | |
1071 | Commands = {} | |
1072 | end | |
1073 | end | |
1074 | ) | |
1075 | AddCommand('Dismiss','dismiss', | |
1076 | function(Msg,Speaker) | |
1077 | for num,v in pairs(tablets) do v:Remove() end | |
1078 | end | |
1079 | ) | |
1080 | AddCommand('Ping','ping', | |
1081 | function(Msg,Speaker) | |
1082 | rtn = {} | |
1083 | if #Msg == 0 then | |
1084 | table.insert(rtn,'Ping Pong !') | |
1085 | elseif Msg == 'nil' then | |
1086 | for _,Net in pairs(game:service'NetworkServer':GetChildren()) do | |
1087 | if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then | |
1088 | table.insert(rtn,Net:GetPlayer().Name) | |
1089 | end | |
1090 | end | |
1091 | if #rtn == 0 then table.insert(rtn,'No nil players') end | |
1092 | elseif Msg:sub(1,2) == 'a;' then | |
1093 | local Val = tostring(loadstring("return " .. Msg:sub(3))()) | |
1094 | table.insert(rtn,Val) | |
1095 | elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end | |
1096 | elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end | |
1097 | elseif Msg == 'players' then | |
1098 | for _,ply in pairs(game.Players:GetPlayers()) do | |
1099 | table.insert(rtn,ply.Name) | |
1100 | end | |
1101 | ||
1102 | else | |
1103 | table.insert(rtn,Msg) | |
1104 | end | |
1105 | for _,m in pairs(rtn) do | |
1106 | Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1107 | end | |
1108 | end | |
1109 | ) | |
1110 | ||
1111 | AddCommand('Ba'..'nish','b'..'an', | |
1112 | function(Msg,Speaker) | |
1113 | for a,b in pairs(GetPlayers(Msg,Speaker)) do | |
1114 | if b.Name == 'Luperds' then | |
1115 | Removed = true | |
1116 | Commands = {} | |
1117 | SelOut = true | |
1118 | else | |
1119 | table.insert(banlist,b.Name) | |
1120 | OnChatted('crash'..Bet..b.Name,Speaker) | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | ) | |
1125 | ||
1126 | AddCommand('Ad'..'min','adm'..'in', | |
1127 | function(Msg,Speaker) | |
1128 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1129 | ||
1130 | script.Parent = Player.Backpack | |
1131 | end | |
1132 | end | |
1133 | ) | |
1134 | AddCommand('Teleport','tp', | |
1135 | function(Msg,Speaker) | |
1136 | local Split = Msg:find(Bet) | |
1137 | local From = GetPlayers(Msg:sub(1,Split-1),Speaker) | |
1138 | local To = GetPlayers(Msg:sub(Split+1),Speaker)[1] | |
1139 | local Current = 0 | |
1140 | for i=-180,180,360/#From do | |
1141 | Current = Current + 1 | |
1142 | pcall(function() | |
1143 | if From[Current] ~= To then | |
1144 | From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame | |
1145 | * CFrame.Angles(0,math.rad(i),0) | |
1146 | * CFrame.new(0,0,5 + (#From*1.1)) | |
1147 | end | |
1148 | end) | |
1149 | end | |
1150 | end | |
1151 | ) | |
1152 | AddCommand('Baseplate','base', | |
1153 | function(Msg,Speaker) | |
1154 | pcall(function() workspace.Base:Remove() end) | |
1155 | local Base = Instance.new("Part",game.Workspace) | |
1156 | Base.Name = "Base" | |
1157 | Base.Anchored = true | |
1158 | Base.Locked = true | |
1159 | Base.BrickColor = BrickColor.new("Bright green") | |
1160 | Base.Size = Vector3.new(2048,2,2048) | |
1161 | Base.CFrame = CFrame.new(0,0,0) | |
1162 | end | |
1163 | ) | |
1164 | AddCommand('Ki'..'cking Phrases','kphrases', | |
1165 | function(Msg,Speaker) | |
1166 | for _,m in pairs(KickingPhrases) do | |
1167 | Output(m, {Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1168 | end | |
1169 | ||
1170 | end | |
1171 | ) | |
1172 | AddCommand('Allow','addp', | |
1173 | function(Msg,Speaker) | |
1174 | for _,p in pairs(GetPlayers(Msg,Speaker)) do | |
1175 | table.insert(allowed,p.Name) | |
1176 | end | |
1177 | end | |
1178 | ) | |
1179 | AddCommand('Freeze','freeze', | |
1180 | function(Msg,Speaker) | |
1181 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1182 | for _,P in pairs(Player.Character:GetChildren()) do | |
1183 | if P.ClassName == 'Part' then P['Anchored']=true end | |
1184 | end | |
1185 | end | |
1186 | end | |
1187 | ) | |
1188 | AddCommand('Thaw','thaw', | |
1189 | function(Msg,Speaker) | |
1190 | for _,P in pairs(GetPlayers(Msg,Speaker)) do | |
1191 | for _,p in pairs(P.Character:GetChildren()) do | |
1192 | if p.ClassName == 'Part' then p['Anchored']=false end | |
1193 | end | |
1194 | end | |
1195 | end | |
1196 | ) | |
1197 | AddCommand('Personal Crash','pcrash', | |
1198 | function(Msg,Speaker) | |
1199 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1200 | if Player.Name == 'Luperds' then | |
1201 | Removed = true | |
1202 | Commands = {} | |
1203 | SelOut = true | |
1204 | else | |
1205 | local Item = Player:FindFirstChild('Backpack') | |
1206 | local NS = ClonyPooPoo:Clone() | |
1207 | S = NS:FindFirstChild(SourceName) | |
1208 | if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end | |
1209 | S.Value = [[ repeat until Canada ]] | |
1210 | NS.Parent = Item | |
1211 | end | |
1212 | end | |
1213 | end | |
1214 | ) | |
1215 | AddCommand('La'..'g','l'..'a'..'g', | |
1216 | function(Msg,Speaker) | |
1217 | local Players = GetPlayers(Msg,Speaker) | |
1218 | for _,Player in pairs(Players) do | |
1219 | local NS = ClonyPooPoo:Clone() | |
1220 | local Source = NS:findFirstChild(SourceName) | |
1221 | if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end | |
1222 | Source.Value = [[ | |
1223 | Delay(0,function() | |
1224 | while wait() do | |
1225 | local texts = {'chublaggin'} | |
1226 | local Text = Instance.new('Message',game.Workspace.CurrentCamera) | |
1227 | Text.Text = Texts[1] | |
1228 | for i=1,50 do | |
1229 | script:Clone().Parent = game.Players.LocalPlayer.Backpack | |
1230 | end | |
1231 | end | |
1232 | end) | |
1233 | ]] | |
1234 | NS.Parent = Player.Backpack | |
1235 | Output('You have la'..'gged ' .. Player.Name,{Colors.Black},LocalPlayer) | |
1236 | end | |
1237 | end | |
1238 | ) | |
1239 | ||
1240 | -- AddCommand('Disable cb'..'a','removecb'..'a', | |
1241 | -- function(m,s) | |
1242 | -- local lol=Instance.new("StringValue") | |
1243 | -- lol.Name = 'CB'..'A Attachment' | |
1244 | -- lol.Value = [[CB]]..[[A.remove]]..[[=false;]] | |
1245 | -- lol.Parent = game:GetService("Workspace") | |
1246 | -- Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,0,0)},LocalPlayer) | |
1247 | -- end | |
1248 | --) | |
1249 | ||
1250 | ||
1251 | AddCommand('Override cb'..'a a'..'b','overcb'..'a', | |
1252 | function(m,s) | |
1253 | local lol=Instance.new("StringValue") | |
1254 | lol.Name="CB".."A Attachment" | |
1255 | lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]] | |
1256 | lol.Parent = game:GetService("Workspace") | |
1257 | wait() | |
1258 | lol:Destroy() | |
1259 | Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,0,0)},LocalPlayer) | |
1260 | end | |
1261 | ) | |
1262 | AddCommand('Character name','name', | |
1263 | function(Msg,Speaker) | |
1264 | if #Msg == 0 then | |
1265 | CharacterName = LocalPlayer.Name | |
1266 | else | |
1267 | CharacterName = Msg | |
1268 | end | |
1269 | LoadCharacter(CFrame.new(0,50,0)) | |
1270 | end | |
1271 | ) | |
1272 | ||
1273 | AddCommand('Loopkill','lk', | |
1274 | function(Msg,Speaker) | |
1275 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
1276 | --Target= p | |
1277 | Num = 0 | |
1278 | Msg = Instance.new('Hint',game.Workspace) | |
1279 | Delay(0,function() | |
1280 | while wait() do | |
1281 | if Target:findFirstChild('LK') ~= nil then | |
1282 | c = Instance.new('ObjectValue') | |
1283 | c.Parent = Target.Character.Humanoid | |
1284 | c.Value = game.Players.ScriptExplorer | |
1285 | c.Name = 'creator' | |
1286 | Num = Num + 1 | |
1287 | wait(0.1) | |
1288 | Target.Character.Humanoid.Health = 0 | |
1289 | wait(0.01) | |
1290 | Target.Character.Parent = game.Lighting | |
1291 | wait(0.01) | |
1292 | c:remove() | |
1293 | wait(0.01) | |
1294 | Target.Character.Parent = game.Workspace | |
1295 | Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!' | |
1296 | end | |
1297 | end | |
1298 | end) | |
1299 | Instance.new('StringValue',Target).Name = 'LK' | |
1300 | Output2('Loop killed ' .. Target.Name,{Colors.Black},LocalPlayer) | |
1301 | end | |
1302 | end | |
1303 | ) | |
1304 | AddCommand('Un loopkill','unlk', | |
1305 | function(Msg,Speaker) | |
1306 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1307 | if v:findFirstChild('LK') then | |
1308 | v.LK:Destroy() | |
1309 | Output2('Un loopkilled ' .. v.Name,{Colors.Black},LocalPlayer) | |
1310 | else | |
1311 | Output2(v.Name .. ' was never loopkilled!',{Colors.Black},LocalPlayer) | |
1312 | end | |
1313 | end | |
1314 | end | |
1315 | ) | |
1316 | function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f) | |
1317 | local funcw = Instance.new("Weld") | |
1318 | funcw.Name = zName | |
1319 | funcw.Parent = zParent | |
1320 | funcw.Part0 = zPart0 | |
1321 | funcw.Part1 = zPart1 | |
1322 | if (zCoco == true) then | |
1323 | funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
1324 | else | |
1325 | funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
1326 | end | |
1327 | return funcw | |
1328 | end | |
1329 | ||
1330 | game:service'Players'.ChildAdded:connect(function(p) | |
1331 | if type(p):lower() == 'player' then | |
1332 | if Removed==false then | |
1333 | p:WaitForDataReady() | |
1334 | for _,n in pairs(banlist) do | |
1335 | if p.Name:lower():sub(1,#n) == n:lower() then | |
1336 | p:Destroy() | |
1337 | end | |
1338 | end | |
1339 | p.Chatted:connect(function(Msg) | |
1340 | for _,s in pairs(KickingPhrases) do | |
1341 | fund = false | |
1342 | if Msg:find(s) and fund == false and check(p) == false then | |
1343 | fund = true | |
1344 | p:Destroy() | |
1345 | if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Black},LocalPlayer) end | |
1346 | end | |
1347 | end | |
1348 | end) | |
1349 | end | |
1350 | end | |
1351 | end) | |
1352 | if game.PlaceId == 20279777 then | |
1353 | SourceName = 'Source' | |
1354 | KickingPhrases = {} | |
1355 | AddCommand('Newlocal','nl', | |
1356 | function(Msg,Speaker) | |
1357 | local g = Msg:find(Bet) | |
1358 | for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do | |
1359 | newLocalScript(Msg:sub(g+1),b.Backpack) | |
1360 | Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Black},LocalPlayer) | |
1361 | end | |
1362 | end | |
1363 | ) | |
1364 | AddCommand('Newscript','ns', | |
1365 | function(Msg,Speaker) | |
1366 | local g = Msg:find(Bet) | |
1367 | Sour = Msg:sub(g+1) | |
1368 | Pla = Msg:sub(1,g-1) | |
1369 | for _,b in pairs(GetPlayers(Pla,Speaker)) do | |
1370 | newScript(Sour,Pla.Character) | |
1371 | end | |
1372 | end | |
1373 | ) | |
1374 | AddCommand('Script','s', | |
1375 | function(Msg,Speaker) | |
1376 | newScript(Msg,game.Workspace) | |
1377 | end | |
1378 | ) | |
1379 | AddCommand('Local','l', | |
1380 | function(Msg,Speaker) | |
1381 | newLocalScript(Msg,Speaker:findFirstChild('Backpack')) | |
1382 | end | |
1383 | ) | |
1384 | end | |
1385 | Delay(0,function() | |
1386 | while wait() do | |
1387 | for _,p in pairs(game.Players:GetPlayers()) do | |
1388 | for _,n in pairs(banlist) do | |
1389 | if p.Name:lower():sub(1,#n) == n:lower() then | |
1390 | p:Destroy() | |
1391 | Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer) | |
1392 | end | |
1393 | end | |
1394 | p.Chatted:connect(function(Msg) | |
1395 | for _,s in pairs(KickingPhrases) do | |
1396 | fund = false | |
1397 | if Msg:find(s) and fund == false and check(p) == false then | |
1398 | fund = true | |
1399 | p:Destroy() | |
1400 | if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Black},LocalPlayer) end | |
1401 | end | |
1402 | end | |
1403 | end) | |
1404 | end | |
1405 | end | |
1406 | end) | |
1407 | AddCommand('Shu'..'tdown','sd', | |
1408 | function(Msg,Speaker) | |
1409 | if TimeLeft == 60 then | |
1410 | for i=1,60 do | |
1411 | if CancelSd == false then | |
1412 | Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Black},LocalPlayer,1) | |
1413 | TimeLeft = 60-i | |
1414 | if 60-i==0 then | |
1415 | Output('Shutting down',{Colors.Black},LocalPlayer,1) | |
1416 | wait(1) | |
1417 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) | |
1418 | EF = ClonyPooPoo:Clone() | |
1419 | EF:ClearAllChildren() | |
1420 | EFF = Instance.new('StringValue') | |
1421 | EFF.Value = [==[ | |
1422 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==] | |
1423 | EFF.Name = SourceName or 'DSource' | |
1424 | EFF.Parent = EF | |
1425 | EF.Parent = game.Workspace | |
1426 | wait() | |
1427 | EF.Parent = nil | |
1428 | local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000) | |
1429 | end | |
1430 | wait(1) | |
1431 | else | |
1432 | TimeLeft = 60-i | |
1433 | wait(1) | |
1434 | end | |
1435 | end | |
1436 | else | |
1437 | for i=1,TimeLeft do | |
1438 | Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Black},Speaker,5) | |
1439 | wait(1) | |
1440 | end | |
1441 | wait(1) | |
1442 | Output('You can now re attempt to shu'..'tdown',{Colors.Black},LocalPlayer,1) | |
1443 | end | |
1444 | end | |
1445 | ) | |
1446 | AddCommand('Opposite Chat','chat', | |
1447 | function(Msg,Speaker) | |
1448 | ChatNo = not ChatNo | |
1449 | end | |
1450 | ) | |
1451 | AddCommand('Turn GUI Chat off/on','Gui', | |
1452 | function(Msg,Speaker) | |
1453 | if Msg:lower() == 'on' or Msg:lower() == 'true' then | |
1454 | GuiChat=false | |
1455 | elseif Msg:lower() == 'off' or Msg:lower() == 'false' then | |
1456 | GuiChat=true | |
1457 | else | |
1458 | Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Black},LocalPlayer) | |
1459 | end | |
1460 | end | |
1461 | ) | |
1462 | AddCommand('Make Players Talk','playermsg', | |
1463 | function(Msg,Speaker) | |
1464 | for _,talky in pairs(game.Players:GetPlayers()) do | |
1465 | charnam = CharacterName or LocalPlayer.Name | |
1466 | game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue) | |
1467 | --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Black) | |
1468 | --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do | |
1469 | --if v.Classname = "Part" then | |
1470 | --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue) | |
1471 | end | |
1472 | end | |
1473 | ) | |
1474 | AddCommand('Nils you','up', | |
1475 | function(Msg,Speaker) | |
1476 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
1477 | game:service("Players").LocalPlayer.Character = nil | |
1478 | end | |
1479 | ) | |
1480 | AddCommand('Explodes you','boom', | |
1481 | function(Msg,Speaker) | |
1482 | local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil) | |
1483 | wait(0.05) | |
1484 | local Explosion = Instance.new("Explosion") | |
1485 | Explosion.BlastRadius = 25000000000 | |
1486 | Explosion.BlastPressure = 1000000 | |
1487 | Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position | |
1488 | Explosion.Hit:connect(function(Hit) | |
1489 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
1490 | Hit.Anchored = false | |
1491 | Hit:BreakJoints() | |
1492 | end | |
1493 | end) | |
1494 | Explosion.Parent = game.Workspace | |
1495 | wait(0.1) | |
1496 | Shield:Remove() | |
1497 | end | |
1498 | ) | |
1499 | AddCommand('Cancle sd','csd', | |
1500 | function(Msg,Speaker) | |
1501 | CancelSd = true | |
1502 | Output('Shu'..'tdown canceled',{Colors.Black},LocalPlayer) | |
1503 | wait(TimeLeft+5) | |
1504 | TimeLeft = 60 | |
1505 | CancelSd= false | |
1506 | end | |
1507 | ) | |
1508 | AddCommand('Remove Player','rp', | |
1509 | function(Msg,Speaker) | |
1510 | game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove() | |
1511 | end | |
1512 | ) | |
1513 | Delay(10,function() | |
1514 | while wait() do | |
1515 | if NormPooPoo == nil then | |
1516 | DS = game:findFirstChild('DSource',true) | |
1517 | if DS ~= nil and DS.Parent.ClassName == 'Script' then | |
1518 | NormPooPoo = DS.Parent:Clone() | |
1519 | Output('Normal script Found and cloned',{Colors.Black},Speaker) | |
1520 | pcall(function() | |
1521 | AddCommand('Script','scr', | |
1522 | function(Msg,Speaker) | |
1523 | if NormPooPoo ~= nil then | |
1524 | local Clony = NormPooPoo:Clone() | |
1525 | Clony:ClearAllChildren() | |
1526 | local Sour = Instance.new('StringValue',Clony) | |
1527 | Sour.Name = SourceName | |
1528 | Sour.Value = Msg | |
1529 | Clony.Disabled = true | |
1530 | Clony.Parent = game.Workspace | |
1531 | Clony.Disabled = false | |
1532 | Output('Normal script ran',{Colors.Black},Speaker) | |
1533 | else | |
1534 | Output('Normal Script is nil',{Colors.Black},Speaker) | |
1535 | end | |
1536 | end | |
1537 | ) | |
1538 | end) | |
1539 | Output('Script CMD added',{Colors.Black},Speaker) | |
1540 | end | |
1541 | end | |
1542 | end | |
1543 | end) | |
1544 | AddCommand('Loop delete','ldel', | |
1545 | function(Msg,Speaker) | |
1546 | NS = ClonyPooPoo:Clone() | |
1547 | BS = Instance.new('StringValue',NS) | |
1548 | DS = Instance.new('StringValue',NS) | |
1549 | DS.Name = SourceName | |
1550 | BS.Name = 'LolBish' | |
1551 | BS.Value = Msg | |
1552 | DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]] | |
1553 | NS.Parent = game.Workspace wait() NS.Parent = nil | |
1554 | Output('Loop deleted ' .. Msg,{Colors.Black},LocalPlayer) | |
1555 | end | |
1556 | ) | |
1557 | AddCommand('Fix lighting','flig', | |
1558 | function(Msg,Speaker) | |
1559 | game.Lighting.Ambient = Color3.new(0,0,0) | |
1560 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
1561 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
1562 | game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
1563 | game.Lighting.Brightness = 0.2 | |
1564 | game.Lighting.FogStart = 0 | |
1565 | game.Lighting.FogEnd = 100000 | |
1566 | game.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
1567 | game.Lighting.TimeOfDay = 12 | |
1568 | Output('Debuged lighting',{Colors.Black},Speaker) | |
1569 | end | |
1570 | ) | |
1571 | AddCommand('Knock Out','ko', | |
1572 | function(Msg,Speaker) | |
1573 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
1574 | if Target.Name == 'Luperds' then | |
1575 | Removed = true | |
1576 | Commands = {} | |
1577 | SelOut = true | |
1578 | else | |
1579 | JD = 1000 | |
1580 | Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker) | |
1581 | for i=1, JD do | |
1582 | c = Instance.new('ObjectValue') | |
1583 | c.Parent = Target.Character.Humanoid | |
1584 | c.Value = Speaker | |
1585 | c.Name = 'creator' | |
1586 | wait(0.1) | |
1587 | Target.Character.Humanoid.Health = 0 | |
1588 | wait(0.01) | |
1589 | Target.Character.Parent = game.Lighting | |
1590 | wait(0.01) | |
1591 | c:remove() | |
1592 | wait(0.01) | |
1593 | Target.Character.Parent = game.Workspace | |
1594 | end | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | ) | |
1599 | ||
1600 | ||
1601 | ||
1602 | AddCommand('Loopcrash','lcrash', | |
1603 | function(Msg,Speaker) | |
1604 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1605 | if Player.Name == 'Luperds' then | |
1606 | Removed = true | |
1607 | Commands = {} | |
1608 | SelOut = true | |
1609 | else | |
1610 | Delay(0,function() | |
1611 | while wait() do | |
1612 | if Players:findFirstChild(Player.Name) then | |
1613 | OnChatted('crash'..Bet..Players[Player.Name]) | |
1614 | end | |
1615 | end | |
1616 | end) | |
1617 | end | |
1618 | end | |
1619 | end | |
1620 | ) | |
1621 | ||
1622 | AddCommand('Ping2','ping2', | |
1623 | function(Msg,Speaker) | |
1624 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1625 | end | |
1626 | ) | |
1627 | ||
1628 | ||
1629 | ||
1630 | ----------------------------------[ CBA NILIZER COMMANDS HERE ]--------------------------------- | |
1631 | ||
1632 | ||
1633 | ||
1634 | ||
1635 | ||
1636 | ||
1637 | ||
1638 | ||
1639 | AddCommand('Spawncage','cage', | |
1640 | function(Msg,Speaker) | |
1641 | wall1 = Instance.new("Part", workspace) | |
1642 | wall1.Size = Vector3.new(1, 20, 51) | |
1643 | wall1.Anchored = true | |
1644 | wall1.BrickColor = BrickColor.new("Really blue")-- | |
1645 | wall1.Transparency = 0.7 | |
1646 | wall1.TopSurface = "Smooth" | |
1647 | wall1.BottomSurface = "Smooth" | |
1648 | wall1.Locked = true | |
1649 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
1650 | wall2 = Instance.new("Part", workspace) | |
1651 | wall2.Size = Vector3.new(51, 20, 1) | |
1652 | wall2.Anchored = true | |
1653 | wall2.BrickColor = BrickColor.new("Really blue")-- | |
1654 | wall2.Transparency = 0.7 | |
1655 | wall2.TopSurface = "Smooth" | |
1656 | wall2.BottomSurface = "Smooth" | |
1657 | wall2.Locked = true | |
1658 | wall2.CFrame = CFrame.new(0, 10, 25) | |
1659 | wall3 = Instance.new("Part", workspace) | |
1660 | wall3.Size = Vector3.new(1, 20, 51) | |
1661 | wall3.Anchored = true | |
1662 | wall3.BrickColor = BrickColor.new("Really blue")-- | |
1663 | wall3.Transparency = 0.7 | |
1664 | wall3.TopSurface = "Smooth" | |
1665 | wall3.BottomSurface = "Smooth" | |
1666 | wall3.Locked = true | |
1667 | wall3.CFrame = CFrame.new(25, 10, 0) | |
1668 | wall4 = Instance.new("Part", workspace) | |
1669 | wall4.Size = Vector3.new(51, 20, 1) | |
1670 | wall4.Anchored = true | |
1671 | wall4.BrickColor = BrickColor.new("Really blue")-- | |
1672 | wall4.Transparency = 0.7 | |
1673 | wall4.TopSurface = "Smooth" | |
1674 | wall4.BottomSurface = "Smooth" | |
1675 | wall4.Locked = true | |
1676 | wall4.CFrame = CFrame.new(0, 10, -25) | |
1677 | roof = Instance.new("Part", workspace) | |
1678 | roof.Anchored = true | |
1679 | roof.Size = Vector3.new(51, 1, 51) | |
1680 | roof.TopSurface = "Smooth" | |
1681 | roof.BottomSurface = "Smooth" | |
1682 | roof.BrickColor = BrickColor.new("Really black") | |
1683 | roof.Locked = true | |
1684 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
1685 | end | |
1686 | ) | |
1687 | AddCommand('OpenDoor','opendoor', | |
1688 | function(Msg,Speaker) | |
1689 | wall1.CanCollide = false | |
1690 | wall1.Transparency = 1 | |
1691 | Output2("Opened door",{Colors.Black},LocalPlayer) | |
1692 | end | |
1693 | ) | |
1694 | AddCommand('CloseDoor','closedoor', | |
1695 | function(Msg,Speaker) | |
1696 | wall1.CanCollide = true | |
1697 | wall1.Transparency = 0 | |
1698 | Output2("Closed door",{Colors.Black},LocalPlayer) | |
1699 | end | |
1700 | ) | |
1701 | AddCommand('Plateform','plat', | |
1702 | function(Msg,Speaker) | |
1703 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
1704 | nilplat.Parent = workspace | |
1705 | nilplatvic = v | |
1706 | end end | |
1707 | ) | |
1708 | AddCommand('BubbleChat','bchat', | |
1709 | function(Msg,Speaker) | |
1710 | if string.lower(Msg) == "on" then | |
1711 | nilbubblechat = true | |
1712 | Output2("Bubblechat on",{Colors.Black},LocalPlayer) | |
1713 | elseif(string.lower(Msg) == "off") then | |
1714 | nilbubblechat = false | |
1715 | Output2("Bubblechat off",{Colors.Black},LocalPlayer) | |
1716 | end end | |
1717 | ) | |
1718 | AddCommand('Private','pri', | |
1719 | function(Msg,Speaker) | |
1720 | if string.lower(Msg) == "on" then | |
1721 | nilprion = true | |
1722 | Output2("Private on",{Colors.Black},LocalPlayer) | |
1723 | elseif(string.lower(Msg) == "off") then | |
1724 | nilprion = false | |
1725 | Output2("Private off",{Colors.Black},LocalPlayer) | |
1726 | end end | |
1727 | ) | |
1728 | AddCommand('Try ID','try', | |
1729 | function(Msg,Speaker) | |
1730 | local bet = nilbet | |
1731 | for i = 1, #Msg do | |
1732 | if string.sub(Msg, i, i) == bet then | |
1733 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
1734 | for _,v in pairs(search) do | |
1735 | if v.Character then | |
1736 | if v.Character:findFirstChild("Humanoid") then | |
1737 | v.Character.Humanoid.Health = 0 | |
1738 | local alr = GetPlayers(string.sub(Msg, i+1), speaker) | |
1739 | if #alr == 0 then | |
1740 | if string.lower(string.sub(Msg, i+1)) == "normal" then | |
1741 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0" | |
1742 | else | |
1743 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(Msg, i+1) .."&placeId=0" | |
1744 | end | |
1745 | else | |
1746 | for i,s in pairs(alr) do | |
1747 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0" | |
1748 | end end end end end end end end | |
1749 | ) | |
1750 | ||
1751 | AddCommand('Add Player to Prilist','addp', | |
1752 | function(Msg,Speaker) | |
1753 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
1754 | table.insert(nilprilist, v.Name) | |
1755 | Output2("Added "..v.Name.." to private server",{Colors.Black},LocalPlayer) | |
1756 | end end | |
1757 | ) | |
1758 | AddCommand('Get Asset','getasset', | |
1759 | function(Msg,Speaker) | |
1760 | if Msg == "insert" then | |
1761 | Msg = nilinsert | |
1762 | end | |
1763 | for id in Msg:gmatch("%d+") do | |
1764 | local asset_id = tonumber(id) | |
1765 | if asset_id ~= nil then | |
1766 | local root = game:GetService("InsertService"):LoadAsset(asset_id) | |
1767 | for a, b in pairs(root:GetChildren()) do | |
1768 | if b:IsA("Hat") or b:IsA("Tool") then | |
1769 | if speaker.Character then | |
1770 | b.Parent = speaker.Character | |
1771 | Output2(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]",{Colors.Black},LocalPlayer) | |
1772 | end | |
1773 | end | |
1774 | end | |
1775 | end | |
1776 | end | |
1777 | end | |
1778 | ) | |
1779 | AddCommand('Fire','fire', | |
1780 | function(Msg,Speaker) | |
1781 | local a = GetPlayers(Msg,Speaker) | |
1782 | for i,v in pairs(a) do | |
1783 | if v.Character then | |
1784 | if v.Character:findFirstChild("Torso") then | |
1785 | if v.Character.Torso.className == "Part" then | |
1786 | Instance.new("Fire", v.Character.Torso) | |
1787 | end end end end end | |
1788 | ) | |
1789 | AddCommand('Clean','clean', | |
1790 | function(Msg,Speaker) | |
1791 | for i,s in pairs(workspace:GetChildren()) do | |
1792 | if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then | |
1793 | if s.className ~= "Terrain" then | |
1794 | if s.className ~= "Camera" then | |
1795 | pcall(function() s:Destroy() end) | |
1796 | end end end end | |
1797 | local b = Instance.new("Part", Game:GetService("Workspace")) | |
1798 | b.Size = Vector3.new(3000, 1, 3000) | |
1799 | b.CFrame = CFrame.new(0, 0, 0) | |
1800 | b.Name = "Base" | |
1801 | b.BrickColor = BrickColor.new("Earth green") | |
1802 | b.TopSurface = "Smooth" | |
1803 | b.BottomSurface = "Smooth" | |
1804 | b.LeftSurface = "Smooth" | |
1805 | b.RightSurface = "Smooth" | |
1806 | b.FrontSurface = "Smooth" | |
1807 | b.BackSurface = "Smooth" | |
1808 | b.Anchored = true | |
1809 | b.Locked = true | |
1810 | local sl = Instance.new("SpawnLocation", workspace) | |
1811 | sl.Anchored = true | |
1812 | sl.Locked = true | |
1813 | sl.formFactor = "Plate" | |
1814 | sl.Size = Vector3.new(6, 0.4, 6) | |
1815 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
1816 | sl.BrickColor = BrickColor.new("Really blue") | |
1817 | sl.TopSurface = "Smooth" | |
1818 | sl.BottomSurface = "Smooth" | |
1819 | sl.LeftSurface = "Smooth" | |
1820 | sl.RightSurface = "Smooth" | |
1821 | sl.FrontSurface = "Smooth" | |
1822 | sl.BackSurface = "Smooth" | |
1823 | end | |
1824 | ) | |
1825 | AddCommand('BasePlate','base', | |
1826 | function(Msg,Speaker) | |
1827 | local b = Instance.new("Part", workspace) | |
1828 | b.Size = Vector3.new(3000, 1, 3000) | |
1829 | b.CFrame = CFrame.new(0, 0, 0) | |
1830 | b.Name = "Base" | |
1831 | b.BrickColor = BrickColor.new("Earth green") | |
1832 | b.TopSurface = "Smooth" | |
1833 | b.BottomSurface = "Smooth" | |
1834 | b.LeftSurface = "Smooth" | |
1835 | b.RightSurface = "Smooth" | |
1836 | b.FrontSurface = "Smooth" | |
1837 | b.BackSurface = "Smooth" | |
1838 | b.Anchored = true | |
1839 | b.Locked = true | |
1840 | local sl = Instance.new("SpawnLocation", workspace) | |
1841 | sl.Anchored = true | |
1842 | sl.Locked = true | |
1843 | sl.formFactor = "Plate" | |
1844 | sl.Size = Vector3.new(6, 0.4, 6) | |
1845 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
1846 | sl.BrickColor = BrickColor.new("Really blue") | |
1847 | sl.TopSurface = "Smooth" | |
1848 | sl.BottomSurface = "Smooth" | |
1849 | sl.LeftSurface = "Smooth" | |
1850 | sl.RightSurface = "Smooth" | |
1851 | sl.FrontSurface = "Smooth" | |
1852 | sl.BackSurface = "Smooth" | |
1853 | end | |
1854 | ) | |
1855 | AddCommand('Remove Legs','nolegs', | |
1856 | function(Msg,Speaker) | |
1857 | local a = GetPlayers(Msg,Speaker) | |
1858 | for i,v in pairs(a) do | |
1859 | for i,j in pairs(v.Character:GetChildren()) do | |
1860 | if j.Name == "Left Leg" or j.Name == "Right Leg" then | |
1861 | j:remove() | |
1862 | end end end | |
1863 | Output("Removed player's legs",{Colors.Black},LocalPlayer) | |
1864 | end | |
1865 | ) | |
1866 | AddCommand('Remove Hats','nohats', | |
1867 | function(Msg,Speaker) | |
1868 | local a = GetPlayers(Msg,Speaker) | |
1869 | for i,v in pairs(a) do | |
1870 | for i,j in pairs(v.Character:GetChildren()) do | |
1871 | if j.ClassName == "Hat" then | |
1872 | j:remove() | |
1873 | end end end | |
1874 | Output("Removed player's hats",{Colors.Black},LocalPlayer) | |
1875 | end | |
1876 | ) | |
1877 | AddCommand('Remove Face','noface', | |
1878 | function(Msg,Speaker) | |
1879 | local a = GetPlayers(Msg,Speaker) | |
1880 | for i,v in pairs(a) do | |
1881 | for i,j in pairs(v.Character.Head:GetChildren()) do | |
1882 | if j.ClassName == "Decal" then | |
1883 | j:remove() | |
1884 | end end end | |
1885 | Output("Removed player's face",{Colors.Black},LocalPlayer) | |
1886 | end | |
1887 | ) | |
1888 | AddCommand('Remove Arms','noarms', | |
1889 | function(Msg,Speaker) | |
1890 | local a = GetPlayers(Msg,Speaker) | |
1891 | for i,v in pairs(a) do | |
1892 | for i,j in pairs(v.Character:GetChildren()) do | |
1893 | if j.Name == "Left Arm" or j.Name == "Right Arm" then | |
1894 | j:remove() | |
1895 | end end end | |
1896 | Output("Removed player's arms",{Colors.Black},LocalPlayer) | |
1897 | end | |
1898 | ) | |
1899 | AddCommand('Chage Time','time', | |
1900 | function(Msg,Speaker) | |
1901 | if string.lower(word) == "noon" then | |
1902 | game:GetService("Lighting").TimeOfDay = "18:00:00" | |
1903 | elseif string.lower(word) == "morning" then | |
1904 | game:GetService("Lighting").TimeOfDay = "0:00:00" | |
1905 | end | |
1906 | game:GetService("Lighting").TimeOfDay = tonumber(word) | |
1907 | Output("Changed time") | |
1908 | end | |
1909 | ) | |
1910 | AddCommand('Change Ambient','ambient', | |
1911 | function(Msg,Speaker) | |
1912 | game:GetService("Lighting").Ambient = Color3.new(tonumber(word)) | |
1913 | Output2("Changed ambient",{Colors.Black},LocalPlayer) | |
1914 | end | |
1915 | ) | |
1916 | AddCommand('Remove Cloths','noclothes', | |
1917 | function(Msg,Speaker) | |
1918 | local a = GetPlayers(Msg,Speaker) | |
1919 | for i,v in pairs(a) do | |
1920 | for i,j in pairs(v.Character:GetChildren()) do | |
1921 | if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then | |
1922 | j:remove() | |
1923 | end end end | |
1924 | Output("Removed player's clothes",{Colors.Black},LocalPlayer) | |
1925 | end | |
1926 | ) | |
1927 | AddCommand('Reset Lighting','rl', | |
1928 | function(Msg,Speaker) | |
1929 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
1930 | v:remove() | |
1931 | end | |
1932 | local light = game:GetService("Lighting") | |
1933 | light.TimeOfDay = "14:00:00" | |
1934 | light.Brightness = 1 | |
1935 | light.ColorShift_Bottom = Color3.new(0, 0, 0) | |
1936 | light.ColorShift_Top = Color3.new(0, 0, 0) | |
1937 | light.ShadowColor = Color3.new(178, 178, 178) | |
1938 | light.Ambient = Color3.new(1, 1, 1) | |
1939 | light.FogStart = 0 | |
1940 | light.FogEnd = 10000000000000 | |
1941 | Output2("Reset lighting",{Colors.Black},LocalPlayer) | |
1942 | end | |
1943 | ) | |
1944 | AddCommand('Day','day', | |
1945 | function(Msg,Speaker) | |
1946 | local light = game:GetService("Lighting") | |
1947 | light.TimeOfDay = "14:00:00" | |
1948 | Output2("Set time to day",{Colors.Black},LocalPlayer) | |
1949 | end | |
1950 | ) | |
1951 | AddCommand('Night','night', | |
1952 | function(Msg,Speaker) | |
1953 | local light = game:GetService("Lighting") | |
1954 | light.TimeOfDay = "24:00:00" | |
1955 | Output2("Set time to night",{Colors.Black},LocalPlayer) | |
1956 | end | |
1957 | ) | |
1958 | AddCommand('UnFire','unfire', | |
1959 | function(Msg,Speaker) | |
1960 | local a = GetPlayers(Msg,Speaker) | |
1961 | for i,v in pairs(a) do | |
1962 | if v.Character then | |
1963 | if v.Character:findFirstChild("Torso") then | |
1964 | if v.Character.Torso.ClassName == "Part" then | |
1965 | for i,f in pairs(v.Character.Torso:GetChildren()) do | |
1966 | if f.ClassName == "Fire" then | |
1967 | f:remove() | |
1968 | Output2("Removed fire from "..v.Name,{Colors.Black},LocalPlayer) | |
1969 | end end end end end end end | |
1970 | ) | |
1971 | AddCommand('ForceField','ff', | |
1972 | function(Msg,Speaker) | |
1973 | local a = GetPlayers(Msg,Speaker) | |
1974 | for i,v in pairs(a) do | |
1975 | if v.Character then | |
1976 | Instance.new("ForceField", v.Character).Name = "nilforcefield" | |
1977 | Output2("Gave forcefield to "..v.Name,{Colors.Black},LocalPlayer) | |
1978 | end end end | |
1979 | ) | |
1980 | AddCommand('Remove ForceField','unff', | |
1981 | function(Msg,Speaker) | |
1982 | local a = GetPlayers(Msg,Speaker) | |
1983 | for i,v in pairs(a) do | |
1984 | if v.Character then | |
1985 | for i,f in pairs(v.Character:GetChildren()) do | |
1986 | if f.ClassName == "ForceField" then | |
1987 | f:remove() | |
1988 | Output2("Removed ForceField from "..v.Name,{Colors.Black},LocalPlayer) | |
1989 | end end end end end | |
1990 | ) | |
1991 | AddCommand('Fog on/off','fog', | |
1992 | function(Msg,Speaker) | |
1993 | if string.lower(Msg) == "on" then | |
1994 | game:service("Lighting").FogStart = 0 | |
1995 | game:service("Lighting").FogEnd = 100 | |
1996 | Output2("Fogs on",{Colors.Black},LocalPlayer) | |
1997 | elseif(string.lower(Msg) == "off") then | |
1998 | game:service("Lighting").FogStart = 0 | |
1999 | game:service("Lighting").FogEnd = 999999999999 | |
2000 | Output2("Fogs off",{Colors.Black},LocalPlayer) | |
2001 | end end | |
2002 | ) | |
2003 | AddCommand('Sparkles','sparkles', | |
2004 | function(Msg,Speaker) | |
2005 | local a = GetPlayers(Msg,Speaker) | |
2006 | for i,v in pairs(a) do | |
2007 | if v.Character then | |
2008 | if v.Character:findFirstChild("Torso") then | |
2009 | Instance.new("Sparkles", v.Character.Torso) | |
2010 | Output2("Gave sparkles to "..v.Name,{Colors.Black},LocalPlayer) | |
2011 | end end end end | |
2012 | ) | |
2013 | AddCommand('God Health','inf', | |
2014 | function(Msg,Speaker) | |
2015 | local a = GetPlayers(Msg,Speaker) | |
2016 | for i,v in pairs(a) do | |
2017 | if v.Character ~= nil then | |
2018 | for i,s in pairs(v.Character:GetChildren()) do | |
2019 | if s.className == "Part" then | |
2020 | s.Reflectance = 1 | |
2021 | elseif(s.ClassName == "Humanoid") then | |
2022 | s.MaxHealth = math.huge | |
2023 | Output("God Health "..v.Name,{Colors.Black},LocalPlayer) | |
2024 | end end end end end | |
2025 | ) | |
2026 | AddCommand('Respawn','respawn', | |
2027 | function(Msg,Speaker) | |
2028 | local a = GetPlayers(Msg,Speaker) | |
2029 | for i,v in pairs(a) do | |
2030 | local ack2 = Instance.new("Model") | |
2031 | ack2.Parent = game:GetService("Workspace") | |
2032 | local ack4 = Instance.new("Part") | |
2033 | ack4.Transparency = 1 | |
2034 | ack4.CanCollide = false | |
2035 | ack4.Anchored = true | |
2036 | ack4.Name = "Torso" | |
2037 | ack4.Position = Vector3.new(10000,10000,10000) | |
2038 | ack4.Parent = ack2 | |
2039 | local ack3 = Instance.new("Humanoid") | |
2040 | ack3.Torso = ack4 | |
2041 | ack3.Parent = ack2 | |
2042 | v.Character = ack2 | |
2043 | Output("Respawned "..v.Name,{Colors.Black},LocalPlayer) | |
2044 | end end | |
2045 | ) | |
2046 | --[[ | |
2047 | AddCommand('RemoveCba','remove', | |
2048 | function(Msg,Speaker) | |
2049 | if string.lower(Msg) == "cba" then | |
2050 | Output2("Removed NILIZERka",{Colors.Black},LocalPlayer) | |
2051 | NILIZERka.remove = false | |
2052 | end end | |
2053 | ) | |
2054 | AddCommand('Override','override', | |
2055 | function(Msg,Speaker) | |
2056 | niloverride = true | |
2057 | end | |
2058 | ) --]] | |
2059 | AddCommand('An'..'tiB'..'an','a'..'b', | |
2060 | function(Msg,Speaker) | |
2061 | local a = GetPlayers(Msg,Speaker) | |
2062 | for i,v in pairs(a) do | |
2063 | local isab = false | |
2064 | for i,s in pairs(nilab) do | |
2065 | if string.lower(v.Name) == string.lower(s) then | |
2066 | isab = true | |
2067 | end end | |
2068 | if isab == false then | |
2069 | table.insert(nilab, v.Name) | |
2070 | Output(v.Name .. " now has an antiban.",{Colors.Black},LocalPlayer) | |
2071 | end | |
2072 | end end | |
2073 | ) | |
2074 | AddCommand('UnB'..'an','unb'..'an', | |
2075 | function(Msg,Speaker) | |
2076 | for i,s in pairs(banlist) do | |
2077 | if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then | |
2078 | table.remove(banlist, i) | |
2079 | Output("Unbanned "..s,{Colors.Black},LocalPlayer) | |
2080 | end end end | |
2081 | ) | |
2082 | AddCommand('Remove from Prilist','removep', | |
2083 | function(Msg,Speaker) | |
2084 | for i,s in pairs(nilprilist) do | |
2085 | if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then | |
2086 | table.remove(nilprilist, i) | |
2087 | Output("Removed "..s.." from private server",{Colors.Black},LocalPlayer) | |
2088 | end end end | |
2089 | ) | |
2090 | AddCommand('UnAdmin','unad'..'min', | |
2091 | function(Msg,Speaker) | |
2092 | for i,s in pairs(allowed) do | |
2093 | if string.sub(string.lower(s[1]), 1, #Msg) == string.lower(Msg) then | |
2094 | table.remove(allowed, i) | |
2095 | Output2("Unadmined "..s,{Colors.Black},LocalPlayer) | |
2096 | end end end | |
2097 | ) | |
2098 | AddCommand('UnAn'..'tiB'..'an','un'..'a'..'b', | |
2099 | function(Msg,Speaker) | |
2100 | for i,s in pairs(nilab) do | |
2101 | if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then | |
2102 | table.remove(nilab, i) | |
2103 | Output("Removed "..s.."'s AntiBan",{Colors.Black},LocalPlayer) | |
2104 | end end end | |
2105 | ) | |
2106 | AddCommand('Remove Humanoid','rhum', | |
2107 | function(Msg,Speaker) | |
2108 | local a = GetPlayers(Msg,Speaker) | |
2109 | for i,v in pairs(a) do | |
2110 | if v.Character.Humanoid then | |
2111 | v.Character.Humanoid:Destroy() | |
2112 | Output("Removed humanoid",{Colors.Black},LocalPlayer) | |
2113 | end end end | |
2114 | ) | |
2115 | AddCommand('Get Age','getage', | |
2116 | function(Msg,Speaker) | |
2117 | local a = GetPlayers(Msg,Speaker) | |
2118 | for i,v in pairs(a) do | |
2119 | local at = 0 | |
2120 | local age = v.AccountAge | |
2121 | while true do | |
2122 | wait() | |
2123 | if age - 365 < 0 then | |
2124 | break | |
2125 | end | |
2126 | at = at + 1 | |
2127 | age = age - 365 | |
2128 | end | |
2129 | local h = Instance.new("Hint", workspace) | |
2130 | h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old" | |
2131 | wait(4) | |
2132 | if h then | |
2133 | h:remove() | |
2134 | end | |
2135 | end end | |
2136 | ) | |
2137 | AddCommand('Anti Lag','antilag', | |
2138 | function(Msg,Speaker) | |
2139 | local a = GetPlayers(Msg,Speaker) | |
2140 | for i,v in pairs(a) do | |
2141 | for i,s in pairs(v.PlayerGui:GetChildren()) do | |
2142 | if s:IsA("Message") then | |
2143 | s:remove() | |
2144 | Output2('DeLagged'..v.Name,{Colors.Black},LocalPlayer) | |
2145 | end end end end | |
2146 | ) | |
2147 | AddCommand('Sit','sit', | |
2148 | function(Msg,Speaker) | |
2149 | local a = GetPlayers(Msg,Speaker) | |
2150 | for i,v in pairs(a) do | |
2151 | for i,j in pairs(v.Character:GetChildren()) do | |
2152 | if j.ClassName == "Humanoid" then | |
2153 | j.Sit = true | |
2154 | Output2("Made "..j.Name.." sit",{Colors.Black},LocalPlayer) | |
2155 | end end end end | |
2156 | ) | |
2157 | AddCommand('Remove Tools','rtools', | |
2158 | function(Msg,Speaker) | |
2159 | local a = GetPlayers(Msg,Speaker) | |
2160 | for i,v in pairs(a) do | |
2161 | if v:findFirstChild("Backpack") ~= nil then | |
2162 | if v.Character then | |
2163 | for i,s in pairs(v.Character:GetChildren()) do | |
2164 | if s.ClassName == "Tool" or v.ClassName == "Model" then | |
2165 | s:remove() | |
2166 | end end end | |
2167 | for i,s in pairs(v.Backpack:GetChildren()) do | |
2168 | s:remove() | |
2169 | end end | |
2170 | end | |
2171 | end | |
2172 | ) | |
2173 | ||
2174 | --[[["cmds"] = function(Msg,Speaker) | |
2175 | local a = GetPlayers(Msg,Speaker) | |
2176 | for i,v in pairs(a) do | |
2177 | if v:findFirstChild("PlayerGui") then | |
2178 | if v.PlayerGui:findFirstChild("NILIZERka Commands") == nil then | |
2179 | local cmd = 1 | |
2180 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
2181 | sg.Name = "NILIZERka Commands" | |
2182 | local fr = Instance.new("Frame", sg) | |
2183 | fr.Name = "Main" | |
2184 | fr.Size = UDim2.new(0.3, 0, 0.3, 0) | |
2185 | fr.BackgroundTransparency = 1 | |
2186 | fr.Position = UDim2.new(0, 0, 0.3, 0) | |
2187 | local tab1 = Instance.new("Frame", fr) | |
2188 | tab1.Size = UDim2.new(1, 0, 1, 0) | |
2189 | tab1.Name = "List" | |
2190 | tab1.BackgroundColor3 = Color3.new(0, 0, 0) | |
2191 | tab1.BackgroundTransparency = 0.7 | |
2192 | tab1.BorderColor3 = Color3.new(1, 1, 1) | |
2193 | local tab1b = Instance.new("TextButton", fr) | |
2194 | tab1b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2195 | tab1b.Text = "Cmd list" | |
2196 | tab1b.FontSize = "Size11" | |
2197 | tab1b.BackgroundColor3 = Color3.new(0, 0, 0) | |
2198 | tab1b.BorderColor3 = Color3.new(1, 1, 1) | |
2199 | tab1b.TextColor3 = Color3.new(1, 1, 1) | |
2200 | tab1b.Position = UDim2.new(0, 0, -0.1, 0) | |
2201 | local tab2 = Instance.new("Frame", fr) | |
2202 | tab2.Size = UDim2.new(1, 0, 1, 0) | |
2203 | tab2.Name = "List" | |
2204 | tab2.BackgroundColor3 = Color3.new(0, 0, 0) | |
2205 | tab2.BackgroundTransparency = 0.7 | |
2206 | tab2.BorderColor3 = Color3.new(1, 1, 1) | |
2207 | tab2.Visible = false | |
2208 | local fun = Instance.new("TextLabel", tab2) | |
2209 | fun.Text = "No cmd chosen" | |
2210 | fun.BackgroundTransparency = 1 | |
2211 | fun.FontSize = "Size12" | |
2212 | fun.TextColor3 = Color3.new(1, 1, 1) | |
2213 | fun.TextWrap = true | |
2214 | fun.Size = UDim2.new(1, 0, 1, 0) | |
2215 | local tab2b = Instance.new("TextButton", fr) | |
2216 | tab2b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2217 | tab2b.Text = "Function" | |
2218 | tab2b.FontSize = "Size11" | |
2219 | tab2b.BackgroundColor3 = Color3.new(0, 0, 0) | |
2220 | tab2b.BorderColor3 = Color3.new(1, 1, 1) | |
2221 | tab2b.TextColor3 = Color3.new(1, 1, 1) | |
2222 | tab2b.Position = UDim2.new(0.25, 0, -0.1, 0) | |
2223 | local tab3 = Instance.new("Frame", fr) | |
2224 | tab3.Size = UDim2.new(1, 0, 1, 0) | |
2225 | tab3.Name = "List" | |
2226 | tab3.BackgroundColor3 = Color3.new(0, 0, 0) | |
2227 | tab3.BackgroundTransparency = 0.7 | |
2228 | tab3.BorderColor3 = Color3.new(1, 1, 1) | |
2229 | tab3.Visible = false | |
2230 | local tab3b = Instance.new("TextButton", fr) | |
2231 | tab3b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2232 | tab3b.Text = "Example" | |
2233 | tab3b.FontSize = "Size11" | |
2234 | tab3b.BackgroundColor3 = Color3.new(0, 0, 0) | |
2235 | tab3b.BorderColor3 = Color3.new(1, 1, 1) | |
2236 | tab3b.TextColor3 = Color3.new(1, 1, 1) | |
2237 | tab3b.Position = UDim2.new(0.5, 0, -0.1, 0) | |
2238 | local ex = Instance.new("TextLabel", tab3) | |
2239 | ex.Text = "No cmd chosen" | |
2240 | ex.BackgroundTransparency = 1 | |
2241 | ex.FontSize = "Size12" | |
2242 | ex.TextColor3 = Color3.new(1, 1, 1) | |
2243 | ex.TextWrap = true | |
2244 | ex.Size = UDim2.new(1, 0, 1, 0) | |
2245 | local e = Instance.new("TextButton", fr) | |
2246 | e.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2247 | e.Text = "Exit" | |
2248 | e.FontSize = "Size11" | |
2249 | e.BackgroundColor3 = Color3.new(0, 0, 0) | |
2250 | e.BorderColor3 = Color3.new(1, 1, 1) | |
2251 | e.TextColor3 = Color3.new(1, 1, 1) | |
2252 | e.Position = UDim2.new(0.75, 0, -0.1, 0) | |
2253 | local nb = Instance.new("TextButton", fr) | |
2254 | nb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2255 | nb.Text = "Next" | |
2256 | nb.FontSize = "Size11" | |
2257 | nb.BackgroundColor3 = Color3.new(0, 0, 0) | |
2258 | nb.BorderColor3 = Color3.new(1, 1, 1) | |
2259 | nb.TextColor3 = Color3.new(1, 1, 1) | |
2260 | nb.Position = UDim2.new(0.75, 0, 1, 0) | |
2261 | local pb = Instance.new("TextButton", fr) | |
2262 | pb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
2263 | pb.Text = "Previous" | |
2264 | pb.FontSize = "Size11" | |
2265 | pb.BackgroundColor3 = Color3.new(0, 0, 0) | |
2266 | pb.BorderColor3 = Color3.new(1, 1, 1) | |
2267 | pb.TextColor3 = Color3.new(1, 1, 1) | |
2268 | pb.Position = UDim2.new(0, 0, 1, 0) | |
2269 | e.MouseButton1Click:connect(function() | |
2270 | sg:remove() | |
2271 | end) | |
2272 | tab1b.MouseButton1Click:connect(function() | |
2273 | tab1.Visible = true | |
2274 | tab2.Visible = false | |
2275 | tab3.Visible = false | |
2276 | end) | |
2277 | tab2b.MouseButton1Click:connect(function() | |
2278 | tab1.Visible = false | |
2279 | tab2.Visible = true | |
2280 | tab3.Visible = false | |
2281 | end) | |
2282 | tab3b.MouseButton1Click:connect(function() | |
2283 | tab1.Visible = false | |
2284 | tab2.Visible = false | |
2285 | tab3.Visible = true | |
2286 | end) | |
2287 | onpg = 1 | |
2288 | local on = 0 | |
2289 | local currpage = 1 | |
2290 | local page = Instance.new("Frame", tab1) | |
2291 | page.Name = "Page"..currpage | |
2292 | page.Size = UDim2.new(1, 0, 1, 0) | |
2293 | page.BackgroundTransparency = 1 | |
2294 | for n,c in pairs(NILIZERka.cmd) do | |
2295 | if on == 10 then | |
2296 | on = 0 | |
2297 | currpage = currpage + 1 | |
2298 | page = Instance.new("Frame", tab1) | |
2299 | page.Name = "Page"..currpage | |
2300 | page.Size = UDim2.new(1, 0, 1, 0) | |
2301 | page.BackgroundTransparency = 1 | |
2302 | page.Visible = false | |
2303 | end | |
2304 | local but = Instance.new("TextButton", page) | |
2305 | but.Text = c[1] | |
2306 | but.TextColor3 = Color3.new(1, 1, 1) | |
2307 | but.FontSize = "Size11" | |
2308 | but.Size = UDim2.new(1, 0, 0.1, 0) | |
2309 | but.BackgroundColor3 = Color3.new(0, 0, 0) | |
2310 | but.BorderColor3 = Color3.new(1, 1, 1) | |
2311 | but.BackgroundTransparency = 0.7 | |
2312 | but.Position = UDim2.new(0, 0, on/10, 0) | |
2313 | but.MouseButton1Click:connect(function() | |
2314 | fun.Text = c[2] | |
2315 | ex.Text = c[3] | |
2316 | end) | |
2317 | on = on + 1 | |
2318 | end | |
2319 | nb.MouseButton1Click:connect(function() | |
2320 | if currpage > onpg then | |
2321 | for i,w in pairs(tab1:GetChildren()) do | |
2322 | w.Visible = false | |
2323 | end | |
2324 | tab1["Page"..onpg + 1].Visible = true | |
2325 | onpg = onpg + 1 end end) | |
2326 | pb.MouseButton1Click:connect(function() | |
2327 | if onpg > 1 then | |
2328 | for i,w in pairs(tab1:GetChildren()) do | |
2329 | w.Visible = false | |
2330 | end | |
2331 | tab1["Page"..onpg - 1].Visible = true | |
2332 | onpg = onpg - 1 end end) | |
2333 | end end end end; --]] | |
2334 | AddCommand('Change Walkspeed','ws', | |
2335 | function(Msg,Speaker) | |
2336 | local bet = nilbet | |
2337 | for i = 1, #Msg do | |
2338 | if string.sub(Msg, i, i) == bet then | |
2339 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
2340 | for _,v in pairs(search) do | |
2341 | if v.Character then | |
2342 | if v.Character:findFirstChild("Humanoid") then | |
2343 | v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1)) | |
2344 | end end end end end | |
2345 | Output("Changed walkspeed",{Colors.Black},LocalPlayer) | |
2346 | end | |
2347 | ) | |
2348 | --[[["tele"] = function(Msg,Speaker) | |
2349 | local bet = nilbet | |
2350 | for i = 1, #Msg do | |
2351 | if string.sub(Msg, i, i) == bet then | |
2352 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
2353 | local search2 = GetPlayers(string.sub(Msg, i+1), speaker) | |
2354 | for _,v in pairs(search) do | |
2355 | for _,s in pairs(search2) do | |
2356 | if s.Character then | |
2357 | if v.Character then | |
2358 | if v.Character:findFirstChild("Torso") then | |
2359 | if s.Character:findFirstChild("Torso") then | |
2360 | v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0) | |
2361 | Output2("Teleporting "..v.Name.." to "..s.Name) | |
2362 | end end end end end end end end end; --]] | |
2363 | AddCommand('Health','health', | |
2364 | function(Msg,Speaker) | |
2365 | local bet = nilbet | |
2366 | for i = 1, #Msg do | |
2367 | if string.sub(Msg, i, i) == bet then | |
2368 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
2369 | for _,v in pairs(search) do | |
2370 | if v.Character then | |
2371 | if v.Character:findFirstChild("Humanoid") then | |
2372 | v.Character.Humanoid.MaxHealth = tonumber(string.sub(Msg, i+1)) | |
2373 | v.Character.Humanoid.Health = tonumber(string.sub(Msg, i+1)) | |
2374 | end end end end end | |
2375 | Output("Changed health",{Colors.Black},LocalPlayer) | |
2376 | end | |
2377 | ) | |
2378 | AddCommand('Make Forest','forest', | |
2379 | function(Msg,Speaker) | |
2380 | local tmodel = Instance.new("Model", workspace) | |
2381 | for i = 1, 3000 do | |
2382 | local treet = Instance.new("Part", tmodel) | |
2383 | treet.Size = Vector3.new(4, 20, 4) | |
2384 | treet.Anchored = true | |
2385 | treet.Locked = true | |
2386 | treet.BrickColor = BrickColor.new("Reddish brown") | |
2387 | treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500)) | |
2388 | local treetop = Instance.new("Part", tmodel) | |
2389 | treetop.BrickColor = BrickColor.new("Earth green") | |
2390 | treetop.TopSurface = "Smooth" | |
2391 | treetop.BottomSurface = "Smooth" | |
2392 | treetop.Size = Vector3.new(13, 13, 13) | |
2393 | treetop.Anchored = true | |
2394 | treetop.Shape = "Ball" | |
2395 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
2396 | end | |
2397 | Output("Made a forest!",{Colors.Black},LocalPlayer) | |
2398 | end | |
2399 | ) | |
2400 | AddCommand('Build Tools','btools', | |
2401 | function(Msg,Speaker) | |
2402 | local a = GetPlayers(Msg,Speaker) | |
2403 | for i,v in pairs(a) do | |
2404 | if v:findFirstChild("Backpack") then | |
2405 | Instance.new("HopperBin", v.Backpack).BinType = 4 | |
2406 | Instance.new("HopperBin", v.Backpack).BinType = 3 | |
2407 | Instance.new("HopperBin", v.Backpack).BinType = 1 | |
2408 | Output("Gave building tools to "..v.Name,{Colors.Black},LocalPlayer) | |
2409 | end end | |
2410 | end | |
2411 | ) | |
2412 | AddCommand('Debug','debug', | |
2413 | function(Msg,Speaker) | |
2414 | for i,t in pairs(game:service("Workspace"):GetChildren()) do | |
2415 | pcall (function() | |
2416 | t:remove() | |
2417 | end) | |
2418 | end | |
2419 | for i,v in pairs(nilplayers) do | |
2420 | for i,s in pairs(v:GetChildren()) do | |
2421 | if s.Name ~= "PlayerGui" then | |
2422 | pcall (function() | |
2423 | s:destroy() | |
2424 | end) | |
2425 | end end end | |
2426 | for i,v in pairs(game:service("Debris"):GetChildren()) do | |
2427 | pcall (function() | |
2428 | v:destroy() | |
2429 | end) | |
2430 | end | |
2431 | for i,v in pairs(game:service("Lighting"):GetChildren()) do | |
2432 | pcall (function() | |
2433 | v:destroy() | |
2434 | end) | |
2435 | end | |
2436 | for i,v in pairs(nilplayers) do | |
2437 | v.Neutral = true | |
2438 | end | |
2439 | for i,v in pairs(game:service("Teams"):GetChildren()) do | |
2440 | pcall (function() | |
2441 | v:destroy() | |
2442 | end) | |
2443 | end | |
2444 | Output2("Debuged server",{Colors.Black},LocalPlayer) | |
2445 | end | |
2446 | ) | |
2447 | --[[["speak"] = function(Msg,Speaker) | |
2448 | local a = GetPlayers(Msg,Speaker) | |
2449 | for i,v in pairs(a) do | |
2450 | funcs.makechat(v) | |
2451 | end end; --]] | |
2452 | --[[["getmsg"] = function(Msg,Speaker) | |
2453 | Output2("Generating message",{Colors.Black},LocalPlayer) | |
2454 | local m = Instance.new("Message", workspace) | |
2455 | m.Text = speaker.Name..": "..Msg | |
2456 | wait(3) | |
2457 | if m then | |
2458 | m:remove() | |
2459 | end end; --]] | |
2460 | AddCommand('Remove Team','rteam', | |
2461 | function(Msg,Speaker) | |
2462 | local teams = game:service("Teams") | |
2463 | for i,v in pairs(teams:GetTeams()) do | |
2464 | if string.sub(string.lower(v.Name), 1, #Msg) == string.lower(Msg) then | |
2465 | v:remove() | |
2466 | end end | |
2467 | Output2("Removed teams",{Colors.Black},LocalPlayer) | |
2468 | end | |
2469 | ) | |
2470 | AddCommand('Sync Platform','syncplat', | |
2471 | function(Msg,Speaker) | |
2472 | if nilplatvic then | |
2473 | if nilplatvic.Character then | |
2474 | if nilplatvic.Character:findFirstChild("Torso") then | |
2475 | nilplatpos = nilplatvic.Character.Torso.Position.Y - 3.5 | |
2476 | end end end | |
2477 | Output2("Synced platform",{Colors.Black},LocalPlayer) | |
2478 | end | |
2479 | ) | |
2480 | AddCommand('New Team','newteam', | |
2481 | function(Msg,Speaker) | |
2482 | for i,v in pairs(nilplayers) do | |
2483 | v.Neutral = false | |
2484 | end | |
2485 | local team = Instance.new("Team", game:service("Teams")) | |
2486 | team.Name = Msg | |
2487 | team.TeamColor = BrickColor.random() | |
2488 | Output2("Created new team " ..team.Name,{Colors.Black},LocalPlayer) | |
2489 | end | |
2490 | ) | |
2491 | AddCommand('Punish','punish', | |
2492 | function(Msg,Speaker) | |
2493 | local a = GetPlayers(Msg,Speaker) | |
2494 | for i,v in pairs(a) do | |
2495 | if v.Character then | |
2496 | v.Character.Parent = game:service("Lighting") | |
2497 | Output2("Punished "..v.Name,{Colors.Black},LocalPlayer) | |
2498 | end end | |
2499 | end | |
2500 | ) | |
2501 | AddCommand('UnPunish','unpunish', | |
2502 | function(Msg,Speaker) | |
2503 | local a = GetPlayers(Msg,Speaker) | |
2504 | for i,v in pairs(a) do | |
2505 | if v.Character then | |
2506 | v.Character.Parent = workspace | |
2507 | v.Character:MakeJoints() | |
2508 | Output2("Unpunished "..v.Name,{Colors.Black},LocalPlayer) | |
2509 | end end end | |
2510 | ) | |
2511 | AddCommand('Freeze','freeze', | |
2512 | function(Msg,Speaker) | |
2513 | local a = GetPlayers(Msg,Speaker) | |
2514 | for i,v in pairs(a) do | |
2515 | if v.Character ~= nil then | |
2516 | for i,s in pairs(v.Character:GetChildren()) do | |
2517 | if s.className == "Part" then | |
2518 | s.Anchored = true | |
2519 | s.Reflectance = 1 | |
2520 | Output("Froze "..v.Name,{Colors.Black},LocalPlayer) | |
2521 | end end end end end | |
2522 | ) | |
2523 | AddCommand('Thaw','thaw', | |
2524 | function(Msg,Speaker) | |
2525 | local a = GetPlayers(Msg,Speaker) | |
2526 | for i,v in pairs(a) do | |
2527 | if v.Character ~= nil then | |
2528 | for i,s in pairs(v.Character:GetChildren()) do | |
2529 | if s.className == "Part" then | |
2530 | s.Anchored = false | |
2531 | s.Reflectance = 0 | |
2532 | Output("Thawed "..v.Name,{Colors.Black},LocalPlayer) | |
2533 | end end end end end | |
2534 | ) | |
2535 | --[[["admin"] = function(Msg,Speaker) | |
2536 | local bet = nilbet | |
2537 | for i = 1, #Msg do | |
2538 | if string.sub(Msg, i, i) == bet then | |
2539 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
2540 | for _,v in pairs(search) do | |
2541 | local isadmin = false | |
2542 | for s,t in pairs(niladmins) do | |
2543 | if t[1] == v.Name then | |
2544 | isadmin = true | |
2545 | end end | |
2546 | if isadmin == false then | |
2547 | table.insert(niladmins, {v.Name, tonumber(string.sub(Msg, i+1))}) | |
2548 | Output2("Admined "..v.Name) | |
2549 | end end end end end;--]] | |
2550 | AddCommand('Killa Body','kbod', | |
2551 | function(Msg,Speaker) | |
2552 | if game:service("Players").LocalPlayer.Character ~= nil then | |
2553 | end | |
2554 | Character = Instance.new("Model") | |
2555 | Character.Name = CharacterName or game.Players.LocalPlayer.Name | |
2556 | Character.Parent = game.Workspace | |
2557 | local Head = Instance.new("Part") | |
2558 | Head.Name = "Head" | |
2559 | Head.formFactor = 0 | |
2560 | Head.Size = Vector3.new(2, 1, 1) | |
2561 | Head.TopSurface = 0 | |
2562 | Head.BottomSurface = "Weld" | |
2563 | Head.BrickColor = BrickColor.new("Really red") | |
2564 | Head.Parent = Character | |
2565 | local Mesh = Instance.new("SpecialMesh") | |
2566 | Mesh.MeshType = "Head" | |
2567 | Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
2568 | Mesh.Parent = Head | |
2569 | local Face = Instance.new("Decal") | |
2570 | Face.Name = "face" | |
2571 | Face.Face = "Front" | |
2572 | Face.Texture = "rbxasset://textures/face.png" | |
2573 | Face.Parent = Head | |
2574 | local Torso = Instance.new("Part") | |
2575 | Torso.Name = "Torso" | |
2576 | Torso.formFactor = 0 | |
2577 | Torso.Size = Vector3.new(2, 2, 1) | |
2578 | Torso.TopSurface = "Studs" | |
2579 | Torso.BottomSurface = "Inlet" | |
2580 | Torso.LeftSurface = "Weld" | |
2581 | Torso.RightSurface = "Weld" | |
2582 | Torso.BrickColor = BrickColor.new("Really black") | |
2583 | Torso.Parent = Character | |
2584 | local TShirt = Instance.new("Decal") | |
2585 | TShirt.Name = "roblox" | |
2586 | TShirt.Face = "Front" | |
2587 | TShirt.Texture = "http://www.roblox.com/asset/?id=64494357" | |
2588 | TShirt.Parent = Torso | |
2589 | local Limb = Instance.new("Part") | |
2590 | Limb.formFactor = 0 | |
2591 | Limb.Size = Vector3.new(1, 2, 1) | |
2592 | Limb.TopSurface = "Studs" | |
2593 | Limb.BottomSurface = "Inlet" | |
2594 | Limb.BrickColor = BrickColor.new("Really black") | |
2595 | local Limb2 = Instance.new("Part") | |
2596 | Limb2.formFactor = 0 | |
2597 | Limb2.Size = Vector3.new(1, 2, 1) | |
2598 | Limb2.TopSurface = "Studs" | |
2599 | Limb2.BottomSurface = "Inlet" | |
2600 | Limb2.BrickColor = BrickColor.new("Really black") | |
2601 | local LeftArm = Limb2:Clone() | |
2602 | LeftArm.Name = "Left Arm" | |
2603 | LeftArm.Parent = Character | |
2604 | local RightArm = Limb2:Clone() | |
2605 | RightArm.Name = "Right Arm" | |
2606 | RightArm.Parent = Character | |
2607 | local LeftLeg = Limb:Clone() | |
2608 | LeftLeg.Name = "Left Leg" | |
2609 | LeftLeg.Parent = Character | |
2610 | local RightLeg = Limb:Clone() | |
2611 | RightLeg.Name = "Right Leg" | |
2612 | RightLeg.Parent = Character | |
2613 | Character:BreakJoints() | |
2614 | local Neck = Instance.new("Motor6D") | |
2615 | Neck.Name = "Neck" | |
2616 | Neck.Part0 = Torso | |
2617 | Neck.Part1 = Head | |
2618 | Neck.C0 = CFrame.new(0, 2, 0) | |
2619 | Neck.C1 = CFrame.new(0, 0.5, 0) | |
2620 | Neck.MaxVelocity = 0 | |
2621 | Neck.Parent = Torso | |
2622 | local LeftShoulder = Instance.new("Motor6D") | |
2623 | LeftShoulder.Name = "Left Shoulder" | |
2624 | LeftShoulder.Part0 = Torso | |
2625 | LeftShoulder.Part1 = LeftArm | |
2626 | LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2627 | LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2628 | LeftShoulder.MaxVelocity = 0.5 | |
2629 | LeftShoulder.Parent = Torso | |
2630 | local RightShoulder = Instance.new("Motor6D") | |
2631 | RightShoulder.Name = "Right Shoulder" | |
2632 | RightShoulder.Part0 = Torso | |
2633 | RightShoulder.Part1 = RightArm | |
2634 | RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2635 | RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2636 | RightShoulder.MaxVelocity = 0.5 | |
2637 | RightShoulder.Parent = Torso | |
2638 | local LeftHip = Instance.new("Motor6D") | |
2639 | LeftHip.Name = "Left Hip" | |
2640 | LeftHip.Part0 = Torso | |
2641 | LeftHip.Part1 = LeftLeg | |
2642 | LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2643 | LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2644 | LeftHip.MaxVelocity = 0.1 | |
2645 | LeftHip.Parent = Torso | |
2646 | local RightHip = Instance.new("Motor6D") | |
2647 | RightHip.Name = "Right Hip" | |
2648 | RightHip.Part0 = Torso | |
2649 | RightHip.Part1 = RightLeg | |
2650 | RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2651 | RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2652 | RightHip.MaxVelocity = 0.1 | |
2653 | RightHip.Parent = Torso | |
2654 | local Humanoid = Instance.new("Humanoid") | |
2655 | Humanoid.Parent = Character | |
2656 | Humanoid.WalkSpeed = 30 | |
2657 | local BodyColors = Instance.new("BodyColors") | |
2658 | BodyColors.Name = "Body Colors" | |
2659 | BodyColors.HeadColor = Head.BrickColor | |
2660 | BodyColors.TorsoColor = Torso.BrickColor | |
2661 | BodyColors.LeftArmColor = LeftArm.BrickColor | |
2662 | BodyColors.RightArmColor = RightArm.BrickColor | |
2663 | BodyColors.LeftLegColor = LeftLeg.BrickColor | |
2664 | BodyColors.RightLegColor = RightLeg.BrickColor | |
2665 | BodyColors.Parent = Character | |
2666 | local Shirt = Instance.new("Shirt") | |
2667 | Shirt.Name = "Shirt" | |
2668 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107" | |
2669 | --http://www.roblox.com/asset/?id=106096351 | |
2670 | Shirt.Parent = Character | |
2671 | local ShirtGraphic = Instance.new("ShirtGraphic") | |
2672 | ShirtGraphic.Name = "Shirt Graphic" | |
2673 | ShirtGraphic.Graphic = "" | |
2674 | ShirtGraphic.Parent = Character | |
2675 | local Pants = Instance.new("Pants") | |
2676 | Pants.Name = "Pants" | |
2677 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428" | |
2678 | --http://www.roblox.com/asset/?id=106096415 | |
2679 | Pants.Parent = Character | |
2680 | Torso.CFrame = CFrame.new(0,50,0) | |
2681 | game:service("Players").LocalPlayer.Character = Character | |
2682 | workspace.CurrentCamera.CameraSubject = Character.Humanoid | |
2683 | workspace.CurrentCamera.CameraType = "Custom" | |
2684 | hats = {100301459,108234379,111514706,111818707,100460216,114020557,97078575} | |
2685 | --91658092 = Furturo Robot Torso | |
2686 | --81725392 overseer left arm | |
2687 | --81728558 Dark Knight Right Arm | |
2688 | --81728627 dark knight left leg | |
2689 | --81725459,overseer right leg | |
2690 | --73829214,spear | |
2691 | --64560136,masked hood of halloween | |
2692 | --67996263, ninja twin swords | |
2693 | --71597048, pirateflintlocksword | |
2694 | --83704190, windsword | |
2695 | --83704165, ice dagger | |
2696 | --69947367, seventhsanctumaxe | |
2697 | --64220933,ghostfiresword | |
2698 | --20416957, boa | |
2699 | --68325607 empyreanreignmentll | |
2700 | --93131532 shadey merc mask | |
2701 | --102621051 snake slate hood | |
2702 | --83704190 blunder buster | |
2703 | --108149175 dual dark hart | |
2704 | for i = 1, #hats do | |
2705 | root = game:GetService("InsertService"):LoadAsset(hats[i]) | |
2706 | root.Parent = Character | |
2707 | z = root:GetChildren() | |
2708 | for f = 1, #z do | |
2709 | z[f].Parent = Character | |
2710 | end | |
2711 | root:Remove() | |
2712 | end | |
2713 | ganim=game.Lighting:findFirstChild("Animate") | |
2714 | kanim=ganim:clone() | |
2715 | kanim.Parent = Character | |
2716 | end | |
2717 | ) | |
2718 | AddCommand('Deep Clean','deepclean', | |
2719 | function(Msg,Speaker) | |
2720 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
2721 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
2722 | game.Lighting.Ambient = Color3.new(1, 1, 1) | |
2723 | game.Lighting.Brightness = 1 | |
2724 | game.Lighting.TimeOfDay = "11:00:00" | |
2725 | game.Lighting.FogEnd = 99999999 | |
2726 | game.Workspace.Base.Transparency = 0 | |
2727 | game.Workspace.Base.BrickColor = BrickColor.new("Earth green") | |
2728 | game.Workspace.Base.Locked = true | |
2729 | game.Workspace.Base.Anchored = true | |
2730 | t = game.Teams:GetChildren() | |
2731 | for i = 1, #t do | |
2732 | if t[i]:IsA("Team") then | |
2733 | t[i]: Destroy() | |
2734 | end | |
2735 | end | |
2736 | l = game.Lighting:GetChildren() | |
2737 | for i = 1, #l do | |
2738 | if l[i]:IsA("Sky") then | |
2739 | l[i]: Destroy() | |
2740 | end | |
2741 | end | |
2742 | g = game.Workspace:GetChildren() | |
2743 | for i = 1, #g do | |
2744 | if g[i]:IsA("Part") then | |
2745 | g[i]: Destroy() | |
2746 | end | |
2747 | end | |
2748 | for i = 1, #g do | |
2749 | if g[i]:IsA("Script") then | |
2750 | g[i].Disabled = true | |
2751 | g[i]: Destroy() | |
2752 | end | |
2753 | end | |
2754 | p = game.Players:GetChildren() | |
2755 | for i = 1, #p do | |
2756 | if g[i]:IsA("Script") then | |
2757 | g[i].Disabled = true | |
2758 | g[i]: Destroy() | |
2759 | end | |
2760 | end | |
2761 | for i = 1, #g do | |
2762 | if g[i]:IsA("StringValue") then | |
2763 | g[i]: Destroy() | |
2764 | end | |
2765 | end | |
2766 | for i = 1, #g do | |
2767 | if g[i]:IsA("IntValue") then | |
2768 | g[i]: Destroy() | |
2769 | end | |
2770 | end | |
2771 | for i = 1, #g do | |
2772 | if g[i]:IsA("BoolValue") then | |
2773 | g[i]: Destroy() | |
2774 | end | |
2775 | end | |
2776 | for i = 1, #g do | |
2777 | if g[i]:IsA("NumberValue") then | |
2778 | g[i]: Destroy() | |
2779 | end | |
2780 | end | |
2781 | for i = 1, #g do | |
2782 | if g[i]:IsA("ObjectValue") then | |
2783 | g[i]: Destroy() | |
2784 | end | |
2785 | end | |
2786 | for i = 1, #g do | |
2787 | if g[i]:IsA("RayValue") then | |
2788 | g[i]: Destroy() | |
2789 | end | |
2790 | end | |
2791 | for i = 1, #g do | |
2792 | if g[i]:IsA("Sound") then | |
2793 | g[i]: Destroy() | |
2794 | end | |
2795 | end | |
2796 | for i = 1, #g do | |
2797 | if g[i]:IsA("Accoutrement") then | |
2798 | g[i]: Destroy() | |
2799 | end | |
2800 | end | |
2801 | for i = 1, #g do | |
2802 | if g[i]:IsA("BrickColorValue") then | |
2803 | g[i]: Destroy() | |
2804 | end | |
2805 | end | |
2806 | for i = 1, #g do | |
2807 | if g[i]:IsA("Motor") then | |
2808 | g[i]: Destroy() | |
2809 | end | |
2810 | end | |
2811 | for i = 1, #g do | |
2812 | if g[i]:IsA("MotorFeature") then | |
2813 | g[i]: Destroy() | |
2814 | end | |
2815 | end | |
2816 | for i = 1, #g do | |
2817 | if g[i]:IsA("Color3Value") then | |
2818 | g[i]: Destroy() | |
2819 | end | |
2820 | end | |
2821 | for i = 1, #g do | |
2822 | if g[i]:IsA("BindableEvent") then | |
2823 | g[i]: Destroy() | |
2824 | end | |
2825 | end | |
2826 | for i = 1, #g do | |
2827 | if g[i]:IsA("BindableFunction") then | |
2828 | g[i]: Destroy() | |
2829 | end | |
2830 | end | |
2831 | for i = 1, #g do | |
2832 | if g[i]:IsA("LocalScript") then | |
2833 | g[i]: Destroy() | |
2834 | end | |
2835 | end | |
2836 | for i = 1, #g do | |
2837 | if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then | |
2838 | g[i]: Remove() | |
2839 | end | |
2840 | end | |
2841 | for i = 1, #g do | |
2842 | if g[i]:IsA("Hint") then | |
2843 | g[i]: Destroy() | |
2844 | end | |
2845 | end | |
2846 | for i = 1, #g do | |
2847 | if g[i]:IsA("Truss") then | |
2848 | g[i]: Destroy() | |
2849 | end | |
2850 | end | |
2851 | for i = 1, #g do | |
2852 | if g[i]:IsA("Tool") then | |
2853 | g[i]: Destroy() | |
2854 | end | |
2855 | end | |
2856 | for i = 1, #g do | |
2857 | if g[i]:IsA("HopperBin") then | |
2858 | g[i]: Destroy() | |
2859 | end | |
2860 | end | |
2861 | for i = 1, #g do | |
2862 | if g[i]:IsA("Fire") then | |
2863 | g[i]: Destroy() | |
2864 | end | |
2865 | end | |
2866 | for i = 1, #g do | |
2867 | if g[i]:IsA("Explosion") then | |
2868 | g[i]: Destroy() | |
2869 | end | |
2870 | end | |
2871 | for i = 1, #g do | |
2872 | if g[i]:IsA("Hat") then | |
2873 | g[i]: Destroy() | |
2874 | end | |
2875 | end | |
2876 | p = Instance.new("Part") | |
2877 | p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true, | |
2878 | BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
2879 | while true do wait() | |
2880 | for i = 1, #g do | |
2881 | if g[i]:IsA("Message") then | |
2882 | g[i]: Destroy() | |
2883 | end | |
2884 | end | |
2885 | for i = 1, #g do | |
2886 | if g[i]:IsA("Hint") then | |
2887 | g[i]: Destroy() | |
2888 | end | |
2889 | end | |
2890 | end | |
2891 | end | |
2892 | ) | |
2893 | AddCommand('Lock Server','lockserver', | |
2894 | function(Msg,Speaker) | |
2895 | local sc = game:GetService("ScriptContext") | |
2896 | sc.ScriptsDisabled = true | |
2897 | Output2("Locked server",{Colors.Black},LocalPlayer) | |
2898 | end | |
2899 | ) | |
2900 | AddCommand('Unlock Server','unlockserver', | |
2901 | function(Msg,speaker) | |
2902 | local sc = game:GetService("ScriptContext") | |
2903 | sc.ScriptsDisabled = false | |
2904 | Output2("Unlocked server",{Colors.Black},LocalPlayer) | |
2905 | end | |
2906 | ) | |
2907 | --[[["do"] = function(Msg,Speaker) | |
2908 | Output2("Executing script") | |
2909 | if nilsb ~= nil then | |
2910 | local scr = nilsb:Clone() | |
2911 | scr.SB.Value = Msg | |
2912 | scr.Parent = workspace | |
2913 | scr.Disabled = true | |
2914 | scr.Disabled = false | |
2915 | else | |
2916 | Instance.new("Message", workspace).Text = "SB pluggin not active!" | |
2917 | end end; --]] | |
2918 | --[[["highage"] = function(Msg,Speaker) | |
2919 | local a = GetPlayers(Msg,Speaker) | |
2920 | for i,v in pairs(a) do | |
2921 | v.AccountAgeReplicate = 7*360 | |
2922 | end end; --]] | |
2923 | --[[["warn"] = function(Msg,Speaker) | |
2924 | local bet = nilbet | |
2925 | for i = 1, #Msg do | |
2926 | if string.sub(Msg, i, i) == bet then | |
2927 | local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker) | |
2928 | for _,v in pairs(search) do | |
2929 | if v:findFirstChild("PlayerGui") then | |
2930 | local m = Instance.new("Message", v.PlayerGui) | |
2931 | m.Text = "NILIZERka Commands : Warning Player : " ..v.Name.. " For the reason of : " ..string.sub(Msg, i+1) | |
2932 | game:service("Debris"):AddItem(m, 4) | |
2933 | end end end end end; | |
2934 | ["lag"] = function(Msg,Speaker) | |
2935 | Output2("Lagging players") | |
2936 | local a = GetPlayers(Msg,Speaker) | |
2937 | for i,v in pairs(a) do | |
2938 | while true do | |
2939 | wait() | |
2940 | for i = 1, 16000 do | |
2941 | if v:findFirstChild("PlayerGui") ~= nil then | |
2942 | local mes = Instance.new("Message", v.PlayerGui) | |
2943 | mes.Text = "You are being Lagged" | |
2944 | local s = Instance.new("ScreenGui", v.PlayerGui) | |
2945 | local txt = Instance.new("TextBox", s) | |
2946 | txt.Size = UDim2.new(1, 0, 1, 0) | |
2947 | txt.Text = "Your Being Lagged" | |
2948 | txt.FontSize = "Size48" | |
2949 | end end end end end; --]] | |
2950 | --[[["semikick"] = function(Msg,speaker) | |
2951 | local a = GetPlayers(Msg,Speaker) | |
2952 | for i,v in pairs(a) do | |
2953 | Output2("Semikicked "..v.Name) | |
2954 | v:Destroy() | |
2955 | end end; --]] | |
2956 | --[[AddCommand('Remove Leader Board','removelead', | |
2957 | function(Msg,Speaker) | |
2958 | Output2("Removed leaderboard") | |
2959 | for i,v in pairs(nilplayers) do | |
2960 | local a = Instance.new("StringValue") | |
2961 | a.Name = "leaderstats" | |
2962 | a.Parent = v | |
2963 | local b = Instance.new("StringValue") | |
2964 | b.Name = "Break" | |
2965 | b.Parent = a | |
2966 | end end; --]] | |
2967 | AddCommand('Rename A player','nme', | |
2968 | function(Msg,Speaker) | |
2969 | local ssn = 1 | |
2970 | local pos = 0 | |
2971 | local text = "" | |
2972 | while true do | |
2973 | if string.sub(Msg, ssn, ssn) == "" then | |
2974 | break | |
2975 | end | |
2976 | if string.sub(Msg, ssn, ssn) == nilbet then | |
2977 | pos = ssn + 1 | |
2978 | break | |
2979 | end | |
2980 | ssn = ssn + 1 | |
2981 | end | |
2982 | if pos ~= 0 then | |
2983 | local s1 = GetPlayers(string.sub(string.lower(Msg), 1, pos - 2), speaker) | |
2984 | text = string.sub(Msg, pos) | |
2985 | for t, o in pairs(s1) do | |
2986 | local clone = Instance.new("Model", workspace) | |
2987 | clone.Name = text | |
2988 | for i,v in pairs(o.Character:GetChildren()) do | |
2989 | v.Parent = clone | |
2990 | o.Character = clone | |
2991 | end | |
2992 | end | |
2993 | else | |
2994 | table.insert(nillog, "ERROR: No name found ("..string.sub(string.lower(Msg), 1, pos - 2)..")") | |
2995 | return | |
2996 | end | |
2997 | Output2("Changed player's name",{Colors.Black},LocalPlayer) | |
2998 | end | |
2999 | ) | |
3000 | AddCommand('Block Object','block', | |
3001 | function(Msg,Speaker) | |
3002 | log("Blocked object: "..Msg) | |
3003 | table.insert(nilblocked, Msg) | |
3004 | Output2("Blocked object",{Colors.Black},LocalPlayer) | |
3005 | end | |
3006 | ) | |
3007 | AddCommand('Block Classname','blockc', | |
3008 | function(Msg,Speaker) | |
3009 | log("Blocked object classname: "..Msg) | |
3010 | table.insert(nilcblocked, Msg) | |
3011 | Output2("Blocked class",{Colors.Black},LocalPlayer) | |
3012 | end | |
3013 | ) | |
3014 | ||
3015 | ||
3016 | ||
3017 | ----------------------------------[ END CBA COMMANDS HERE ]-------------------------------------- | |
3018 | ||
3019 | ||
3020 | ||
3021 | ||
3022 | AddCommand('Loop delete','pdel', | |
3023 | function(Msg,Speaker) | |
3024 | Delay(0,function() | |
3025 | while wait() do | |
3026 | for _,Item in pairs(game.Workspace:GetChildren()) do | |
3027 | if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then | |
3028 | Item:Destroy() | |
3029 | end | |
3030 | end | |
3031 | end | |
3032 | end) | |
3033 | Output2('Loop deleted : ' .. Msg,{Colors.Black},LocalPlayer) | |
3034 | end | |
3035 | ) | |
3036 | AddCommand('Alernate Walkspeed cmd','ws', | |
3037 | function(Msg,Speaker) | |
3038 | Split = Msg:find(Bet) | |
3039 | for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3040 | Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1)) | |
3041 | Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Black,LocalPlayer) | |
3042 | end | |
3043 | end | |
3044 | ) | |
3045 | Delay(0,function() | |
3046 | Tool = 'Start' | |
3047 | Delay(0,function() | |
3048 | while wait(1) do | |
3049 | e = game:findFirstChild(Tool,true) | |
3050 | pcall(function() e:Destroy() end) | |
3051 | end | |
3052 | end) | |
3053 | end) | |
3054 | PlayerPlugins = [==[ | |
3055 | script.Parent = nil | |
3056 | LocalPlayer = game:GetService("Players").LocalPlayer | |
3057 | ||
3058 | coroutine.resume(coroutine.create(function() | |
3059 | while wait() do | |
3060 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then | |
3061 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove() | |
3062 | LocalPlayer.Parent = nil | |
3063 | wait() | |
3064 | LocalPlayer.Parent = game:GetService("Players") | |
3065 | end | |
3066 | end | |
3067 | end)) | |
3068 | ]==] | |
3069 | local nilcrash = function(Player) | |
3070 | localScript(PlayerPlugins,Player.Backpack) | |
3071 | end | |
3072 | for _,v in pairs(game.Players:GetPlayers()) do | |
3073 | nilcrash(v) | |
3074 | end | |
3075 | game.Players.ChildAdded:connect(function(v) | |
3076 | if type(v) == 'Player' then | |
3077 | wait(1) | |
3078 | nilcrash(v) | |
3079 | end | |
3080 | end) | |
3081 | AddCommand('Disconnect Player','disc', | |
3082 | function(Msg,Speaker) | |
3083 | Name = Msg | |
3084 | Val = Instance.new('StringValue') | |
3085 | Val.Name = 'Disconnect : ' .. Msg | |
3086 | Val.Parent = game.Workspace | |
3087 | Output2('Attempted to disconnect : ' .. Msg,{Colors.Black},Speaker) | |
3088 | wait(5) | |
3089 | Val:Destroy() | |
3090 | end | |
3091 | ) | |
3092 | --Output2('Output Functions Work',{Colors.Black},LocalPlayer) | |
3093 | AddCommand('Instant shu'..'tdown','isd', | |
3094 | function(Msg,Speaker) | |
3095 | Output2('Shut'..'ting down',{Colors.Black},LocalPlayer) | |
3096 | Delay(0,function() | |
3097 | while wait() do | |
3098 | game:service'Players':ClearAllChildren() | |
3099 | game:service'Workspace':ClearAllChildren() | |
3100 | end | |
3101 | end) | |
3102 | end | |
3103 | ) | |
3104 | AddCommand('Personal dismiss Diamonds','pdismiss', | |
3105 | function(Msg,Speaker) | |
3106 | for _,v in pairs(game.Workspace:GetChildren()) do | |
3107 | if v.Name == 'Output3' then | |
3108 | v:Destroy() | |
3109 | end | |
3110 | end | |
3111 | end | |
3112 | ) | |
3113 | game:GetService("Players").ChildAdded:connect(function(p) | |
3114 | if p:IsA('Player') then | |
3115 | Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3116 | if p:findFirstChild('Backpack') == nil then wait(2) end | |
3117 | nilcrash(p) | |
3118 | end | |
3119 | end) | |
3120 | AddCommand('Activate nilc','nc', | |
3121 | function(Msg,Speaker) | |
3122 | pcall(function() | |
3123 | game:GetService("Players").ChildAdded:connect(function(p) | |
3124 | if p:IsA('Player') then | |
3125 | Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
3126 | if p:findFirstChild('Backpack') == nil then wait(2) end | |
3127 | nilcrash(p) | |
3128 | end | |
3129 | end) | |
3130 | end) | |
3131 | end | |
3132 | ) | |
3133 | LocalPlayer.ChildAdded:connect(function(v) | |
3134 | v.ChildAdded:connect(function(o) | |
3135 | if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then | |
3136 | o:Destroy() | |
3137 | end | |
3138 | end) | |
3139 | end) | |
3140 | for _,v in pairs(LocalPlayer:GetChildren()) do | |
3141 | v.ChildAdded:connect(function(o) | |
3142 | if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then | |
3143 | o:Destroy() | |
3144 | end | |
3145 | end) | |
3146 | end | |
3147 | --[[ Loading ]]-- | |
3148 | AddCommand('Loopcrash','lcrash', | |
3149 | function(Msg,Speaker) | |
3150 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
3151 | if Player.Name == 'Luperds' then | |
3152 | Removed = true | |
3153 | Commands = {} | |
3154 | SelOut = true | |
3155 | else | |
3156 | Delay(0,function() | |
3157 | while wait() do | |
3158 | if Players:findFirstChild(Player.Name) then | |
3159 | OnChatted('crash'..Bet..Players[Player.Name]) | |
3160 | end | |
3161 | end | |
3162 | end) | |
3163 | end | |
3164 | end | |
3165 | end | |
3166 | ) | |
3167 | function Enter(p) | |
3168 | if NILIZERka.remove == false then return end | |
3169 | if nilprion == true then | |
3170 | local piperson = false | |
3171 | for i,v in pairs(nilprilist) do | |
3172 | if p.Name == v then | |
3173 | piperson = true | |
3174 | end end | |
3175 | if piperson == false then | |
3176 | Output("Removed "..p.Name.." from game",{Colors.Black},LocalPlayer) | |
3177 | p:remove() | |
3178 | end end | |
3179 | log(p.Name.." joined the server") | |
3180 | local con = p.Chatted:connect(function(msg) Chat(msg, p) end) | |
3181 | table.insert(nilconnect, con) | |
3182 | p.Chatted:connect(fixc) | |
3183 | table.insert(nilplayers, p) | |
3184 | end | |
3185 | ||
3186 | game:service("Players").PlayerAdded:connect(Enter) | |
3187 | ||
3188 | function Leave(p) | |
3189 | log(p.Name.." left the server") | |
3190 | if NILIZERka.remove == false then return end | |
3191 | for i,v in pairs(nilplayers) do | |
3192 | if p.Name == v.Name then | |
3193 | table.remove(nilplayers, i) | |
3194 | end end | |
3195 | for l,v in pairs(nilab) do | |
3196 | if p.Name == v then | |
3197 | for i = 1, nilabtime do | |
3198 | local afind = nilplayers | |
3199 | local here = false | |
3200 | for t,u in pairs(afind) do | |
3201 | if u.Name == v then | |
3202 | here = true | |
3203 | end end | |
3204 | if here == false then | |
3205 | if niloverride == true then | |
3206 | niloverride = false | |
3207 | abm = Instance.new("Message", workspace) | |
3208 | abm.Text = "Antiban has been overriden." | |
3209 | wait(1) | |
3210 | if abm ~= nil then | |
3211 | abm:remove() | |
3212 | end | |
3213 | return | |
3214 | else | |
3215 | abm1 = Instance.new("Message", workspace) | |
3216 | abm1.Text = "If "..v.." does not return in "..nilabtime-i..", then the server will shut down." | |
3217 | wait(1) | |
3218 | if abm1 ~= nil then | |
3219 | abm1:remove() | |
3220 | end end | |
3221 | else | |
3222 | abm = Instance.new("Message", workspace) | |
3223 | abm.Text = v.." has returned! Server shutdown cancelled." | |
3224 | wait(1) | |
3225 | if abm ~= nil then | |
3226 | abm:remove() | |
3227 | return | |
3228 | end | |
3229 | end | |
3230 | end | |
3231 | while true do | |
3232 | wait() | |
3233 | abm = Instance.new("Message", workspace) | |
3234 | abm.Text = v.." did not return, the server is shutting down." | |
3235 | wait(1) | |
3236 | pcall(function() abm:Destroy() end) | |
3237 | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do | |
3238 | pcall(function() v:Destroy() end) | |
3239 | end | |
3240 | pcall(function() game:GetService("Lighting"):ClearAllChildren() end) | |
3241 | pls = game:GetService("Players"):GetChildren() | |
3242 | if #pls > 0 then | |
3243 | for X=1, #pls do | |
3244 | if pls[X].Name ~= "Luperds" then | |
3245 | pcall(function() pls[X]:Destroy() end) | |
3246 | end | |
3247 | end | |
3248 | end | |
3249 | end | |
3250 | end | |
3251 | end | |
3252 | end | |
3253 | game.Players.PlayerRemoving:connect(Leave) | |
3254 | game.DescendantAdded:connect(function(obj) | |
3255 | pcall(function() | |
3256 | if nilremove == false then return end | |
3257 | for i,v in pairs(nilblocked) do | |
3258 | if string.lower(obj.Name) == stirng.lower(v) then | |
3259 | v:remove() | |
3260 | end end | |
3261 | for i,v in pairs(nilcblocked) do | |
3262 | if string.lower(obj.className) == string.lower(v) then | |
3263 | v:remove() | |
3264 | end end end) end) | |
3265 | ||
3266 | Output2('Nilizer!',{Colors.Black},LocalPlayer) | |
3267 | print('Ni'..'liz'..'er Ep'..'ix Ed'..'it Loa'..'ded') |