SHOW:
|
|
- or go back to the newest paste.
1 | - | --This is Nilizer!!! :D |
1 | + | |
2 | - | --hope you enjoy! |
2 | + | |
3 | - | ----------------------------------------------------------------------------------------------------- |
3 | + | |
4 | - | ----------------- JUST RUN AS A LOCALSCRIPT -------------------------------------------- ------------------------------------------------------------------------------------ |
4 | + | |
5 | - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5 | + | |
6 | - | --[[------------------------------------------------------------------------------------------------- |
6 | + | |
7 | - | |
7 | + | |
8 | - | |
8 | + | |
9 | - | Note: THIS IS A LOCALSCRIPT it will insert your name into all needed areas automaticalyz, so no need to edit anything, if you do, you run a high risk of BREAKING THE SCRIPT. |
9 | + | |
10 | GuiChat=true; --Dont change this, if you want the gui chat then after you load nilizer do gui/on | |
11 | GlobalTable = {} | |
12 | - | ----------------------------------------------------------------------------------------------------- |
12 | + | |
13 | - | -----Commands (For if nil and cant see gui) ------ |
13 | + | |
14 | - | |
14 | + | |
15 | - | kill/name |
15 | + | |
16 | - | kic.k/name |
16 | + | |
17 | - | ba.n/name |
17 | + | |
18 | - | fire/name |
18 | + | |
19 | - | day/name |
19 | + | |
20 | - | night/name |
20 | + | |
21 | - | override/name |
21 | + | |
22 | - | unfire/name |
22 | + | |
23 | - | ff/name |
23 | + | |
24 | - | unff/name |
24 | + | |
25 | - | admin/name |
25 | + | |
26 | - | ab(rem)/name |
26 | + | |
27 | - | unadmin/name |
27 | + | |
28 | - | unban/name |
28 | + | |
29 | - | fog/(on/off) |
29 | + | |
30 | - | nbc/name |
30 | + | |
31 | - | colorb/ |
31 | + | |
32 | - | bc/name |
32 | + | |
33 | - | tbc/name |
33 | + | |
34 | - | obc/name |
34 | + | |
35 | - | do/script |
35 | + | |
36 | - | getage/name |
36 | + | |
37 | - | cave/ |
37 | + | |
38 | - | rtools/name |
38 | + | |
39 | - | cmds/ |
39 | + | |
40 | - | rhum/name |
40 | + | |
41 | - | tree/name |
41 | + | |
42 | - | lag/name |
42 | + | |
43 | - | semikick/name |
43 | + | |
44 | - | getmsg/message |
44 | + | |
45 | - | sparkles/name |
45 | + | |
46 | - | epic/name |
46 | + | |
47 | - | respawn/name |
47 | + | |
48 | - | rmp/4(#1-6) |
48 | + | |
49 | - | rmvp/ |
49 | + | |
50 | - | walkspeed/name/number |
50 | + | |
51 | - | tele/name/name |
51 | + | |
52 | - | health/name/number |
52 | + | |
53 | - | forest/ |
53 | + | |
54 | - | btools/name |
54 | + | |
55 | - | debug/ |
55 | + | |
56 | - | chat/name |
56 | + | |
57 | - | rickroll/name |
57 | + | |
58 | - | unrickroll/name |
58 | + | |
59 | - | lockserver/ |
59 | + | |
60 | - | unlockserver/ |
60 | + | |
61 | - | newteam/team |
61 | + | |
62 | - | try/name/id |
62 | + | |
63 | - | showlvls/ |
63 | + | |
64 | - | terrain/ |
64 | + | |
65 | - | removeterrain/ |
65 | + | |
66 | - | sit/name |
66 | + | |
67 | - | antilag/ |
67 | + | |
68 | - | nocloths/name |
68 | + | |
69 | - | noarms/name |
69 | + | |
70 | - | nolegs/name |
70 | + | |
71 | - | ambient/number/number/number |
71 | + | |
72 | - | noface/name |
72 | + | |
73 | - | warn/name/reason |
73 | + | |
74 | - | freeze/name |
74 | + | |
75 | - | thaw/name |
75 | + | |
76 | - | punish/name |
76 | + | |
77 | - | unpunish/name |
77 | + | |
78 | - | nme/player/name |
78 | + | Character.Name = Character Name or Local Name.Name -- Character.Name |
79 | - | log/name |
79 | + | |
80 | - | block/object |
80 | + | |
81 | - | blockc/classname |
81 | + | |
82 | - | bb/on |
82 | + | |
83 | - | bb/off |
83 | + | |
84 | - | plat/name |
84 | + | |
85 | - | platoff/name |
85 | + | |
86 | - | getasset/id |
86 | + | |
87 | - | spawncage/ |
87 | + | |
88 | - | opendoor/ |
88 | + | |
89 | - | closedoor/ |
89 | + | |
90 | - | removeteam/team |
90 | + | |
91 | - | changeteam/team |
91 | + | |
92 | - | speak/message |
92 | + | |
93 | - | pri/(on/off) |
93 | + | |
94 | - | addp/name |
94 | + | |
95 | - | removep/name |
95 | + | |
96 | - | control/name |
96 | + | |
97 | - | up/ |
97 | + | |
98 | - | down/ |
98 | + | |
99 | - | deepclean/ |
99 | + | |
100 | gG:children()[i].Parent = Character | |
101 | end | |
102 | - | --------------------------------------------------------------------------------------------------------------------------------------------------------------------]]-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
102 | + | |
103 | - | -- mediafire -- this makes it so it does not show up in the chat! :D -------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
103 | + | |
104 | - | ---------------- Just Run As a LOCALSCRIPT ------------------------------------------- |
104 | + | |
105 | - | ------------------------------------------------------------------------------------------------- |
105 | + | |
106 | MessyHairAndCap.Parent = Character | |
107 | MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001) | |
108 | ||
109 | Handle = Instance.new("Part") | |
110 | Handle.Name = "Handle" | |
111 | Handle.Parent = MessyHairAndCap | |
112 | Handle.FormFactor = Enum.FormFactor.Custom | |
113 | Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439) | |
114 | Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001) | |
115 | Handle.BottomSurface = Enum.SurfaceType.Smooth | |
116 | 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) | |
117 | Handle.Locked = true | |
118 | Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201) | |
119 | Handle.TopSurface = Enum.SurfaceType.Smooth | |
120 | Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819) | |
121 | ||
122 | Mesh = Instance.new("SpecialMesh") | |
123 | Mesh.Parent = Handle | |
124 | Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924" | |
125 | Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818" | |
126 | Mesh.Scale = Vector3.new(1.04999995, 1, 1) | |
127 | Mesh.MeshType = Enum.MeshType.FileMesh | |
128 | ||
129 | DogTags = Instance.new("Hat") | |
130 | DogTags.Name = "DogTags" | |
131 | DogTags.Parent = Character | |
132 | DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991) | |
133 | ||
134 | Handle2 = Instance.new("Part") | |
135 | Handle2.Name = "Handle" | |
136 | Handle2.Parent = DogTags | |
137 | Handle2.FormFactor = Enum.FormFactor.Symmetric | |
138 | Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131) | |
139 | Handle2.Size = Vector3.new(1, 1, 1) | |
140 | - | --[[----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
140 | + | |
141 | - | ----------------------------------------------------------------------------------------------------- |
141 | + | |
142 | - | Don't edit anything from this down unless you KNOW what YOU ARE DOING, OTHERWISE YOU WILL BREAK THE SCRIPT! |
142 | + | |
143 | - | ----------------------------------------------------------------------------------------------------- |
143 | + | |
144 | - | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]]-- |
144 | + | |
145 | Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792) | |
146 | ||
147 | Mesh2 = Instance.new("SpecialMesh") | |
148 | Mesh2.Parent = Handle2 | |
149 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431" | |
150 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421" | |
151 | Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003) | |
152 | Mesh2.MeshType = Enum.MeshType.FileMesh | |
153 | ||
154 | DarkAgeNinjaSwordpack = Instance.new("Hat") | |
155 | DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack" | |
156 | DarkAgeNinjaSwordpack.Parent = Character | |
157 | DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976) | |
158 | ||
159 | Handle3 = Instance.new("Part") | |
160 | Handle3.Name = "Handle" | |
161 | Handle3.Parent = DarkAgeNinjaSwordpack | |
162 | Handle3.FormFactor = Enum.FormFactor.Custom | |
163 | Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124) | |
164 | Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036) | |
165 | Handle3.BottomSurface = Enum.SurfaceType.Smooth | |
166 | 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) | |
167 | Handle3.Locked = true | |
168 | Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279) | |
169 | Handle3.TopSurface = Enum.SurfaceType.Smooth | |
170 | Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556) | |
171 | ||
172 | Mesh3 = Instance.new("SpecialMesh") | |
173 | Mesh3.Parent = Handle3 | |
174 | Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355" | |
175 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435" | |
176 | Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988) | |
177 | Mesh3.MeshType = Enum.MeshType.FileMesh | |
178 | ||
179 | Roblox20LeftLeg = Instance.new("CharacterMesh") | |
180 | Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg" | |
181 | Roblox20LeftLeg.Parent = Character | |
182 | Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg | |
183 | Roblox20LeftLeg.MeshId = 27111857 | |
184 | ||
185 | Roblox20RightLeg = Instance.new("CharacterMesh") | |
186 | Roblox20RightLeg.Name = "Roblox 2.0 Right Leg" | |
187 | Roblox20RightLeg.Parent = Character | |
188 | Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg | |
189 | Roblox20RightLeg.MeshId = 27111882 | |
190 | ||
191 | Roblox20torso = Instance.new("CharacterMesh") | |
192 | Roblox20torso.Name = "Roblox 2.0 torso" | |
193 | Roblox20torso.Parent = Character | |
194 | Roblox20torso.BodyPart = Enum.BodyPart.Torso | |
195 | Roblox20torso.MeshId = 27111894 | |
196 | ||
197 | SuperheroLeftArm = Instance.new("CharacterMesh") | |
198 | SuperheroLeftArm.Name = "Superhero Left Arm" | |
199 | - | Character.Name = CharacterName or LocalPlayer.Name -- Character.Name |
199 | + | |
200 | SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm | |
201 | SuperheroLeftArm.MeshId = 32328397 | |
202 | ||
203 | SuperheroRightArm = Instance.new("CharacterMesh") | |
204 | SuperheroRightArm.Name = "Superhero Right Arm" | |
205 | SuperheroRightArm.Parent = Character | |
206 | SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm | |
207 | SuperheroRightArm.MeshId = 32328563 | |
208 | elseif LocalPlayer.Name == 'harrypotterfan249' then | |
209 | local Part = Instance.new("Part",Character) | |
210 | ||
211 | Part.Name = "Mr.Doom" | |
212 | ||
213 | Part.Size = Vector3.new(2,2,2) | |
214 | ||
215 | Part.CanCollide = false | |
216 | ||
217 | Part.Locked = true | |
218 | ||
219 | Part:BreakJoints() | |
220 | ||
221 | local Weld = Instance.new("Weld",Part) | |
222 | ||
223 | Weld.Part0 = Part | |
224 | ||
225 | Weld.Part1 = Character.Head | |
226 | ||
227 | Weld.C0 = CFrame.new(0,-0.5,0) | |
228 | ||
229 | local Mesh = Instance.new("SpecialMesh",Part) | |
230 | ||
231 | Mesh.MeshType = "FileMesh" | |
232 | ||
233 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
234 | ||
235 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
236 | ||
237 | local Shirt = Instance.new("Shirt",Character) | |
238 | ||
239 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
240 | ||
241 | local Pants = Instance.new("Pants",Character) | |
242 | ||
243 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
244 | else | |
245 | ||
246 | for _,v in pairs(CharStuff) do | |
247 | v:Clone().Parent = Character | |
248 | end | |
249 | end | |
250 | for _,v in pairs(Character:children()) do | |
251 | ||
252 | if v:IsA("BasePart") then | |
253 | ||
254 | v.BrickColor = BrickColor.new("Pastel brown") | |
255 | ||
256 | end | |
257 | ||
258 | end | |
259 | ||
260 | ||
261 | end | |
262 | --[[ ShortCuts ]]-- --Put Anything You Want People To Say To Get Kicked Here Please Dont Abuse | |
263 | KickingPhrases={':ba'..'n',':ki'..'ck',':cra'..'sh','rp'..'e','shut'..'down','isd','ishu'..'tdown','ki'..'ck/','b'..'an/','NOVA','ba'..'n:','ki'..'ck:','cra'..'sh:','/ki'..'ck','/b'..'an','/cr'..'ash'}; | |
264 | Colors = { | |
265 | ["Red"] = Color3.new(1,0,0), | |
266 | ["PinkRed"] = Color3.new(1,0,0.5), | |
267 | ["Orange"] = Color3.new(1,0.5,0), | |
268 | ["Yellow"] = Color3.new(1,1,0), | |
269 | ["Green"] = Color3.new(0,1,0), | |
270 | ["Blue"] = Color3.new(0,0,1), | |
271 | ["LightBlue"] = Color3.new(0,1,1), | |
272 | ["Pink"] = Color3.new(1,0,1), | |
273 | ["Magenta"] = Color3.new(0.54,0,0.54), | |
274 | ["Cyan"] = Color3.new(0,0.6,1), | |
275 | ["White"] = Color3.new(1,1,1), | |
276 | ["Grey"] = Color3.new(0.5,0.5,0.5), | |
277 | ["Black"] = Color3.new(0,0,0) | |
278 | } | |
279 | CharStuff = {} | |
280 | for _,Item in pairs(LocalPlayer.Character:children()) do | |
281 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
282 | table.insert(CharStuff,Item:Clone()) | |
283 | end | |
284 | end | |
285 | --[[ Chat ]]-- | |
286 | Chat2 = function(Msg) | |
287 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
288 | ||
289 | local Part = Instance.new("Part",LocalPlayer.Character) | |
290 | ||
291 | Part.CanCollide = false | |
292 | ||
293 | Part.Transparency = 1 | |
294 | ||
295 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
296 | ||
297 | Part:BreakJoints() | |
298 | ||
299 | local Pos = Instance.new("BodyPosition",Part) | |
300 | ||
301 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
302 | ||
303 | Pos.position = LocalPlayer.Character.Head.Position | |
304 | ||
305 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character) | |
306 | ||
307 | BBG.Adornee = Part | |
308 | ||
309 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
310 | ||
311 | BBG.StudsOffset = Vector3.new(0,3,0) | |
312 | ||
313 | local Txt = Instance.new("TextLabel",BBG) | |
314 | ||
315 | Txt.Text = "" | |
316 | ||
317 | Txt.FontSize = "Size18" | |
318 | ||
319 | Txt.TextColor3 = Color3.new(1,1,1) | |
320 | wait() | |
321 | 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)() | |
322 | Txt.BackgroundColor3 = Color3.new(1,1,1) | |
323 | ||
324 | Txt.Size = UDim2.new(1,0,1,0) | |
325 | if #Msg < 50 then | |
326 | for i=1,#Msg do | |
327 | Txt.Text = Txt.Text .. Msg:sub(i,i) | |
328 | wait(0.09) | |
329 | end | |
330 | else | |
331 | Txt.Text = Msg | |
332 | end | |
333 | coroutine.wrap(function() | |
334 | ||
335 | for i=3,100 do | |
336 | ||
337 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
338 | ||
339 | Pos.position = LocalPlayer.Character.Head.Position | |
340 | ||
341 | Txt.TextTransparency = i / 100 | |
342 | ||
343 | Txt.BackgroundTransparency = i / 100 | |
344 | ||
345 | wait() | |
346 | ||
347 | end | |
348 | ||
349 | Part:Destroy() | |
350 | ||
351 | BBG:Destroy() | |
352 | ||
353 | end)() | |
354 | ||
355 | end | |
356 | end | |
357 | Chat = function(Msg) | |
358 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
359 | ||
360 | local Part = Instance.new("Part",LocalPlayer.Character) | |
361 | ||
362 | Part.CanCollide = false | |
363 | ||
364 | Part.Transparency = 1 | |
365 | ||
366 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
367 | ||
368 | Part:BreakJoints() | |
369 | ||
370 | local Pos = Instance.new("BodyPosition",Part) | |
371 | ||
372 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
373 | ||
374 | Pos.position = LocalPlayer.Character.Head.Position | |
375 | ||
376 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character) | |
377 | ||
378 | BBG.Adornee = Part | |
379 | ||
380 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
381 | ||
382 | BBG.StudsOffset = Vector3.new(0,3,0) | |
383 | ||
384 | local Txt = Instance.new("TextLabel",BBG) | |
385 | ||
386 | Txt.Text = Msg | |
387 | ||
388 | Txt.FontSize = "Size18" | |
389 | ||
390 | Txt.TextColor3 = Color3.new(1,1,1) | |
391 | wait() | |
392 | 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)() | |
393 | Txt.BackgroundColor3 = Color3.new(1,1,1) | |
394 | ||
395 | Txt.Size = UDim2.new(1,0,1,0) | |
396 | ||
397 | coroutine.wrap(function() | |
398 | ||
399 | for i=3,100 do | |
400 | ||
401 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
402 | ||
403 | Pos.position = LocalPlayer.Character.Head.Position | |
404 | ||
405 | Txt.TextTransparency = i / 100 | |
406 | ||
407 | Txt.BackgroundTransparency = i / 100 | |
408 | ||
409 | wait() | |
410 | ||
411 | end | |
412 | ||
413 | Part:Destroy() | |
414 | ||
415 | BBG:Destroy() | |
416 | ||
417 | end)() | |
418 | ||
419 | end | |
420 | end | |
421 | check = function(p) | |
422 | f = false | |
423 | for _,n in pairs(allowed) do | |
424 | if p.Name == n then f = true end | |
425 | end | |
426 | return f | |
427 | end | |
428 | --[[ GetTablets ]]-- | |
429 | GetTablets = function(player) | |
430 | local _tablets = {} | |
431 | ||
432 | for _, tablet in pairs(tablets) do | |
433 | if tablet:FindFirstChild("Recipient") ~= nil then | |
434 | if tablet.Recipient.Value == player then | |
435 | table.insert(_tablets, tablet) | |
436 | end | |
437 | end | |
438 | end | |
439 | ||
440 | return _tablets | |
441 | end | |
442 | GetTablets2 = function(player) | |
443 | local _tablets = {} | |
444 | ||
445 | for _, tablet in pairs(tablets2) do | |
446 | if tablet:FindFirstChild("Recipient") ~= nil then | |
447 | if tablet.Recipient.Value == player then | |
448 | table.insert(_tablets, tablet) | |
449 | end | |
450 | end | |
451 | end | |
452 | ||
453 | return _tablets | |
454 | end | |
455 | --[[ Output ]]-- | |
456 | function ping(tab,Color) | |
457 | plr = LocalPlayer | |
458 | for i=1,#tab do | |
459 | local p=Instance.new("Part",game.Workspace) | |
460 | p.Name="Output3" | |
461 | p.Size=Vector3.new(1.25,1.25,1.25) | |
462 | p.Transparency=0.5 | |
463 | p.Anchored=true | |
464 | p.CanCollide = false | |
465 | p.Color = Color | |
466 | p.TopSurface="Smooth" | |
467 | p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0) | |
468 | p.BottomSurface="Smooth" | |
469 | local fire = Instance.new("Fire", p) | |
470 | fire.Color = Color3.new(0, 0, 102) | |
471 | fire.Size = 1 | |
472 | fire.Heat = 1 | |
473 | xv=Instance.new("SpecialMesh",p) | |
474 | xv.MeshType="FileMesh" | |
475 | xv.Name="me" | |
476 | xv.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
477 | xv.Scale = Vector3.new(1.25,1.25,1.25) | |
478 | xv.TextureId = "" | |
479 | xv.VertexColor = Vector3.new(0,0,1) | |
480 | local bbg=Instance.new("BillboardGui",p) | |
481 | bbg.Name=p.Name | |
482 | bbg.StudsOffset=Vector3.new(0,1,-0.2) | |
483 | bbg.Size=UDim2.new(1,0,1,0) | |
484 | pn = Instance.new("TextLabel", bbg) | |
485 | pn.BackgroundTransparency = 1 | |
486 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
487 | pn.Size = UDim2.new(0.9, 0, 0.4, 0) | |
488 | pn.TextColor3 = Color | |
489 | pn.TextStrokeColor3 = Color3.new(0, 0, 1) | |
490 | pn.TextStrokeTransparency = 0 | |
491 | pn.FontSize = Enum.FontSize.Size12 | |
492 | pn.Text=tab[i] | |
493 | pn.Name=tab[i] | |
494 | coroutine.wrap(function() | |
495 | local f=i*(200/#tab) | |
496 | while wait() do | |
497 | f=f+0.4 | |
498 | 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)) | |
499 | end | |
500 | end)() | |
501 | end | |
502 | end | |
503 | Output = function(message, color, recipient, stick) | |
504 | if recipient == nil then recipient = LocalPlayer end | |
505 | if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then | |
506 | local _tablets = GetTablets(recipient) | |
507 | local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) | |
508 | if stick == nil then | |
509 | stick = 100 | |
510 | end | |
511 | if #_tablets >= stick then | |
512 | _tablets[1]:remove() | |
513 | end | |
514 | ||
515 | local model = Instance.new("Model") | |
516 | model.Parent = workspace | |
517 | model.Name = "Output::" .. recipient.Name | |
518 | ||
519 | local part = Instance.new("Part") | |
520 | part.Parent = model | |
521 | part.Transparency = 0.5 | |
522 | part.CanCollide = false | |
523 | part.TopSurface = "Smooth" | |
524 | part.BottomSurface = "Smooth" | |
525 | part.FormFactor = "Plate" | |
526 | part.Color = color[1] | |
527 | part.Size = Tablet1Size | |
528 | part.CFrame = _pos | |
529 | if SelOut==true then | |
530 | atc = Instance.new("SelectionPartLasso",part) | |
531 | atc.Part = part | |
532 | atc.Humanoid = recipient.Character.Humanoid | |
533 | atc.Color = tab.BrickColor | |
534 | atc.Name = 'Test' | |
535 | end | |
536 | local click = Instance.new("ClickDetector") | |
537 | click.Parent = part | |
538 | click.MouseClick:connect(function(player) | |
539 | if player == recipient or player.Name == "1231234w" then | |
540 | model:remove() | |
541 | end | |
542 | end) | |
543 | local fire = Instance.new("Fire") | |
544 | fire.Parent = part | |
545 | fire.Heat = 0 | |
546 | fire.Size = 6 | |
547 | fire.Color = color[1] | |
548 | fire.SecondaryColor = color[1] | |
549 | ||
550 | local box = Instance.new("SelectionBox") | |
551 | box.Parent = part | |
552 | box.Adornee = part | |
553 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
554 | ||
555 | local pos = Instance.new("BodyPosition") | |
556 | pos.Parent = part | |
557 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
558 | pos.position = _pos.p | |
559 | ||
560 | local gyro = Instance.new("BodyGyro") | |
561 | gyro.Parent = part | |
562 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
563 | ||
564 | local recip = Instance.new("ObjectValue") | |
565 | recip.Parent = model | |
566 | recip.Name = "Recipient" | |
567 | recip.Value = recipient | |
568 | ||
569 | Gui = Instance.new("BillboardGui") | |
570 | Gui.Parent = model | |
571 | Gui.Adornee = part | |
572 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
573 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
574 | local Frame = Instance.new("Frame",Gui) | |
575 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
576 | Frame.BackgroundTransparency = 1 | |
577 | Label = Instance.new("TextLabel") | |
578 | Label.Parent = Frame | |
579 | Label.Size = UDim2.new(1,0,1,0) | |
580 | Label.FontSize = "Size12" | |
581 | Label.TextColor3 = color[1] | |
582 | Label.Text = message | |
583 | Label.BackgroundTransparency = 1 | |
584 | Label.Font = 'Legacy' | |
585 | --[[ | |
586 | local gui = Instance.new("BillboardGui") | |
587 | gui.Adornee = part | |
588 | gui.Size = UDim2.new(1, 0, 1, 0) | |
589 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
590 | gui.Parent = model | |
591 | ||
592 | local frame = Instance.new("Frame") | |
593 | frame.Parent = gui | |
594 | frame.Size = UDim2.new(1, 0, 1, 0) | |
595 | frame.BackgroundTransparency = 1 | |
596 | ||
597 | local label = Instance.new("TextLabel") | |
598 | label.Parent = frame | |
599 | label.Text = message | |
600 | label.FontSize = "Size12" | |
601 | label.TextColor3 = color[1] | |
602 | --]] | |
603 | ||
604 | table.insert(tablets, model) | |
605 | return model | |
606 | end | |
607 | end | |
608 | Output2 = function(message, color, recipient, stick) | |
609 | if recipient == nil then recipient = LocalPlayer end | |
610 | if recipient.Character then | |
611 | local _tablets = GetTablets2(recipient) | |
612 | local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10) | |
613 | if stick == nil then | |
614 | stick = 100 | |
615 | end | |
616 | if #_tablets >= stick then | |
617 | _tablets[1]:remove() | |
618 | end | |
619 | ||
620 | local model = Instance.new("Model") | |
621 | model.Parent = workspace | |
622 | model.Name = "Output::" .. recipient.Name | |
623 | ||
624 | local part = Instance.new("Part") | |
625 | part.Parent = model | |
626 | part.Transparency = 0.5 | |
627 | part.CanCollide = false | |
628 | part.TopSurface = "Smooth" | |
629 | part.BottomSurface = "Smooth" | |
630 | part.FormFactor = "Plate" | |
631 | part.Color = color[1] | |
632 | part.Size = Vector3.new(3/2,3/2,3/2) | |
633 | part.CFrame = _pos | |
634 | part.Shape = 'Ball' | |
635 | local click = Instance.new("ClickDetector") | |
636 | click.Parent = part | |
637 | click.MouseClick:connect(function(player) | |
638 | if player == recipient or player.Name == "1231234w" then | |
639 | model:remove() | |
640 | end | |
641 | end) | |
642 | ||
643 | local fire = Instance.new("Fire") | |
644 | fire.Parent = part | |
645 | fire.Heat = 0 | |
646 | fire.Size = 6 | |
647 | fire.Color = color[1] | |
648 | fire.SecondaryColor = color[1] | |
649 | ||
650 | local box = Instance.new("SelectionBox") | |
651 | box.Parent = part | |
652 | box.Adornee = part | |
653 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
654 | ||
655 | local pos = Instance.new("BodyPosition") | |
656 | pos.Parent = part | |
657 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
658 | pos.position = _pos.p | |
659 | ||
660 | local gyro = Instance.new("BodyGyro") | |
661 | gyro.Parent = part | |
662 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
663 | ||
664 | local recip = Instance.new("ObjectValue") | |
665 | recip.Parent = model | |
666 | recip.Name = "Recipient" | |
667 | recip.Value = recipient | |
668 | ||
669 | Gui = Instance.new("BillboardGui") | |
670 | Gui.Parent = model | |
671 | Gui.Adornee = part | |
672 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
673 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
674 | local Frame = Instance.new("Frame",Gui) | |
675 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
676 | Frame.BackgroundTransparency = 1 | |
677 | Label = Instance.new("TextLabel") | |
678 | Label.Parent = Frame | |
679 | Label.Size = UDim2.new(1,0,1,0) | |
680 | Label.FontSize = "Size12" | |
681 | Label.TextColor3 = color[1] | |
682 | Label.Text = message | |
683 | Label.BackgroundTransparency = 1 | |
684 | Label.Font = 'Legacy' | |
685 | local gui = Instance.new("BillboardGui") | |
686 | gui.Adornee = part | |
687 | gui.Size = UDim2.new(1, 0, 1, 0) | |
688 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
689 | gui.Parent = model | |
690 | ||
691 | local frame = Instance.new("Frame") | |
692 | frame.Parent = gui | |
693 | frame.Size = UDim2.new(1, 0, 1, 0) | |
694 | frame.BackgroundTransparency = 1 | |
695 | ||
696 | local label = Instance.new("TextLabel") | |
697 | label.Parent = frame | |
698 | label.Text = message | |
699 | label.FontSize = "Size12" | |
700 | label.TextColor3 = color[1] | |
701 | ||
702 | LocalPlayer = LocalPlayer | |
703 | function Sin(i) | |
704 | return math.sin(math.rad(i)) | |
705 | end | |
706 | function Cos(i) | |
707 | return math.cos(math.rad(i)) | |
708 | end | |
709 | for i = 0,380,2.5 do | |
710 | pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
711 | gyro.cframe = CFrame.Angles(0,math.rad(i),0) | |
712 | wait() | |
713 | end | |
714 | model:Destroy() | |
715 | ||
716 | end | |
717 | end | |
718 | Output3 = function(message, color, recipient, stick) | |
719 | if recipient == nil then recipient = LocalPlayer end | |
720 | if recipient.Character then | |
721 | local _tablets = GetTablets(recipient) | |
722 | local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) | |
723 | if stick == nil then | |
724 | stick = 100 | |
725 | end | |
726 | if #_tablets >= stick then | |
727 | _tablets[1]:remove() | |
728 | end | |
729 | ||
730 | local model = Instance.new("Model") | |
731 | model.Parent = workspace | |
732 | model.Name = "Output::" .. recipient.Name | |
733 | ||
734 | local part = Instance.new("Part") | |
735 | part.Parent = model | |
736 | part.Transparency = 0.5 | |
737 | part.CanCollide = false | |
738 | part.TopSurface = "Smooth" | |
739 | part.BottomSurface = "Smooth" | |
740 | part.FormFactor = "Plate" | |
741 | part.Color = color[1] | |
742 | part.Size = Vector3.new(1.5,2.5,0.05) | |
743 | part.CFrame = _pos | |
744 | local click = Instance.new("ClickDetector") | |
745 | click.Parent = part | |
746 | click.MouseClick:connect(function(player) | |
747 | if player == recipient or player.Name == "1231234w" then | |
748 | model:remove() | |
749 | end | |
750 | end) | |
751 | ||
752 | local fire = Instance.new("Fire") | |
753 | fire.Parent = part | |
754 | fire.Heat = 0 | |
755 | fire.Size = 6 | |
756 | fire.Color = color[1] | |
757 | fire.SecondaryColor = color[1] | |
758 | ||
759 | local box = Instance.new("SelectionBox") | |
760 | box.Parent = part | |
761 | box.Adornee = part | |
762 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
763 | ||
764 | --[[ local pos = Instance.new("BodyPosition") | |
765 | pos.Parent = part | |
766 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
767 | pos.position = _pos.p | |
768 | ||
769 | local gyro = Instance.new("BodyGyro") | |
770 | gyro.Parent = part | |
771 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
772 | --]] | |
773 | local recip = Instance.new("ObjectValue") | |
774 | recip.Parent = model | |
775 | recip.Name = "Recipient" | |
776 | recip.Value = recipient | |
777 | ||
778 | Gui = Instance.new("BillboardGui") | |
779 | Gui.Parent = model | |
780 | Gui.Adornee = part | |
781 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
782 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
783 | local Frame = Instance.new("Frame",Gui) | |
784 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
785 | Frame.BackgroundTransparency = 1 | |
786 | Label = Instance.new("TextLabel") | |
787 | Label.Parent = Frame | |
788 | Label.Size = UDim2.new(1,0,1,0) | |
789 | Label.FontSize = "Size12" | |
790 | Label.TextColor3 = color[1] | |
791 | Label.Text = message | |
792 | Label.BackgroundTransparency = 1 | |
793 | Label.Font = 'Legacy' | |
794 | --[[ | |
795 | local gui = Instance.new("BillboardGui") | |
796 | gui.Adornee = part | |
797 | gui.Size = UDim2.new(1, 0, 1, 0) | |
798 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
799 | gui.Parent = model | |
800 | ||
801 | local frame = Instance.new("Frame") | |
802 | frame.Parent = gui | |
803 | frame.Size = UDim2.new(1, 0, 1, 0) | |
804 | frame.BackgroundTransparency = 1 | |
805 | ||
806 | local label = Instance.new("TextLabel") | |
807 | label.Parent = frame | |
808 | label.Text = message | |
809 | label.FontSize = "Size12" | |
810 | label.TextColor3 = color[1] | |
811 | --]] | |
812 | ||
813 | --table.insert(tablets, model) | |
814 | return model | |
815 | end | |
816 | end | |
817 | CreateTablets3 = function(Texts,Colors,Player) | |
818 | tab = {} | |
819 | for i=1,#Texts do | |
820 | local Color = Colors[i] | |
821 | if not Color then | |
822 | Color = Colors[1] | |
823 | end | |
824 | local Tb = Output3(Texts[i],{Color},Player) | |
825 | table.insert(tab,Tb) | |
826 | end | |
827 | for i=1,#tab do | |
828 | coroutine.wrap(function() | |
829 | local f=i*(200/#tab) | |
830 | while wait() do | |
831 | f=f+0.4 | |
832 | 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)) | |
833 | end | |
834 | end)() | |
835 | end | |
836 | end | |
837 | --[[ UpdateTablets ]]-- | |
838 | UpdateTablets = function() | |
839 | pcall(function() | |
840 | local _tablets = GetTablets(LocalPlayer) | |
841 | local counter = 0 | |
842 | ||
843 | if #_tablets == 1 then | |
844 | local torso = LocalPlayer.Character.Torso | |
845 | local pos = torso.CFrame + torso.CFrame.lookVector | |
846 | ||
847 | pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end) | |
848 | pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end) | |
849 | end | |
850 | ||
851 | for i = 180, -180, -360/(#_tablets) do | |
852 | counter = counter + 1 | |
853 | local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / 10)) | |
854 | ||
855 | pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end) | |
856 | pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end) | |
857 | end | |
858 | end) | |
859 | end | |
860 | UpdateTablets2 = function() | |
861 | pcall(function() | |
862 | local _tablets = GetTablets2(LocalPlayer) | |
863 | local counter = 0 | |
864 | function Sin(i) | |
865 | return math.sin(math.rad(i)) | |
866 | end | |
867 | function Cos(i) | |
868 | return math.cos(math.rad(i)) | |
869 | end | |
870 | for t = 1,#_tablets do | |
871 | BP = _tablets[t].BodyPosition | |
872 | BG = _tablets[t].BodyGyro | |
873 | LocalPlayer = LocalPlayer | |
874 | for i = 0,380,2.5 do | |
875 | BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
876 | BG.cframe = CFrame.Angles(0,math.rad(i),0) | |
877 | wait() | |
878 | end | |
879 | end | |
880 | end) | |
881 | end | |
882 | --[[ OnChatted ]]-- | |
883 | OnChatted = function(Msg,Speaker) | |
884 | if Removed == false then | |
885 | for Name,Command in pairs(Commands) do | |
886 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
887 | local Ran,Error = coroutine.resume(coroutine.create(function() | |
888 | Command.Func(Msg:sub(#Command.Command+2),Speaker) | |
889 | end)) | |
890 | if not Ran then | |
891 | Output(Error,{Colors.Red},LocalPlayer) | |
892 | end | |
893 | end | |
894 | end | |
895 | if GuiChat == true then | |
896 | if ChatNo == true then | |
897 | Chat(Msg) | |
898 | else Chat2(Msg) | |
899 | end | |
900 | else | |
901 | pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red) | |
902 | end) | |
903 | end | |
904 | end | |
905 | end | |
906 | OnChatted2 = function(m,s) | |
907 | if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end | |
908 | end | |
909 | --[[ GetPlayers ]]-- | |
910 | function GetPlayers(string,Player) | |
911 | Rtn = {} if Player == nil then Player = player end | |
912 | if string == "all" then | |
913 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
914 | elseif string == "others" then | |
915 | for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end | |
916 | elseif string == "random" then | |
917 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
918 | elseif string == "me" then | |
919 | table.insert(Rtn,Player) | |
920 | elseif string == "vetrans" then | |
921 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
922 | elseif string == "nonvetrans" or string == "notvetrans" then | |
923 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
924 | else | |
925 | 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 | |
926 | end | |
927 | return Rtn | |
928 | end | |
929 | --[[ Start ]]-- | |
930 | Start = function() | |
931 | coroutine.resume(coroutine.create(function() | |
932 | while true do wait(0.00000001) | |
933 | if Removed == false then | |
934 | if AntiFall == true then | |
935 | pcall(function() | |
936 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
937 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
938 | end | |
939 | end) | |
940 | end | |
941 | ||
942 | UpdateTablets() | |
943 | end | |
944 | end | |
945 | end)) | |
946 | LocalPlayer.Chatted:connect(OnChatted) | |
947 | LocalPlayer.Chatted:connect(OnChatted2) | |
948 | end | |
949 | Start() | |
950 | --[[ AddCommand ]]-- | |
951 | function AddCommand(Name,Command,Func) | |
952 | Commands[Name] = {Command = Command,Func = Func} | |
953 | end | |
954 | --[[ Commands ]]-- | |
955 | AddCommand('Com'..'mands','cm'..'ds', | |
956 | function(Msg,Speaker) | |
957 | rtn = {} | |
958 | ||
959 | e=false | |
960 | for name,Cmd in pairs(Commands) do | |
961 | table.insert(rtn, name .. ' : ' .. Cmd.Command) | |
962 | if OutputType == true then | |
963 | Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
964 | else | |
965 | e = true | |
966 | end | |
967 | end | |
968 | if e == true then ping(rtn,Colors.Green) end | |
969 | end | |
970 | ) | |
971 | AddCommand('Character','char', | |
972 | function(Msg,Speaker) | |
973 | LoadCharacter(CFrame.new(0,50,0)) | |
974 | end | |
975 | ) | |
976 | AddCommand('Con'..'trol a Player','control', | |
977 | function(Msg,Speaker) | |
978 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
979 | if v.Character ~= nil then | |
980 | game.Players.LocalPlayer.Character = v.Character | |
981 | game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid | |
982 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
983 | Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer) | |
984 | end | |
985 | end | |
986 | end | |
987 | ) | |
988 | AddCommand('Loadstring','load', | |
989 | function(Msg,Speaker) | |
990 | local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end)) | |
991 | if not Ran then | |
992 | Output(Error,{Colors.Red},LocalPlayer) | |
993 | else | |
994 | Output('Script ran',{Colors.Green},LocalPlayer) | |
995 | end | |
996 | end | |
997 | ) | |
998 | AddCommand('C'..'rash','cr'..'ash', | |
999 | function(Msg,Speaker) | |
1000 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1001 | local NS = ClonyPooPoo:Clone() | |
1002 | ||
1003 | local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName) | |
1004 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
1005 | Source.Value = [[ | |
1006 | ||
1007 | local LocalPlayer = game:service'Players'.LocalPlayer | |
1008 | ||
1009 | LocalPlayer.Parent = nil | |
1010 | ||
1011 | wait() | |
1012 | ||
1013 | LocalPlayer.Parent = game:service'Players' | |
1014 | ||
1015 | ]] | |
1016 | ||
1017 | NS.Parent = v:findFirstChild('Backpack') | |
1018 | NS.Disabled = true | |
1019 | wait() | |
1020 | NS.Disabled = false | |
1021 | ||
1022 | NS.Disabled = false | |
1023 | Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer) | |
1024 | end | |
1025 | end | |
1026 | ) | |
1027 | AddCommand('Ki'..'ck','k'..'ick', | |
1028 | function(Msg,Speaker) | |
1029 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1030 | v:Destroy() | |
1031 | end | |
1032 | end | |
1033 | ) | |
1034 | AddCommand('Kill','kill', | |
1035 | function(Msg,Speaker) | |
1036 | ||
1037 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1038 | v.Character:BreakJoints() | |
1039 | Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer) | |
1040 | ||
1041 | end | |
1042 | end | |
1043 | ) | |
1044 | AddCommand('Remove','disable', | |
1045 | function(Msg,Speaker) | |
1046 | if #Msg == 0 then | |
1047 | Removed = true | |
1048 | Commands = {} | |
1049 | end | |
1050 | end | |
1051 | ) | |
1052 | AddCommand('Dismiss','dismiss', | |
1053 | function(Msg,Speaker) | |
1054 | for num,v in pairs(tablets) do v:Remove() end | |
1055 | end | |
1056 | ) | |
1057 | AddCommand('Ping','ping', | |
1058 | function(Msg,Speaker) | |
1059 | rtn = {} | |
1060 | if #Msg == 0 then | |
1061 | table.insert(rtn,'Ping Pong !') | |
1062 | elseif Msg == 'nil' then | |
1063 | for _,Net in pairs(game:service'NetworkServer':GetChildren()) do | |
1064 | if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then | |
1065 | table.insert(rtn,Net:GetPlayer().Name) | |
1066 | end | |
1067 | end | |
1068 | if #rtn == 0 then table.insert(rtn,'No nil players') end | |
1069 | elseif Msg:sub(1,2) == 'a;' then | |
1070 | local Val = tostring(loadstring("return " .. Msg:sub(3))()) | |
1071 | table.insert(rtn,Val) | |
1072 | elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end | |
1073 | elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end | |
1074 | elseif Msg == 'players' then | |
1075 | for _,ply in pairs(game.Players:GetPlayers()) do | |
1076 | table.insert(rtn,ply.Name) | |
1077 | end | |
1078 | ||
1079 | else | |
1080 | table.insert(rtn,Msg) | |
1081 | end | |
1082 | for _,m in pairs(rtn) do | |
1083 | Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1084 | end | |
1085 | end | |
1086 | ) | |
1087 | ||
1088 | AddCommand('Ba'..'nish','b'..'an', | |
1089 | function(Msg,Speaker) | |
1090 | for a,b in pairs(GetPlayers(Msg,Speaker)) do | |
1091 | table.insert(banlist,b.Name) | |
1092 | OnChatted('crash'..Bet..b.Name,Speaker) | |
1093 | end | |
1094 | end | |
1095 | ) | |
1096 | ||
1097 | AddCommand('Ad'..'min','adm'..'in', | |
1098 | function(Msg,Speaker) | |
1099 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1100 | ||
1101 | script.Parent = Player.Backpack | |
1102 | end | |
1103 | end | |
1104 | ) | |
1105 | AddCommand('Teleport','tp', | |
1106 | function(Msg,Speaker) | |
1107 | local Split = Msg:find(Bet) | |
1108 | local From = GetPlayers(Msg:sub(1,Split-1),Speaker) | |
1109 | local To = GetPlayers(Msg:sub(Split+1),Speaker)[1] | |
1110 | local Current = 0 | |
1111 | for i=-180,180,360/#From do | |
1112 | Current = Current + 1 | |
1113 | pcall(function() | |
1114 | if From[Current] ~= To then | |
1115 | From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame | |
1116 | * CFrame.Angles(0,math.rad(i),0) | |
1117 | * CFrame.new(0,0,5 + (#From*1.1)) | |
1118 | end | |
1119 | end) | |
1120 | end | |
1121 | end | |
1122 | ) | |
1123 | AddCommand('Baseplate','base', | |
1124 | function(Msg,Speaker) | |
1125 | pcall(function() workspace.Base:Remove() end) | |
1126 | local Base = Instance.new("Part",game.Workspace) | |
1127 | Base.Name = "Base" | |
1128 | Base.Anchored = true | |
1129 | Base.Locked = true | |
1130 | Base.BrickColor = BrickColor.new("Bright green") | |
1131 | Base.Size = Vector3.new(2048,2,2048) | |
1132 | Base.CFrame = CFrame.new(0,0,0) | |
1133 | end | |
1134 | ) | |
1135 | AddCommand('Ki'..'cking Phrases','kphrases', | |
1136 | function(Msg,Speaker) | |
1137 | for _,m in pairs(KickingPhrases) do | |
1138 | Output(m, {Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1139 | end | |
1140 | ||
1141 | end | |
1142 | ) | |
1143 | AddCommand('Allow','addp', | |
1144 | function(Msg,Speaker) | |
1145 | for _,p in pairs(GetPlayers(Msg,Speaker)) do | |
1146 | table.insert(allowed,p.Name) | |
1147 | end | |
1148 | end | |
1149 | ) | |
1150 | AddCommand('Clean','clean', | |
1151 | function(Msg,Speaker) | |
1152 | for a,b in pairs(game.Workspace:GetChildren()) do | |
1153 | if not game.Players:playerFromCharacter(b) and b.Name ~= 'Terrain' and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
1154 | b:Destroy() | |
1155 | end | |
1156 | end | |
1157 | if game.Workspace:findFirstChild('Base') == nil then | |
1158 | local Base = Instance.new("Part",Game.Workspace) | |
1159 | Base.Name = "Base" | |
1160 | Base.Anchored = true | |
1161 | Base.Locked = true | |
1162 | Base.BrickColor = BrickColor.new("Bright green") | |
1163 | Base.Size = Vector3.new(2048,2,2048) | |
1164 | Base.CFrame = CFrame.new(0,0,0) | |
1165 | end | |
1166 | Output('You have cleaned workspace!',{Colors.Green},LocalPlayer) | |
1167 | end | |
1168 | ) | |
1169 | AddCommand('Freeze','freeze', | |
1170 | function(Msg,Speaker) | |
1171 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1172 | for _,P in pairs(Player.Character:GetChildren()) do | |
1173 | if P.ClassName == 'Part' then P['Anchored']=true end | |
1174 | end | |
1175 | end | |
1176 | end | |
1177 | ) | |
1178 | AddCommand('Thaw','thaw', | |
1179 | function(Msg,Speaker) | |
1180 | for _,P in pairs(GetPlayers(Msg,Speaker)) do | |
1181 | for _,p in pairs(P.Character:GetChildren()) do | |
1182 | if p.ClassName == 'Part' then p['Anchored']=false end | |
1183 | end | |
1184 | end | |
1185 | end | |
1186 | ) | |
1187 | AddCommand('Personal Crash','pcrash', | |
1188 | function(Msg,Speaker) | |
1189 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1190 | local Item = Player:FindFirstChild('Backpack') | |
1191 | local NS = ClonyPooPoo:Clone() | |
1192 | S = NS:FindFirstChild(SourceName) | |
1193 | if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end | |
1194 | S.Value = [[ repeat until Canada ]] | |
1195 | NS.Parent = Item | |
1196 | end | |
1197 | end | |
1198 | ) | |
1199 | AddCommand('La'..'g','l'..'a'..'g', | |
1200 | function(Msg,Speaker) | |
1201 | local Players = GetPlayers(Msg,Speaker) | |
1202 | for _,Player in pairs(Players) do | |
1203 | local NS = ClonyPooPoo:Clone() | |
1204 | local Source = NS:findFirstChild(SourceName) | |
1205 | if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end | |
1206 | Source.Value = [[ | |
1207 | Delay(0,function() | |
1208 | while wait() do | |
1209 | local texts = {'chublaggin'} | |
1210 | local Text = Instance.new('Message',game.Workspace.CurrentCamera) | |
1211 | Text.Text = Texts[1] | |
1212 | for i=1,50 do | |
1213 | script:Clone().Parent = game.Players.LocalPlayer.Backpack | |
1214 | end | |
1215 | end | |
1216 | end) | |
1217 | ]] | |
1218 | NS.Parent = Player.Backpack | |
1219 | Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer) | |
1220 | end | |
1221 | end | |
1222 | ) | |
1223 | AddCommand('Disable cb'..'a','removecb'..'a', | |
1224 | function(m,s) | |
1225 | local lol=Instance.new("StringValue") | |
1226 | lol.Name="CB".."A Attachment" | |
1227 | lol.Value=[[CB]]..[[A.remove]]..[[=false;]] | |
1228 | lol.Parent = game:GetService("Workspace") | |
1229 | Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer) | |
1230 | end | |
1231 | ) | |
1232 | AddCommand('Override cb'..'a a'..'b','overcb'..'a', | |
1233 | function(m,s) | |
1234 | local lol=Instance.new("StringValue") | |
1235 | lol.Name="CB".."A Attachment" | |
1236 | lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]] | |
1237 | lol.Parent = game:GetService("Workspace") | |
1238 | wait() | |
1239 | lol:Destroy() | |
1240 | Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer) | |
1241 | end | |
1242 | ) | |
1243 | AddCommand('Character name','name', | |
1244 | function(Msg,Speaker) | |
1245 | if #Msg == 0 then | |
1246 | CharacterName = LocalPlayer.Name | |
1247 | else | |
1248 | CharacterName = Msg | |
1249 | end | |
1250 | LoadCharacter(CFrame.new(0,50,0)) | |
1251 | end | |
1252 | ) | |
1253 | ||
1254 | AddCommand('Loopkill','lk', | |
1255 | function(Msg,Speaker) | |
1256 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
1257 | --Target= p | |
1258 | Num = 0 | |
1259 | Msg = Instance.new('Hint',game.Workspace) | |
1260 | Delay(0,function() | |
1261 | while wait() do | |
1262 | if Target:findFirstChild('LK') ~= nil then | |
1263 | c = Instance.new('ObjectValue') | |
1264 | c.Parent = Target.Character.Humanoid | |
1265 | c.Value = game.Players.ScriptExplorer | |
1266 | c.Name = 'creator' | |
1267 | Num = Num + 1 | |
1268 | wait(0.1) | |
1269 | Target.Character.Humanoid.Health = 0 | |
1270 | wait(0.01) | |
1271 | Target.Character.Parent = game.Lighting | |
1272 | wait(0.01) | |
1273 | c:remove() | |
1274 | wait(0.01) | |
1275 | Target.Character.Parent = game.Workspace | |
1276 | Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!' | |
1277 | end | |
1278 | end | |
1279 | end) | |
1280 | Instance.new('StringValue',Target).Name = 'LK' | |
1281 | Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer) | |
1282 | end | |
1283 | end | |
1284 | ) | |
1285 | AddCommand('Un loopkill','unlk', | |
1286 | function(Msg,Speaker) | |
1287 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1288 | if v:findFirstChild('LK') then | |
1289 | v.LK:Destroy() | |
1290 | Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer) | |
1291 | else | |
1292 | Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer) | |
1293 | end | |
1294 | end | |
1295 | end | |
1296 | ) | |
1297 | function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f) | |
1298 | local funcw = Instance.new("Weld") | |
1299 | funcw.Name = zName | |
1300 | funcw.Parent = zParent | |
1301 | funcw.Part0 = zPart0 | |
1302 | funcw.Part1 = zPart1 | |
1303 | if (zCoco == true) then | |
1304 | funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
1305 | else | |
1306 | funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
1307 | end | |
1308 | return funcw | |
1309 | end | |
1310 | AddCommand('R a p e','rp'..'e', | |
1311 | function(Msg,Speaker) | |
1312 | ||
1313 | ||
1314 | Split = Msg:find(Bet) | |
1315 | for i,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
1316 | for c,b in pairs(GetPlayers(Msg:sub(Split+1),Speaker)) do | |
1317 | n1 = v.Name | |
1318 | n2 = b.Name | |
1319 | t1 = game.Players[n1].Character.Torso | |
1320 | t2 = game.Players[n2].Character.Torso | |
1321 | t2.Parent.Humanoid.PlatformStand = true | |
1322 | t1["Left Shoulder"]:Remove() | |
1323 | ls1 = Instance.new("Weld") | |
1324 | ls1.Parent = t1 | |
1325 | ls1.Part0 = t1 | |
1326 | ls1.Part1 = t1.Parent["Left Arm"] | |
1327 | ls1.C0 = CFrame.new(-1.5,0,0) | |
1328 | ls1.Name = "Left Shoulder" | |
1329 | t1["Right Shoulder"]:Remove() | |
1330 | rs1 = Instance.new("Weld") | |
1331 | rs1.Parent = t1 | |
1332 | rs1.Part0 = t1 | |
1333 | rs1.Part1 = t1.Parent["Right Arm"] | |
1334 | rs1.C0 = CFrame.new(1.5,0,0) | |
1335 | rs1.Name = "Right Shoulder" | |
1336 | --[[ t1["Left Hip"]:Remove() | |
1337 | lh1 = Instance.new("Weld") | |
1338 | lh1.Parent = t1 | |
1339 | lh1.Part0 = t1 | |
1340 | lh1.Part1 = t1.Parent["Left Leg"] | |
1341 | lh1.C0 = CFrame.new(-0.5,-2,0) | |
1342 | lh1.Name = "Left Hip" t1["Right Hip"]:Remove() | |
1343 | rh1 = Instance.new("Weld") rh1.Parent = t1 | |
1344 | rh1.Part0 = t1 | |
1345 | rh1.Part1 = t1.Parent["Right Leg"] | |
1346 | rh1.C0 = CFrame.new(0.5,-2,0) | |
1347 | rh1.Name = "Right Hip"]] | |
1348 | t2["Left Shoulder"]:Remove() | |
1349 | ls2 = Instance.new("Weld") | |
1350 | ls2.Parent = t2 | |
1351 | ls2.Part0 = t2 | |
1352 | ls2.Part1 = t2.Parent["Left Arm"] | |
1353 | ls2.C0 = CFrame.new(-1.5,0,0) | |
1354 | ls2.Name = "Left Shoulder" | |
1355 | t2["Right Shoulder"]:Remove() | |
1356 | rs2 = Instance.new("Weld") | |
1357 | rs2.Parent = t2 | |
1358 | rs2.Part0 = t2 | |
1359 | rs2.Part1 = t2.Parent["Right Arm"] | |
1360 | rs2.C0 = CFrame.new(1.5,0,0) | |
1361 | rs2.Name = "Right Shoulder" | |
1362 | t2["Left Hip"]:Remove() | |
1363 | lh2 = Instance.new("Weld") | |
1364 | lh2.Parent = t2 | |
1365 | lh2.Part0 = t2 | |
1366 | lh2.Part1 = t2.Parent["Left Leg"] | |
1367 | lh2.C0 = CFrame.new(-0.5,-2,0) | |
1368 | lh2.Name = "Left Hip" | |
1369 | t2["Right Hip"]:Remove() | |
1370 | rh2 = Instance.new("Weld") | |
1371 | rh2.Parent = t2 | |
1372 | rh2.Part0 = t2 | |
1373 | rh2.Part1 = t2.Parent["Right Leg"] | |
1374 | rh2.C0 = CFrame.new(0.5,-2,0) | |
1375 | rh2.Name = "Right Hip" | |
1376 | local d = Instance.new("Part") | |
1377 | d.TopSurface = 0 | |
1378 | d.BottomSurface = 0 | |
1379 | d.CanCollide = false | |
1380 | d.BrickColor = BrickColor.new("Medium stone grey") | |
1381 | d.Shape = "Ball" d.Parent = t1 | |
1382 | d.Size = Vector3.new(1,1,1) | |
1383 | local dm = Instance.new("SpecialMesh") | |
1384 | dm.MeshType = "Sphere" | |
1385 | dm.Parent = d | |
1386 | dm.Scale = Vector3.new(0.4,0.4,0.4) | |
1387 | fgeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0) | |
1388 | d2 = d:Clone() | |
1389 | d2.Parent = t1 | |
1390 | fgeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0) | |
1391 | local c = Instance.new("Part") | |
1392 | c.TopSurface = 0 c.BottomSurface = 0 | |
1393 | c.CanCollide = false | |
1394 | c.BrickColor = BrickColor.new("Pastel brown") | |
1395 | c.Parent = t1 | |
1396 | c.formFactor = "Custom" | |
1397 | c.Size = Vector3.new(0.4,1.3,0.4) | |
1398 | cm = Instance.new("CylinderMesh") | |
1399 | cm.Parent = c | |
1400 | a = fgeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0) | |
1401 | c2 = d:Clone() | |
1402 | c2.BrickColor = BrickColor.new("Medium stone grey") | |
1403 | c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4) | |
1404 | c2.Parent = t1 | |
1405 | fgeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0) | |
1406 | local bl = Instance.new("Part") | |
1407 | bl.TopSurface = 0 | |
1408 | bl.BottomSurface = 0 | |
1409 | bl.CanCollide = false | |
1410 | bl.BrickColor = BrickColor.new("Pastel brown") | |
1411 | bl.Shape = "Ball" | |
1412 | bl.Parent = t2 | |
1413 | bl.Size = Vector3.new(1,1,1) | |
1414 | local dm = Instance.new("SpecialMesh") | |
1415 | dm.MeshType = "Sphere" | |
1416 | dm.Parent = bl | |
1417 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
1418 | fgeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0) | |
1419 | local br = Instance.new("Part") | |
1420 | br.TopSurface = 0 | |
1421 | br.BottomSurface = 0 | |
1422 | br.CanCollide = false | |
1423 | br.BrickColor = BrickColor.new("Pastel brown") | |
1424 | br.Shape = "Ball" | |
1425 | br.Parent = t2 | |
1426 | br.Size = Vector3.new(1,1,1) | |
1427 | local dm = Instance.new("SpecialMesh") | |
1428 | dm.MeshType = "Sphere" | |
1429 | dm.Parent = br | |
1430 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
1431 | fgeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0) | |
1432 | local bln = Instance.new("Part") | |
1433 | bln.TopSurface = 0 | |
1434 | bln.BottomSurface = 0 | |
1435 | bln.CanCollide = false | |
1436 | bln.Shape = "Ball" | |
1437 | bln.Parent = t2 | |
1438 | bln.Size = Vector3.new(1,1,1) | |
1439 | local dm = Instance.new("SpecialMesh") | |
1440 | dm.MeshType = "Sphere" | |
1441 | dm.Parent = bln | |
1442 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
1443 | fgeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0) | |
1444 | local brn = Instance.new("Part") | |
1445 | brn.TopSurface = 0 | |
1446 | brn.BottomSurface = 0 | |
1447 | brn.CanCollide = false | |
1448 | brn.Shape = "Ball" | |
1449 | brn.Parent = t2 | |
1450 | brn.Size = Vector3.new(1,1,1) | |
1451 | local dm = Instance.new("SpecialMesh") | |
1452 | dm.MeshType = "Sphere" | |
1453 | dm.Parent = brn | |
1454 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
1455 | fgeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0) | |
1456 | lh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,-0.4,0) | |
1457 | rh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,0.4,0) | |
1458 | ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) *CFrame.Angles(0.9,-0.4,0) | |
1459 | rs2.C1 = CFrame.new(0.5,-1.3,-0.5) *CFrame.Angles(0.9,0.4,0) | |
1460 | ls1.C1 = CFrame.new(-0.5,0.7,0) *CFrame.Angles(-0.9,-0.4,0) | |
1461 | rs1.C1 = CFrame.new(0.5,0.7,0) *CFrame.Angles(-0.9,0.4,0) | |
1462 | if t1:findFirstChild("weldx") ~= nil then | |
1463 | t1.weldx:Remove() end | |
1464 | we = fgeld("weldx",t1,t1,t2,true,0,-0.9,-1.3,math.rad(-90),0,0) | |
1465 | n = t2.Neck | |
1466 | n.C0 = CFrame.new(0,1.5,0) *CFrame.Angles(math.rad(-210),math.rad(180),0) | |
1467 | while true do wait() for i=1,6 do we.C1 = we.C1 * CFrame.new(0,-0.3,0) wait() end | |
1468 | for i=1,6 do we.C1 = we.C1 * CFrame.new(0,0.3,0) wait() end end | |
1469 | end | |
1470 | end | |
1471 | end | |
1472 | ) | |
1473 | game:service'Players'.ChildAdded:connect(function(p) | |
1474 | if type(p):lower() == 'player' then | |
1475 | if Removed==false then | |
1476 | p:WaitForDataReady() | |
1477 | for _,n in pairs(banlist) do | |
1478 | if p.Name:lower():sub(1,#n) == n:lower() then | |
1479 | p:Destroy() | |
1480 | end | |
1481 | end | |
1482 | p.Chatted:connect(function(Msg) | |
1483 | for _,s in pairs(KickingPhrases) do | |
1484 | fund = false | |
1485 | if Msg:find(s) and fund == false and check(p) == false then | |
1486 | fund = true | |
1487 | p:Destroy() | |
1488 | if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end | |
1489 | end | |
1490 | end | |
1491 | end) | |
1492 | end | |
1493 | end | |
1494 | end) | |
1495 | Output('Welcome ' .. LocalPlayer.Name,{Colors.Red},LocalPlayer) | |
1496 | Output('Loaded',{Colors.Orange},LocalPlayer) | |
1497 | Output('The bet key is ' .. Bet,{Colors.Blue},LocalPlayer) | |
1498 | if game.PlaceId == 20279777 then | |
1499 | SourceName = 'Source' | |
1500 | KickingPhrases = {} | |
1501 | AddCommand('Newlocal','nl', | |
1502 | function(Msg,Speaker) | |
1503 | local g = Msg:find(Bet) | |
1504 | for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do | |
1505 | newLocalScript(Msg:sub(g+1),b.Backpack) | |
1506 | Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer) | |
1507 | end | |
1508 | end | |
1509 | ) | |
1510 | AddCommand('Newscript','ns', | |
1511 | function(Msg,Speaker) | |
1512 | local g = Msg:find(Bet) | |
1513 | Sour = Msg:sub(g+1) | |
1514 | Pla = Msg:sub(1,g-1) | |
1515 | for _,b in pairs(GetPlayers(Pla,Speaker)) do | |
1516 | newScript(Sour,Pla.Character) | |
1517 | end | |
1518 | end | |
1519 | ) | |
1520 | AddCommand('Script','s', | |
1521 | function(Msg,Speaker) | |
1522 | newScript(Msg,game.Workspace) | |
1523 | end | |
1524 | ) | |
1525 | AddCommand('Local','l', | |
1526 | function(Msg,Speaker) | |
1527 | newLocalScript(Msg,Speaker:findFirstChild('Backpack')) | |
1528 | end | |
1529 | ) | |
1530 | end | |
1531 | Delay(0,function() | |
1532 | while wait() do | |
1533 | for _,p in pairs(game.Players:GetPlayers()) do | |
1534 | for _,n in pairs(banlist) do | |
1535 | if p.Name:lower():sub(1,#n) == n:lower() then | |
1536 | p:Destroy() | |
1537 | Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer) | |
1538 | end | |
1539 | end | |
1540 | p.Chatted:connect(function(Msg) | |
1541 | for _,s in pairs(KickingPhrases) do | |
1542 | fund = false | |
1543 | if Msg:find(s) and fund == false and check(p) == false then | |
1544 | fund = true | |
1545 | p:Destroy() | |
1546 | if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end | |
1547 | end | |
1548 | end | |
1549 | end) | |
1550 | end | |
1551 | end | |
1552 | end) | |
1553 | AddCommand('Shu'..'tdown','sd', | |
1554 | function(Msg,Speaker) | |
1555 | if TimeLeft == 60 then | |
1556 | for i=1,60 do | |
1557 | if CancelSd == false then | |
1558 | Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
1559 | TimeLeft = 60-i | |
1560 | if 60-i==0 then | |
1561 | Output('Shutting down',{Colors.Green},LocalPlayer,1) | |
1562 | wait(1) | |
1563 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) | |
1564 | EF = ClonyPooPoo:Clone() | |
1565 | EF:ClearAllChildren() | |
1566 | EFF = Instance.new('StringValue') | |
1567 | EFF.Value = [==[ | |
1568 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==] | |
1569 | EFF.Name = SourceName or 'DSource' | |
1570 | EFF.Parent = EF | |
1571 | EF.Parent = game.Workspace | |
1572 | wait() | |
1573 | EF.Parent = nil | |
1574 | local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000) | |
1575 | end | |
1576 | wait(1) | |
1577 | else | |
1578 | TimeLeft = 60-i | |
1579 | wait(1) | |
1580 | end | |
1581 | end | |
1582 | else | |
1583 | for i=1,TimeLeft do | |
1584 | Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5) | |
1585 | wait(1) | |
1586 | end | |
1587 | wait(1) | |
1588 | Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
1589 | end | |
1590 | end | |
1591 | ) | |
1592 | AddCommand('Opposite Chat','chat', | |
1593 | function(Msg,Speaker) | |
1594 | ChatNo = not ChatNo | |
1595 | end | |
1596 | ) | |
1597 | AddCommand('Turn GUI Chat off/on','Gui', | |
1598 | function(Msg,Speaker) | |
1599 | if Msg:lower() == 'on' or Msg:lower() == 'true' then | |
1600 | GuiChat=false | |
1601 | elseif Msg:lower() == 'off' or Msg:lower() == 'false' then | |
1602 | GuiChat=true | |
1603 | else | |
1604 | Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer) | |
1605 | end | |
1606 | end | |
1607 | ) | |
1608 | AddCommand('Make Players Talk','playermsg', | |
1609 | function(Msg,Speaker) | |
1610 | for _,talky in pairs(game.Players:GetPlayers()) do | |
1611 | charnam = CharacterName or LocalPlayer.Name | |
1612 | game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue) | |
1613 | --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red) | |
1614 | --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do | |
1615 | --if v.Classname = "Part" then | |
1616 | --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue) | |
1617 | end | |
1618 | end | |
1619 | ) | |
1620 | AddCommand('Nils you','up', | |
1621 | function(Msg,Speaker) | |
1622 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
1623 | game:service("Players").LocalPlayer.Character = nil | |
1624 | end | |
1625 | ) | |
1626 | AddCommand('Explodes you','boom', | |
1627 | function(Msg,Speaker) | |
1628 | local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil) | |
1629 | wait(0.05) | |
1630 | local Explosion = Instance.new("Explosion") | |
1631 | Explosion.BlastRadius = 25000000000 | |
1632 | Explosion.BlastPressure = 1000000 | |
1633 | Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position | |
1634 | Explosion.Hit:connect(function(Hit) | |
1635 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
1636 | Hit.Anchored = false | |
1637 | Hit:BreakJoints() | |
1638 | end | |
1639 | end) | |
1640 | Explosion.Parent = game.Workspace | |
1641 | wait(0.1) | |
1642 | Shield:Remove() | |
1643 | Output('boom!') | |
1644 | end | |
1645 | ) | |
1646 | AddCommand('Cancle sd','csd', | |
1647 | function(Msg,Speaker) | |
1648 | CancelSd = true | |
1649 | Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer) | |
1650 | wait(TimeLeft+5) | |
1651 | TimeLeft = 60 | |
1652 | CancelSd= false | |
1653 | end | |
1654 | ) | |
1655 | AddCommand('Show credits','showcred', | |
1656 | function(Msg,Speaker) | |
1657 | for _,Cred in pairs(Credits) do | |
1658 | Output(Cred.Name .. ' for ' .. Cred.Why,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1659 | end | |
1660 | end | |
1661 | ) | |
1662 | Delay(10,function() | |
1663 | while wait() do | |
1664 | if NormPooPoo == nil then | |
1665 | DS = game:findFirstChild('DSource',true) | |
1666 | if DS ~= nil and DS.Parent.ClassName == 'Script' then | |
1667 | NormPooPoo = DS.Parent:Clone() | |
1668 | Output('Normal script Found and cloned',{Colors.Green},Speaker) | |
1669 | pcall(function() | |
1670 | AddCommand('Script','scr', | |
1671 | function(Msg,Speaker) | |
1672 | if NormPooPoo ~= nil then | |
1673 | local Clony = NormPooPoo:Clone() | |
1674 | Clony:ClearAllChildren() | |
1675 | local Sour = Instance.new('StringValue',Clony) | |
1676 | Sour.Name = SourceName | |
1677 | Sour.Value = Msg | |
1678 | Clony.Disabled = true | |
1679 | Clony.Parent = game.Workspace | |
1680 | Clony.Disabled = false | |
1681 | Output('Normal script ran',{Colors.Green},Speaker) | |
1682 | else | |
1683 | Output('Normal Script is nil',{Colors.Green},Speaker) | |
1684 | end | |
1685 | end | |
1686 | ) | |
1687 | end) | |
1688 | Output('Script CMD added',{Colors.Green},Speaker) | |
1689 | end | |
1690 | end | |
1691 | end | |
1692 | end) | |
1693 | AddCommand('Loop delete','ldel', | |
1694 | function(Msg,Speaker) | |
1695 | NS = ClonyPooPoo:Clone() | |
1696 | BS = Instance.new('StringValue',NS) | |
1697 | DS = Instance.new('StringValue',NS) | |
1698 | DS.Name = SourceName | |
1699 | BS.Name = 'LolBish' | |
1700 | BS.Value = Msg | |
1701 | DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]] | |
1702 | NS.Parent = game.Workspace wait() NS.Parent = nil | |
1703 | Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer) | |
1704 | end | |
1705 | ) | |
1706 | AddCommand('Fix lighting','flig', | |
1707 | function(Msg,Speaker) | |
1708 | game.Lighting.Ambient = Color3.new(1,1,1) | |
1709 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
1710 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
1711 | game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
1712 | game.Lighting.Brightness = 0.2 | |
1713 | game.Lighting.FogStart = 0 | |
1714 | game.Lighting.FogEnd = 100000 | |
1715 | game.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
1716 | game.Lighting.TimeOfDay = 12 | |
1717 | Output('Debuged lighting',{Colors.Green},Speaker) | |
1718 | end | |
1719 | ) | |
1720 | AddCommand('Knock Out','ko', | |
1721 | function(Msg,Speaker) | |
1722 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
1723 | JD = 1000 | |
1724 | Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker) | |
1725 | for i=1, JD do | |
1726 | c = Instance.new('ObjectValue') | |
1727 | c.Parent = Target.Character.Humanoid | |
1728 | c.Value = Speaker | |
1729 | c.Name = 'creator' | |
1730 | wait(0.1) | |
1731 | Target.Character.Humanoid.Health = 0 | |
1732 | wait(0.01) | |
1733 | Target.Character.Parent = game.Lighting | |
1734 | wait(0.01) | |
1735 | c:remove() | |
1736 | wait(0.01) | |
1737 | Target.Character.Parent = game.Workspace | |
1738 | end | |
1739 | end | |
1740 | end | |
1741 | ) | |
1742 | ||
1743 | ||
1744 | ||
1745 | AddCommand('Loopcrash','lcrash', | |
1746 | function(Msg,Speaker) | |
1747 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1748 | Delay(0,function() | |
1749 | while wait() do | |
1750 | if Players:findFirstChild(Player.Name) then | |
1751 | OnChatted('crash'..Bet..Players[Player.Name]) | |
1752 | end | |
1753 | end | |
1754 | end) | |
1755 | end | |
1756 | end | |
1757 | ) | |
1758 | ||
1759 | AddCommand('Ping2','ping2', | |
1760 | function(Msg,Speaker) | |
1761 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1762 | end | |
1763 | ) | |
1764 | AddCommand('Loop delete','pdel', | |
1765 | function(Msg,Speaker) | |
1766 | Delay(0,function() | |
1767 | while wait() do | |
1768 | for _,Item in pairs(game.Workspace:GetChildren()) do | |
1769 | if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then | |
1770 | Item:Destroy() | |
1771 | end | |
1772 | end | |
1773 | end | |
1774 | end) | |
1775 | Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer) | |
1776 | end | |
1777 | ) | |
1778 | AddCommand('Walkspeed','ws', | |
1779 | function(Msg,Speaker) | |
1780 | Split = Msg:find(Bet) | |
1781 | for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
1782 | Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1)) | |
1783 | Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green) | |
1784 | end | |
1785 | end | |
1786 | ) | |
1787 | Delay(0,function() | |
1788 | Tool = 'Start' | |
1789 | Delay(0,function() | |
1790 | while wait(1) do | |
1791 | e = game:findFirstChild(Tool,true) | |
1792 | pcall(function() e:Destroy() end) | |
1793 | end | |
1794 | end) | |
1795 | end) | |
1796 | PlayerPlugins = [==[ | |
1797 | script.Parent = nil | |
1798 | LocalPlayer = game:GetService("Players").LocalPlayer | |
1799 | ||
1800 | coroutine.resume(coroutine.create(function() | |
1801 | while wait() do | |
1802 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then | |
1803 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove() | |
1804 | LocalPlayer.Parent = nil | |
1805 | wait() | |
1806 | LocalPlayer.Parent = game:GetService("Players") | |
1807 | end | |
1808 | end | |
1809 | end)) | |
1810 | ]==] | |
1811 | local nilcrash = function(Player) | |
1812 | localScript(PlayerPlugins,Player.Backpack) | |
1813 | end | |
1814 | for _,v in pairs(game.Players:GetPlayers()) do | |
1815 | nilcrash(v) | |
1816 | end | |
1817 | game.Players.ChildAdded:connect(function(v) | |
1818 | if type(v) == 'Player' then | |
1819 | wait(1) | |
1820 | nilcrash(v) | |
1821 | end | |
1822 | end) | |
1823 | AddCommand('Disconnect Player','disc', | |
1824 | function(Msg,Speaker) | |
1825 | Name = Msg | |
1826 | Val = Instance.new('StringValue') | |
1827 | Val.Name = 'Disconnect : ' .. Msg | |
1828 | Val.Parent = game.Workspace | |
1829 | Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker) | |
1830 | wait(5) | |
1831 | Val:Destroy() | |
1832 | end | |
1833 | ) | |
1834 | Output2('Output Functions Work',{Colors.Green},LocalPlayer) | |
1835 | AddCommand('Instant shu'..'tdown','isd', | |
1836 | function(Msg,Speaker) | |
1837 | Output2('Shut'..'ting down',{Colors.Green},LocalPlayer) | |
1838 | Delay(0,function() | |
1839 | while wait() do | |
1840 | game:service'Players':ClearAllChildren() | |
1841 | game:service'Workspace':ClearAllChildren() | |
1842 | end | |
1843 | end) | |
1844 | end | |
1845 | ) | |
1846 | AddCommand('Personal dismiss Diamonds','pdismiss', | |
1847 | function(Msg,Speaker) | |
1848 | for _,v in pairs(game.Workspace:GetChildren()) do | |
1849 | if v.Name == 'Output3' then | |
1850 | v:Destroy() | |
1851 | end | |
1852 | end | |
1853 | end | |
1854 | ) | |
1855 | game:GetService("Players").ChildAdded:connect(function(p) | |
1856 | if p:IsA('Player') then | |
1857 | Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
1858 | if p:findFirstChild('Backpack') == nil then wait(2) end | |
1859 | nilcrash(p) | |
1860 | end | |
1861 | end) | |
1862 | AddCommand('Activate nilc','nc', | |
1863 | function(Msg,Speaker) | |
1864 | pcall(function() | |
1865 | game:GetService("Players").ChildAdded:connect(function(p) | |
1866 | if p:IsA('Player') then | |
1867 | Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
1868 | if p:findFirstChild('Backpack') == nil then wait(2) end | |
1869 | nilcrash(p) | |
1870 | end | |
1871 | end) | |
1872 | end) | |
1873 | end | |
1874 | ) | |
1875 | LocalPlayer.ChildAdded:connect(function(v) | |
1876 | v.ChildAdded:connect(function(o) | |
1877 | if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then | |
1878 | o:Destroy() | |
1879 | end | |
1880 | end) | |
1881 | end) | |
1882 | for _,v in pairs(LocalPlayer:GetChildren()) do | |
1883 | v.ChildAdded:connect(function(o) | |
1884 | if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then | |
1885 | o:Destroy() | |
1886 | end | |
1887 | end) | |
1888 | end | |
1889 | --[[ Loading ]]-- | |
1890 | AddCommand('Loopcrash','lcrash', | |
1891 | function(Msg,Speaker) | |
1892 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
1893 | Delay(0,function() | |
1894 | while wait() do | |
1895 | if Players:findFirstChild(Player.Name) then | |
1896 | OnChatted('crash'..Bet..Players[Player.Name]) | |
1897 | end | |
1898 | end | |
1899 | end) | |
1900 | end | |
1901 | end | |
1902 | ) | |
1903 | Output('Lolyes',{Colors.Green},LocalPlayer) | |
1904 | Output2('Lolno',{Colors.Green},LocalPlayer) | |
1905 | AddCommand('bigdeek','bigdeek', | |
1906 | function(Msg,Speaker) | |
1907 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1908 | person=v.Name | |
1909 | color = "Pastel brown" | |
1910 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
1911 | D = Instance.new("Model",workspace[person]) | |
1912 | D.Name = "Nice thing" | |
1913 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
1914 | d = Instance.new("Part") | |
1915 | d.TopSurface = 0 | |
1916 | d.BottomSurface = 0 | |
1917 | d.Name = "Main" | |
1918 | d.Parent = workspace[person]["Nice thing"] | |
1919 | d.formFactor = 3 | |
1920 | d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 ) | |
1921 | d.BrickColor = BrickColor.new(color) | |
1922 | d.Position = workspace[person].Head.Position | |
1923 | d.CanCollide = false | |
1924 | local cy = Instance.new("CylinderMesh") | |
1925 | cy.Parent = d | |
1926 | w = Instance.new("Weld") | |
1927 | w.Parent = workspace[person].Head | |
1928 | w.Part0 = d | |
1929 | w.Part1 = workspace[person].Head | |
1930 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
1931 | local c = Instance.new("Part") | |
1932 | c.Name = "Mush" | |
1933 | c.BottomSurface = 0 | |
1934 | c.TopSurface = 0 | |
1935 | c.FormFactor = 3 | |
1936 | c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 ) | |
1937 | c.CFrame = CFrame.new(d.Position) | |
1938 | c.BrickColor = BrickColor.new("Pink") | |
1939 | c.CanCollide = false | |
1940 | c.Parent = workspace[person]["Nice thing"] | |
1941 | local msm = Instance.new("SpecialMesh") | |
1942 | msm.Parent = c | |
1943 | msm.MeshType = "Sphere" | |
1944 | local cw = Instance.new("Weld") | |
1945 | cw.Parent = c | |
1946 | cw.Part0 = d | |
1947 | cw.Part1 = c | |
1948 | cw.C0 = CFrame.new(0,2.6 ,0) | |
1949 | local ball1 = Instance.new("Part") | |
1950 | ball1.Parent = workspace[person]["Nice thing"] | |
1951 | ball1.Name = "Left Ball" | |
1952 | ball1.BottomSurface = 0 | |
1953 | ball1.TopSurface = 0 | |
1954 | ball1.CanCollide = false | |
1955 | ball1.formFactor = 3 | |
1956 | ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
1957 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) | |
1958 | ball1.BrickColor = BrickColor.new(color) | |
1959 | local bsm = Instance.new("SpecialMesh") | |
1960 | bsm.Parent = ball1 | |
1961 | bsm.MeshType = "Sphere" | |
1962 | local b1w = Instance.new("Weld") | |
1963 | b1w.Parent = ball1 | |
1964 | b1w.Part0 = workspace[person]["Left Leg"] | |
1965 | b1w.Part1 = ball1 | |
1966 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
1967 | local ball2 = Instance.new("Part") | |
1968 | ball2.Parent = workspace[person]["Nice thing"] | |
1969 | ball2.Name = "Right Ball" | |
1970 | ball2.BottomSurface = 0 | |
1971 | ball2.CanCollide = false | |
1972 | ball2.TopSurface = 0 | |
1973 | ball2.formFactor = 3 | |
1974 | ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
1975 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) | |
1976 | ball2.BrickColor = BrickColor.new(color) | |
1977 | local b2sm = Instance.new("SpecialMesh") | |
1978 | b2sm.Parent = ball2 | |
1979 | b2sm.MeshType = "Sphere" | |
1980 | local b2w = Instance.new("Weld") | |
1981 | b2w.Parent = ball2 | |
1982 | b2w.Part0 = workspace[person]["Right Leg"] | |
1983 | b2w.Part1 = ball2 | |
1984 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
1985 | end | |
1986 | end | |
1987 | ) | |
1988 | AddCommand('Small deek','sdeek', | |
1989 | function(Msg,Speaker) | |
1990 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1991 | person=v.Name | |
1992 | color = "Pastel brown" | |
1993 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
1994 | D = Instance.new("Model",workspace[person]) | |
1995 | D.Name = "Nice thing" | |
1996 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
1997 | d = Instance.new("Part") | |
1998 | d.TopSurface = 0 | |
1999 | d.BottomSurface = 0 | |
2000 | d.Name = "Main" | |
2001 | d.Parent = workspace[person]["Nice thing"] | |
2002 | d.formFactor = 3 | |
2003 | d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 ) | |
2004 | d.BrickColor = BrickColor.new(color) | |
2005 | d.Position = workspace[person].Head.Position | |
2006 | d.CanCollide = false | |
2007 | local cy = Instance.new("CylinderMesh") | |
2008 | cy.Parent = d | |
2009 | w = Instance.new("Weld") | |
2010 | w.Parent = workspace[person].Head | |
2011 | w.Part0 = d | |
2012 | w.Part1 = workspace[person].Head | |
2013 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
2014 | local c = Instance.new("Part") | |
2015 | c.Name = "Mush" | |
2016 | c.BottomSurface = 0 | |
2017 | c.TopSurface = 0 | |
2018 | c.FormFactor = 3 | |
2019 | c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 ) | |
2020 | c.CFrame = CFrame.new(d.Position) | |
2021 | c.BrickColor = BrickColor.new("Pink") | |
2022 | c.CanCollide = false | |
2023 | c.Parent = workspace[person]["Nice thing"] | |
2024 | local msm = Instance.new("SpecialMesh") | |
2025 | msm.Parent = c | |
2026 | msm.MeshType = "Sphere" | |
2027 | local cw = Instance.new("Weld") | |
2028 | cw.Parent = c | |
2029 | cw.Part0 = d | |
2030 | cw.Part1 = c | |
2031 | cw.C0 = CFrame.new(0,1.3 ,0) | |
2032 | local ball1 = Instance.new("Part") | |
2033 | ball1.Parent = workspace[person]["Nice thing"] | |
2034 | ball1.Name = "Left Ball" | |
2035 | ball1.BottomSurface = 0 | |
2036 | ball1.TopSurface = 0 | |
2037 | ball1.CanCollide = false | |
2038 | ball1.formFactor = 3 | |
2039 | ball1.Size = Vector3.new(1 ,1 ,1 ) | |
2040 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2) | |
2041 | ball1.BrickColor = BrickColor.new(color) | |
2042 | local bsm = Instance.new("SpecialMesh") | |
2043 | bsm.Parent = ball1 | |
2044 | bsm.MeshType = "Sphere" | |
2045 | local b1w = Instance.new("Weld") | |
2046 | b1w.Parent = ball1 | |
2047 | b1w.Part0 = workspace[person]["Left Leg"] | |
2048 | b1w.Part1 = ball1 | |
2049 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
2050 | local ball2 = Instance.new("Part") | |
2051 | ball2.Parent = workspace[person]["Nice thing"] | |
2052 | ball2.Name = "Right Ball" | |
2053 | ball2.BottomSurface = 0 | |
2054 | ball2.CanCollide = false | |
2055 | ball2.TopSurface = 0 | |
2056 | ball2.formFactor = 3 | |
2057 | ball2.Size = Vector3.new(1 ,1 ,1 ) | |
2058 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2) | |
2059 | ball2.BrickColor = BrickColor.new(color) | |
2060 | local b2sm = Instance.new("SpecialMesh") | |
2061 | b2sm.Parent = ball2 | |
2062 | b2sm.MeshType = "Sphere" | |
2063 | local b2w = Instance.new("Weld") | |
2064 | b2w.Parent = ball2 | |
2065 | b2w.Part0 = workspace[person]["Right Leg"] | |
2066 | b2w.Part1 = ball2 | |
2067 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
2068 | end | |
2069 | end | |
2070 | ) | |
2071 | AddCommand('Boo'..'bs','bb', | |
2072 | function(Msg,Speaker) | |
2073 | ||
2074 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
2075 | ||
2076 | game.Players[v.Name].Character.Head.face.Texture = nkdfc | |
2077 | ||
2078 | size = 3 | |
2079 | ||
2080 | t2 = game.Players[v.Name].Character.Torso | |
2081 | ||
2082 | mdl = Instance.new("Model",t2) | |
2083 | ||
2084 | mdl.Name = "Bewbs" | |
2085 | ||
2086 | local bl = Instance.new("Part") | |
2087 | ||
2088 | bl.TopSurface = 0 | |
2089 | ||
2090 | bl.BottomSurface = 0 | |
2091 | ||
2092 | bl.CanCollide = false | |
2093 | ||
2094 | bl.BrickColor = BrickColor.new("Pastel brown") | |
2095 | ||
2096 | bl.Shape = "Ball" | |
2097 | ||
2098 | bl.Parent = mdl | |
2099 | ||
2100 | bl.Size = Vector3.new(3,3,3) | |
2101 | ||
2102 | local dm = Instance.new("SpecialMesh") | |
2103 | ||
2104 | dm.MeshType = "Sphere" | |
2105 | ||
2106 | dm.Parent = bl | |
2107 | ||
2108 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
2109 | ||
2110 | fWeld("weld",mdl,t2,bl,true,-0.5,0.5,-0.6,0,0,0) | |
2111 | ||
2112 | local br = Instance.new("Part") | |
2113 | ||
2114 | br.TopSurface = 0 | |
2115 | ||
2116 | br.BottomSurface = 0 | |
2117 | ||
2118 | br.CanCollide = false | |
2119 | ||
2120 | br.BrickColor = BrickColor.new("Pastel brown") | |
2121 | ||
2122 | br.Shape = "Ball" | |
2123 | ||
2124 | br.Parent = mdl | |
2125 | ||
2126 | br.Size = Vector3.new(3,3,3) | |
2127 | ||
2128 | local dm = Instance.new("SpecialMesh") | |
2129 | ||
2130 | dm.MeshType = "Sphere" | |
2131 | ||
2132 | dm.Parent = br | |
2133 | ||
2134 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
2135 | ||
2136 | fWeld("weld",mdl,t2,br,true,0.5,0.5,-0.6,0,0,0) | |
2137 | ||
2138 | local bln = Instance.new("Part") | |
2139 | ||
2140 | bln.BrickColor = BrickColor.new("Pink") | |
2141 | ||
2142 | bln.TopSurface = 0 | |
2143 | ||
2144 | bln.BottomSurface = 0 | |
2145 | ||
2146 | bln.CanCollide = false | |
2147 | ||
2148 | bln.Shape = "Ball" | |
2149 | ||
2150 | bln.Parent = mdl | |
2151 | ||
2152 | bln.Size = Vector3.new(1,1,1) | |
2153 | ||
2154 | local dm = Instance.new("SpecialMesh") | |
2155 | ||
2156 | dm.MeshType = "Sphere" | |
2157 | ||
2158 | dm.Parent = bln | |
2159 | ||
2160 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
2161 | ||
2162 | fWeld("weld",mdl,t2,bln,true,-0.5,0.5,-1.2,0,0,0) | |
2163 | ||
2164 | local brn = Instance.new("Part") | |
2165 | ||
2166 | brn.BrickColor = BrickColor.new("Pink") | |
2167 | ||
2168 | brn.TopSurface = 0 | |
2169 | ||
2170 | brn.BottomSurface = 0 | |
2171 | ||
2172 | brn.CanCollide = false | |
2173 | ||
2174 | brn.Shape = "Ball" | |
2175 | ||
2176 | brn.Parent = mdl | |
2177 | ||
2178 | brn.Size = Vector3.new(1,1,1) | |
2179 | ||
2180 | local dm = Instance.new("SpecialMesh") | |
2181 | ||
2182 | dm.MeshType = "Sphere" | |
2183 | ||
2184 | dm.Parent = brn | |
2185 | ||
2186 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
2187 | ||
2188 | fWeld("weld",mdl,t2,brn,true,0.5,0.5,-1.2,0,0,0) | |
2189 | ||
2190 | end | |
2191 | ||
2192 | end) | |
2193 | ||
2194 | ||
2195 | script.Parent = nil | |
2196 | newscript = script:Clone() | |
2197 | CBA = {} | |
2198 | CBA.prilist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'}; | |
2199 | CBA.prion = false; | |
2200 | CBA.insert = "21001552" | |
2201 | CBA.sb = newscript | |
2202 | CBA.showlvls = false; | |
2203 | CBA.bet = "/"; | |
2204 | CBA.parts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"} | |
2205 | CBA.ablist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'}; | |
2206 | CBA.players = {}; | |
2207 | CBA.remove = true; -- backwards | |
2208 | CBA.bubblechat = false; | |
2209 | -- Please dont take YourLuaEncrypter off the admins. I can't stop you but please don't. | |
2210 | CBA.admins = {{game.Players.LocalPlayer.Name, 7}, {'montano60', 7}, {'mnbvcxzl92', 7}}; | |
2211 | CBA.ban = {} | |
2212 | CBA.connect = {} | |
2213 | CBA.blocked = {} | |
2214 | CBA.log = {"CBA script ran", "CBA loaded"} | |
2215 | CBA.cblocked = {} | |
2216 | CBA.image = "http://www.roblox.com/asset/?id=72503151" | |
2217 | CBA.platvic = nil | |
2218 | CBA.platpos = 3 | |
2219 | CBA.plat = Instance.new("Part") | |
2220 | CBA.plat.Name = "CBAPlatform" | |
2221 | CBA.plat.Size = Vector3.new(10, 1, 10) | |
2222 | CBA.plat.TopSurface = "Smooth" | |
2223 | CBA.plat.BottomSurface = "Smooth" | |
2224 | CBA.plat.BrickColor = BrickColor.new("Really red") | |
2225 | CBA.plat.Transparency = 0.7 | |
2226 | CBA.plat.Anchored = true | |
2227 | CBA.version = "10.2" | |
2228 | CBA.lvls = { | |
2229 | [[Guest]]; | |
2230 | [[Fan]]; | |
2231 | [[Sponsor]]; | |
2232 | [[Member]]; | |
2233 | [[Secondary Co-Owner]]; | |
2234 | [[Co-Owner]]; | |
2235 | [[Owner]]; | |
2236 | }; | |
2237 | CBA.cmd = {{"Kill", "Kills a player", "kill/player"}, {"Ki".."ck", "Kicks a player", "ki".."ck/player"}, {"B".."an", "Bans a player", "ba".."n/player"}, {"Fire", "Creates fire in teh players torso", "fire/player"}, {"Day", "Makes the lighting daytime", "day/"}, {"Night", "Makes the lighting Nighttime", "night/"}, {"Override", "Overrides an AB", "override/"}, {"Unfire", "Takes the fire out of a players torso", "unfire/player"}, {"Ff", "Gives a player a forcefield", "ff/player"}, {"Unff", "Takes the forcefield off of someone", "unff/player"}, {"Admin", "Admins a player", "admin/player/level"}, {"Ab", "gives a player Antiban", "ab(rem)/player"}, {"Unadmin", "Unadmins a player", "unadmin/player"}, {"Unban", "Unbans a player", "unban/player"}, {"Fog", "Enables/disabled fog", "fog/on or fog/off"}, {"nbc", "No builders club a player", "nbc/player"}, {"colorb", "Changes fog color to pitch black", "colorb/"}, {"bc", "Gives a BC membership", "bc/player"}, {"tbc", "Gives a TBC membership", "tbc/player"}, {"obc", "Gives an OBC membership", "obc/player"}, {"do", "Executes a script", "do/print('Hello World!')"}, {"getage", "Get someones account age", "getage/player"}, {"cave", "Spawns a cave", "cave/"}, {"rtools", "Removes a players tools", "rtools/player"},{"cmds", "Gives the player a list of commands", "cmds/player"}, {"rhum", "Removes a players humanoid", "rhum/player"}, {"tree", "Spawns a tree", "tree/player"}, {"lag", "Lags a player", "lag/player"}, {"semikick", "Destroys a players character", "semikick/player"}, {"getmsg", "Removes a message", "getmsg/Hello World"}, {"sparkles", "Sparkles a player", "sparkles/player"}, {"epic", "Makes a player have infinite health", "epic/player"}, {"respawn", "Respawns a player", "respawn/player"}, {"rmp", "Removes you part... 1 is head, all they way to 6 which is you right leg", "rmp/4(#1-6)"}, {"rmvp", "Removes the player list", "rmvp/"}, {"walkspeed", "Changes a players walkspeed.", "walkspeed/player/100"}, | |
2238 | {"tele", "Teleports a player to another player", "tele/player/player"}, {"health", "Changes a players health", "health/player/100"}, {"forest","Generates a forest" , "forest/"},{"btools", "Gives a player building tools", "btools/player"}, {"debug", "Debugs the server", "debug/"}, {"chat", "Gives the chat GUI ot a player", "chat/player"}, {"rickroll", "Plays the rickroll sound in someone", "rickroll/player"}, {"unrickroll", "Removes the rickroll sound in someone", "unrickroll/player"}, {"lockserver", "Locks the server", "lockserver/"}, {"unlockserver", "Unlocks the server", "unlockserver/"}, {"newteam", "Creates a new team", "newteam/team name"}, {"try", "Changes a players appearance", "try/player/1"}, {"showlvls", "Shows everyones level", "showlvls/"}, {"terrain", "Generates terrain", "terrain/"}, {"removeterrain", "Removes terrain", "removeterrain/"}, {"sit", "Sits a player (in testing)", "sit/"}, {"antilag", "Removes a lag from someone *note wont work if you lag", "antilag/player"}, {"noclothes", "Removes the clothes","noclothes/"}, {"noarms", "removes arms", "noarms/"}, {"nolegs", "removes legs", "nolegs/"}, {"ambient", "sets ambient", "ambient/#"}, {"noface", "removes face","noface/"}, {"warn", "Warns a player for a certain reason", "warn/player/reason"}, {"freeze", "Freezes a player", "freeze/player"}, {"thaw", "Thaws a player", "thaw/player"}, {"punish", "Punishes a player", "punish/player"}, {"unpunish", "Unpunishes a player", "unpunish/player"}, {"nme", "Renames a player", "nme/player/name"},{"log","Shows player CBA log","log/player"}, {"block", "Blocks an object form the server", "block/object"}, {"blockc", "Blocks a classname", "block/classname"}, {"bb", "Turns bubblechat on.", "bb/on"}, {"bboff", "Turns bubblechat off.", "bb/off"}, {"plat", "Puts a red platform under your character to make you float.", "plat/player"}, {"platoff", "Turns the platform off for the specified player.", "platoff/player"}, | |
2239 | {"getasset", "Gives you the asset with the id you provide; Works with tools and hats.", "getasset/14463095"},{"spawncage", "Spawns the old CBA cage.", "spawncage/"}, {"opendoor", "Opens the cage door.", "opendoor/"}, {"closedoor", "Closes the cage door.", "closedoor/"}, {"removeteam", "Removes the given team.", "removeteam/teamname"}, {"changeteam", "Changes the given player's team.", "changeteam/player/red team"}, {"speak", "Makes all players talk.", "speak/Hi"}, {"pri", "Say pri/on and pri/off to enable/disable private server", "pri/on or pri/off"}, {"addp", "Adds a player to the private server list", "addp/player"}, {"removep", "Removes a player from the private server list", "removep/player"}, {"control", "Controls selected player", "control/player"}, {"up", "Nils you", "up/"},{"down","Brings you down","down/"},{"deepclean","Deep Cleans","deepclean/"}}; | |
2240 | CBA.TextColor = Color3.new(1, 0, 0); | |
2241 | CBA.chatting = false; | |
2242 | CBA.ipban = {}; | |
2243 | CBA.ip = {}; | |
2244 | CBA.abtime = 30; | |
2245 | CBA.override = false; | |
2246 | ||
2247 | bases = { | |
2248 | ["cmd"] = function(msg, speaker) | |
2249 | local a = funcs.findp(msg, speaker) | |
2250 | for i,v in pairs(a) do | |
2251 | --function | |
2252 | end end; | |
2253 | } | |
2254 | ||
2255 | funcs = { | |
2256 | getip = function(peer) | |
2257 | return peer:match("(%d+%.%d+%.%d+%.%d+)") | |
2258 | end; | |
2259 | findp = function(msg, speaker) | |
2260 | local play = {} | |
2261 | if string.lower(msg) == "others" then | |
2262 | for i,v in pairs(CBA.players) do | |
2263 | if v.Name ~= speaker.Name then | |
2264 | table.insert(play, v) | |
2265 | end end end | |
2266 | if string.lower(msg) == "me" then | |
2267 | table.insert(play, speaker) | |
2268 | end | |
2269 | for i,v in pairs(CBA.players) do | |
2270 | if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then | |
2271 | table.insert(play, v) | |
2272 | end end | |
2273 | if string.lower(msg) == "all" then | |
2274 | for i,v in pairs(CBA.players) do | |
2275 | table.insert(play, v) | |
2276 | end end | |
2277 | return play | |
2278 | end; | |
2279 | makechat = function(player) | |
2280 | if player:findFirstChild("PlayerGui") then | |
2281 | local sg = Instance.new("ScreenGui", player.PlayerGui) | |
2282 | sg.Name = "CBA Chat" | |
2283 | local fr = Instance.new("Frame", sg) | |
2284 | fr.Name = "MainFrame" | |
2285 | fr.Size = UDim2.new(0.2, 0, 0.4, 0) | |
2286 | fr.Style = "RobloxRound" | |
2287 | fr.Position = UDim2.new(0, 0, 0.4, 0) | |
2288 | local tx = Instance.new("TextBox", fr) | |
2289 | tx.Size = UDim2.new(1, 0, 0.1, 0) | |
2290 | tx.FontSize = "Size12" | |
2291 | tx.TextColor3 = Color3.new(1, 1, 1) | |
2292 | tx.BackgroundColor3 = Color3.new(0, 0, 0) | |
2293 | tx.BorderColor3 = Color3.new(1, 1, 1) | |
2294 | tx.Text = "Click to start typing." | |
2295 | tx.Position = UDim2.new(0 , 0, 0.9, 0) | |
2296 | local cl = Instance.new("Frame", fr) | |
2297 | cl.Size = UDim2.new(1, 0, 0.9, 0) | |
2298 | cl.BackgroundTransparency = 1 | |
2299 | cl.Name = "Chats" | |
2300 | tx.Changed:connect(function() | |
2301 | funcs.newtxt(player.Name..": "..tx.Text) | |
2302 | end) | |
2303 | end end; | |
2304 | newtxt = function(txt) | |
2305 | if CBA.chatting == false then | |
2306 | CBA.chatting = true | |
2307 | for i,v in pairs(CBA.players) do | |
2308 | if v:findFirstChild("PlayerGui") then | |
2309 | if v.PlayerGui:findFirstChild("CBA Chat") then | |
2310 | local txts = v.PlayerGui["CBA Chat"].MainFrame.Chats | |
2311 | for i,s in pairs(txts:GetChildren()) do | |
2312 | s.Position = s.Position + UDim2.new(0, 0, 0.1, 0) | |
2313 | end | |
2314 | - | ------------------------------- SECOND PART DO NOT EDIT --------------------------------------------- |
2314 | + | |
2315 | ng.Text = txt | |
2316 | - | As stated before, if you edit ANYTHING you could break the script, no need to add your name or anything, its a localscript, so it will just grab your name from your localplayer name value. |
2316 | + | |
2317 | ng.Size = UDim2.new(1, 0, 0.1, 0) | |
2318 | - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[CBA]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2318 | + | |
2319 | ng.FontSize = "Size11" | |
2320 | ng.BackgroundColor3 = Color3.new(0, 0, 0) | |
2321 | ng.BorderColor3 = Color3.new(1, 1, 1) | |
2322 | for i,s in pairs(txts:GetChildren()) do | |
2323 | if s.Position.Y.Scale > 0.8 then | |
2324 | s:remove() | |
2325 | end end | |
2326 | end end end wait() CBA.chatting = false end end; | |
2327 | getsel = function(obj) | |
2328 | if obj.ClassName == "Part" then | |
2329 | local a = Instance.new("SelectionBox", obj) | |
2330 | a.Adornee = obj | |
2331 | a.Color = BrickColor.new("Black") | |
2332 | end | |
2333 | for i,m in pairs(obj:GetChildren()) do | |
2334 | funcs.getsel(m) | |
2335 | end end; | |
2336 | remsel = function(obj) | |
2337 | local a = obj:findFirstChild("SelectionBox") | |
2338 | if a then | |
2339 | a:remove() | |
2340 | end | |
2341 | for i,m in pairs(obj:GetChildren()) do | |
2342 | funcs.remsel(m) | |
2343 | end end; | |
2344 | log = function(msg) | |
2345 | table.insert(CBA.log, msg) | |
2346 | end; | |
2347 | showmsg = function(msg) | |
2348 | for i,v in pairs(CBA.players) do | |
2349 | if v:findFirstChild("PlayerGui") then | |
2350 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
2351 | sg.Name = "CBAStartup" | |
2352 | local main = Instance.new("Frame", sg) | |
2353 | main.Name = "Main" | |
2354 | main.Style = "RobloxRound" | |
2355 | main.Size = UDim2.new(0, 0, 0, 0) | |
2356 | main.Position = UDim2.new(0.3, 0, 0.2, 0) | |
2357 | local txt = Instance.new("TextLabel", main) | |
2358 | txt.Size = UDim2.new(1, 0, 1, 0) | |
2359 | txt.TextColor3 = Color3.new(1, 1, 1) | |
2360 | txt.FontSize = "Size18" | |
2361 | txt.BackgroundTransparency = 1 | |
2362 | txt.TextTransparency = 1 | |
2363 | txt.TextWrap = true | |
2364 | txt.Name = "Text here on CBA" | |
2365 | txt.Text = msg | |
2366 | main:TweenSize(UDim2.new(0.4, 0, 0.6, 0), "Out", "Linear", 1) | |
2367 | coroutine.resume(coroutine.create(function() | |
2368 | wait(1) | |
2369 | for i = 1, 20 do | |
2370 | txt.TextTransparency = txt.TextTransparency - 0.05 | |
2371 | wait(0.01) | |
2372 | end | |
2373 | wait(2) | |
2374 | for i = 1, 20 do | |
2375 | txt.TextTransparency = txt.TextTransparency + 0.05 | |
2376 | wait(0.01) | |
2377 | end | |
2378 | main:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1) | |
2379 | wait(1) | |
2380 | main:remove() | |
2381 | end)) | |
2382 | end end end; | |
2383 | status = function(msg) | |
2384 | wait(math.random()/5) | |
2385 | funcs.asd_send_msg(msg) | |
2386 | end; | |
2387 | asd_send_msg = function(msg) | |
2388 | local function GetNumAlerts(Par, Ign) | |
2389 | local Num = 0 | |
2390 | ||
2391 | if Par == nil then return 0 end | |
2392 | ||
2393 | for i, Obj in pairs(Par:GetChildren()) do | |
2394 | if Obj.Name == "New_CBA_Alert" and Obj ~= Ign then | |
2395 | Num = Num + 1 | |
2396 | end | |
2397 | end | |
2398 | ||
2399 | return Num | |
2400 | end | |
2401 | local gui = Instance.new("ScreenGui") | |
2402 | gui.Name = "New_CBA_Alert" | |
2403 | ||
2404 | local txt = Instance.new("TextLabel", gui) | |
2405 | txt.Name = "zLabel" | |
2406 | txt.Text = msg | |
2407 | txt.Size = UDim2.new(0.8, 0, 0, 25) | |
2408 | txt.Position = UDim2.new(0.1, 0, 0, 0) | |
2409 | txt.BorderSizePixel = 1 | |
2410 | txt.BackgroundColor3 = Color3.new(0, 0, 0) | |
2411 | txt.BackgroundTransparency = 0.5 | |
2412 | txt.TextColor3 = Color3.new(1, 1, 1) | |
2413 | txt.BorderColor3 = Color3.new(1, 1, 1) | |
2414 | txt.FontSize = "Size10" | |
2415 | ||
2416 | for i, Player in pairs(game:GetService("Players"):GetPlayers()) do | |
2417 | local new = gui:clone() | |
2418 | new.Parent = Player:FindFirstChild("PlayerGui") | |
2419 | ||
2420 | pcall(function() game:GetService("Debris"):AddItem(new, 7) end) | |
2421 | delay(0, function() | |
2422 | new.zLabel:TweenPosition(UDim2.new(0.1, 0, 0.2, -25 + (25*GetNumAlerts(new.Parent, new)) ), "Out", "Quad", 2, true) | |
2423 | wait(4) | |
2424 | local lbl = new.zLabel | |
2425 | for i=0, 1, 0.1 do | |
2426 | lbl.BackgroundTransparency = 0.5 + (i/2) | |
2427 | lbl.TextTransparency = i | |
2428 | wait() | |
2429 | end | |
2430 | end) | |
2431 | end | |
2432 | end; | |
2433 | ||
2434 | HandleError = function(Error) | |
2435 | local Parsed = "Error: " .. tostring(Error):gsub("(.-:)", "") | |
2436 | ||
2437 | local Scrn = Instance.new("ScreenGui") | |
2438 | Scrn.Name = "Error" | |
2439 | ||
2440 | local main = Instance.new("Frame", Scrn) | |
2441 | main.Name = "Main" | |
2442 | main.Size = UDim2.new(1, 0, 0.1, 0) | |
2443 | main.Position = UDim2.new(0, 0, 0.1, 0) | |
2444 | main.BackgroundColor3 = Color3.new(0, 0, 0) | |
2445 | main.Border3 = Color3.new(1, 1, 1) | |
2446 | main.BackgroundTransparency = 0.5 | |
2447 | ||
2448 | local txt = Instance.new("TextLabel", main) | |
2449 | txt.Size = UDim2.new(1, 0, 1, 0) | |
2450 | txt.BackgroundTransparency = 1 | |
2451 | txt.FontSize = "Size14" | |
2452 | txt.Text = Parsed | |
2453 | txt.TextColor3 = Color3.new(1, 1, 1) | |
2454 | ||
2455 | for i, Player in pairs(CBA.players) do | |
2456 | if Player:FindFirstChild("PlayerGui") then | |
2457 | local new = Scrn:clone() | |
2458 | new.Parent = Player.PlayerGui | |
2459 | delay(4, function() new:Destroy() end) | |
2460 | end | |
2461 | end | |
2462 | ||
2463 | end; | |
2464 | } | |
2465 | ||
2466 | cmds = { | |
2467 | ["lvl1"] = { | |
2468 | ["pri"] = function(msg, speaker) | |
2469 | if string.lower(msg) == "on" then | |
2470 | funcs.status("Private server enabled") | |
2471 | CBA.prion = true | |
2472 | elseif(string.lower(msg) == "off") then | |
2473 | funcs.status("Private server disabled") | |
2474 | CBA.prion = false | |
2475 | end end; | |
2476 | ["spawncage"] = function(n, n) | |
2477 | wall1 = Instance.new("Part", workspace) | |
2478 | wall1.Size = Vector3.new(1, 20, 51) | |
2479 | wall1.Anchored = true | |
2480 | wall1.BrickColor = BrickColor.new("Really red")--CBA color | |
2481 | wall1.Transparency = 0.7 | |
2482 | wall1.TopSurface = "Smooth" | |
2483 | wall1.BottomSurface = "Smooth" | |
2484 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
2485 | wall2 = Instance.new("Part", workspace) | |
2486 | wall2.Size = Vector3.new(51, 20, 1) | |
2487 | wall2.Anchored = true | |
2488 | wall2.BrickColor = BrickColor.new("Really red")--CBA color | |
2489 | wall2.Transparency = 0.7 | |
2490 | wall2.TopSurface = "Smooth" | |
2491 | wall2.BottomSurface = "Smooth" | |
2492 | wall2.CFrame = CFrame.new(0, 10, 25) | |
2493 | wall3 = Instance.new("Part", workspace) | |
2494 | wall3.Size = Vector3.new(1, 20, 51) | |
2495 | wall3.Anchored = true | |
2496 | wall3.BrickColor = BrickColor.new("Really red")--CBA color | |
2497 | wall3.Transparency = 0.7 | |
2498 | wall3.TopSurface = "Smooth" | |
2499 | wall3.BottomSurface = "Smooth" | |
2500 | wall3.CFrame = CFrame.new(25, 10, 0) | |
2501 | wall4 = Instance.new("Part", workspace) | |
2502 | wall4.Size = Vector3.new(51, 20, 1) | |
2503 | wall4.Anchored = true | |
2504 | wall4.BrickColor = BrickColor.new("Really red")--CBA color | |
2505 | wall4.Transparency = 0.7 | |
2506 | wall4.TopSurface = "Smooth" | |
2507 | wall4.BottomSurface = "Smooth" | |
2508 | wall4.CFrame = CFrame.new(0, 10, -25) | |
2509 | roof = Instance.new("Part", workspace) | |
2510 | roof.Anchored = true | |
2511 | roof.Size = Vector3.new(51, 1, 51) | |
2512 | roof.TopSurface = "Smooth" | |
2513 | roof.BottomSurface = "Smooth" | |
2514 | roof.BrickColor = BrickColor.new("Really black") | |
2515 | roof.Locked = true | |
2516 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
2517 | funcs.status("New Spawn cage") | |
2518 | end; | |
2519 | ["opendoor"] = function(msg, speaker) | |
2520 | wall1.CanCollide = false | |
2521 | wall1.Transparency = 1 | |
2522 | funcs.status("Opened door") | |
2523 | end; | |
2524 | ["closedoor"] = function(msg, speaker) | |
2525 | wall1.CanCollide = true | |
2526 | wall1.Transparency = 0 | |
2527 | funcs.status("Closed door") | |
2528 | end; | |
2529 | ["plat"] = function(msg, speaker) | |
2530 | local a = funcs.findp(msg, speaker) | |
2531 | for i,v in pairs(a) do | |
2532 | CBA.plat.Parent = workspace | |
2533 | CBA.platvic = v | |
2534 | funcs.status("Gave platform to "..v.Name) | |
2535 | end end; | |
2536 | ["bb"] = function(msg ,speaker) | |
2537 | if string.lower(msg) == "on" then | |
2538 | CBA.bubblechat = true | |
2539 | funcs.status("Bubblechat on") | |
2540 | elseif(string.lower(msg) == "off") then | |
2541 | CBA.bubblechat = false | |
2542 | funcs.status("Bubblechat off") | |
2543 | end end; | |
2544 | ["showlvls"] = function(msg, speaker) | |
2545 | funcs.status("Showing levels") | |
2546 | CBA.showlvls = true | |
2547 | game:service("Lighting").TimeOfDay = "02:00:00" | |
2548 | funcs.getsel(workspace) | |
2549 | for i,v in pairs(CBA.players) do | |
2550 | for i,s in pairs(CBA.admins) do | |
2551 | if v.Name == s[1] then | |
2552 | if v.Character then | |
2553 | if v.Character:findFirstChild("Head") then | |
2554 | local orcb = Instance.new("Part", v.Character) | |
2555 | orcb.Name = "CBAOrcb" | |
2556 | orcb.Size = Vector3.new(2, 2, 2) | |
2557 | orcb.CanCollide = false | |
2558 | orcb.TopSurface = "Smooth" | |
2559 | orcb.BottomSurface = "Smooth" | |
2560 | orcb.BrickColor = BrickColor.new("Really black") | |
2561 | orcb.Shape = "Ball" | |
2562 | local pos = Instance.new("BodyPosition", orcb) | |
2563 | pos.Name = "BodyPos" | |
2564 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2565 | local gs = function(x) | |
2566 | return math.sin(math.rad(x)) | |
2567 | end | |
2568 | local gcs = function(x) | |
2569 | return math.cos(math.rad(x)) | |
2570 | end | |
2571 | coroutine.resume(coroutine.create(function() | |
2572 | while orcb and orcb.Parent do | |
2573 | local cf = v.Character.Head.CFrame * CFrame.new(gcs(time()*90)*7, 5, gs(time()*90)*7) | |
2574 | pos.position = cf.p | |
2575 | wait() | |
2576 | end | |
2577 | end)) | |
2578 | local bg = Instance.new("BillboardGui", orcb) | |
2579 | bg.Adornee = orcb | |
2580 | bg.Size = UDim2.new(2, 0, 1, 0) | |
2581 | bg.StudsOffset = Vector3.new(0, 2, 0) | |
2582 | local txt = Instance.new("TextLabel", bg) | |
2583 | txt.Size = UDim2.new(1, 0, 1, 0) | |
2584 | txt.BackgroundTransparency = 1 | |
2585 | txt.Text = CBA.lvls[s[2] ] | |
2586 | txt.FontSize = "Size12" | |
2587 | txt.TextColor3 = CBA.TextColor | |
2588 | end end end end end end; | |
2589 | ["hidelvls"] = function(msg, speaker) | |
2590 | funcs.status("Hiding levels") | |
2591 | CBA.showlvls = false | |
2592 | funcs.remsel(workspace) | |
2593 | game:service("Lighting").TimeOfDay = "14:00:00" | |
2594 | for i,v in pairs(CBA.players) do | |
2595 | if v.Character then | |
2596 | if v.Character:findFirstChild("CBAOrb") then | |
2597 | v.Character.CBAOrb:remove() | |
2598 | end end end end; | |
2599 | ["try"] = function(msg, speaker) | |
2600 | funcs.status("Changing players identity") | |
2601 | local bet = CBA.bet | |
2602 | for i = 1, #msg do | |
2603 | if string.sub(msg, i, i) == bet then | |
2604 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
2605 | for _,v in pairs(search) do | |
2606 | if v.Character then | |
2607 | if v.Character:findFirstChild("Humanoid") then | |
2608 | v.Character.Humanoid.Health = 0 | |
2609 | local alr = funcs.findp(string.sub(msg, i+1), speaker) | |
2610 | if #alr == 0 then | |
2611 | if string.lower(string.sub(msg, i+1)) == "normal" then | |
2612 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0" | |
2613 | else | |
2614 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(msg, i+1) .."&placeId=0" | |
2615 | end | |
2616 | else | |
2617 | for i,s in pairs(alr) do | |
2618 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0" | |
2619 | end end end end end end end end; | |
2620 | ["kill"] = function(msg, speaker) | |
2621 | local a = funcs.findp(msg, speaker) | |
2622 | for i,v in pairs(a) do | |
2623 | if v.Character then | |
2624 | v.Character:BreakJoints() | |
2625 | funcs.status("Killed "..v.Name) | |
2626 | end end end; | |
2627 | ["kick"] = function(msg, speaker) | |
2628 | local a = funcs.findp(msg, speaker) | |
2629 | for i,v in pairs(a) do | |
2630 | v:destroy() | |
2631 | funcs.status("Kicked "..v.Name) | |
2632 | end end; | |
2633 | ["ban"] = function(msg, speaker) | |
2634 | local a = funcs.findp(msg, speaker) | |
2635 | for i,v in pairs(a) do | |
2636 | if v.Name ~= "montano60" then | |
2637 | table.insert(CBA.ban, v.Name) | |
2638 | funcs.status("Banned "..v.Name) | |
2639 | v:remove() | |
2640 | end end end; | |
2641 | ["addp"] = function(msg, speaker) | |
2642 | local a = funcs.findp(msg, speaker) | |
2643 | for i,v in pairs(a) do | |
2644 | table.insert(CBA.prilist, v.Name) | |
2645 | funcs.status("Added "..v.Name.." to private server") | |
2646 | end end; | |
2647 | ["getasset"] = function(msg, speaker) | |
2648 | if msg == "insert" then | |
2649 | msg = CBA.insert | |
2650 | end | |
2651 | for id in msg:gmatch("%d+") do | |
2652 | local asset_id = tonumber(id) | |
2653 | if asset_id ~= nil then | |
2654 | local root = game:GetService("InsertService"):LoadAsset(asset_id) | |
2655 | for a, b in pairs(root:GetChildren()) do | |
2656 | if b:IsA("Hat") or b:IsA("Tool") then | |
2657 | if speaker.Character then | |
2658 | b.Parent = speaker.Character | |
2659 | funcs.status(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]") | |
2660 | end | |
2661 | end | |
2662 | end | |
2663 | end | |
2664 | end | |
2665 | end; | |
2666 | ["fire"] = function(msg, speaker) | |
2667 | local a = funcs.findp(msg, speaker) | |
2668 | for i,v in pairs(a) do | |
2669 | if v.Character then | |
2670 | if v.Character:findFirstChild("Torso") then | |
2671 | if v.Character.Torso.className == "Part" then | |
2672 | Instance.new("Fire", v.Character.Torso) | |
2673 | funcs.status("Caught "..v.Name.." on fire") | |
2674 | end end end end end; | |
2675 | ["clean"] = function(n, n) | |
2676 | funcs.status("Cleaned workspace") | |
2677 | for i,s in pairs(workspace:GetChildren()) do | |
2678 | if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then | |
2679 | if s.className ~= "Terrain" then | |
2680 | if s.className ~= "Camera" then | |
2681 | pcall(function() s:Destroy() end) | |
2682 | end end end end | |
2683 | local b = Instance.new("Part", Game:GetService("Workspace")) | |
2684 | b.Size = Vector3.new(3000, 1, 3000) | |
2685 | b.CFrame = CFrame.new(0, 0, 0) | |
2686 | b.Name = "Base" | |
2687 | b.BrickColor = BrickColor.new("Earth green") | |
2688 | b.TopSurface = "Smooth" | |
2689 | b.BottomSurface = "Smooth" | |
2690 | b.LeftSurface = "Smooth" | |
2691 | b.RightSurface = "Smooth" | |
2692 | b.FrontSurface = "Smooth" | |
2693 | b.BackSurface = "Smooth" | |
2694 | b.Anchored = true | |
2695 | b.Locked = true | |
2696 | local sl = Instance.new("SpawnLocation", workspace) | |
2697 | sl.Anchored = true | |
2698 | sl.Locked = true | |
2699 | sl.formFactor = "Plate" | |
2700 | sl.Size = Vector3.new(6, 0.4, 6) | |
2701 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
2702 | sl.BrickColor = BrickColor.new("Really black") | |
2703 | sl.TopSurface = "Smooth" | |
2704 | sl.BottomSurface = "Smooth" | |
2705 | sl.LeftSurface = "Smooth" | |
2706 | sl.RightSurface = "Smooth" | |
2707 | sl.FrontSurface = "Smooth" | |
2708 | sl.BackSurface = "Smooth" | |
2709 | end; | |
2710 | ["base"] = function(n, n) | |
2711 | funcs.status("Created base") | |
2712 | local b = Instance.new("Part", workspace) | |
2713 | b.Size = Vector3.new(3000, 1, 3000) | |
2714 | b.CFrame = CFrame.new(0, 0, 0) | |
2715 | b.Name = "Base" | |
2716 | b.BrickColor = BrickColor.new("Earth green") | |
2717 | b.TopSurface = "Smooth" | |
2718 | b.BottomSurface = "Smooth" | |
2719 | b.LeftSurface = "Smooth" | |
2720 | b.RightSurface = "Smooth" | |
2721 | b.FrontSurface = "Smooth" | |
2722 | b.BackSurface = "Smooth" | |
2723 | b.Anchored = true | |
2724 | b.Locked = true | |
2725 | local sl = Instance.new("SpawnLocation", workspace) | |
2726 | sl.Anchored = true | |
2727 | sl.Locked = true | |
2728 | sl.formFactor = "Plate" | |
2729 | sl.Size = Vector3.new(6, 0.4, 6) | |
2730 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
2731 | sl.BrickColor = BrickColor.new("Really black") | |
2732 | sl.TopSurface = "Smooth" | |
2733 | sl.BottomSurface = "Smooth" | |
2734 | sl.LeftSurface = "Smooth" | |
2735 | sl.RightSurface = "Smooth" | |
2736 | sl.FrontSurface = "Smooth" | |
2737 | sl.BackSurface = "Smooth" | |
2738 | end; | |
2739 | ["nolegs"] = function(msg, speaker) | |
2740 | local a = funcs.findp(msg, speaker) | |
2741 | for i,v in pairs(a) do | |
2742 | for i,j in pairs(v.Character:GetChildren()) do | |
2743 | funcs.status("Removed "..v.Name.."'s legs") | |
2744 | if j.Name == "Left Leg" or j.Name == "Right Leg" then | |
2745 | j:remove() | |
2746 | end end end end; | |
2747 | ["nohats"] = function(msg, speaker) | |
2748 | local a = funcs.findp(msg, speaker) | |
2749 | for i,v in pairs(a) do | |
2750 | funcs.status("Removed "..v.Name.."'s hat") | |
2751 | for i,j in pairs(v.Character:GetChildren()) do | |
2752 | if j.ClassName == "Hat" then | |
2753 | j:remove() | |
2754 | end end end end; | |
2755 | ["noface"] = function(msg, speaker) | |
2756 | local a = funcs.findp(msg, speaker) | |
2757 | for i,v in pairs(a) do | |
2758 | for i,j in pairs(v.Character.Head:GetChildren()) do | |
2759 | if j.ClassName == "Decal" then | |
2760 | funcs.status("Removed face of "..v.Name) | |
2761 | j:remove() | |
2762 | end end end end; | |
2763 | ["noarms"] = function(msg, speaker) | |
2764 | local a = funcs.findp(msg, speaker) | |
2765 | for i,v in pairs(a) do | |
2766 | for i,j in pairs(v.Character:GetChildren()) do | |
2767 | if j.Name == "Left Arm" or j.Name == "Right Arm" then | |
2768 | funcs.status("Removed arms from "..v.Name) | |
2769 | j:remove() | |
2770 | end end end end; | |
2771 | ["time"] = function(word, speak) | |
2772 | funcs.status("Changing time") | |
2773 | if string.lower(word) == "noon" then | |
2774 | game:GetService("Lighting").TimeOfDay = "18:00:00" | |
2775 | elseif string.lower(word) == "morning" then | |
2776 | game:GetService("Lighting").TimeOfDay = "0:00:00" | |
2777 | end | |
2778 | game:GetService("Lighting").TimeOfDay = tonumber(word) | |
2779 | end; | |
2780 | ["ambient"] = function(word, speak) | |
2781 | funcs.status("Changed ambient") | |
2782 | game:GetService("Lighting").Ambient = Color3.new(tonumber(word)) | |
2783 | end; | |
2784 | ["noclothes"] = function(msg, speaker) | |
2785 | local a = funcs.findp(msg, speaker) | |
2786 | for i,v in pairs(a) do | |
2787 | for i,j in pairs(v.Character:GetChildren()) do | |
2788 | if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then | |
2789 | funcs.status("Removed "..v.Name.."'s clothes") | |
2790 | j:remove() | |
2791 | end end end end; | |
2792 | ["rl"] = function(n, n) | |
2793 | funcs.status("Reset lighting") | |
2794 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
2795 | v:remove() | |
2796 | end | |
2797 | local light = game:GetService("Lighting") | |
2798 | light.TimeOfDay = "14:00:00" | |
2799 | light.Brightness = 1 | |
2800 | light.ColorShift_Bottom = Color3.new(0, 0, 0) | |
2801 | light.ColorShift_Top = Color3.new(0, 0, 0) | |
2802 | light.ShadowColor = Color3.new(178, 178, 178) | |
2803 | light.Ambient = Color3.new(1, 1, 1) | |
2804 | light.FogStart = 0 | |
2805 | light.FogEnd = 10000000000000 | |
2806 | end; | |
2807 | ["day"] = function(n, n) | |
2808 | funcs.status("Set time to day") | |
2809 | local light = game:GetService("Lighting") | |
2810 | light.TimeOfDay = "14:00:00" | |
2811 | end; | |
2812 | ["night"] = function(n, n) | |
2813 | funcs.status("Set time to night") | |
2814 | local light = game:GetService("Lighting") | |
2815 | light.TimeOfDay = "24:00:00" | |
2816 | end; | |
2817 | ["unfire"] = function(msg, speaker) | |
2818 | local a = funcs.findp(msg, speaker) | |
2819 | for i,v in pairs(a) do | |
2820 | if v.Character then | |
2821 | if v.Character:findFirstChild("Torso") then | |
2822 | if v.Character.Torso.ClassName == "Part" then | |
2823 | for i,f in pairs(v.Character.Torso:GetChildren()) do | |
2824 | if f.ClassName == "Fire" then | |
2825 | funcs.status("Removed fire from "..v.Name) | |
2826 | f:remove() | |
2827 | end end end end end end end; | |
2828 | ["ff"] = function(msg, speaker) | |
2829 | local a = funcs.findp(msg, speaker) | |
2830 | for i,v in pairs(a) do | |
2831 | if v.Character then | |
2832 | funcs.status("Gave forcefield to "..v.Name) | |
2833 | Instance.new("ForceField", v.Character).Name = "CBA Forcefield" | |
2834 | end end end; | |
2835 | ["unff"] = function(msg, speaker) | |
2836 | local a = funcs.findp(msg, speaker) | |
2837 | for i,v in pairs(a) do | |
2838 | if v.Character then | |
2839 | for i,f in pairs(v.Character:GetChildren()) do | |
2840 | if f.ClassName == "ForceField" then | |
2841 | funcs.status("Removed ForceField from "..v.Name) | |
2842 | f:remove() | |
2843 | end end end end end; | |
2844 | ["fog"] = function(msg, n) | |
2845 | funcs.status("Toggling fog") | |
2846 | if string.lower(msg) == "on" then | |
2847 | game:service("Lighting").FogStart = 0 | |
2848 | game:service("Lighting").FogEnd = 100 | |
2849 | elseif(string.lower(msg) == "off") then | |
2850 | game:service("Lighting").FogStart = 0 | |
2851 | game:service("Lighting").FogEnd = 999999999999 | |
2852 | end end; | |
2853 | ["nbc"] = function(msg, speaker) | |
2854 | funcs.status("Changing BC status") | |
2855 | local a = funcs.findp(msg, speaker) | |
2856 | for i,v in pairs(a) do | |
2857 | v.MembershipTypeReplicate = 0 | |
2858 | end end; | |
2859 | ["bc"] = function(msg, speaker) | |
2860 | funcs.status("Changing BC status") | |
2861 | local a = funcs.findp(msg, speaker) | |
2862 | for i,v in pairs(a) do | |
2863 | v.MembershipTypeReplicate = 1 | |
2864 | end end; | |
2865 | ["tbc"] = function(msg, speaker) | |
2866 | funcs.status("Changing BC status") | |
2867 | local a = funcs.findp(msg, speaker) | |
2868 | for i,v in pairs(a) do | |
2869 | v.MembershipTypeReplicate = 2 | |
2870 | end end; | |
2871 | ["obc"] = function(msg, speaker) | |
2872 | funcs.status("Changing BC status") | |
2873 | local a = funcs.findp(msg, speaker) | |
2874 | for i,v in pairs(a) do | |
2875 | v.MembershipTypeReplicate = 3 | |
2876 | end end; | |
2877 | }; | |
2878 | ["lvl2"] = { | |
2879 | ["getmsg"] = function(msg, speaker) | |
2880 | funcs.status("Creating message") | |
2881 | local m = Workspace:GetChildren() | |
2882 | for i = 1, #m do | |
2883 | if m[i].className == "Message" then | |
2884 | m[i]:remove() | |
2885 | end | |
2886 | end | |
2887 | for i = 1, #m do | |
2888 | if m[i].className == "Hint" then | |
2889 | m[i]:remove() | |
2890 | end | |
2891 | end | |
2892 | end; | |
2893 | ["sparkles"] = function(msg, speaker) | |
2894 | local a = funcs.findp(msg, speaker) | |
2895 | for i,v in pairs(a) do | |
2896 | if v.Character then | |
2897 | if v.Character:findFirstChild("Torso") then | |
2898 | Instance.new("Sparkles", v.Character.Torso) | |
2899 | funcs.status("Giving sparkles to "..v.Name) | |
2900 | end end end end; | |
2901 | ["epic"] = function(msg, speaker) | |
2902 | local a = funcs.findp(msg, speaker) | |
2903 | for i,v in pairs(a) do | |
2904 | funcs.status("Epicized "..v.Name) | |
2905 | if v.Character ~= nil then | |
2906 | for i,s in pairs(v.Character:GetChildren()) do | |
2907 | if s.className == "Part" then | |
2908 | s.Reflectance = 1 | |
2909 | elseif(s.ClassName == "Humanoid") then | |
2910 | s.MaxHealth = math.huge | |
2911 | end end end end end; | |
2912 | ["respawn"] = function(msg, speaker) | |
2913 | local a = funcs.findp(msg, speaker) | |
2914 | for i,v in pairs(a) do | |
2915 | funcs.status("Respawned "..v.Name) | |
2916 | local ack2 = Instance.new("Model") | |
2917 | ack2.Parent = game:GetService("Workspace") | |
2918 | local ack4 = Instance.new("Part") | |
2919 | ack4.Transparency = 1 | |
2920 | ack4.CanCollide = false | |
2921 | ack4.Anchored = true | |
2922 | ack4.Name = "Torso" | |
2923 | ack4.Position = Vector3.new(10000,10000,10000) | |
2924 | ack4.Parent = ack2 | |
2925 | local ack3 = Instance.new("Humanoid") | |
2926 | ack3.Torso = ack4 | |
2927 | ack3.Parent = ack2 | |
2928 | v.Character = ack2 | |
2929 | end end; | |
2930 | ["remove"] = function(msg, n) | |
2931 | if string.lower(msg) == "cba" then | |
2932 | funcs.status("Removed CBA") | |
2933 | CBA.remove = false | |
2934 | end end; | |
2935 | ["override"] = function(n, n) | |
2936 | CBA.override = true | |
2937 | end; | |
2938 | ["ab"] = function(msg, speaker) | |
2939 | local a = funcs.findp(msg, speaker) | |
2940 | for i,v in pairs(a) do | |
2941 | local isab = false | |
2942 | for i,s in pairs(CBA.ablist) do | |
2943 | if string.lower(v.Name) == string.lower(s) then | |
2944 | isab = true | |
2945 | end end | |
2946 | if isab == false then | |
2947 | table.insert(CBA.ablist, v.Name) | |
2948 | funcs.status(v.Name .. " now has an antiban.") | |
2949 | end | |
2950 | end end; | |
2951 | ["unban"] = function(msg, speaker) | |
2952 | for i,s in pairs(CBA.ban) do | |
2953 | if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then | |
2954 | table.remove(CBA.ban, i) | |
2955 | funcs.status("Unbanned "..s) | |
2956 | end end end; | |
2957 | ["removep"] = function(msg, speaker) | |
2958 | for i,s in pairs(CBA.prilist) do | |
2959 | if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then | |
2960 | table.remove(CBA.prilist, i) | |
2961 | funcs.status("Removed "..s.." from private server") | |
2962 | end end end; | |
2963 | ["unadmin"] = function(msg, speaker) | |
2964 | for i,s in pairs(CBA.admins) do | |
2965 | if string.sub(string.lower(s[1]), 1, #msg) == string.lower(msg) then | |
2966 | table.remove(CBA.admins, i) | |
2967 | funcs.status("Unadmined "..s) | |
2968 | end end end; | |
2969 | ["unab"] = function(msg, speaker) | |
2970 | for i,s in pairs(CBA.ablist) do | |
2971 | if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then | |
2972 | table.remove(CBA.ablist, i) | |
2973 | funcs.status("Removed "..s.."'s AntiBan") | |
2974 | end end end; | |
2975 | ["rhum"] = function(msg, speaker) | |
2976 | local a = funcs.findp(msg, speaker) | |
2977 | funcs.status("Removing humanoids") | |
2978 | for i,v in pairs(a) do | |
2979 | if v.Character.Humanoid then | |
2980 | v.Character.Humanoid:Destroy() | |
2981 | end end end; | |
2982 | ["getage"] = function(msg, speaker) | |
2983 | local a = funcs.findp(msg, speaker) | |
2984 | for i,v in pairs(a) do | |
2985 | local at = 0 | |
2986 | local age = v.AccountAge | |
2987 | while true do | |
2988 | wait() | |
2989 | if age - 365 < 0 then | |
2990 | break | |
2991 | end | |
2992 | at = at + 1 | |
2993 | age = age - 365 | |
2994 | end | |
2995 | local h = Instance.new("Hint", workspace) | |
2996 | h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old" | |
2997 | wait(4) | |
2998 | if h then | |
2999 | h:remove() | |
3000 | end | |
3001 | end end; | |
3002 | ["antilag"] = function(msg, speaker) | |
3003 | local a = funcs.findp(msg, speaker) | |
3004 | for i,v in pairs(a) do | |
3005 | for i,s in pairs(v.PlayerGui:GetChildren()) do | |
3006 | if s:IsA("Message") then | |
3007 | s:remove() | |
3008 | end end end end; | |
3009 | ["sit"] = function(msg, speaker) | |
3010 | local a = funcs.findp(msg, speaker) | |
3011 | for i,v in pairs(a) do | |
3012 | for i,j in pairs(v.Character:GetChildren()) do | |
3013 | if j.ClassName == "Humanoid" then | |
3014 | funcs.status("Made "..j.Name.." sit") | |
3015 | j.Sit = true | |
3016 | end end end end; | |
3017 | ["cave"] = function(msg, speaker) | |
3018 | funcs.status("Created cave") | |
3019 | for i = 1, 9 do | |
3020 | local rock = Instance.new("Part", workspace) | |
3021 | rock.Anchored = true | |
3022 | rock.Shape = "Ball" | |
3023 | rock.Material = "Slate" | |
3024 | rock.TopSurface = "Smooth" | |
3025 | rock.BottomSurface = "Smooth" | |
3026 | rock.Size = Vector3.new(40, 40, 40) | |
3027 | rock.BrickColor = BrickColor.new("Stone gray") | |
3028 | rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0) | |
3029 | end end; | |
3030 | ["rtools"] = function(msg, speaker) | |
3031 | local a = funcs.findp(msg, speaker) | |
3032 | for i,v in pairs(a) do | |
3033 | funcs.status("Removed "..v.Name.."'s tools") | |
3034 | if v:findFirstChild("Backpack") ~= nil then | |
3035 | if v.Character then | |
3036 | for i,s in pairs(v.Character:GetChildren()) do | |
3037 | if s.ClassName == "Tool" or v.ClassName == "Model" then | |
3038 | s:remove() | |
3039 | end end end | |
3040 | for i,s in pairs(v.Backpack:GetChildren()) do | |
3041 | s:remove() | |
3042 | end end | |
3043 | end end; | |
3044 | ["tree"] = function(msg, speaker) | |
3045 | local a = funcs.findp(msg, speaker) | |
3046 | for i,v in pairs(a) do | |
3047 | funcs.status("Putting tree under "..v.Name) | |
3048 | if v.Character:findFirstChild("Torso") == nil then return end | |
3049 | local treet = Instance.new("Part", workspace) | |
3050 | treet.Size = Vector3.new(4, 20, 4) | |
3051 | treet.Anchored = true | |
3052 | treet.Locked = true | |
3053 | treet.BrickColor = BrickColor.new("Reddish brown") | |
3054 | treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0) | |
3055 | local treetop = Instance.new("Part", workspace) | |
3056 | treetop.BrickColor = BrickColor.new("Earth green") | |
3057 | treetop.TopSurface = "Smooth" | |
3058 | treetop.BottomSurface = "Smooth" | |
3059 | treetop.Size = Vector3.new(13, 13, 13) | |
3060 | treetop.Anchored = true | |
3061 | treetop.Shape = "Ball" | |
3062 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
3063 | v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0) | |
3064 | coroutine.resume(coroutine.create(function() | |
3065 | for i = 1, 200 do | |
3066 | wait() | |
3067 | if treet ~= nil then | |
3068 | if treetop ~= nil then | |
3069 | treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0) | |
3070 | treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0) | |
3071 | end | |
3072 | end | |
3073 | end end)) | |
3074 | end end; | |
3075 | ["cmds"] = function(msg, speaker) | |
3076 | local a = funcs.findp(msg, speaker) | |
3077 | for i,v in pairs(a) do | |
3078 | if v:findFirstChild("PlayerGui") then | |
3079 | if v.PlayerGui:findFirstChild("CBA Commands") == nil then | |
3080 | local cmd = 1 | |
3081 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
3082 | sg.Name = "CBA Commands" | |
3083 | local fr = Instance.new("Frame", sg) | |
3084 | fr.Name = "Main" | |
3085 | fr.Size = UDim2.new(0.3, 0, 0.3, 0) | |
3086 | fr.BackgroundTransparency = 1 | |
3087 | fr.Position = UDim2.new(0, 0, 0.3, 0) | |
3088 | local tab1 = Instance.new("Frame", fr) | |
3089 | tab1.Size = UDim2.new(1, 0, 1, 0) | |
3090 | tab1.Name = "List" | |
3091 | tab1.BackgroundColor3 = Color3.new(0, 0, 0) | |
3092 | tab1.BackgroundTransparency = 0.7 | |
3093 | tab1.BorderColor3 = Color3.new(1, 1, 1) | |
3094 | local tab1b = Instance.new("TextButton", fr) | |
3095 | tab1b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3096 | tab1b.Text = "Cmd list" | |
3097 | tab1b.FontSize = "Size11" | |
3098 | tab1b.BackgroundColor3 = Color3.new(0, 0, 0) | |
3099 | tab1b.BorderColor3 = Color3.new(1, 1, 1) | |
3100 | tab1b.TextColor3 = Color3.new(1, 1, 1) | |
3101 | tab1b.Position = UDim2.new(0, 0, -0.1, 0) | |
3102 | local tab2 = Instance.new("Frame", fr) | |
3103 | tab2.Size = UDim2.new(1, 0, 1, 0) | |
3104 | tab2.Name = "List" | |
3105 | tab2.BackgroundColor3 = Color3.new(0, 0, 0) | |
3106 | tab2.BackgroundTransparency = 0.7 | |
3107 | tab2.BorderColor3 = Color3.new(1, 1, 1) | |
3108 | tab2.Visible = false | |
3109 | local fun = Instance.new("TextLabel", tab2) | |
3110 | fun.Text = "No cmd chosen" | |
3111 | fun.BackgroundTransparency = 1 | |
3112 | fun.FontSize = "Size12" | |
3113 | fun.TextColor3 = Color3.new(1, 1, 1) | |
3114 | fun.TextWrap = true | |
3115 | fun.Size = UDim2.new(1, 0, 1, 0) | |
3116 | local tab2b = Instance.new("TextButton", fr) | |
3117 | tab2b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3118 | tab2b.Text = "Function" | |
3119 | tab2b.FontSize = "Size11" | |
3120 | tab2b.BackgroundColor3 = Color3.new(0, 0, 0) | |
3121 | tab2b.BorderColor3 = Color3.new(1, 1, 1) | |
3122 | tab2b.TextColor3 = Color3.new(1, 1, 1) | |
3123 | tab2b.Position = UDim2.new(0.25, 0, -0.1, 0) | |
3124 | local tab3 = Instance.new("Frame", fr) | |
3125 | tab3.Size = UDim2.new(1, 0, 1, 0) | |
3126 | tab3.Name = "List" | |
3127 | tab3.BackgroundColor3 = Color3.new(0, 0, 0) | |
3128 | tab3.BackgroundTransparency = 0.7 | |
3129 | tab3.BorderColor3 = Color3.new(1, 1, 1) | |
3130 | tab3.Visible = false | |
3131 | local tab3b = Instance.new("TextButton", fr) | |
3132 | tab3b.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3133 | tab3b.Text = "Example" | |
3134 | tab3b.FontSize = "Size11" | |
3135 | tab3b.BackgroundColor3 = Color3.new(0, 0, 0) | |
3136 | tab3b.BorderColor3 = Color3.new(1, 1, 1) | |
3137 | tab3b.TextColor3 = Color3.new(1, 1, 1) | |
3138 | tab3b.Position = UDim2.new(0.5, 0, -0.1, 0) | |
3139 | local ex = Instance.new("TextLabel", tab3) | |
3140 | ex.Text = "No cmd chosen" | |
3141 | ex.BackgroundTransparency = 1 | |
3142 | ex.FontSize = "Size12" | |
3143 | ex.TextColor3 = Color3.new(1, 1, 1) | |
3144 | ex.TextWrap = true | |
3145 | ex.Size = UDim2.new(1, 0, 1, 0) | |
3146 | local e = Instance.new("TextButton", fr) | |
3147 | e.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3148 | e.Text = "Exit" | |
3149 | e.FontSize = "Size11" | |
3150 | e.BackgroundColor3 = Color3.new(0, 0, 0) | |
3151 | e.BorderColor3 = Color3.new(1, 1, 1) | |
3152 | e.TextColor3 = Color3.new(1, 1, 1) | |
3153 | e.Position = UDim2.new(0.75, 0, -0.1, 0) | |
3154 | local nb = Instance.new("TextButton", fr) | |
3155 | nb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3156 | nb.Text = "Next" | |
3157 | nb.FontSize = "Size11" | |
3158 | nb.BackgroundColor3 = Color3.new(0, 0, 0) | |
3159 | nb.BorderColor3 = Color3.new(1, 1, 1) | |
3160 | nb.TextColor3 = Color3.new(1, 1, 1) | |
3161 | nb.Position = UDim2.new(0.75, 0, 1, 0) | |
3162 | local pb = Instance.new("TextButton", fr) | |
3163 | pb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
3164 | pb.Text = "Previous" | |
3165 | pb.FontSize = "Size11" | |
3166 | pb.BackgroundColor3 = Color3.new(0, 0, 0) | |
3167 | pb.BorderColor3 = Color3.new(1, 1, 1) | |
3168 | pb.TextColor3 = Color3.new(1, 1, 1) | |
3169 | pb.Position = UDim2.new(0, 0, 1, 0) | |
3170 | e.MouseButton1Click:connect(function() | |
3171 | sg:remove() | |
3172 | end) | |
3173 | tab1b.MouseButton1Click:connect(function() | |
3174 | tab1.Visible = true | |
3175 | tab2.Visible = false | |
3176 | tab3.Visible = false | |
3177 | end) | |
3178 | tab2b.MouseButton1Click:connect(function() | |
3179 | tab1.Visible = false | |
3180 | tab2.Visible = true | |
3181 | tab3.Visible = false | |
3182 | end) | |
3183 | tab3b.MouseButton1Click:connect(function() | |
3184 | tab1.Visible = false | |
3185 | tab2.Visible = false | |
3186 | tab3.Visible = true | |
3187 | end) | |
3188 | onpg = 1 | |
3189 | local on = 0 | |
3190 | local currpage = 1 | |
3191 | local page = Instance.new("Frame", tab1) | |
3192 | page.Name = "Page"..currpage | |
3193 | page.Size = UDim2.new(1, 0, 1, 0) | |
3194 | page.BackgroundTransparency = 1 | |
3195 | for n,c in pairs(CBA.cmd) do | |
3196 | if on == 10 then | |
3197 | on = 0 | |
3198 | currpage = currpage + 1 | |
3199 | page = Instance.new("Frame", tab1) | |
3200 | page.Name = "Page"..currpage | |
3201 | page.Size = UDim2.new(1, 0, 1, 0) | |
3202 | page.BackgroundTransparency = 1 | |
3203 | page.Visible = false | |
3204 | end | |
3205 | local but = Instance.new("TextButton", page) | |
3206 | but.Text = c[1] | |
3207 | but.TextColor3 = Color3.new(1, 1, 1) | |
3208 | but.FontSize = "Size11" | |
3209 | but.Size = UDim2.new(1, 0, 0.1, 0) | |
3210 | but.BackgroundColor3 = Color3.new(0, 0, 0) | |
3211 | but.BorderColor3 = Color3.new(1, 1, 1) | |
3212 | but.BackgroundTransparency = 0.7 | |
3213 | but.Position = UDim2.new(0, 0, on/10, 0) | |
3214 | but.MouseButton1Click:connect(function() | |
3215 | fun.Text = c[2] | |
3216 | ex.Text = c[3] | |
3217 | end) | |
3218 | on = on + 1 | |
3219 | end | |
3220 | nb.MouseButton1Click:connect(function() | |
3221 | if currpage > onpg then | |
3222 | for i,w in pairs(tab1:GetChildren()) do | |
3223 | w.Visible = false | |
3224 | end | |
3225 | tab1["Page"..onpg + 1].Visible = true | |
3226 | onpg = onpg + 1 end end) | |
3227 | pb.MouseButton1Click:connect(function() | |
3228 | if onpg > 1 then | |
3229 | for i,w in pairs(tab1:GetChildren()) do | |
3230 | w.Visible = false | |
3231 | end | |
3232 | tab1["Page"..onpg - 1].Visible = true | |
3233 | onpg = onpg - 1 end end) | |
3234 | end end end end; | |
3235 | ["walkspeed"] = function(msg, speaker) | |
3236 | local bet = CBA.bet | |
3237 | funcs.status("Changing walkspeed") | |
3238 | for i = 1, #msg do | |
3239 | if string.sub(msg, i, i) == bet then | |
3240 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
3241 | for _,v in pairs(search) do | |
3242 | if v.Character then | |
3243 | if v.Character:findFirstChild("Humanoid") then | |
3244 | v.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg, i+1)) | |
3245 | end end end end end end; | |
3246 | ["tele"] = function(msg, speaker) | |
3247 | local bet = CBA.bet | |
3248 | for i = 1, #msg do | |
3249 | if string.sub(msg, i, i) == bet then | |
3250 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
3251 | local search2 = funcs.findp(string.sub(msg, i+1), speaker) | |
3252 | for _,v in pairs(search) do | |
3253 | for _,s in pairs(search2) do | |
3254 | if s.Character then | |
3255 | if v.Character then | |
3256 | if v.Character:findFirstChild("Torso") then | |
3257 | if s.Character:findFirstChild("Torso") then | |
3258 | v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0) | |
3259 | funcs.status("Teleporting "..v.Name.." to "..s.Name) | |
3260 | end end end end end end end end end; | |
3261 | ["health"] = function(msg, speaker) | |
3262 | local bet = CBA.bet | |
3263 | funcs.status("Changing health") | |
3264 | for i = 1, #msg do | |
3265 | if string.sub(msg, i, i) == bet then | |
3266 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
3267 | for _,v in pairs(search) do | |
3268 | if v.Character then | |
3269 | if v.Character:findFirstChild("Humanoid") then | |
3270 | v.Character.Humanoid.MaxHealth = tonumber(string.sub(msg, i+1)) | |
3271 | v.Character.Humanoid.Health = tonumber(string.sub(msg, i+1)) | |
3272 | end end end end end end; | |
3273 | ["forest"] = function(n, n) | |
3274 | funcs.status("Generating forest") | |
3275 | local tmodel = Instance.new("Model", workspace) | |
3276 | for i = 1, 3000 do | |
3277 | local treet = Instance.new("Part", tmodel) | |
3278 | treet.Size = Vector3.new(4, 20, 4) | |
3279 | treet.Anchored = true | |
3280 | treet.Locked = true | |
3281 | treet.BrickColor = BrickColor.new("Reddish brown") | |
3282 | treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500)) | |
3283 | local treetop = Instance.new("Part", tmodel) | |
3284 | treetop.BrickColor = BrickColor.new("Earth green") | |
3285 | treetop.TopSurface = "Smooth" | |
3286 | treetop.BottomSurface = "Smooth" | |
3287 | treetop.Size = Vector3.new(13, 13, 13) | |
3288 | treetop.Anchored = true | |
3289 | treetop.Shape = "Ball" | |
3290 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
3291 | end end; | |
3292 | ["btools"] = function(msg, speaker) | |
3293 | local a = funcs.findp(msg, speaker) | |
3294 | for i,v in pairs(a) do | |
3295 | if v:findFirstChild("Backpack") then | |
3296 | funcs.status("Gave building tools to "..v.Name) | |
3297 | Instance.new("HopperBin", v.Backpack).BinType = 4 | |
3298 | Instance.new("HopperBin", v.Backpack).BinType = 3 | |
3299 | Instance.new("HopperBin", v.Backpack).BinType = 1 | |
3300 | end end end; | |
3301 | ["debug"] = function(msg, speaker) | |
3302 | funcs.status("Debugging server") | |
3303 | for i,t in pairs(game:service("Workspace"):GetChildren()) do | |
3304 | pcall (function() | |
3305 | t:remove() | |
3306 | end) | |
3307 | end | |
3308 | for i,v in pairs(CBA.players) do | |
3309 | for i,s in pairs(v:GetChildren()) do | |
3310 | if s.Name ~= "PlayerGui" then | |
3311 | pcall (function() | |
3312 | s:destroy() | |
3313 | end) | |
3314 | end end end | |
3315 | for i,v in pairs(game:service("Debris"):GetChildren()) do | |
3316 | pcall (function() | |
3317 | v:destroy() | |
3318 | end) | |
3319 | end | |
3320 | for i,v in pairs(game:service("Lighting"):GetChildren()) do | |
3321 | pcall (function() | |
3322 | v:destroy() | |
3323 | end) | |
3324 | end | |
3325 | for i,v in pairs(CBA.players) do | |
3326 | v.Neutral = true | |
3327 | end | |
3328 | for i,v in pairs(game:service("Teams"):GetChildren()) do | |
3329 | pcall (function() | |
3330 | v:destroy() | |
3331 | end) | |
3332 | end | |
3333 | end; | |
3334 | ["speak"] = function(msg, speaker) | |
3335 | local a = funcs.findp(msg, speaker) | |
3336 | for i,v in pairs(a) do | |
3337 | funcs.makechat(v) | |
3338 | end end; | |
3339 | ["getmsg"] = function(msg, speaker) | |
3340 | funcs.status("Generating message") | |
3341 | local m = Instance.new("Message", workspace) | |
3342 | m.Text = speaker.Name..": "..msg | |
3343 | wait(3) | |
3344 | if m then | |
3345 | m:remove() | |
3346 | end end; | |
3347 | ["removeteam"] = function(msg, speaker) | |
3348 | local teams = game:service("Teams") | |
3349 | for i,v in pairs(teams:GetTeams()) do | |
3350 | if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then | |
3351 | v:remove() | |
3352 | funcs.status("Removed teams") | |
3353 | end end end; | |
3354 | ["syncplat"] = function(msg, speaker) | |
3355 | funcs.status("Syncing platform") | |
3356 | if CBA.platvic then | |
3357 | if CBA.platvic.Character then | |
3358 | if CBA.platvic.Character:findFirstChild("Torso") then | |
3359 | CBA.platpos = CBA.platvic.Character.Torso.Position.Y - 3.5 | |
3360 | end end end end; | |
3361 | ["rickroll"] = function(msg, speaker) | |
3362 | funcs.status("Rickrolling") | |
3363 | local a = funcs.findp(msg, speaker) | |
3364 | for i,player in pairs(a) do | |
3365 | local findrr = player:FindFirstChild("RickRoll") | |
3366 | if not findrr then | |
3367 | local sound = Instance.new("Sound") | |
3368 | sound.Parent = player | |
3369 | sound.Volume = 1 -- Thats it turn the volume up... | |
3370 | sound.Pitch = 0.97 -- Just make it MORE annoying | |
3371 | sound.Looped = true -- LOL! THATS GONNA KILL THEM XD | |
3372 | sound.Name = "RickRoll" | |
3373 | sound:Play() | |
3374 | end end end; | |
3375 | ["unrickroll"] = function(msg, speaker) | |
3376 | funcs.status("Unrickrolling") | |
3377 | local a = funcs.findp(msg, speaker) | |
3378 | for i,player in pairs(a) do | |
3379 | local music = player:FindFirstChild("RickRoll") | |
3380 | if music then | |
3381 | music.Parent = nil | |
3382 | end end end; | |
3383 | ["newteam"] = function(msg, speaker) | |
3384 | for i,v in pairs(CBA.players) do | |
3385 | v.Neutral = false | |
3386 | end | |
3387 | local team = Instance.new("Team", game:service("Teams")) | |
3388 | team.Name = msg | |
3389 | team.TeamColor = BrickColor.random() | |
3390 | funcs.status("Created new team") | |
3391 | end; | |
3392 | ["terrain"] = function(msg, speaker) | |
3393 | funcs.status("Generating terrain") | |
3394 | for i,v in pairs(CBA.players) do | |
3395 | if v:findFirstChild("PlayerGui") then | |
3396 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
3397 | sg.Name = "CBATerrain" | |
3398 | local fr = Instance.new("Frame", sg) | |
3399 | fr.Size = UDim2.new(1, 0, 0.05, 0) | |
3400 | fr.Position = UDim2.new(0, 0, 0.2, 0) | |
3401 | fr.BackgroundColor3 = Color3.new(0, 0, 0) | |
3402 | fr.BorderColor3 = Color3.new(0, 102, 0) | |
3403 | local tx = Instance.new("TextLabel", fr) | |
3404 | tx.BackgroundColor3 = Color3.new(0, 102, 0) | |
3405 | tx.BorderColor3 = Color3.new(1, 1, 1) | |
3406 | tx.Size = UDim2.new(0, 0, 1, 0) | |
3407 | tx.Name = "Bar" | |
3408 | tx.Text = " " | |
3409 | tx.FontSize = "Size24" | |
3410 | tx.TextColor3 = Color3.new(0, 0, 0) | |
3411 | local tx2 = Instance.new("TextLabel", fr) | |
3412 | tx2.BackgroundTransparency = 1 | |
3413 | tx2.BorderColor3 = Color3.new(0, 102, 0) | |
3414 | tx2.Size = UDim2.new(1, 0, 1, 0) | |
3415 | tx2.Name = "Label" | |
3416 | tx2.Text = "Generating terrain 0%" | |
3417 | tx2.FontSize = "Size14" | |
3418 | tx2.TextColor3 = Color3.new(1, 1, 1) | |
3419 | end end | |
3420 | local tm = Instance.new("Model", workspace) | |
3421 | tm.Name = "CBATerrain" | |
3422 | for l = 1, 5000 do | |
3423 | wait() | |
3424 | local p = Instance.new("Part", tm) | |
3425 | p.Name = "Terrain" | |
3426 | local xx, yy, zz = math.random(1, 100), math.random(1, 50), math.random(1, 100) | |
3427 | p.Size = Vector3.new(xx, yy, zz) | |
3428 | p.CFrame = CFrame.new(math.random(-1000, 1000), yy/2, math.random(-1000, 1000)) | |
3429 | p.Anchored = true | |
3430 | p.BrickColor = BrickColor.new("Earth green") | |
3431 | for i,v in pairs(CBA.players) do | |
3432 | if v:findFirstChild("PlayerGui") then | |
3433 | if v.PlayerGui:findFirstChild("CBATerrain") then | |
3434 | v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/5000, 0, 1, 0) | |
3435 | v.PlayerGui.CBATerrain.Frame.Label.Text = "Generating terrain ".. l/50 .."%" | |
3436 | else | |
3437 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
3438 | sg.Name = "CBATerrain" | |
3439 | local fr = Instance.new("Frame", sg) | |
3440 | fr.Size = UDim2.new(1, 0, 0.05, 0) | |
3441 | fr.Position = UDim2.new(0, 0, 0.2, 0) | |
3442 | fr.BackgroundColor3 = Color3.new(0, 0, 0) | |
3443 | fr.BorderColor3 = Color3.new(0, 102, 0) | |
3444 | local tx = Instance.new("TextLabel", fr) | |
3445 | tx.BackgroundColor3 = Color3.new(0, 102, 0) | |
3446 | tx.BorderColor3 = Color3.new(1, 1, 1) | |
3447 | tx.Size = UDim2.new(0, 0, 1, 0) | |
3448 | tx.Name = "Bar" | |
3449 | tx.Text = " " | |
3450 | tx.FontSize = "Size24" | |
3451 | tx.TextColor3 = Color3.new(0, 0, 0) | |
3452 | local tx2 = Instance.new("TextLabel", fr) | |
3453 | tx2.BackgroundTransparency = 1 | |
3454 | tx2.BorderColor3 = Color3.new(0, 102, 0) | |
3455 | tx2.Size = UDim2.new(1, 0, 1, 0) | |
3456 | tx2.Name = "Label" | |
3457 | tx2.Text = "Generating terrain 0%" | |
3458 | tx2.FontSize = "Size14" | |
3459 | tx2.TextColor3 = Color3.new(1, 1, 1) | |
3460 | end end end end | |
3461 | for i,v in pairs(CBA.players) do | |
3462 | if v:findFirstChild("PlayerGui") then | |
3463 | if v.PlayerGui:findFirstChild("CBATerrain") then | |
3464 | v.PlayerGui.CBATerrain:remove() | |
3465 | end end end end; | |
3466 | ["removeterrain"] = function(msg, speaker) | |
3467 | for i,v in pairs(CBA.players) do | |
3468 | if v:findFirstChild("PlayerGui") then | |
3469 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
3470 | sg.Name = "CBATerrain" | |
3471 | local fr = Instance.new("Frame", sg) | |
3472 | fr.Size = UDim2.new(1, 0, 0.05, 0) | |
3473 | fr.Position = UDim2.new(0, 0, 0.2, 0) | |
3474 | fr.BackgroundColor3 = Color3.new(0, 0, 0) | |
3475 | fr.BorderColor3 = Color3.new(0, 102, 0) | |
3476 | local tx = Instance.new("TextLabel", fr) | |
3477 | tx.BackgroundColor3 = Color3.new(0, 102, 0) | |
3478 | tx.BorderColor3 = Color3.new(1, 1, 1) | |
3479 | tx.Size = UDim2.new(0, 0, 1, 0) | |
3480 | tx.Name = "Bar" | |
3481 | tx.Text = " " | |
3482 | tx.FontSize = "Size24" | |
3483 | tx.TextColor3 = Color3.new(0, 0, 0) | |
3484 | local tx2 = Instance.new("TextLabel", fr) | |
3485 | tx2.BackgroundTransparency = 1 | |
3486 | tx2.BorderColor3 = Color3.new(0, 102, 0) | |
3487 | tx2.Size = UDim2.new(1, 0, 1, 0) | |
3488 | tx2.Name = "Label" | |
3489 | tx2.Text = "Removing terrain 0%" | |
3490 | tx2.FontSize = "Size14" | |
3491 | tx2.TextColor3 = Color3.new(1, 1, 1) | |
3492 | end end | |
3493 | if workspace:findFirstChild("CBATerrain") then | |
3494 | local thestart = #workspace.CBATerrain:GetChildren() | |
3495 | for l, t in pairs(workspace.CBATerrain:GetChildren()) do | |
3496 | wait() | |
3497 | if workspace:findFirstChild("CBATerrain") then | |
3498 | t:destroy() | |
3499 | for i,v in pairs(CBA.players) do | |
3500 | if v:findFirstChild("PlayerGui") then | |
3501 | if v.PlayerGui:findFirstChild("CBATerrain") then | |
3502 | v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/thestart, 0, 1, 0) | |
3503 | v.PlayerGui.CBATerrain.Frame.Label.Text = "Removing terrain ".. l/(thestart/100) .."%" | |
3504 | else | |
3505 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
3506 | sg.Name = "CBATerrain" | |
3507 | local fr = Instance.new("Frame", sg) | |
3508 | fr.Size = UDim2.new(1, 0, 0.05, 0) | |
3509 | fr.Position = UDim2.new(0, 0, 0.2, 0) | |
3510 | fr.BackgroundColor3 = Color3.new(0, 0, 0) | |
3511 | fr.BorderColor3 = Color3.new(0, 102, 0) | |
3512 | local tx = Instance.new("TextLabel", fr) | |
3513 | tx.BackgroundColor3 = Color3.new(0, 102, 0) | |
3514 | tx.BorderColor3 = Color3.new(1, 1, 1) | |
3515 | tx.Size = UDim2.new(0, 0, 1, 0) | |
3516 | tx.Name = "Bar" | |
3517 | tx.Text = " " | |
3518 | tx.FontSize = "Size24" | |
3519 | tx.TextColor3 = Color3.new(0, 0, 0) | |
3520 | local tx2 = Instance.new("TextLabel", fr) | |
3521 | tx2.BackgroundTransparency = 1 | |
3522 | tx2.BorderColor3 = Color3.new(0, 102, 0) | |
3523 | tx2.Size = UDim2.new(1, 0, 1, 0) | |
3524 | tx2.Name = "Label" | |
3525 | tx2.Text = "Removing terrain 0%" | |
3526 | tx2.FontSize = "Size14" | |
3527 | tx2.TextColor3 = Color3.new(1, 1, 1) | |
3528 | end end end end end | |
3529 | for i,v in pairs(CBA.players) do | |
3530 | if v:findFirstChild("PlayerGui") then | |
3531 | if v.PlayerGui:findFirstChild("CBATerrain") then | |
3532 | v.PlayerGui.CBATerrain:remove() | |
3533 | end end end | |
3534 | end end; | |
3535 | }; | |
3536 | ["lvl3"] = { | |
3537 | ["punish"] = function(msg, speaker) | |
3538 | local a = funcs.findp(msg, speaker) | |
3539 | for i,v in pairs(a) do | |
3540 | funcs.status("Punished "..v.Name) | |
3541 | if v.Character then | |
3542 | v.Character.Parent = game:service("Lighting") | |
3543 | end end end; | |
3544 | ["unpunish"] = function(msg, speaker) | |
3545 | local a = funcs.findp(msg, speaker) | |
3546 | for i,v in pairs(a) do | |
3547 | funcs.status("Unpunished "..v.Name) | |
3548 | if v.Character then | |
3549 | v.Character.Parent = workspace | |
3550 | v.Character:MakeJoints() | |
3551 | end end end; | |
3552 | ["freeze"] = function(msg, speaker) | |
3553 | local a = funcs.findp(msg, speaker) | |
3554 | for i,v in pairs(a) do | |
3555 | funcs.status("Froze "..v.Name) | |
3556 | if v.Character ~= nil then | |
3557 | for i,s in pairs(v.Character:GetChildren()) do | |
3558 | if s.className == "Part" then | |
3559 | s.Anchored = true | |
3560 | s.Reflectance = 1 | |
3561 | end end end end end; | |
3562 | ["thaw"] = function(msg, speaker) | |
3563 | local a = funcs.findp(msg, speaker) | |
3564 | for i,v in pairs(a) do | |
3565 | funcs.status("Thawed "..v.Name) | |
3566 | if v.Character ~= nil then | |
3567 | for i,s in pairs(v.Character:GetChildren()) do | |
3568 | if s.className == "Part" then | |
3569 | s.Anchored = false | |
3570 | s.Reflectance = 0 | |
3571 | end end end end end; | |
3572 | ["admin"] = function(msg, speaker) | |
3573 | local bet = CBA.bet | |
3574 | for i = 1, #msg do | |
3575 | if string.sub(msg, i, i) == bet then | |
3576 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
3577 | for _,v in pairs(search) do | |
3578 | local isadmin = false | |
3579 | for s,t in pairs(CBA.admins) do | |
3580 | if t[1] == v.Name then | |
3581 | isadmin = true | |
3582 | end end | |
3583 | if isadmin == false then | |
3584 | table.insert(CBA.admins, {v.Name, tonumber(string.sub(msg, i+1))}) | |
3585 | funcs.status("Admined "..v.Name) | |
3586 | end end end end end; | |
3587 | --[[["control"] = function(msg,speaker) --------------------CONTROL | |
3588 | local a = funcs.findp(msg, speaker) | |
3589 | for i,v in pairs(a) do | |
3590 | funcs.status("Controlled "..v.Name) | |
3591 | if v.Character ~= nil then | |
3592 | game.Players.LocalPlayer.Character = v.Character | |
3593 | game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid | |
3594 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
3595 | end end end;--]] | |
3596 | --[[["up"] = function(msg,speaker) --------------------UP | |
3597 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
3598 | game:service("Players").LocalPlayer.Character = nil | |
3599 | end;--]] | |
3600 | ["down"] = function(msg,speaker) | |
3601 | if game:service("Players").LocalPlayer.Character ~= nil then | |
3602 | end | |
3603 | Character = Instance.new("Model") | |
3604 | Character.Name = game.Players.LocalPlayer.Name | |
3605 | Character.Parent = game.Workspace | |
3606 | local Head = Instance.new("Part") | |
3607 | Head.Name = "Head" | |
3608 | Head.formFactor = 0 | |
3609 | Head.Size = Vector3.new(2, 1, 1) | |
3610 | Head.TopSurface = 0 | |
3611 | Head.BottomSurface = "Weld" | |
3612 | Head.BrickColor = BrickColor.new("Really red") | |
3613 | Head.Parent = Character | |
3614 | local Mesh = Instance.new("SpecialMesh") | |
3615 | Mesh.MeshType = "Head" | |
3616 | Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
3617 | Mesh.Parent = Head | |
3618 | local Face = Instance.new("Decal") | |
3619 | Face.Name = "face" | |
3620 | Face.Face = "Front" | |
3621 | Face.Texture = "rbxasset://textures/face.png" | |
3622 | Face.Parent = Head | |
3623 | local Torso = Instance.new("Part") | |
3624 | Torso.Name = "Torso" | |
3625 | Torso.formFactor = 0 | |
3626 | Torso.Size = Vector3.new(2, 2, 1) | |
3627 | Torso.TopSurface = "Studs" | |
3628 | Torso.BottomSurface = "Inlet" | |
3629 | Torso.LeftSurface = "Weld" | |
3630 | Torso.RightSurface = "Weld" | |
3631 | Torso.BrickColor = BrickColor.new("Really black") | |
3632 | Torso.Parent = Character | |
3633 | local TShirt = Instance.new("Decal") | |
3634 | TShirt.Name = "roblox" | |
3635 | TShirt.Face = "Front" | |
3636 | TShirt.Texture = "http://www.roblox.com/asset/?id=64494357" | |
3637 | TShirt.Parent = Torso | |
3638 | local Limb = Instance.new("Part") | |
3639 | Limb.formFactor = 0 | |
3640 | Limb.Size = Vector3.new(1, 2, 1) | |
3641 | Limb.TopSurface = "Studs" | |
3642 | Limb.BottomSurface = "Inlet" | |
3643 | Limb.BrickColor = BrickColor.new("Really black") | |
3644 | local Limb2 = Instance.new("Part") | |
3645 | Limb2.formFactor = 0 | |
3646 | Limb2.Size = Vector3.new(1, 2, 1) | |
3647 | Limb2.TopSurface = "Studs" | |
3648 | Limb2.BottomSurface = "Inlet" | |
3649 | Limb2.BrickColor = BrickColor.new("Really black") | |
3650 | local LeftArm = Limb2:Clone() | |
3651 | LeftArm.Name = "Left Arm" | |
3652 | LeftArm.Parent = Character | |
3653 | local RightArm = Limb2:Clone() | |
3654 | RightArm.Name = "Right Arm" | |
3655 | RightArm.Parent = Character | |
3656 | local LeftLeg = Limb:Clone() | |
3657 | LeftLeg.Name = "Left Leg" | |
3658 | LeftLeg.Parent = Character | |
3659 | local RightLeg = Limb:Clone() | |
3660 | RightLeg.Name = "Right Leg" | |
3661 | RightLeg.Parent = Character | |
3662 | Character:BreakJoints() | |
3663 | local Neck = Instance.new("Motor6D") | |
3664 | Neck.Name = "Neck" | |
3665 | Neck.Part0 = Torso | |
3666 | Neck.Part1 = Head | |
3667 | Neck.C0 = CFrame.new(0, 2, 0) | |
3668 | Neck.C1 = CFrame.new(0, 0.5, 0) | |
3669 | Neck.MaxVelocity = 0 | |
3670 | Neck.Parent = Torso | |
3671 | local LeftShoulder = Instance.new("Motor6D") | |
3672 | LeftShoulder.Name = "Left Shoulder" | |
3673 | LeftShoulder.Part0 = Torso | |
3674 | LeftShoulder.Part1 = LeftArm | |
3675 | LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
3676 | LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
3677 | LeftShoulder.MaxVelocity = 0.5 | |
3678 | LeftShoulder.Parent = Torso | |
3679 | local RightShoulder = Instance.new("Motor6D") | |
3680 | RightShoulder.Name = "Right Shoulder" | |
3681 | RightShoulder.Part0 = Torso | |
3682 | RightShoulder.Part1 = RightArm | |
3683 | RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
3684 | RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
3685 | RightShoulder.MaxVelocity = 0.5 | |
3686 | RightShoulder.Parent = Torso | |
3687 | local LeftHip = Instance.new("Motor6D") | |
3688 | LeftHip.Name = "Left Hip" | |
3689 | LeftHip.Part0 = Torso | |
3690 | LeftHip.Part1 = LeftLeg | |
3691 | LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
3692 | LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
3693 | LeftHip.MaxVelocity = 0.1 | |
3694 | LeftHip.Parent = Torso | |
3695 | local RightHip = Instance.new("Motor6D") | |
3696 | RightHip.Name = "Right Hip" | |
3697 | RightHip.Part0 = Torso | |
3698 | RightHip.Part1 = RightLeg | |
3699 | RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
3700 | RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
3701 | RightHip.MaxVelocity = 0.1 | |
3702 | RightHip.Parent = Torso | |
3703 | local Humanoid = Instance.new("Humanoid") | |
3704 | Humanoid.Parent = Character | |
3705 | Humanoid.WalkSpeed = 50 | |
3706 | local BodyColors = Instance.new("BodyColors") | |
3707 | BodyColors.Name = "Body Colors" | |
3708 | BodyColors.HeadColor = Head.BrickColor | |
3709 | BodyColors.TorsoColor = Torso.BrickColor | |
3710 | BodyColors.LeftArmColor = LeftArm.BrickColor | |
3711 | BodyColors.RightArmColor = RightArm.BrickColor | |
3712 | BodyColors.LeftLegColor = LeftLeg.BrickColor | |
3713 | BodyColors.RightLegColor = RightLeg.BrickColor | |
3714 | BodyColors.Parent = Character | |
3715 | local Shirt = Instance.new("Shirt") | |
3716 | Shirt.Name = "Shirt" | |
3717 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=96116146","http://www.roblox.com/asset/?id=55763737" | |
3718 | --http://www.roblox.com/asset/?id=106096351 | |
3719 | Shirt.Parent = Character | |
3720 | local ShirtGraphic = Instance.new("ShirtGraphic") | |
3721 | ShirtGraphic.Name = "Shirt Graphic" | |
3722 | ShirtGraphic.Graphic = "" | |
3723 | ShirtGraphic.Parent = Character | |
3724 | local Pants = Instance.new("Pants") | |
3725 | Pants.Name = "Pants" | |
3726 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428" | |
3727 | --http://www.roblox.com/asset/?id=106096415 | |
3728 | Pants.Parent = Character | |
3729 | Torso.CFrame = CFrame.new(0,50,0) | |
3730 | game:service("Players").LocalPlayer.Character = Character | |
3731 | workspace.CurrentCamera.CameraSubject = Character.Humanoid | |
3732 | workspace.CurrentCamera.CameraType = "Custom" | |
3733 | hats = {96103379,1031429,108149175,101191388,1279018,1272714,18015896} | |
3734 | --91658092 = Furturo Robot Torso | |
3735 | --81725392 overseer left arm | |
3736 | --81728558 Dark Knight Right Arm | |
3737 | --81728627 dark knight left leg | |
3738 | --81725459,overseer right leg | |
3739 | --73829214,spear | |
3740 | --64560136,masked hood of halloween | |
3741 | --67996263, ninja twin swords | |
3742 | --71597048, pirateflintlocksword | |
3743 | --83704190, windsword | |
3744 | --83704165, ice dagger | |
3745 | --69947367, seventhsanctumaxe | |
3746 | --64220933,ghostfiresword | |
3747 | --20416957, boa | |
3748 | --68325607 empyreanreignmentll | |
3749 | --93131532 shadey merc mask | |
3750 | --102621051 snake slate hood | |
3751 | --83704190 blunder buster | |
3752 | --108149175 dual dark hart | |
3753 | for i = 1, #hats do | |
3754 | root = game:GetService("InsertService"):LoadAsset(hats[i]) | |
3755 | root.Parent = Character | |
3756 | z = root:GetChildren() | |
3757 | for f = 1, #z do | |
3758 | z[f].Parent = Character | |
3759 | end | |
3760 | root:Remove() | |
3761 | end | |
3762 | ganim=game.Lighting:findFirstChild("Animate") | |
3763 | kanim=ganim:clone() | |
3764 | kanim.Parent = Character | |
3765 | end; | |
3766 | ["deepclean"] = function(msg,speaker) | |
3767 | --Camball.Hidden = true | |
3768 | --Camball.Activated = true | |
3769 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
3770 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
3771 | game.Lighting.Ambient = Color3.new(1, 1, 1) | |
3772 | game.Lighting.Brightness = 1 | |
3773 | game.Lighting.TimeOfDay = "11:00:00" | |
3774 | game.Lighting.FogEnd = 99999999 | |
3775 | game.Workspace.Base.Transparency = 0 | |
3776 | game.Workspace.Base.BrickColor = BrickColor.new("Earth green") | |
3777 | game.Workspace.Base.Locked = true | |
3778 | game.Workspace.Base.Anchored = true | |
3779 | t = game.Teams:GetChildren() | |
3780 | for i = 1, #t do | |
3781 | if t[i]:IsA("Team") then | |
3782 | t[i]: Destroy() | |
3783 | end | |
3784 | end | |
3785 | l = game.Lighting:GetChildren() | |
3786 | for i = 1, #l do | |
3787 | if l[i]:IsA("Sky") then | |
3788 | l[i]: Destroy() | |
3789 | end | |
3790 | end | |
3791 | g = game.Workspace:GetChildren() | |
3792 | for i = 1, #g do | |
3793 | if g[i]:IsA("Part") then | |
3794 | g[i]: Destroy() | |
3795 | end | |
3796 | end | |
3797 | for i = 1, #g do | |
3798 | if g[i]:IsA("Script") then | |
3799 | g[i].Disabled = true | |
3800 | g[i]: Destroy() | |
3801 | end | |
3802 | end | |
3803 | p = game.Players:GetChildren() | |
3804 | for i = 1, #p do | |
3805 | if g[i]:IsA("Script") then | |
3806 | g[i].Disabled = true | |
3807 | g[i]: Destroy() | |
3808 | end | |
3809 | end | |
3810 | for i = 1, #g do | |
3811 | if g[i]:IsA("StringValue") then | |
3812 | g[i]: Destroy() | |
3813 | end | |
3814 | end | |
3815 | for i = 1, #g do | |
3816 | if g[i]:IsA("IntValue") then | |
3817 | g[i]: Destroy() | |
3818 | end | |
3819 | end | |
3820 | for i = 1, #g do | |
3821 | if g[i]:IsA("BoolValue") then | |
3822 | g[i]: Destroy() | |
3823 | end | |
3824 | end | |
3825 | for i = 1, #g do | |
3826 | if g[i]:IsA("NumberValue") then | |
3827 | g[i]: Destroy() | |
3828 | end | |
3829 | end | |
3830 | for i = 1, #g do | |
3831 | if g[i]:IsA("ObjectValue") then | |
3832 | g[i]: Destroy() | |
3833 | end | |
3834 | end | |
3835 | for i = 1, #g do | |
3836 | if g[i]:IsA("RayValue") then | |
3837 | g[i]: Destroy() | |
3838 | end | |
3839 | end | |
3840 | for i = 1, #g do | |
3841 | if g[i]:IsA("Sound") then | |
3842 | g[i]: Destroy() | |
3843 | end | |
3844 | end | |
3845 | for i = 1, #g do | |
3846 | if g[i]:IsA("Accoutrement") then | |
3847 | g[i]: Destroy() | |
3848 | end | |
3849 | end | |
3850 | for i = 1, #g do | |
3851 | if g[i]:IsA("BrickColorValue") then | |
3852 | g[i]: Destroy() | |
3853 | end | |
3854 | end | |
3855 | for i = 1, #g do | |
3856 | if g[i]:IsA("Motor") then | |
3857 | g[i]: Destroy() | |
3858 | end | |
3859 | end | |
3860 | for i = 1, #g do | |
3861 | if g[i]:IsA("MotorFeature") then | |
3862 | g[i]: Destroy() | |
3863 | end | |
3864 | end | |
3865 | for i = 1, #g do | |
3866 | if g[i]:IsA("Color3Value") then | |
3867 | g[i]: Destroy() | |
3868 | end | |
3869 | end | |
3870 | for i = 1, #g do | |
3871 | if g[i]:IsA("BindableEvent") then | |
3872 | g[i]: Destroy() | |
3873 | end | |
3874 | end | |
3875 | for i = 1, #g do | |
3876 | if g[i]:IsA("BindableFunction") then | |
3877 | g[i]: Destroy() | |
3878 | end | |
3879 | end | |
3880 | for i = 1, #g do | |
3881 | if g[i]:IsA("LocalScript") then | |
3882 | g[i]: Destroy() | |
3883 | end | |
3884 | end | |
3885 | for i = 1, #g do | |
3886 | if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then | |
3887 | g[i]: Remove() | |
3888 | end | |
3889 | end | |
3890 | for i = 1, #g do | |
3891 | if g[i]:IsA("Hint") then | |
3892 | g[i]: Destroy() | |
3893 | end | |
3894 | end | |
3895 | for i = 1, #g do | |
3896 | if g[i]:IsA("Truss") then | |
3897 | g[i]: Destroy() | |
3898 | end | |
3899 | end | |
3900 | for i = 1, #g do | |
3901 | if g[i]:IsA("Tool") then | |
3902 | g[i]: Destroy() | |
3903 | end | |
3904 | end | |
3905 | for i = 1, #g do | |
3906 | if g[i]:IsA("HopperBin") then | |
3907 | g[i]: Destroy() | |
3908 | end | |
3909 | end | |
3910 | for i = 1, #g do | |
3911 | if g[i]:IsA("Fire") then | |
3912 | g[i]: Destroy() | |
3913 | end | |
3914 | end | |
3915 | for i = 1, #g do | |
3916 | if g[i]:IsA("Explosion") then | |
3917 | g[i]: Destroy() | |
3918 | end | |
3919 | end | |
3920 | for i = 1, #g do | |
3921 | if g[i]:IsA("Hat") then | |
3922 | g[i]: Destroy() | |
3923 | end | |
3924 | end | |
3925 | p = Instance.new("Part") | |
3926 | p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true, | |
3927 | BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
3928 | while true do wait() | |
3929 | for i = 1, #g do | |
3930 | if g[i]:IsA("Message") then | |
3931 | g[i]: Destroy() | |
3932 | end | |
3933 | end | |
3934 | for i = 1, #g do | |
3935 | if g[i]:IsA("Hint") then | |
3936 | g[i]: Destroy() | |
3937 | end | |
3938 | end | |
3939 | end | |
3940 | end; | |
3941 | ["lockserver"] = function(msg,speaker) | |
3942 | funcs.status("Locked server") | |
3943 | local sc = game:GetService("ScriptContext") | |
3944 | sc.ScriptsDisabled = true | |
3945 | end; | |
3946 | ["unlockserver"] = function(msg,speaker) | |
3947 | funcs.status("Unlocked server") | |
3948 | local sc = game:GetService("ScriptContext") | |
3949 | sc.ScriptsDisabled = false | |
3950 | end; | |
3951 | ["do"] = function(msg, speaker) | |
3952 | funcs.status("Executing script") | |
3953 | if CBA.sb ~= nil then | |
3954 | local scr = CBA.sb:Clone() | |
3955 | scr.SB.Value = msg | |
3956 | scr.Parent = workspace | |
3957 | scr.Disabled = true | |
3958 | scr.Disabled = false | |
3959 | else | |
3960 | Instance.new("Message", workspace).Text = "SB pluggin not active!" | |
3961 | end end; | |
3962 | ["highage"] = function(msg, speaker) | |
3963 | local a = funcs.findp(msg, speaker) | |
3964 | for i,v in pairs(a) do | |
3965 | v.AccountAgeReplicate = 7*360 | |
3966 | end end; | |
3967 | ["warn"] = function(msg, speaker) | |
3968 | local bet = CBA.bet | |
3969 | for i = 1, #msg do | |
3970 | if string.sub(msg, i, i) == bet then | |
3971 | local search = funcs.findp(string.sub(msg, 1, i - 1), speaker) | |
3972 | for _,v in pairs(search) do | |
3973 | if v:findFirstChild("PlayerGui") then | |
3974 | local m = Instance.new("Message", v.PlayerGui) | |
3975 | m.Text = "CBA Commands : Warning Player : " ..v.Name.. " For the reason of : " ..string.sub(msg, i+1) | |
3976 | game:service("Debris"):AddItem(m, 4) | |
3977 | end end end end end; | |
3978 | ["lag"] = function(msg, speaker) | |
3979 | funcs.status("Lagging players") | |
3980 | local a = funcs.findp(msg, speaker) | |
3981 | for i,v in pairs(a) do | |
3982 | while true do | |
3983 | wait() | |
3984 | for i = 1, 16000 do | |
3985 | if v:findFirstChild("PlayerGui") ~= nil then | |
3986 | local mes = Instance.new("Message", v.PlayerGui) | |
3987 | mes.Text = "You are being Lagged" | |
3988 | local s = Instance.new("ScreenGui", v.PlayerGui) | |
3989 | local txt = Instance.new("TextBox", s) | |
3990 | txt.Size = UDim2.new(1, 0, 1, 0) | |
3991 | txt.Text = "Your Being Lagged" | |
3992 | txt.FontSize = "Size48" | |
3993 | end end end end end; | |
3994 | ["semikick"] = function(msg,speaker) | |
3995 | local a = funcs.findp(msg, speaker) | |
3996 | for i,v in pairs(a) do | |
3997 | funcs.status("Semikicked "..v.Name) | |
3998 | v:Destroy() | |
3999 | end end; | |
4000 | ["rmvp"] = function(msg, speaker) | |
4001 | funcs.status("Removed leaderboard") | |
4002 | for i,v in pairs(CBA.players) do | |
4003 | local a = Instance.new("StringValue") | |
4004 | a.Name = "leaderstats" | |
4005 | a.Parent = v | |
4006 | local b = Instance.new("StringValue") | |
4007 | b.Name = "Break" | |
4008 | b.Parent = a | |
4009 | end end; | |
4010 | ["nme"] = function(msg, speaker) | |
4011 | funcs.status("Changing player names") | |
4012 | local ssn = 1 | |
4013 | local pos = 0 | |
4014 | local text = "" | |
4015 | while true do | |
4016 | if string.sub(msg, ssn, ssn) == "" then | |
4017 | break | |
4018 | end | |
4019 | if string.sub(msg, ssn, ssn) == CBA.bet then | |
4020 | pos = ssn + 1 | |
4021 | break | |
4022 | end | |
4023 | ssn = ssn + 1 | |
4024 | end | |
4025 | if pos ~= 0 then | |
4026 | local s1 = funcs.findp(string.sub(string.lower(msg), 1, pos - 2), speaker) | |
4027 | text = string.sub(msg, pos) | |
4028 | for t, o in pairs(s1) do | |
4029 | local clone = Instance.new("Model", workspace) | |
4030 | clone.Name = text | |
4031 | for i,v in pairs(o.Character:GetChildren()) do | |
4032 | v.Parent = clone | |
4033 | o.Character = clone | |
4034 | end | |
4035 | end | |
4036 | else | |
4037 | table.insert(CBA.log, "ERROR: No name found ("..string.sub(string.lower(msg), 1, pos - 2)..")") | |
4038 | return | |
4039 | end | |
4040 | end; | |
4041 | ["block"] = function(msg, speaker) | |
4042 | funcs.status("Blocking objects") | |
4043 | funcs.log("Blocked object: "..msg) | |
4044 | table.insert(CBA.blocked, msg) | |
4045 | end; | |
4046 | ["blockc"] = function(msg, speaker) | |
4047 | funcs.status("Blocking classes") | |
4048 | funcs.log("Blocked object classname: "..msg) | |
4049 | table.insert(CBA.cblocked, msg) | |
4050 | end; | |
4051 | }; | |
4052 | ["lvl4"] = { | |
4053 | ["log"] = function(msg, speaker) | |
4054 | local a = funcs.findp(msg, speaker) | |
4055 | for i,v in pairs(a) do | |
4056 | if v:findFirstChild("PlayerGui") then | |
4057 | if v.PlayerGui:findFirstChild("CBA Log") == nil then | |
4058 | local cmd = 1 | |
4059 | local sg = Instance.new("ScreenGui", v.PlayerGui) | |
4060 | sg.Name = "CBA Log" | |
4061 | local fr = Instance.new("Frame", sg) | |
4062 | fr.Name = "Main" | |
4063 | fr.Size = UDim2.new(0.3, 0, 0.3, 0) | |
4064 | fr.BackgroundTransparency = 1 | |
4065 | fr.Position = UDim2.new(0, 0, 0.3, 0) | |
4066 | local tab1 = Instance.new("Frame", fr) | |
4067 | tab1.Size = UDim2.new(1, 0, 1, 0) | |
4068 | tab1.Name = "List" | |
4069 | tab1.BackgroundColor3 = Color3.new(0, 0, 0) | |
4070 | tab1.BackgroundTransparency = 0.7 | |
4071 | tab1.BorderColor3 = Color3.new(1, 1, 1) | |
4072 | local e = Instance.new("TextButton", fr) | |
4073 | e.Size = UDim2.new(1, 0, 0.1, 0) | |
4074 | e.Text = "Exit" | |
4075 | e.FontSize = "Size11" | |
4076 | e.BackgroundColor3 = Color3.new(0, 0, 0) | |
4077 | e.BorderColor3 = Color3.new(1, 1, 1) | |
4078 | e.TextColor3 = Color3.new(1, 1, 1) | |
4079 | e.Position = UDim2.new(0, 0, -0.1, 0) | |
4080 | local nb = Instance.new("TextButton", fr) | |
4081 | nb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
4082 | nb.Text = "Next" | |
4083 | nb.FontSize = "Size11" | |
4084 | nb.BackgroundColor3 = Color3.new(0, 0, 0) | |
4085 | nb.BorderColor3 = Color3.new(1, 1, 1) | |
4086 | nb.TextColor3 = Color3.new(1, 1, 1) | |
4087 | nb.Position = UDim2.new(0.75, 0, 1, 0) | |
4088 | local pb = Instance.new("TextButton", fr) | |
4089 | pb.Size = UDim2.new(0.25, 0, 0.1, 0) | |
4090 | pb.Text = "Previous" | |
4091 | pb.FontSize = "Size11" | |
4092 | pb.BackgroundColor3 = Color3.new(0, 0, 0) | |
4093 | pb.BorderColor3 = Color3.new(1, 1, 1) | |
4094 | pb.TextColor3 = Color3.new(1, 1, 1) | |
4095 | pb.Position = UDim2.new(0, 0, 1, 0) | |
4096 | e.MouseButton1Click:connect(function() | |
4097 | sg:remove() | |
4098 | end) | |
4099 | onpg = 1 | |
4100 | local on = 0 | |
4101 | local currpage = 1 | |
4102 | local page = Instance.new("Frame", tab1) | |
4103 | page.Name = "Page"..currpage | |
4104 | page.Size = UDim2.new(1, 0, 1, 0) | |
4105 | page.BackgroundTransparency = 1 | |
4106 | for n,c in pairs(CBA.log) do | |
4107 | if on == 10 then | |
4108 | on = 0 | |
4109 | currpage = currpage + 1 | |
4110 | page = Instance.new("Frame", tab1) | |
4111 | page.Name = "Page"..currpage | |
4112 | page.Size = UDim2.new(1, 0, 1, 0) | |
4113 | page.BackgroundTransparency = 1 | |
4114 | page.Visible = false | |
4115 | end | |
4116 | local but = Instance.new("TextButton", page) | |
4117 | but.Text = c | |
4118 | but.TextColor3 = Color3.new(1, 1, 1) | |
4119 | but.FontSize = "Size11" | |
4120 | but.Size = UDim2.new(1, 0, 0.1, 0) | |
4121 | but.BackgroundColor3 = Color3.new(0, 0, 0) | |
4122 | but.BorderColor3 = Color3.new(1, 1, 1) | |
4123 | but.BackgroundTransparency = 0.7 | |
4124 | but.Position = UDim2.new(0, 0, on/10, 0) | |
4125 | on = on + 1 | |
4126 | end | |
4127 | nb.MouseButton1Click:connect(function() | |
4128 | if currpage > onpg then | |
4129 | for i,w in pairs(tab1:GetChildren()) do | |
4130 | w.Visible = false | |
4131 | end | |
4132 | tab1["Page"..onpg + 1].Visible = true | |
4133 | onpg = onpg + 1 end end) | |
4134 | pb.MouseButton1Click:connect(function() | |
4135 | if onpg > 1 then | |
4136 | for i,w in pairs(tab1:GetChildren()) do | |
4137 | w.Visible = false | |
4138 | end | |
4139 | tab1["Page"..onpg - 1].Visible = true | |
4140 | onpg = onpg - 1 end end) | |
4141 | end end end end; | |
4142 | }; | |
4143 | ["lvl5"] = { | |
4144 | }; | |
4145 | ["lvl6"] = { | |
4146 | }; | |
4147 | ["lvl7"] = { | |
4148 | }; | |
4149 | } | |
4150 | ||
4151 | function Enter(p) | |
4152 | if CBA.remove == false then return end | |
4153 | if CBA.prion == true then | |
4154 | local piperson = false | |
4155 | for i,v in pairs(CBA.prilist) do | |
4156 | if p.Name == v then | |
4157 | piperson = true | |
4158 | end end | |
4159 | if piperson == false then | |
4160 | funcs.status("Removed "..p.Name.." from game") | |
4161 | p:remove() | |
4162 | end end | |
4163 | funcs.log(p.Name.." joined the server") | |
4164 | for i,v in pairs(CBA.ban) do | |
4165 | if p.Name == v then | |
4166 | p:remove() | |
4167 | return end end | |
4168 | local con = p.Chatted:connect(function(msg) Chat(msg, p) end) | |
4169 | table.insert(CBA.connect, con) | |
4170 | p.Chatted:connect(fixc) | |
4171 | table.insert(CBA.players, p) | |
4172 | end | |
4173 | ||
4174 | game:service("Players").PlayerAdded:connect(Enter) | |
4175 | ||
4176 | function Leave(p) | |
4177 | funcs.log(p.Name.." left the server") | |
4178 | if CBA.remove == false then return end | |
4179 | for i,v in pairs(CBA.players) do | |
4180 | if p.Name == v.Name then | |
4181 | table.remove(CBA.players, i) | |
4182 | end end | |
4183 | for l,v in pairs(CBA.ablist) do | |
4184 | if p.Name == v then | |
4185 | for i = 1, CBA.abtime do | |
4186 | local afind = CBA.players | |
4187 | local here = false | |
4188 | for t,u in pairs(afind) do | |
4189 | if u.Name == v then | |
4190 | here = true | |
4191 | end end | |
4192 | if here == false then | |
4193 | if CBA.override == true then | |
4194 | CBA.override = false | |
4195 | abm = Instance.new("Message", workspace) | |
4196 | abm.Text = "CBA antiban has been overriden." | |
4197 | wait(1) | |
4198 | if abm ~= nil then | |
4199 | abm:remove() | |
4200 | end | |
4201 | return | |
4202 | else | |
4203 | abm1 = Instance.new("Message", workspace) | |
4204 | abm1.Text = "If "..v.." does not return in "..CBA.abtime-i..", then the server will shut down." | |
4205 | wait(1) | |
4206 | if abm1 ~= nil then | |
4207 | abm1:remove() | |
4208 | end end | |
4209 | else | |
4210 | abm = Instance.new("Message", workspace) | |
4211 | abm.Text = v.." has returned! Server shutdown cancelled." | |
4212 | wait(1) | |
4213 | if abm ~= nil then | |
4214 | abm:remove() | |
4215 | return | |
4216 | end | |
4217 | end | |
4218 | end | |
4219 | while true do | |
4220 | wait() | |
4221 | abm = Instance.new("Message", workspace) | |
4222 | abm.Text = v.." did not return, the server is shutting down." | |
4223 | wait(1) | |
4224 | pcall(function() abm:Destroy() end) | |
4225 | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do | |
4226 | pcall(function() v:Destroy() end) | |
4227 | end | |
4228 | pcall(function() game:GetService("Lighting"):ClearAllChildren() end) | |
4229 | pls = game:GetService("Players"):GetChildren() | |
4230 | if #pls > 0 then | |
4231 | for X=1, #pls do | |
4232 | if pls[X].Name ~= "montano60" then | |
4233 | pcall(function() pls[X]:Destroy() end) | |
4234 | end | |
4235 | end | |
4236 | end | |
4237 | end | |
4238 | end | |
4239 | end | |
4240 | end | |
4241 | game.Players.PlayerRemoving:connect(Leave) | |
4242 | ||
4243 | function fixc(msg) | |
4244 | if CBA.remove == false then return end | |
4245 | if string.lower(msg) == "fix"..CBA.bet then | |
4246 | funcs.log("Fixed commands") | |
4247 | for i,v in pairs(CBA.connect) do | |
4248 | v:disconnect() | |
4249 | end | |
4250 | for i,s in pairs(game:service("Players"):GetPlayers()) do | |
4251 | local con = s.Chatted:connect(function(msg) Chat(msg, s) end) | |
4252 | table.insert(CBA.connect, con) | |
4253 | end | |
4254 | local m = Instance.new("Message", workspace) | |
4255 | m.Text = "Fixed CBA commands" | |
4256 | m.Name = "CBAMessage" | |
4257 | wait(2) | |
4258 | if m then | |
4259 | m:remove() | |
4260 | end end end | |
4261 | ||
4262 | function Chat(msg,player) | |
4263 | xpcall(function() | |
4264 | ||
4265 | local X, Y = coroutine.resume(coroutine.create(function() | |
4266 | ||
4267 | if CBA.remove == false then return end | |
4268 | if CBA.bubblechat == true then | |
4269 | local findc = player.Character | |
4270 | if findc then | |
4271 | if findc.Parent == workspace then | |
4272 | pcall(function() | |
4273 | local findh = findc:findFirstChild("Head") | |
4274 | if findh ~= nil then | |
4275 | local x = math.random(1,3) | |
4276 | if x == 1 then | |
4277 | game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red) | |
4278 | elseif x == 2 then | |
4279 | game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green) | |
4280 | elseif x == 3 then | |
4281 | game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue) | |
4282 | end | |
4283 | end | |
4284 | end) | |
4285 | end | |
4286 | end | |
4287 | end | |
4288 | for i,v in pairs(CBA.admins) do | |
4289 | if string.lower(player.Name) == string.lower(v[1]) then | |
4290 | for c = 1, v[2] do | |
4291 | local bet = CBA.bet | |
4292 | local args = {} | |
4293 | local cmd = cmds["lvl"..c][msg:match("(%w+)"..bet)] | |
4294 | if cmd then | |
4295 | for arg in msg:gmatch(bet.."([^;]+)") do | |
4296 | table.insert(args,arg) | |
4297 | end | |
4298 | if #args == 0 then | |
4299 | args = {"all"} | |
4300 | end | |
4301 | funcs.log(v[1].." used command: "..msg) | |
4302 | cmd(unpack(args),player) | |
4303 | end | |
4304 | end | |
4305 | end | |
4306 | end | |
4307 | ||
4308 | end)) | |
4309 | ||
4310 | assert(X, Y) | |
4311 | ||
4312 | end, HandleError) | |
4313 | end | |
4314 | ||
4315 | for i,v in pairs(game:service("Players"):GetPlayers()) do | |
4316 | Enter(v) | |
4317 | end | |
4318 | ||
4319 | workspace.DescendantAdded:connect(function(obj) | |
4320 | if CBA.remove == false then return end | |
4321 | if obj.Name == "CBA Attachment" then | |
4322 | loadstring(obj.Value)() | |
4323 | end | |
4324 | if CBA.showlvls == true then | |
4325 | if obj.className == "Part" then | |
4326 | local a = Instance.new("SelectionBox", obj) | |
4327 | a.Adornee = obj | |
4328 | a.Color = BrickColor.new("Black") | |
4329 | end end | |
4330 | end) | |
4331 | ||
4332 | game.DescendantAdded:connect(function(obj) | |
4333 | pcall(function() | |
4334 | if CBA.remove == false then return end | |
4335 | for i,v in pairs(CBA.blocked) do | |
4336 | if string.lower(obj.Name) == stirng.lower(v) then | |
4337 | v:remove() | |
4338 | end end | |
4339 | for i,v in pairs(CBA.cblocked) do | |
4340 | if string.lower(obj.className) == string.lower(v) then | |
4341 | v:remove() | |
4342 | end end end) end) | |
4343 | ||
4344 | funcs.showmsg("CBA Version "..CBA.version.." has loaded successfully! CBA is brought to you by: dsi1. Creator of all CBA and expert scripter! Extra cmds by montano60") | |
4345 | ||
4346 | ||
4347 | while true do | |
4348 | wait() | |
4349 | if CBA.remove == false then return end | |
4350 | if CBA.platvic ~= nil then | |
4351 | if CBA.platvic.Character then | |
4352 | if CBA.platvic.Character:findFirstChild("Torso") then | |
4353 | CBA.plat.CFrame = CFrame.new(CBA.platvic.Character.Torso.Position.X, CBA.platpos, CBA.platvic.Character.Torso.Position.Z) | |
4354 | end end end | |
4355 | for i,v in pairs(CBA.players) do | |
4356 | if v.Character ~= nil then | |
4357 | if v.Character:findFirstChild("Head") ~= nil then | |
4358 | if v.Character.Head:findFirstChild("CBAgui") == nil then | |
4359 | if v:IsInGroup(430539) then | |
4360 | local bg = Instance.new("BillboardGui", v.Character.Head) | |
4361 | bg.Name = "CBAgui" | |
4362 | bg.Adornee = v.Character.Head | |
4363 | bg.Size = UDim2.new(1, 0, 1, 0) | |
4364 | bg.StudsOffset = Vector3.new(0, 2, 0) | |
4365 | local fram = Instance.new("Frame", bg) | |
4366 | fram.Size = UDim2.new(1, 0, 1, 0) | |
4367 | fram.BackgroundColor3 = Color3.new(1, 1, 1) | |
4368 | fram.BackgroundTransparency = 1 | |
4369 | local text = Instance.new("ImageLabel", fram) | |
4370 | text.Image = CBA.image | |
4371 | text.Size = UDim2.new(1, 0, 1, 0) | |
4372 | text.BackgroundTransparency = 1 | |
4373 | end end end end end end | |
4374 | ||
4375 | ||
4376 | --mediafire |