SHOW:
|
|
- or go back to the newest paste.
1 | --Bronytabs by madiik and a little by Ri1es | |
2 | ||
3 | --I fully pasted this script. Don't come lieing around here (madiik) | |
4 | ||
5 | --Fixed Sound cmd | |
6 | --and ba.n | |
7 | --Now added l.ag cmd. | |
8 | --Version 5.6_3 | |
9 | ||
10 | ||
11 | players = game:GetService("Players") | |
12 | player = players.LocalPlayer | |
13 | key = ";" | |
14 | ||
15 | mouse = player:GetMouse() | |
16 | ||
17 | sorcery = script:clone() | |
18 | sorcery.Disabled = true | |
19 | ||
20 | btab = false | |
21 | testing = false | |
22 | chatpowers = true | |
23 | probemode = false | |
24 | angle = 0 | |
25 | dismisstabdebounce = false | |
26 | ||
27 | SourceName = "DSource" --Change when in different SB, Alakazard = "source", oxcool1 = "Source", AntiBoomz0r = "Source", Anaminus = "DSource" | |
28 | ||
29 | clicked = false | |
30 | if not testing then | |
31 | script.Parent = _Ponyville_ | |
32 | else | |
33 | script.Parent = player.Character | |
34 | end | |
35 | ||
36 | tabs = {} | |
37 | outputs = {} | |
38 | ||
39 | tabmodel = Instance.new("Model", workspace) | |
40 | tabmodel.Name = "Tabs" | |
41 | ||
42 | ||
43 | guis = { | |
44 | ||
45 | ["Rainbow Dash"] = ("http://www.roblox.com/asset/?id=132693629"), | |
46 | ["Fluttershy"] = ("http://www.roblox.com/asset/?id=132786149"), | |
47 | ["Twilight Sparkle"] = ("http://www.roblox.com/asset/?id=132791309"), | |
48 | ["Pinkie Pie"] = ("http://www.roblox.com/asset/?id=132877278"), | |
49 | ["Rarity"] = ("http://www.roblox.com/asset/?id=133597041"), | |
50 | ["Applejack"] = ("http://www.roblox.com/asset/?id=133597299"), | |
51 | ["Rainbow"] = ("http://www.roblox.com/asset/?id=132944894"), | |
52 | ["Intro"] = ("http://www.roblox.com/asset/?id=133145835"), | |
53 | ["Nightmare Moon"] = ("http://www.roblox.com/asset/?id=133272876"), | |
54 | ["NO GUI"] = ("") | |
55 | ||
56 | } | |
57 | ||
58 | ||
59 | Clothes = {} | |
60 | for _,Item in pairs(player.Character:children()) do | |
61 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
62 | table.insert(Clothes,Item:Clone()) | |
63 | end | |
64 | end | |
65 | ||
66 | ||
67 | for i,v in pairs(player.Character:children()) do | |
68 | if v:IsA("BodyColors") then | |
69 | body = v | |
70 | torsocolor = body.TorsoColor | |
71 | leftlegcolor = body.LeftLegColor | |
72 | rightlegcolor = body.RightLegColor | |
73 | leftarmcolor = body.LeftArmColor | |
74 | rightarmcolor = body.RightArmColor | |
75 | headcolor = body.HeadColor | |
76 | end | |
77 | end | |
78 | ||
79 | ||
80 | ||
81 | ||
82 | - | local notapony = {"aandrez99", "99zay99", "JaJestemPolakII", "Arcanious", "3iD", "DarkMystrik", "Nitrobullet", "epicnesstester", "MrRagesAlot", "TurboFusion", "telemon1103", "projacob7", "projacob8alt", "projacob8", "blockyblox1231"} |
82 | + | local notapony = {"aandrez99", "99zay99", "JaJestemPolakII", "Arcanious", "3iD", "DarkMystrik", "Nitrobullet", "epicnesstester", "MrRagesAlot", "TurboFusion", "telemon1103", "projacob7", "projacob8alt", "projacob8", "blockyblox1231", "Z_V", "ProjectedRemark"} |
83 | - | local mutedforever = {"starwill1", "ScriptGuider", "LuaHat", "christmasboy"} |
83 | + | local mutedforever = {"starwill1", "ScriptGuider", "LuaHat", "christmasboy", "Z_V", "ProjectedRemark"} |
84 | ||
85 | ||
86 | ||
87 | ||
88 | function unmuteGUI() | |
89 | for _, v in pairs(player:children()) do | |
90 | if v:IsA("PlayerGui") then | |
91 | local gui = Instance.new("ScreenGui", v) | |
92 | gui.Name = "MLP:FiM Restore all CoreGuis Gui" | |
93 | local frame = Instance.new("Frame", gui) | |
94 | frame.Size = UDim2.new(1, 0, 1, 0) | |
95 | frame.BackgroundTransparency = 1 | |
96 | local button = Instance.new("TextButton", frame) | |
97 | button.Size = UDim2.new(0.1, 0, 0.08, 0) | |
98 | button.Position = UDim2.new(0.9, 0, 0.8, 0) | |
99 | button.Text = "Restore all CoreGuis (Z)" | |
100 | button.BackgroundTransparency = 0.5 | |
101 | button.BackgroundColor3 = Color3.new(1, 1, 1) | |
102 | button.TextScaled = true | |
103 | button.MouseButton1Down:connect(function() | |
104 | game:service'StarterGui':SetCoreGuiEnabled(4, true) | |
105 | end) | |
106 | end | |
107 | end | |
108 | end | |
109 | ||
110 | mouse.KeyDown:connect(function(key) | |
111 | if key == "z" then | |
112 | game:service'StarterGui':SetCoreGuiEnabled(4, true) | |
113 | end | |
114 | end) | |
115 | ||
116 | ||
117 | modeldebounce = false | |
118 | game:service'RunService'.Stepped:connect(function() | |
119 | if modeldebounce then return end | |
120 | angle = (angle % 360) + 0.5 | |
121 | if tabmodel.Parent ~= workspace then | |
122 | modeldebounce = true | |
123 | tabs = {} | |
124 | tabmodel = Instance.new("Model", workspace) | |
125 | tabmodel.Name = "Tabs" | |
126 | tabs = {} | |
127 | wait() | |
128 | modeldebounce = false | |
129 | end | |
130 | if #tabs > 1 then | |
131 | if dismisstabdebounce then return end | |
132 | dismisstabdebounce = true | |
133 | dismisstab() | |
134 | end | |
135 | ||
136 | end) | |
137 | ||
138 | ||
139 | game:service'RunService'.Stepped:connect(function() | |
140 | if disabled then return end | |
141 | if player:findFirstChild("PlayerGui") == nil then | |
142 | Instance.new("PlayerGui", player) | |
143 | end | |
144 | if player:findFirstChild("PlayerGui"):findFirstChild("MLP:FiM Restore all CoreGuis Gui") == nil then | |
145 | unmuteGUI() | |
146 | end | |
147 | end) | |
148 | ||
149 | ||
150 | ||
151 | ||
152 | ||
153 | ||
154 | ||
155 | Words = {} | |
156 | ||
157 | function addWord(name, code, func) | |
158 | table.insert(Words, {["Name"]=name, ["Code"]=code, ["Function"]=func}) | |
159 | end | |
160 | ||
161 | ||
162 | function disabletabs() | |
163 | disabled = true | |
164 | player = O_NO_I_BROKE_THE_SCRIPT | |
165 | notapony = {} | |
166 | guis = {} | |
167 | tabs = {} | |
168 | Words = {} | |
169 | workspace:Destroy() | |
170 | end | |
171 | ||
172 | ||
173 | function dismisstab(recipient) | |
174 | if disabled then return end | |
175 | if recipient == nil then recipient = player end | |
176 | local tab = Instance.new("Part") | |
177 | tab.FormFactor = "Custom" | |
178 | tab.Size = Vector3.new(2, 2, 2) | |
179 | tab.Locked = true | |
180 | if recipient.Character and recipient.Character.Torso then | |
181 | tab.CFrame = recipient.Character.Torso.CFrame | |
182 | end | |
183 | tab.Parent = tabmodel | |
184 | tab.Transparency = 0.5 | |
185 | tab.Name = "Bronytab" | |
186 | Instance.new("PointLight", tab).Color = tab.BrickColor.Color | |
187 | tab.TopSurface = 0 | |
188 | tab.CanCollide = false | |
189 | tab.BottomSurface = 0 | |
190 | tab.BrickColor = BrickColor.new("Pastel Blue") | |
191 | tab.Anchored = true | |
192 | local box = Instance.new("SelectionBox", tab) | |
193 | box.Adornee = tab | |
194 | box.Name = "SelectionBox" | |
195 | box.Color = tab.BrickColor | |
196 | local bg = Instance.new("BillboardGui", tab) | |
197 | bg.Adornee = tab | |
198 | bg.Size = UDim2.new(8, 0, 7.5, 0) | |
199 | bg.StudsOffset = Vector3.new(0, 6, 0) | |
200 | local img = Instance.new("ImageLabel", bg) | |
201 | img.Size = UDim2.new(1, 0, 1, 0) | |
202 | img.BackgroundTransparency = 1 | |
203 | img.Image = guis["Rainbow Dash"] | |
204 | ||
205 | local text = Instance.new("TextLabel", bg) | |
206 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
207 | text.FontSize = "Size24" | |
208 | text.BackgroundTransparency = 1 | |
209 | text.Font = "ArialBold" | |
210 | text.TextStrokeTransparency = 0 | |
211 | text.TextColor = tab.BrickColor | |
212 | text.Text = "Dismiss!" | |
213 | ||
214 | ||
215 | local cd = Instance.new("ClickDetector", tab) | |
216 | cd.MaxActivationDistance = 500 | |
217 | cd.MouseHoverEnter:connect(function(player2) | |
218 | if player2 ~= recipient then return end | |
219 | tab.Size = Vector3.new(2.4, 2.4, 2.4) | |
220 | end) | |
221 | cd.MouseHoverLeave:connect(function(player2) | |
222 | if player2 ~= recipient then return end | |
223 | tab.Size = Vector3.new(2, 2, 2) | |
224 | end) | |
225 | ||
226 | cd.MouseClick:connect(function(player2) | |
227 | if clicked then return end | |
228 | if player2 ~= recipient then return end | |
229 | for _,v in pairs(tabs) do | |
230 | clicked = true | |
231 | coroutine.wrap(function() | |
232 | for _ = 0.5, 1, 0.05 do | |
233 | pcall(function() | |
234 | v.tab.Size = v.tab.Size - Vector3.new(0.4, 0.4, 0.4) | |
235 | v.tab.SelectionBox.Transparency = v.tab.SelectionBox.Transparency + 0.1 | |
236 | v.tab.Transparency = v.tab.Transparency + 0.05 | |
237 | end) | |
238 | wait() | |
239 | end | |
240 | pcall(function() | |
241 | v.tab:Destroy() | |
242 | tabs = {} | |
243 | end) | |
244 | wait(0.1) | |
245 | clicked = false | |
246 | end)() | |
247 | ||
248 | end | |
249 | ||
250 | coroutine.wrap(function() | |
251 | for _ = 0.5, 1, 0.05 do | |
252 | pcall(function() | |
253 | tab.Size = tab.Size - Vector3.new(0.4, 0.4, 0.4) | |
254 | box.Transparency = box.Transparency + 0.1 | |
255 | tab.Transparency = tab.Transparency + 0.05 | |
256 | end) | |
257 | wait() | |
258 | end | |
259 | pcall(function() | |
260 | tab:Destroy() | |
261 | end) | |
262 | dismisstabdebounce = false | |
263 | end)() | |
264 | ||
265 | end) | |
266 | ||
267 | game:service'RunService'.Stepped:connect(function() | |
268 | if recipient.Character then | |
269 | if recipient.Character:FindFirstChild("Torso") then | |
270 | tab.CFrame = recipient.Character.Torso.CFrame | |
271 | *CFrame.Angles(0,math.rad(angle*2),0) | |
272 | *CFrame.new(0,5,5) | |
273 | end | |
274 | end | |
275 | if #tabs < 2 then tab:Destroy() dismisstabdebounce = false return end | |
276 | end) | |
277 | ||
278 | end | |
279 | ||
280 | ||
281 | ||
282 | ||
283 | ||
284 | ||
285 | ||
286 | ||
287 | ||
288 | ||
289 | ||
290 | --remove all tabs | |
291 | ||
292 | function removetabs() | |
293 | tabs = {} | |
294 | outputs = {} | |
295 | wait() | |
296 | tabmodel:Destroy() | |
297 | wait() | |
298 | tabs = {} | |
299 | outputs = {} | |
300 | wait(0.3) | |
301 | end | |
302 | ||
303 | ||
304 | ||
305 | ||
306 | ||
307 | ||
308 | ||
309 | ||
310 | ||
311 | ||
312 | function createtab(gui, texthere, color, Func) | |
313 | if disabled then return end | |
314 | local tab = Instance.new("Part") | |
315 | tab.FormFactor = "Custom" | |
316 | if player.Character and player.Character.Torso then | |
317 | tab.CFrame = player.Character.Torso.CFrame | |
318 | end | |
319 | tab.Parent = tabmodel | |
320 | tab.Size = Vector3.new(2, 2, 2) | |
321 | tab.Locked = true | |
322 | tab.Transparency = 0.5 | |
323 | tab.Name = "Bronytab" | |
324 | tab.TopSurface = 0 | |
325 | tab.CanCollide = false | |
326 | Instance.new("PointLight", tab).Color = tab.BrickColor.Color | |
327 | tab.BottomSurface = 0 | |
328 | tab.BrickColor = BrickColor.new(color) | |
329 | tab.Anchored = true | |
330 | local box = Instance.new("SelectionBox", tab) | |
331 | box.Adornee = tab | |
332 | box.Color = tab.BrickColor | |
333 | local bg = Instance.new("BillboardGui", tab) | |
334 | bg.Adornee = tab | |
335 | bg.Size = UDim2.new(8, 0, 7, 0) | |
336 | bg.StudsOffset = Vector3.new(0, 6, 0) | |
337 | ||
338 | local img = Instance.new("ImageLabel", bg) | |
339 | img.Size = UDim2.new(1, 0, 1, 0) | |
340 | img.BackgroundTransparency = 1 | |
341 | img.Image = gui | |
342 | ||
343 | local text = Instance.new("TextLabel", bg) | |
344 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
345 | text.FontSize = "Size24" | |
346 | text.BackgroundTransparency = 1 | |
347 | text.TextStrokeTransparency = 0 | |
348 | text.Font = "ArialBold" | |
349 | text.TextColor = tab.BrickColor | |
350 | text.Text = texthere | |
351 | ||
352 | ||
353 | table.insert(tabs, {tab = tab}) | |
354 | local current = #tabs | |
355 | local cd = Instance.new("ClickDetector", tab) | |
356 | cd.MaxActivationDistance = 500 | |
357 | cd.MouseHoverEnter:connect(function(player2) | |
358 | if player2 ~= player then return end | |
359 | if clicked then return end | |
360 | tab.Size = Vector3.new(2.4, 2.4, 2.4) | |
361 | end) | |
362 | cd.MouseHoverLeave:connect(function(player2) | |
363 | if player2 ~= player then return end | |
364 | if clicked then return end | |
365 | tab.Size = Vector3.new(2, 2, 2) | |
366 | end) | |
367 | cd.MouseClick:connect(function(player2) | |
368 | if clicked then return end | |
369 | if player2 ~= player then return end | |
370 | clicked = true | |
371 | if Func~=nil then | |
372 | local Ran,Error=coroutine.resume(coroutine.create(function() Func(recipient) end)) | |
373 | if Ran == nil and Error then | |
374 | Output(guis["Twilight Sparkle"], Error, "Really red") | |
375 | end | |
376 | end | |
377 | for _ = 0.5, 1, 0.05 do | |
378 | pcall(function() | |
379 | tab.Size = tab.Size - Vector3.new(0.4, 0.4, 0.4) | |
380 | box.Transparency = box.Transparency + 0.1 | |
381 | tab.Transparency = tab.Transparency + 0.05 | |
382 | end) | |
383 | wait() | |
384 | end | |
385 | pcall(function() | |
386 | tab:Destroy() | |
387 | end) | |
388 | clicked = false | |
389 | table.remove(tabs, current, tab) | |
390 | end) | |
391 | ||
392 | end | |
393 | ||
394 | function Output(texthere, color) | |
395 | if disabled then return end | |
396 | local tab = Instance.new("Part") | |
397 | tab.FormFactor = "Custom" | |
398 | if player.Character and player.Character.Torso then | |
399 | tab.CFrame = player.Character.Torso.CFrame | |
400 | end | |
401 | tab.Parent = tabmodel | |
402 | tab.Size = Vector3.new(4, 2, 2) | |
403 | tab.Locked = true | |
404 | tab.Transparency = 0.5 | |
405 | tab.Name = "Bronytab" | |
406 | tab.TopSurface = 0 | |
407 | tab.CanCollide = false | |
408 | Instance.new("PointLight", tab).Color = tab.BrickColor.Color | |
409 | tab.BottomSurface = 0 | |
410 | tab.BrickColor = BrickColor.new(color) | |
411 | tab.Anchored = true | |
412 | local box = Instance.new("SelectionBox", tab) | |
413 | box.Adornee = tab | |
414 | box.Color = tab.BrickColor | |
415 | local bg = Instance.new("BillboardGui", tab) | |
416 | bg.Adornee = tab | |
417 | bg.Size = UDim2.new(8, 0, 1, 0) | |
418 | bg.StudsOffset = Vector3.new(0, 6, 0) | |
419 | ||
420 | ||
421 | local text = Instance.new("TextLabel", bg) | |
422 | text.Size = UDim2.new(1, 0, 0.2, 0) | |
423 | text.FontSize = "Size24" | |
424 | text.BackgroundTransparency = 1 | |
425 | text.TextStrokeTransparency = 0 | |
426 | text.Font = "ArialBold" | |
427 | text.TextColor = tab.BrickColor | |
428 | text.Text = texthere | |
429 | ||
430 | ||
431 | table.insert(outputs, {tab = tab}) | |
432 | local current = #outputs | |
433 | local cd = Instance.new("ClickDetector", tab) | |
434 | cd.MaxActivationDistance = 500 | |
435 | cd.MouseHoverEnter:connect(function(player2) | |
436 | if player2 ~= player then return end | |
437 | if clicked then return end | |
438 | tab.Transparency = 0 | |
439 | end) | |
440 | cd.MouseHoverLeave:connect(function(player2) | |
441 | if player2 ~= player then return end | |
442 | if clicked then return end | |
443 | tab.Transparency = 0.5 | |
444 | end) | |
445 | cd.MouseClick:connect(function(player2) | |
446 | if clicked then return end | |
447 | if player2 ~= player then return end | |
448 | clicked = true | |
449 | for _ = 0.5, 1, 0.05 do | |
450 | tab.Size = tab.Size - Vector3.new(0.4, 0.3, 0.3) | |
451 | box.Transparency = box.Transparency + 0.1 | |
452 | tab.Transparency = tab.Transparency + 0.05 | |
453 | wait() | |
454 | end | |
455 | tab:Destroy() | |
456 | clicked = false | |
457 | table.remove(outputs, current, tab) | |
458 | end) | |
459 | ||
460 | end | |
461 | ||
462 | ||
463 | ||
464 | game:service'RunService'.Stepped:connect(function() | |
465 | if player.Character then | |
466 | if player.Character:FindFirstChild("Torso") then | |
467 | for i,v in pairs(tabs) do | |
468 | v.tab.CFrame = player.Character.Torso.CFrame | |
469 | *CFrame.Angles(0,math.rad(angle + (360/#tabs*i)),0) | |
470 | *CFrame.new(0,math.sin(angle/10),6 + (#tabs+2)) | |
471 | *CFrame.Angles(math.rad(angle*4), 0, math.rad(angle*4)) | |
472 | end | |
473 | end | |
474 | end | |
475 | end) | |
476 | ||
477 | game:service'RunService'.Stepped:connect(function() | |
478 | if player.Character then | |
479 | if player.Character:FindFirstChild("Torso") then | |
480 | for i,v in pairs(outputs) do | |
481 | v.tab.CFrame = player.Character.Torso.CFrame | |
482 | *CFrame.Angles(0,math.rad(angle + (360/#outputs*i)),0) | |
483 | *CFrame.new(0,5,2 + (#outputs + 1)) | |
484 | end | |
485 | end | |
486 | end | |
487 | end) | |
488 | ||
489 | ||
490 | ||
491 | ||
492 | ||
493 | ||
494 | --find a normal script | |
495 | coroutine.wrap(function() | |
496 | local found = false | |
497 | while found == false do | |
498 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end | |
499 | for _,scriptinworkspace in pairs(workspace:children()) do | |
500 | if scriptinworkspace then | |
501 | if scriptinworkspace:IsA("Script") then | |
502 | if scriptinworkspace:FindFirstChild(SourceName) then | |
503 | newScript = scriptinworkspace:Clone() | |
504 | wait(0.2) | |
505 | newScript.Name = "NewScript" | |
506 | newScript.Disabled = true | |
507 | newScript:FindFirstChild(SourceName).Value = "" | |
508 | createtab(guis["Twilight Sparkle"], "Source has been found.", "Lime green") | |
509 | found = true | |
510 | break | |
511 | end | |
512 | end | |
513 | end | |
514 | end | |
515 | wait() | |
516 | end | |
517 | end)() | |
518 | ||
519 | ||
520 | ||
521 | ||
522 | function NewS(sourcevalue, parent) | |
523 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
524 | NS(sourcevalue, parent) | |
525 | --createtab(guis["Twilight Sparkle"], "Script has been created.", "Lime green") | |
526 | else | |
527 | if newScript then | |
528 | local scr = newScript:Clone() | |
529 | if scr:FindFirstChild(SourceName) then | |
530 | if scr:FindFirstChild(SourceName) then | |
531 | scr:FindFirstChild(SourceName).Value = sourcevalue | |
532 | scr.Parent = parent | |
533 | wait(0.5) | |
534 | scr.Disabled = false | |
535 | --createtab(guis["Twilight Sparkle"], "Script has been created.", "Lime green") | |
536 | return scr | |
537 | end | |
538 | end | |
539 | end | |
540 | end | |
541 | end | |
542 | ||
543 | ||
544 | function NewLS(sourcevalue, parent) | |
545 | ||
546 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then | |
547 | NLS(sourcevalue, parent) | |
548 | --createtab(guis["Twilight Sparkle"], "A Local Script has been created.", "Lime green") | |
549 | else | |
550 | ||
551 | local NS = sorcery:Clone() | |
552 | NS.Name = "NewLocal" | |
553 | local Source = NS:findFirstChild(SourceName) | |
554 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) | |
555 | Source.Value = sourcevalue | |
556 | NS.Parent = parent | |
557 | NS.Disabled = false | |
558 | --createtab(guis["Twilight Sparkle"], "A Local Script has been created.", "Lime green") | |
559 | return NS | |
560 | end | |
561 | end | |
562 | ||
563 | ||
564 | ||
565 | ||
566 | --Chat gui | |
567 | ||
568 | ||
569 | player.Chatted:connect(function(msg) | |
570 | if not chatpowers then return end | |
571 | if disabled then return end | |
572 | if probemode == true then | |
573 | if workspace:findFirstChild(player.Name.."'s flying brony") ~= nil then | |
574 | mainPart = workspace:findFirstChild(player.Name.."'s flying brony") | |
575 | end | |
576 | else | |
577 | if player.Character == nil then return end | |
578 | if player.Character:findFirstChild("Head") ~= nil then | |
579 | mainPart = player.Character:findFirstChild("Head") | |
580 | end | |
581 | end | |
582 | ||
583 | if msg:lower():match(string.lower("yay")) or msg:upper():match(string.upper("YAY")) then | |
584 | NewS([[local sound = Instance.new("Sound", script) | |
585 | sound.Volume = 1 | |
586 | sound.SoundId = "http://www.roblox.com/asset/?id=130764531" | |
587 | sound:play() | |
588 | wait() | |
589 | sound:stop() | |
590 | wait() | |
591 | sound:play() | |
592 | wait(15) | |
593 | script:Destroy() | |
594 | ]], workspace) | |
595 | end | |
596 | ||
597 | ||
598 | local bg = Instance.new("BillboardGui", mainPart) | |
599 | bg.Adornee = mainPart | |
600 | bg.Size = UDim2.new(8, 0, 7, 0) | |
601 | bg.StudsOffset = Vector3.new(0, 2, 0) | |
602 | local bg2 = Instance.new("BillboardGui", mainPart) | |
603 | bg2.Adornee = mainPart | |
604 | bg2.Size = UDim2.new(4, 0, 2.5, 0) | |
605 | bg2.StudsOffset = Vector3.new(-6, 4.5, 0) | |
606 | ||
607 | local img = Instance.new("ImageLabel", bg2) | |
608 | img.Size = UDim2.new(1, 0, 1, 0) | |
609 | img.Position = UDim2.new(0, 0, 0.5, 0) | |
610 | img.BackgroundTransparency = 1 | |
611 | img.Image = guis["Fluttershy"] | |
612 | ||
613 | local text = Instance.new("TextLabel", bg) | |
614 | text.Size = UDim2.new(1, 0, 0.5, 0) | |
615 | text.FontSize = "Size36" | |
616 | text.TextScaled = true | |
617 | text.BackgroundTransparency = 1 | |
618 | text.TextStrokeTransparency = 0 | |
619 | text.Font = "ArialBold" | |
620 | text.TextColor = BrickColor.new("Brick yellow") | |
621 | text.Text = msg:sub(1) | |
622 | ||
623 | for _ = 0, 5, 0.05 do | |
624 | if bg ~= nil then | |
625 | if bg2 ~= nil then | |
626 | bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0) | |
627 | end | |
628 | ||
629 | ||
630 | bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0) | |
631 | end | |
632 | wait() | |
633 | end | |
634 | for _ = 0, 10 do | |
635 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
636 | text.TextTransparency = text.TextTransparency + 0.1 | |
637 | wait() | |
638 | end | |
639 | ||
640 | if bg == nil then return end | |
641 | bg:Destroy() | |
642 | if bg2 == nil then return end | |
643 | bg2:Destroy() | |
644 | end) | |
645 | ||
646 | ||
647 | ||
648 | createtab(guis["Rarity"], "The creators are madiik and a little by Scriptury", "Br. yellowish green") | |
649 | createtab(guis["Fluttershy"], "Thanks DansaltSC for the explore.", "New Yeller") | |
650 | createtab(guis["Pinkie Pie"], "Yay! This is now free! Get it at: pastebin, search bar: 'My Little Pony LOCAL admin'", "New Yeller") | |
651 | createtab(guis["Twilight Sparkle"], "Click this to see magic.", "Lavender", function() | |
652 | removetabs(); | |
653 | for _,v in pairs(Words) do | |
654 | createtab(guis["Twilight Sparkle"], | |
655 | v["Name"]..": "..v["Code"], "Lavender") | |
656 | wait() | |
657 | end | |
658 | end | |
659 | ) | |
660 | ||
661 | addWord("Clear the terrain", "clrt", | |
662 | function() | |
663 | NewS("workspace.Terrain:Clear() wait(1) script:Destroy()", workspace) | |
664 | end | |
665 | ) | |
666 | ||
667 | ||
668 | addWord("Fly around", "probe", | |
669 | function() | |
670 | removetabs(); | |
671 | if player.Character then player.Character = nil end | |
672 | probemode = true | |
673 | if workspace.CurrentCamera == nil then return end | |
674 | local camera = workspace.CurrentCamera | |
675 | local probe = Instance.new("Part", workspace) | |
676 | probe.Size = Vector3.new(2, 2, 2) | |
677 | probe.TopSurface = 0 | |
678 | probe.Anchored = true | |
679 | probe.BottomSurface = 0 | |
680 | probe.FormFactor = "Symmetric" | |
681 | probe.Name = player.Name.."'s flying brony" | |
682 | probe.BrickColor = BrickColor.White() | |
683 | probe.Transparency = 0.5 | |
684 | probe.Reflectance = 0.5 | |
685 | local rotation = 0 | |
686 | local bbg = Instance.new("BillboardGui", probe) | |
687 | bbg.Size = UDim2.new(3, 0, 3 ,0) | |
688 | bbg.ExtentsOffset = Vector3.new(0, 2, 0) | |
689 | local txt = Instance.new("TextLabel", bbg) | |
690 | txt.FontSize = "Size24" | |
691 | txt.Font = "SourceSansBold" | |
692 | txt.Text = "A brony called "..player.Name | |
693 | txt.BackgroundTransparency = 1 | |
694 | txt.TextColor = BrickColor.new("Brick yellow") | |
695 | txt.TextStrokeTransparency = 0 | |
696 | txt.Size = UDim2.new(1,0,1,0) | |
697 | local pl = Instance.new("PointLight", probe) | |
698 | pl.Shadows = true | |
699 | pl.Range = 20 | |
700 | coroutine.wrap(function() | |
701 | while pl ~= nil do | |
702 | pl.Color = Color3.new(math.random(), math.random(), math.random()) | |
703 | wait(0.8) | |
704 | end | |
705 | end)() | |
706 | ||
707 | coroutine.wrap(function() | |
708 | while player.Character == nil and probe.Parent == workspace and probe ~= nil and game:service'RunService'.Stepped:wait() do | |
709 | probe.CFrame = camera.Focus * CFrame.Angles(0, rotation, 0) | |
710 | rotation = rotation + 0.1 | |
711 | end | |
712 | if camera then | |
713 | camera:Destroy() | |
714 | end | |
715 | ||
716 | probe:Destroy() | |
717 | probemode = false | |
718 | end)() | |
719 | end | |
720 | ) | |
721 | ||
722 | ||
723 | ||
724 | ||
725 | ||
726 | addWord("Sparkles", "sparkle", | |
727 | function(plrs) | |
728 | for _, plr in pairs(plrs) do | |
729 | if plr and plr.Character then | |
730 | for _, bp in pairs(plr.Character:children()) do | |
731 | if bp:IsA("BasePart") then | |
732 | Instance.new("Sparkles", bp) | |
733 | end | |
734 | end | |
735 | end | |
736 | end | |
737 | end | |
738 | ) | |
739 | ||
740 | ||
741 | ||
742 | addWord("Freeze the pony", "freeze", | |
743 | function(plrs) | |
744 | for _, plr in pairs(plrs) do | |
745 | if plr and plr.Character then | |
746 | for _, bp in pairs(plr.Character:children()) do | |
747 | if bp:IsA("BasePart") then | |
748 | bp.Anchored = true | |
749 | end | |
750 | end | |
751 | end | |
752 | end | |
753 | end | |
754 | ) | |
755 | ||
756 | addWord("Thaw the pony", "thaw", | |
757 | function(plrs) | |
758 | for _, plr in pairs(plrs) do | |
759 | if plr and plr.Character then | |
760 | for _, bp in pairs(plr.Character:children()) do | |
761 | if bp:IsA("BasePart") then | |
762 | bp.Anchored = false | |
763 | end | |
764 | end | |
765 | end | |
766 | end | |
767 | end | |
768 | ) | |
769 | ||
770 | addWord("Remove Sparkles", "unsparkle", | |
771 | function(plrs) | |
772 | for _, plr in pairs(plrs) do | |
773 | if plr and plr.Character then | |
774 | for _, bp in pairs(plr.Character:children()) do | |
775 | if bp:IsA("BasePart") then | |
776 | for _, spark in pairs(bp:children()) do | |
777 | if spark:IsA("Sparkles") then | |
778 | spark:Destroy() | |
779 | end | |
780 | end | |
781 | end | |
782 | end | |
783 | end | |
784 | end | |
785 | end | |
786 | ) | |
787 | ||
788 | addWord("Insert an item", "ins", | |
789 | function(plrs, msg) | |
790 | if player.Character then | |
791 | local insert = game:service'InsertService':LoadAsset(tonumber(msg)) | |
792 | if insert then | |
793 | insert.Parent = workspace | |
794 | insert:MoveTo(player.Character:GetModelCFrame().p) | |
795 | end | |
796 | end | |
797 | end | |
798 | ) | |
799 | ||
800 | addWord("Mute the pony", "mute", | |
801 | function(plrs) | |
802 | for _, plr in pairs(plrs) do | |
803 | if plr then | |
804 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr:findFirstChild("Backpack")) | |
805 | end | |
806 | end | |
807 | end | |
808 | ||
809 | ) | |
810 | addWord("Unmute that pony", "unmute", | |
811 | function(plrs) | |
812 | for _, plr in pairs(plrs) do | |
813 | if plr then | |
814 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr:findFirstChild("Backpack")) | |
815 | end | |
816 | end | |
817 | end | |
818 | ) | |
819 | Services = { | |
820 | game:GetService("Workspace"), | |
821 | game:GetService("Players"), | |
822 | game:GetService("Lighting"), | |
823 | game:GetService("StarterPack"), | |
824 | game:GetService("StarterGui"), | |
825 | game:GetService("Teams"), | |
826 | game:GetService("SoundService"), | |
827 | game:GetService("Debris"), | |
828 | game:GetService("InsertService"), | |
829 | game:GetService("RunService"), | |
830 | game:GetService("Chat"), | |
831 | game:GetService("TeleportService"), | |
832 | game:GetService("Geometry"), | |
833 | game:GetService("MarketplaceService"), | |
834 | game:GetService("BadgeService"), | |
835 | game:GetService("NetworkClient"), | |
836 | game:GetService("FriendService"), | |
837 | } | |
838 | ||
839 | function iExplore(Item) | |
840 | removetabs(); | |
841 | if(Item==nil)then | |
842 | for _,v in pairs(Services)do | |
843 | createtab(guis["Twilight Sparkle"],v.Name,'',function() iExplore(v) end) | |
844 | end; | |
845 | else | |
846 | f={ | |
847 | ['View children']=function() | |
848 | removetabs(); | |
849 | for _,v in pairs(Item:children())do | |
850 | createtab(guis["Twilight Sparkle"],v.Name,"Lime green",function() | |
851 | iExplore(v) | |
852 | wait() | |
853 | end); | |
854 | end; | |
855 | end; | |
856 | ['View parent']=function() | |
857 | iExplore(Item.Parent) | |
858 | end; | |
859 | ['Destroy']=function() | |
860 | Item:Destroy(); | |
861 | iExplore(Item.Parent); | |
862 | end; | |
863 | ['Clear']=function() | |
864 | Item:ClearAllChildren() | |
865 | end; | |
866 | ['Clone']=function() | |
867 | pcall(function() | |
868 | cloneableObj = Item:clone() | |
869 | end) | |
870 | end; | |
871 | ['Paste']=function() | |
872 | if cloneableObj then | |
873 | cloneableObj.Parent = Item | |
874 | end | |
875 | end; | |
876 | ['Ki'..'ck Item']=function() | |
877 | NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item) | |
878 | end; | |
879 | }; | |
880 | for i,v in pairs(f)do | |
881 | createtab(guis["Twilight Sparkle"],tostring(i),"Lime green",v); | |
882 | end; | |
883 | createtab(guis["Pinkie Pie"],'Item Name: \''..tostring(Item.Name)..'\'',"Lime green",nil); | |
884 | createtab(guis["Pinkie Pie"],'Class: \''..tostring(Item.ClassName)..'\'',"Lime green",nil); | |
885 | if cloneableObj then | |
886 | createtab(guis["Pinkie Pie"],'Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',"Lime green",nil); | |
887 | end | |
888 | end; | |
889 | end; | |
890 | addWord("Explore the item", "explore", | |
891 | function() iExplore() end | |
892 | ) | |
893 | ||
894 | ||
895 | ||
896 | ||
897 | ||
898 | addWord("Make that pony immortal", "god", | |
899 | function(plrs) | |
900 | for _, plr in pairs(plrs) do | |
901 | if plr then | |
902 | if plr.Character then | |
903 | if plr.Character:findFirstChild("Humanoid") then | |
904 | plr.Character:findFirstChild("Humanoid").MaxHealth = math.huge | |
905 | end | |
906 | end | |
907 | end | |
908 | end | |
909 | end | |
910 | ) | |
911 | addWord("Make that pony mortal", "mortal", | |
912 | function(plrs) | |
913 | for _, plr in pairs(plrs) do | |
914 | if plr then | |
915 | if plr.Character then | |
916 | if plr.Character:findFirstChild("Humanoid") then | |
917 | plr.Character:findFirstChild("Humanoid").MaxHealth = 100 | |
918 | end | |
919 | end | |
920 | end | |
921 | end | |
922 | end | |
923 | ) | |
924 | ||
925 | addWord("Pun".."ish the brony", "pun".."ish", | |
926 | function(plrs) | |
927 | for _, plr in pairs(plrs) do | |
928 | if plr then | |
929 | if plr.Character then | |
930 | plr.Character:Destroy() | |
931 | end | |
932 | end | |
933 | end | |
934 | end | |
935 | ) | |
936 | addWord("Un-Pun".."ish the brony", "unpun".."ish", | |
937 | function(plrs) | |
938 | for _, plr in pairs(plrs) do | |
939 | if plr then | |
940 | NewS([[game:GetService('Players')["]]..plr.Name..[["]:LoadCharacter()]], workspace) | |
941 | end | |
942 | end | |
943 | end | |
944 | ) | |
945 | ||
946 | ||
947 | ||
948 | ||
949 | ||
950 | addWord("Get out from ponyland!", "b".."an", | |
951 | function(plrs) | |
952 | for _, plr in pairs(plrs) do | |
953 | if plr then | |
954 | table.insert(notapony, plr.Name) | |
955 | end | |
956 | end | |
957 | end | |
958 | ) | |
959 | ||
960 | addWord("Magical words", "magic", | |
961 | function() | |
962 | removetabs(); | |
963 | for _,v in pairs(Words) do | |
964 | createtab(guis["Twilight Sparkle"], v["Name"]..": "..v["Code"], "Lavender") | |
965 | wait() | |
966 | end | |
967 | end | |
968 | ) | |
969 | addWord("Turn to Day", "day", | |
970 | function() | |
971 | game:service'Lighting'.TimeOfDay = 14 | |
972 | game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255) | |
973 | game:service'Lighting'.Brightness = 1 | |
974 | game:service'Lighting'.Ambient = Color3.new() | |
975 | game:service'Lighting'.GlobalShadows = true | |
976 | game:service'Lighting'.GeographicLatitude = 41.733 | |
977 | game:service'Lighting'.FogEnd = 100000 | |
978 | game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255) | |
979 | game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) | |
980 | end | |
981 | ) | |
982 | addWord("Turn to night", "night", | |
983 | function() | |
984 | game:service'Lighting'.TimeOfDay = 0 | |
985 | game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15) | |
986 | game:service'Lighting'.Brightness = 1 | |
987 | game:service'Lighting'.Ambient = Color3.new() | |
988 | game:service'Lighting'.GlobalShadows = true | |
989 | game:service'Lighting'.GeographicLatitude = 41.733 | |
990 | game:service'Lighting'.FogEnd = 100000 | |
991 | game:service'Lighting'.FogColor = Color3.new() | |
992 | game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) | |
993 | end | |
994 | ) | |
995 | ||
996 | addWord("Execute", "exe", | |
997 | function(plrs, msg) | |
998 | a,b = ypcall(function() | |
999 | loadstring(msg)() | |
1000 | end) if not a then Output(b,"Bright red") end | |
1001 | end | |
1002 | ) | |
1003 | ||
1004 | ||
1005 | addWord("Rejoin a player", "rj", | |
1006 | function(plrs) | |
1007 | for _, plr in pairs(plrs) do | |
1008 | if plr then | |
1009 | NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Character) | |
1010 | end | |
1011 | end | |
1012 | end | |
1013 | ) | |
1014 | ||
1015 | ||
1016 | addWord("Ki".."ck that brony", "ki".."ck", | |
1017 | function(plrs) | |
1018 | for _, plr in pairs(plrs) do | |
1019 | if plr then | |
1020 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", plr:findFirstChild('Backpack')) | |
1021 | wait(0.2) | |
1022 | plr:remove() | |
1023 | end | |
1024 | end | |
1025 | end | |
1026 | ) | |
1027 | addWord("Add some pony music! on/off", "bronymusic", | |
1028 | function(plrs, msg) | |
1029 | if msg == "on" then | |
1030 | NewS([[ | |
1031 | script.Name = "Brony Music Script" | |
1032 | local sound = Instance.new("Sound", script) | |
1033 | sound.Looped = true | |
1034 | sound.Volume = 1 | |
1035 | sound.SoundId = "http://www.roblox.com/asset/?id=130769808" | |
1036 | sound:stop() | |
1037 | wait(0.1) | |
1038 | sound:play() | |
1039 | ]], workspace) | |
1040 | elseif msg == "off" then | |
1041 | if workspace:findFirstChild("Brony Music Script") and workspace:findFirstChild("Brony Music Script"):IsA("Script") then | |
1042 | workspace:findFirstChild("Brony Music Script"):Destroy() | |
1043 | end | |
1044 | end | |
1045 | end | |
1046 | ) | |
1047 | ||
1048 | ||
1049 | addWord("Disable bronytabs", "disable", | |
1050 | function() | |
1051 | Output("Disabled Tabs.", "Really red") | |
1052 | wait(1) | |
1053 | removetabs() | |
1054 | disabletabs() | |
1055 | end | |
1056 | ) | |
1057 | ||
1058 | ||
1059 | ||
1060 | ||
1061 | addWord("Reborn a pony", "reset", | |
1062 | function(plrs) | |
1063 | for _, plr in pairs(plrs) do | |
1064 | if plr then | |
1065 | NewS([[game:GetService('Players')["]]..plr.Name..[["]:LoadCharacter()]], workspace) | |
1066 | Output("Reseted "..plr.Name..".", "Lime green") | |
1067 | end | |
1068 | end | |
1069 | end | |
1070 | ) | |
1071 | ||
1072 | addWord("Get Info on a player", "info", | |
1073 | function(plrs) | |
1074 | for _, plr in pairs(plrs) do | |
1075 | if plr then | |
1076 | removetabs() | |
1077 | createtab(guis["Fluttershy"], "Age: "..plr.AccountAge, "Lime green") | |
1078 | createtab(guis["Twilight Sparkle"], "Player name: "..plr.Name, "Lime green") | |
1079 | createtab(guis["Rarity"], "Player ID: "..plr.userId, "Lime green") | |
1080 | if plr.CanLoadCharacterAppearance then | |
1081 | createtab(guis["Applejack"], "Player Appearance loadable: true", "Lime green") | |
1082 | else | |
1083 | createtab(guis["Applehack"], "Player Appearance loadable: false", "Lime green") | |
1084 | end | |
1085 | if plr.userId == game.CreatorId then | |
1086 | createtab(guis["Rainbow Dash"], "Player owns the place: Yes", "Lime green") | |
1087 | else | |
1088 | createtab(guis["Rainbow Dash"], "Player owns the place: No", "Lime green") | |
1089 | end | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | ) | |
1094 | ||
1095 | addWord("Nuke da pony", "nuke", | |
1096 | function(plrs) | |
1097 | for _, plr in pairs(plrs) do | |
1098 | if plr then | |
1099 | if plr.Character then | |
1100 | if plr.Character.Torso then | |
1101 | for pos2 = -10, 10 do | |
1102 | for pos = -10, 10 do | |
1103 | local expl = Instance.new("Explosion", workspace) | |
1104 | expl.BlastRadius = 20 | |
1105 | expl.BlastPressure = 2000 | |
1106 | expl.Position = plr.Character.Torso.Position + Vector3.new(pos*3, 0, pos2*3) | |
1107 | end | |
1108 | wait() | |
1109 | end | |
1110 | end | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | end | |
1115 | ) | |
1116 | ||
1117 | ||
1118 | addWord("Server Info", "server", | |
1119 | function() | |
1120 | removetabs() | |
1121 | NewS([[ | |
1122 | local port = Instance.new("NumberValue", game:service'Lighting') | |
1123 | port.Value = game:service'NetworkServer'.Port | |
1124 | port.Name = "ServerPortValueForMLP" | |
1125 | ]], workspace) | |
1126 | createtab(guis["Twilight Sparkle"], "Creator Id: "..game.CreatorId, "Lime green") | |
1127 | createtab(guis["Twilight Sparkle"], "Place Id: "..game.PlaceId, "Lime green") | |
1128 | wait(0.5) | |
1129 | local portvalue = game:service'Lighting':findFirstChild("ServerPortValueForMLP") | |
1130 | if portvalue then | |
1131 | createtab(guis["Twilight Sparkle"], "Server port: "..portvalue.Value, "Lime green") | |
1132 | end | |
1133 | end | |
1134 | ) | |
1135 | ||
1136 | addWord("Un-ForceField", "unff", | |
1137 | function(plrs) | |
1138 | for _,plr in pairs(plrs) do | |
1139 | if plr and plr.Character then | |
1140 | for _, ff in pairs(plr.Character:children()) do | |
1141 | if ff and ff:IsA("ForceField") then | |
1142 | ff:Destroy() | |
1143 | end | |
1144 | end | |
1145 | end | |
1146 | end | |
1147 | end | |
1148 | ) | |
1149 | addWord("Island", "island", | |
1150 | function() | |
1151 | local terrain = workspace:findFirstChild("Terrain") | |
1152 | if terrain then | |
1153 | for h = -1, 1 do | |
1154 | for r = -150, 150 do | |
1155 | for r2 = -150, 150 do | |
1156 | workspace:findFirstChild("Terrain"):SetCell(r2, h, r, 17, 0, 0) | |
1157 | end | |
1158 | end | |
1159 | wait() | |
1160 | end | |
1161 | ||
1162 | for h = -1, 2 do | |
1163 | for r = -25, 25 do | |
1164 | for r2 = -25, 25 do | |
1165 | workspace:findFirstChild("Terrain"):SetCell(r2, h, r, 1, 0, 0) | |
1166 | end | |
1167 | end | |
1168 | wait() | |
1169 | end | |
1170 | end | |
1171 | end | |
1172 | ) | |
1173 | ||
1174 | addWord("Mute-B".."an a pony", "muteba".."n", | |
1175 | function(plrs) | |
1176 | for _, plr in pairs(plrs) do | |
1177 | if plr then | |
1178 | table.insert(mutedforever, plr.Name) | |
1179 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", plr:findFirstChild("Backpack")) | |
1180 | end | |
1181 | end | |
1182 | end | |
1183 | ) | |
1184 | ||
1185 | addWord("Ping a Pony", "ping", | |
1186 | function(plrs, msg) | |
1187 | if msg == "plrs" then | |
1188 | for _, plr in pairs(game:service'Players':GetPlayers()) do | |
1189 | if plr then | |
1190 | createtab(guis["Pinkie Pie"], plr.Name, "Brick yellow", nil) | |
1191 | wait() | |
1192 | end | |
1193 | end | |
1194 | return 0 | |
1195 | elseif msg == "ba".."nlist" then | |
1196 | for _, notabrony in pairs(notapony) do | |
1197 | createtab(guis["Nightmare Moon"], notabrony, "Navy blue", nil) | |
1198 | wait() | |
1199 | end | |
1200 | return 0 | |
1201 | else | |
1202 | ||
1203 | createtab(guis["Pinkie Pie"], msg, "Pink", nil) | |
1204 | end | |
1205 | end | |
1206 | ) | |
1207 | addWord("Lock Server", "lserver", | |
1208 | function(plrs, msg) | |
1209 | if msg == "on" then | |
1210 | NewS("game:service'Players'.CharacterAutoLoads = false", workspace) | |
1211 | hintServer = Instance.new("Hint", workspace) | |
1212 | hintServer.Text = "Server is lo".."cked." | |
1213 | elseif msg == "off" then | |
1214 | if hintServer ~= nil then | |
1215 | hintServer:Destroy() | |
1216 | end | |
1217 | NewS("game:service'Players'.CharacterAutoLoads = true", workspace) | |
1218 | end | |
1219 | end | |
1220 | ) | |
1221 | ||
1222 | addWord("TrollCam", "troll", | |
1223 | function(plrs) | |
1224 | for _, plr in pairs(plrs) do | |
1225 | if plr and plr.Character then | |
1226 | NewLS([[ | |
1227 | script.Parent = nil | |
1228 | local cam = workspace.CurrentCamera | |
1229 | if cam then | |
1230 | cam.CameraType = "Scriptable" | |
1231 | local screen = Instance.new("ScreenGui", game:service'Players'.LocalPlayer:findFirstChild("PlayerGui")) | |
1232 | screen.Name = "TrollScreen" | |
1233 | values = {-.25,-.2,-.15,-.1,-.05, 0, .05, .1, .15, .2, .25, .3, .35, .4, .45, 5, .55, .6, .65, .7, .75, .8, .85, .9, .95, 1, 1.05, 1.1, 1.15} | |
1234 | for roll = 0, 200, 0.5 do | |
1235 | cam:SetRoll(roll) | |
1236 | local troll = Instance.new("ImageLabel", screen) | |
1237 | troll.Size = UDim2.new(.15, 0, .25, 0) | |
1238 | troll.Position = UDim2.new(values[math.random(#values)], 0, values[math.random(#values)], 0) | |
1239 | troll.Image = ("http://www.roblox.com/asset/?id=132877278") | |
1240 | troll.BackgroundTransparency = 1 | |
1241 | wait() | |
1242 | end | |
1243 | cam.CameraType = "Custom" | |
1244 | screen:Destroy() | |
1245 | end | |
1246 | ]], plr.Character) | |
1247 | end | |
1248 | end | |
1249 | end | |
1250 | ) | |
1251 | addWord("Disconnect", "dash", | |
1252 | function(plrs) | |
1253 | for _, plr in pairs(plrs) do | |
1254 | if plr and plr.Character then | |
1255 | coroutine.wrap(function() | |
1256 | local function HSV(H,S,V) | |
1257 | H = H % 360 | |
1258 | local C = V * S | |
1259 | local H2 = H/60 | |
1260 | local X = C * (1 - math.abs((H2 %2) -1)) | |
1261 | local color = Color3.new(0,0,0) | |
1262 | if H2 <= 0 then | |
1263 | color = Color3.new(C,0,0) | |
1264 | elseif 0 <= H2 and H2 <= 1 then | |
1265 | color = Color3.new(C,X,0) | |
1266 | elseif 1 <= H2 and H2 <= 2 then | |
1267 | color = Color3.new(X,C,0) | |
1268 | elseif 2 <= H2 and H2 <= 3 then | |
1269 | color = Color3.new(0,C,X) | |
1270 | elseif 3 <= H2 and H2 <= 4 then | |
1271 | color = Color3.new(0,X,C) | |
1272 | elseif 4 <= H2 and H2 <= 5 then | |
1273 | color = Color3.new(X,0,C) | |
1274 | elseif 5 <= H2 and H2 <= 6 then | |
1275 | color = Color3.new(C,0,X) | |
1276 | end | |
1277 | local m = V - C | |
1278 | return Color3.new(color.r + m, color.g + m, color.b + m) | |
1279 | end | |
1280 | ||
1281 | ||
1282 | if plr.Character:findFirstChild("Torso") then | |
1283 | plr.Character.Torso.CFrame = plr.Character.Torso.CFrame * CFrame.new(0, 350, 0) | |
1284 | wait(2) | |
1285 | local p = Instance.new("Part", workspace) | |
1286 | p.FormFactor = "Custom" | |
1287 | p.Anchored = true | |
1288 | p.Size = Vector3.new(0.2, 0.2, 0.2) | |
1289 | p.Locked = true | |
1290 | p.CFrame = CFrame.new(plr.Character.Torso.CFrame.x, plr.Character.Torso.CFrame.y, plr.Character.Torso.CFrame.z) * CFrame.Angles(math.pi/2, 0, 0) | |
1291 | p.CanCollide = false | |
1292 | local msh = Instance.new("SpecialMesh", p) | |
1293 | msh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1294 | msh.TextureId = "http://www.roblox.com/asset/?id=48358980" | |
1295 | ||
1296 | local hue = 0 | |
1297 | for _ = 0, 5000 do | |
1298 | hue = ((hue+0.5)%360) | |
1299 | msh.Scale = msh.Scale + Vector3.new(2, 2, 0) | |
1300 | p.Transparency = p.Transparency + 0.005 | |
1301 | local colur = HSV(hue,1,1) | |
1302 | msh.VertexColor = Vector3.new(colur.r,colur.g,colur.b) | |
1303 | wait() | |
1304 | end | |
1305 | end | |
1306 | end)() | |
1307 | wait(3) | |
1308 | NewLS("game:service'Players'.LocalPlayer:Kick()", plr:findFirstChild('Backpack')) | |
1309 | end | |
1310 | end | |
1311 | end | |
1312 | ) | |
1313 | addWord("SONIC RAINBOOM!", "rainboom", | |
1314 | function(plrs) | |
1315 | for _, plr in pairs(plrs) do | |
1316 | if plr and plr.Character then | |
1317 | coroutine.wrap(function() | |
1318 | NewLS([[ | |
1319 | function HSV(H,S,V) | |
1320 | H = H % 360 | |
1321 | local C = V * S | |
1322 | local H2 = H/60 | |
1323 | local X = C * (1 - math.abs((H2 %2) -1)) | |
1324 | local color = Color3.new(0,0,0) | |
1325 | if H2 <= 0 then | |
1326 | color = Color3.new(C,0,0) | |
1327 | elseif 0 <= H2 and H2 <= 1 then | |
1328 | color = Color3.new(C,X,0) | |
1329 | elseif 1 <= H2 and H2 <= 2 then | |
1330 | color = Color3.new(X,C,0) | |
1331 | elseif 2 <= H2 and H2 <= 3 then | |
1332 | color = Color3.new(0,C,X) | |
1333 | elseif 3 <= H2 and H2 <= 4 then | |
1334 | color = Color3.new(0,X,C) | |
1335 | elseif 4 <= H2 and H2 <= 5 then | |
1336 | color = Color3.new(X,0,C) | |
1337 | elseif 5 <= H2 and H2 <= 6 then | |
1338 | color = Color3.new(C,0,X) | |
1339 | end | |
1340 | local m = V - C | |
1341 | return Color3.new(color.r + m, color.g + m, color.b + m) | |
1342 | end | |
1343 | ||
1344 | ||
1345 | if script.Parent:findFirstChild("Torso") then | |
1346 | script.Parent.Torso.CFrame = script.Parent.Torso.CFrame * CFrame.new(0, 350, 0) | |
1347 | wait(2) | |
1348 | local p = Instance.new("Part", workspace) | |
1349 | p.FormFactor = "Custom" | |
1350 | p.Anchored = true | |
1351 | p.Locked = true | |
1352 | p.CFrame = CFrame.new(script.Parent.Torso.CFrame.x, script.Parent.Torso.CFrame.y, script.Parent.Torso.CFrame.z) * CFrame.Angles(math.pi/2, 0, 0) | |
1353 | p.Size = Vector3.new(0.2, 0.2, 0.2) | |
1354 | p.CanCollide = false | |
1355 | local msh = Instance.new("SpecialMesh", p) | |
1356 | msh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1357 | msh.TextureId = "http://www.roblox.com/asset/?id=48358980" | |
1358 | ||
1359 | local hue = 0 | |
1360 | for _ = 0, 5000 do | |
1361 | hue = ((hue+0.5)%360) | |
1362 | msh.Scale = msh.Scale + Vector3.new(2, 2, 0) | |
1363 | p.Transparency = p.Transparency + 0.005 | |
1364 | local colur = HSV(hue,1,1) | |
1365 | msh.VertexColor = Vector3.new(colur.r,colur.g,colur.b) | |
1366 | wait() | |
1367 | end | |
1368 | end]], plr.Character) | |
1369 | end)() | |
1370 | end | |
1371 | end | |
1372 | end | |
1373 | ) | |
1374 | ||
1375 | addWord("Fix Tab Count", "fixtabs", | |
1376 | function() | |
1377 | removetabs() | |
1378 | createtab(guis["Twilight Sparkle"], "Tab count has been fixed.", "Br. yellowish green") | |
1379 | end | |
1380 | ) | |
1381 | ||
1382 | ||
1383 | addWord("Protect the pony!", "ff", | |
1384 | function(plrs) | |
1385 | for _, plr in pairs(plrs) do | |
1386 | if plr and plr.Character then | |
1387 | Instance.new("ForceField", plr.Character) | |
1388 | end | |
1389 | end | |
1390 | end | |
1391 | ) | |
1392 | addWord("Own dat brony", "own", | |
1393 | function(plrs) | |
1394 | for _, plr in pairs(plrs) do | |
1395 | if plr and plr.Character and plr.Character.Torso then | |
1396 | ||
1397 | local p = Instance.new("Part", workspace) | |
1398 | p.CanCollide = false | |
1399 | p.Size = Vector3.new(6, 1024, 6) | |
1400 | p.Anchored = true | |
1401 | p.Transparency = 1 | |
1402 | local decal1 = Instance.new("Decal", p) | |
1403 | decal1.Texture = guis["Rainbow"] | |
1404 | decal1.Face = "Front" | |
1405 | local decal2 = Instance.new("Decal", p) | |
1406 | decal2.Texture = guis["Rainbow"] | |
1407 | decal2.Face = "Back" | |
1408 | local decal1 = Instance.new("Decal", p) | |
1409 | decal1.Texture = guis["Rainbow"] | |
1410 | decal1.Face = "Right" | |
1411 | local decal2 = Instance.new("Decal", p) | |
1412 | decal2.Texture = guis["Rainbow"] | |
1413 | decal2.Face = "Left" | |
1414 | p.CFrame = CFrame.new(plr.Character.Torso.CFrame.x, plr.Character.Torso.CFrame.y, plr.Character.Torso.CFrame.z) | |
1415 | game:service'Debris':AddItem(p, 3) | |
1416 | ||
1417 | ||
1418 | plr.Character:BreakJoints() | |
1419 | end | |
1420 | end | |
1421 | end | |
1422 | ) | |
1423 | ||
1424 | addWord("Swagify", "swag", | |
1425 | function(plrs) | |
1426 | for i,v in pairs(plrs) do | |
1427 | if v.Character:FindFirstChild("Shirt") then | |
1428 | v.Character.Shirt:remove() | |
1429 | end | |
1430 | if v.Character:FindFirstChild("Pants") then | |
1431 | v.Character.Pants:remove() | |
1432 | end | |
1433 | for j,b in pairs(v.Character:children()) do | |
1434 | if b:IsA("BasePart") then | |
1435 | Instance.new("Sparkles", b).SparkleColor = Color3.new(1,0,1) | |
1436 | Instance.new("Fire", b).Color = Color3.new(1,0,1) | |
1437 | local sb = Instance.new("SelectionBox", b) | |
1438 | sb.Color = BrickColor.new(Color3.new(1,0,1)) | |
1439 | sb.Adornee = sb.Parent | |
1440 | b.BrickColor = BrickColor.new(Color3.new(1,0,1)) | |
1441 | end | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | ) | |
1446 | ||
1447 | addWord("Local Script", "ls", | |
1448 | function(plrs, msg) | |
1449 | if player.Character then | |
1450 | NewLS(msg, player.Character) | |
1451 | end | |
1452 | end | |
1453 | ) | |
1454 | ||
1455 | addWord("Create a base", "base", | |
1456 | function(plrs) | |
1457 | pcall(function() | |
1458 | local base = Instance.new("Part", workspace) | |
1459 | base.Size = Vector3.new(1024, 1, 1024) | |
1460 | base.Anchored = true | |
1461 | base.Locked = true | |
1462 | base.CFrame = CFrame.new(0, 0.6, 0) | |
1463 | base.BrickColor = BrickColor.new("Bright green") | |
1464 | end) | |
1465 | end | |
1466 | ) | |
1467 | ||
1468 | addWord("Share Bronies", "share", | |
1469 | function(plrs) | |
1470 | for _,plr in pairs(plrs) do | |
1471 | if plr then | |
1472 | if plr.Character then | |
1473 | local shared = script:clone() | |
1474 | shared.Disabled = true | |
1475 | shared.Parent = plr.Character | |
1476 | wait(1) | |
1477 | shared.Disabled = false | |
1478 | end | |
1479 | end | |
1480 | end | |
1481 | end | |
1482 | ) | |
1483 | ||
1484 | addWord("Create a new sound", "sound", | |
1485 | function(plrs, msg) | |
1486 | if workspace:findFirstChild(""..player.Name.."'s soundscript") then | |
1487 | workspace:findFirstChild(""..player.Name.."'s soundscript"):Destroy() | |
1488 | end | |
1489 | wait() | |
1490 | NewS([[ | |
1491 | script.Name = "]]..player.Name..[['s soundscript" | |
1492 | local snd = Instance.new("Sound", script) | |
1493 | snd.Looped = true | |
1494 | snd.SoundId = "http://www.roblox.com/asset/?id=]]..tonumber(msg)..[[" | |
1495 | snd.Volume = 1 | |
1496 | snd:play() | |
1497 | snd.Name = "]]..player.Name..[['s sound" | |
1498 | wait() | |
1499 | snd:stop() | |
1500 | wait() | |
1501 | snd:play() | |
1502 | ]], workspace) | |
1503 | end | |
1504 | ) | |
1505 | addWord("Remove your created sound", "rsound", | |
1506 | function() | |
1507 | if workspace:findFirstChild(""..player.Name.."'s soundscript") then | |
1508 | workspace:findFirstChild(""..player.Name.."'s soundscript"):Destroy() | |
1509 | end | |
1510 | end | |
1511 | ) | |
1512 | ||
1513 | ||
1514 | ||
1515 | ||
1516 | addWord("Create your character", "char", | |
1517 | function() | |
1518 | if workspace.CurrentCamera == nil then return end | |
1519 | local camera = workspace.CurrentCamera | |
1520 | local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1] | |
1521 | local human = new_char.Humanoid | |
1522 | human.Parent = nil | |
1523 | new_char.Name = "A brony called "..player.Name | |
1524 | wait() | |
1525 | human.Parent = new_char | |
1526 | camera.CameraSubject = human | |
1527 | camera.CameraType = "Custom" | |
1528 | new_char.Parent = workspace | |
1529 | local pl = Instance.new("PointLight", new_char.Head) | |
1530 | pl.Range = 24 | |
1531 | pl.Shadows = true | |
1532 | player.Character = new_char | |
1533 | new_char:MakeJoints() | |
1534 | new_char.Torso.BrickColor = torsocolor | |
1535 | new_char["Left Leg"].BrickColor = leftlegcolor | |
1536 | new_char["Right Leg"].BrickColor = rightlegcolor | |
1537 | new_char["Left Arm"].BrickColor = leftarmcolor | |
1538 | new_char["Right Arm"].BrickColor = rightarmcolor | |
1539 | new_char.Head.BrickColor = headcolor | |
1540 | for i,v in pairs(Clothes) do | |
1541 | v:Clone().Parent = new_char | |
1542 | end | |
1543 | end | |
1544 | ) | |
1545 | ||
1546 | addWord("Box the pony", "box", | |
1547 | function(plrs) | |
1548 | for _,plr in pairs(plrs) do | |
1549 | if plr and plr.Character then | |
1550 | if plr.Character:findFirstChild("Torso") then | |
1551 | for _,base in pairs(plr.Character:children()) do | |
1552 | if base:IsA("BasePart") then | |
1553 | local box = Instance.new("SelectionBox", base) | |
1554 | box.Adornee = base | |
1555 | box.Color = plr.Character:findFirstChild("Torso").BrickColor | |
1556 | end | |
1557 | end | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | end | |
1562 | ) | |
1563 | addWord("Un-Box the pony", "unbox", | |
1564 | function(plrs) | |
1565 | for _,plr in pairs(plrs) do | |
1566 | if plr and plr.Character then | |
1567 | for _,base in pairs(plr.Character:children()) do | |
1568 | if base:IsA("BasePart") then | |
1569 | for _,b in pairs(base:children()) do | |
1570 | if b:IsA("SelectionBox") then | |
1571 | b:Destroy() | |
1572 | end | |
1573 | end | |
1574 | end | |
1575 | end | |
1576 | end | |
1577 | end | |
1578 | end | |
1579 | ) | |
1580 | addWord("L".."ag dat pony", "l".."ag", | |
1581 | function(plrs) | |
1582 | for _,plr in pairs(plrs) do | |
1583 | if plr then | |
1584 | NewLS([[ | |
1585 | script.Parent = nil | |
1586 | for pos = -5, math.huge do | |
1587 | for pos2 = -5, 5 do | |
1588 | local expl = Instance.new("Explosion", workspace.CurrentCamera) | |
1589 | expl.Position = Vector3.new(pos, 0, pos2) | |
1590 | end | |
1591 | wait() | |
1592 | end]], plr:findFirstChild("Backpack")) | |
1593 | end | |
1594 | end | |
1595 | end | |
1596 | ) | |
1597 | ||
1598 | ||
1599 | ||
1600 | addWord("Dismiss Tabs", "dismiss", | |
1601 | function() | |
1602 | if clicked then return end | |
1603 | for _,v in pairs(tabs) do | |
1604 | clicked = true | |
1605 | coroutine.wrap(function() | |
1606 | for _ = 0.5, 1, 0.05 do | |
1607 | pcall(function() | |
1608 | v.tab.SelectionBox.Transparency = v.tab.SelectionBox.Transparency + 0.1 | |
1609 | v.tab.Transparency = v.tab.Transparency + 0.05 | |
1610 | end) | |
1611 | wait() | |
1612 | end | |
1613 | pcall(function() | |
1614 | v.tab:Destroy() | |
1615 | tabs = {} | |
1616 | clicked = false | |
1617 | end) | |
1618 | end)() | |
1619 | end | |
1620 | end | |
1621 | ) | |
1622 | addWord("New Local Script", "nl", | |
1623 | function(plrs, msg) | |
1624 | local keypos = msg:find(key) | |
1625 | local targPlayers = msg:sub(1,keypos-1) | |
1626 | local plrs = getPlayers(targPlayers) | |
1627 | local source = msg:sub(tostring(keypos+1)) | |
1628 | for i,v in pairs(plrs) do | |
1629 | if v.Character ~= nil then | |
1630 | NewLS(source, v.Character) | |
1631 | end | |
1632 | end | |
1633 | end | |
1634 | ) | |
1635 | ||
1636 | addWord("Set WalkSpeed", "ws", | |
1637 | function(plrs, msg) | |
1638 | local keypos = msg:find(key) | |
1639 | local targPlayers = msg:sub(1,keypos-1) | |
1640 | local plrs = getPlayers(targPlayers) | |
1641 | local speed = msg:sub(tonumber(keypos+1)) | |
1642 | for _,v in pairs(plrs) do | |
1643 | if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then | |
1644 | v.Character:findFirstChild("Humanoid").WalkSpeed = speed | |
1645 | end | |
1646 | end | |
1647 | end | |
1648 | ) | |
1649 | addWord("Teleport to...", "tp", | |
1650 | function(plrs, msg) | |
1651 | local keypos = msg:find(key) | |
1652 | local targPlayers = msg:sub(1,keypos-1) | |
1653 | local plrs = getPlayers(targPlayers) | |
1654 | local plyrname = msg:sub(tostring(keypos+1)) | |
1655 | for _,v in pairs(plrs) do | |
1656 | if v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil then | |
1657 | if players:findFirstChild(plyrname) and players:findFirstChild(plyrname).Character and players:findFirstChild(plyrname).Character:findFirstChild("Torso") then | |
1658 | v.Character:findFirstChild("Torso").CFrame = players:findFirstChild(plyrname).Character:findFirstChild("Torso").CFrame | |
1659 | end | |
1660 | end | |
1661 | end | |
1662 | end | |
1663 | ) | |
1664 | addWord("Chatpowers, on/off", "chat", | |
1665 | function(plrs, msg) | |
1666 | if msg == "off" then | |
1667 | chatpowers = false | |
1668 | elseif msg == "on" then | |
1669 | chatpowers = true | |
1670 | end | |
1671 | end | |
1672 | ) | |
1673 | addWord("Message", "m", | |
1674 | function(plrs, msg) | |
1675 | local message = Instance.new("Message", workspace) | |
1676 | message.Text = "["..player.Name.."]: "..msg | |
1677 | game:service'Debris':AddItem(message, 3) | |
1678 | end | |
1679 | ) | |
1680 | addWord("Hint", "h", | |
1681 | function(plrs, msg) | |
1682 | local message = Instance.new("Hint", workspace) | |
1683 | message.Text = "["..player.Name.."]: "..msg | |
1684 | game:service'Debris':AddItem(message, 3) | |
1685 | end | |
1686 | ) | |
1687 | ||
1688 | addWord("Fire tha pony", "fire", | |
1689 | function(plrs) | |
1690 | for i,v in pairs(plrs) do | |
1691 | for j,b in pairs(v.Character:children()) do | |
1692 | if b:IsA("BasePart") then | |
1693 | Instance.new("Fire", b) | |
1694 | end | |
1695 | end | |
1696 | end | |
1697 | end | |
1698 | ) | |
1699 | ||
1700 | addWord("Un-fire", "unfire", | |
1701 | function(plrs) | |
1702 | for _,plr in pairs(plrs) do | |
1703 | for _,b in pairs(plr.Character:children()) do | |
1704 | if b:IsA("BasePart") then | |
1705 | if b:findFirstChild("Fire") then | |
1706 | b:findFirstChild("Fire"):Destroy() | |
1707 | end | |
1708 | end | |
1709 | end | |
1710 | end | |
1711 | end | |
1712 | ) | |
1713 | ||
1714 | ||
1715 | ||
1716 | addWord("Clean", "clean", | |
1717 | function() | |
1718 | pcall(function() | |
1719 | NewLS("workspace:ClearAllChildren()", player.Character) | |
1720 | NewLS("workspace.Terrain:Clear()", player.Character) | |
1721 | end) | |
1722 | end | |
1723 | ) | |
1724 | ||
1725 | ||
1726 | addWord("Set B".."et", "key", | |
1727 | function(plrs, msg) | |
1728 | pcall(function() | |
1729 | key = tostring(msg) | |
1730 | end) | |
1731 | end | |
1732 | ) | |
1733 | ||
1734 | addWord("New Script", "s", | |
1735 | function(plrs, msg) | |
1736 | NewS(msg, workspace) | |
1737 | end | |
1738 | ) | |
1739 | ||
1740 | ||
1741 | function getPlayers(msg) | |
1742 | local ponies = {} | |
1743 | if msg == "me" or msg == "meh" then | |
1744 | table.insert(ponies, player) | |
1745 | elseif msg == "everypony" or msg == "everyponeh" or msg == "all" then | |
1746 | ponies = players:children() | |
1747 | elseif msg == "veterans" or msg == "old ponies" then | |
1748 | for _,plr in pairs(players:children()) do | |
1749 | if plr.AccountAge > 364 then | |
1750 | table.insert(ponies, plr) | |
1751 | end | |
1752 | end | |
1753 | elseif msg == "others" or msg == "other ponies" then | |
1754 | for i,v in pairs(players:children()) do | |
1755 | if v ~= player then | |
1756 | table.insert(ponies, v) | |
1757 | end | |
1758 | end | |
1759 | else | |
1760 | for i,v in pairs(players:children()) do | |
1761 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
1762 | table.insert(ponies, v) | |
1763 | end | |
1764 | end | |
1765 | end | |
1766 | return ponies | |
1767 | end | |
1768 | ||
1769 | player.Chatted:connect(function(m) | |
1770 | if disabled then return end | |
1771 | for i,v in pairs(Words) do | |
1772 | if v["Code"]..key == m:sub(1, #v["Code"]+#key) then | |
1773 | v["Function"](getPlayers(m:sub(#v["Code"]+#key+1)), m:sub(#v["Code"]+#key+1)) | |
1774 | end | |
1775 | end | |
1776 | end) | |
1777 | ||
1778 | ||
1779 | createtab(guis["Intro"], ("Welcome to MLP Brony tabs"), "Lavender") | |
1780 | ||
1781 | ||
1782 | for _,plr in pairs(players:children()) do | |
1783 | end | |
1784 | ||
1785 | players.ChildAdded:connect(function(plr) | |
1786 | for name = 1, #mutedforever do | |
1787 | if plr.Name:lower() == mutedforever[name]:lower() then | |
1788 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", v:findFirstChild("Backpack")) | |
1789 | end | |
1790 | end | |
1791 | ||
1792 | createtab(guis["Pinkie Pie"], plr.Name.." has joined! IT'S TIME TO PARTY!", "Pink") | |
1793 | end) | |
1794 | ||
1795 | players.ChildRemoved:connect(function(plr) | |
1796 | Output(plr.Name.." has left the Party, Aww.", "Bright blue") | |
1797 | end) | |
1798 | ||
1799 | ||
1800 | --FLIP DA TABLE | |
1801 | ||
1802 | game:service'RunService'.Stepped:connect(function() | |
1803 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
1804 | for i = 1, #notapony do | |
1805 | if v.Name:lower() == notapony[i]:lower() then | |
1806 | if btab then return end | |
1807 | btab = true | |
1808 | Output("A ba".."nned player tried to join: "..v.Name, "Bright red") | |
1809 | NewLS("game:service'Players'.LocalPlayer:Kick()", v:findFirstChild("Backpack")) | |
1810 | wait(2) | |
1811 | btab = false | |
1812 | end | |
1813 | end | |
1814 | ||
1815 | ||
1816 | end | |
1817 | end) |