SHOW:
|
|
- or go back to the newest paste.
1 | --[Nil]]-- | |
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | SmokeDelsin = script:Clone() | |
10 | ||
11 | script.Parent = nil | |
12 | ||
13 | LocalPlayer = game:service'Players'.LocalPlayer | |
14 | ||
15 | Camera = workspace.CurrentCamera | |
16 | ||
17 | Mouse = LocalPlayer:GetMouse() | |
18 | ||
19 | ||
20 | ||
21 | CtrlDown = false | |
22 | ||
23 | ButtonUnoDown = false | |
24 | ||
25 | GUIHidden = false | |
26 | ||
27 | Platforming = false | |
28 | ||
29 | PlatUpping = false | |
30 | ||
31 | PlatDowning = false | |
32 | ||
33 | ChatDebounce = false | |
34 | ||
35 | UseChat = true | |
36 | ||
37 | Limping = false | |
38 | ||
39 | ||
40 | ||
41 | Mode = "None" | |
42 | ||
43 | CharacterName = LocalPlayer.Name | |
44 | ||
45 | ||
46 | ||
47 | CopyPasta = nil | |
48 | ||
49 | Dragging = nil | |
50 | ||
51 | DraggingBP = nil | |
52 | ||
53 | GodConnection = nil | |
54 | ||
55 | ||
56 | ||
57 | R = 0 | |
58 | ||
59 | G = 0 | |
60 | ||
61 | B = 0 | |
62 | ||
63 | ||
64 | ||
65 | X = 0 | |
66 | ||
67 | Y = 0 | |
68 | ||
69 | Z = 0 | |
70 | ||
71 | ||
72 | ||
73 | Height = 0 | |
74 | ||
75 | ColorChange = 0.03 | |
76 | ||
77 | HeightChange = 0.3 | |
78 | ||
79 | ||
80 | ||
81 | Sound = Instance.new("Sound",Camera) | |
82 | ||
83 | Sound.Pitch = 1 | |
84 | ||
85 | Sound.Volume = 10 | |
86 | ||
87 | ||
88 | ||
89 | Platform = Instance.new("Part") | |
90 | ||
91 | Platform.Size = Vector3.new(3,1,3) | |
92 | ||
93 | Platform.Transparency = 1 | |
94 | ||
95 | Platform.Anchored = true | |
96 | ||
97 | Platform.CanCollide = true | |
98 | ||
99 | ||
100 | ||
101 | ModeChanged = Instance.new("BindableEvent") | |
102 | ||
103 | ||
104 | ||
105 | KeyBindings = { | |
106 | ||
107 | {"t","Teleport"}, | |
108 | ||
109 | {"j","BreakJoints"}, | |
110 | ||
111 | {"n","NoClip"}, | |
112 | ||
113 | {"u","Ninja",function() LocalPlayer.Character.Parent = Camera end}, | |
114 | ||
115 | {"e","Explosion"}, | |
116 | ||
117 | {"k","Phaze"}, | |
118 | ||
119 | {"c","Copy"}, | |
120 | ||
121 | {"v","Paste"}, | |
122 | ||
123 | {"b","BloodSuck"}, | |
124 | ||
125 | {"-","Remove", | |
126 | ||
127 | function() | |
128 | ||
129 | pcall(function() | |
130 | ||
131 | LocalPlayer.PlayerGui:FindFirstChild("KeyBindings"):Remove() | |
132 | ||
133 | end) | |
134 | ||
135 | for i,v in pairs(getfenv(1)) do | |
136 | ||
137 | getfenv(1)[i] = {} | |
138 | ||
139 | end | |
140 | ||
141 | print = function() end | |
142 | ||
143 | end | |
144 | ||
145 | }, | |
146 | ||
147 | {"h","Help", | |
148 | ||
149 | function() | |
150 | ||
151 | local ScrGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
152 | ||
153 | local Txt = Instance.new("TextLabel",ScrGui) | |
154 | ||
155 | Txt.BackgroundTransparency = 1 | |
156 | ||
157 | Txt.TextStrokeTransparency = 0 | |
158 | ||
159 | Txt.TextWrap = true | |
160 | ||
161 | Txt.Size = UDim2.new(1,0,1,0) | |
162 | ||
163 | Txt.FontSize = "Size18" | |
164 | ||
165 | Txt.TextColor3 = Color3.new(1,1,1) | |
166 | ||
167 | Txt.Text = [[ | |
168 | ||
169 | Modes shown on the right. | |
170 | ||
171 | To select a mode hold Ctrl then press the designated key. | |
172 | ||
173 | Once selected click to activate the modes function. | |
174 | ||
175 | Some modes don't need to be clicked to activate. | |
176 | ||
177 | Press shift to deselect mode. | |
178 | ||
179 | ]] | |
180 | ||
181 | game:GetService("Debris"):AddItem(ScrGui,10) | |
182 | ||
183 | end | |
184 | ||
185 | }, | |
186 | ||
187 | {"g","Toggle GUI", | |
188 | ||
189 | function() | |
190 | ||
191 | local Main = LocalPlayer.PlayerGui:FindFirstChild("KeyBindings").Main | |
192 | ||
193 | if GUIHidden == true then | |
194 | ||
195 | GUIHidden = false | |
196 | ||
197 | Main:TweenPosition(UDim2.new(0.85,0,0.25,0),"Out","Quad",1,true) | |
198 | ||
199 | elseif GUIHidden == false then | |
200 | ||
201 | GUIHidden = true | |
202 | ||
203 | Main:TweenPosition(UDim2.new(1,0,0.25,0),"Out","Quad",1,true) | |
204 | ||
205 | end | |
206 | ||
207 | end | |
208 | ||
209 | }, | |
210 | ||
211 | {"m","Destroy"}, | |
212 | ||
213 | {"r","Eat"}, | |
214 | ||
215 | {";","Host"}, | |
216 | ||
217 | {"]","Give"}, | |
218 | ||
219 | {"f","BaleFire"}, | |
220 | ||
221 | --{"p","Asplosion"}, | |
222 | ||
223 | {"z","More", | |
224 | ||
225 | function() | |
226 | ||
227 | local Scr = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
228 | ||
229 | Scr.Name = "KeyBindings" | |
230 | ||
231 | local Frames = {} | |
232 | ||
233 | local Frame = Instance.new("Frame",Scr) | |
234 | ||
235 | Frames[#Frames+1] = Frame | |
236 | ||
237 | Frame.Style = "RobloxSquare" | |
238 | ||
239 | Frame.Active = true | |
240 | ||
241 | Frame.Draggable = true | |
242 | ||
243 | Frame.Size = UDim2.new(0.3,0,0.3,0) | |
244 | ||
245 | Frame.Position = UDim2.new(0.15,0,0.15,0) | |
246 | ||
247 | local Close = Instance.new("TextButton",Frame) | |
248 | ||
249 | Close.Text = "Close" | |
250 | ||
251 | Close.FontSize = "Size18" | |
252 | ||
253 | Close.Style = 1 | |
254 | ||
255 | Close.TextColor3 = Color3.new(1,0,0) | |
256 | ||
257 | Close.Size = UDim2.new(1,0,0.1,0) | |
258 | ||
259 | Close.MouseButton1Down:connect(function() Scr:Remove() end) | |
260 | ||
261 | local HideName = Close:Clone() | |
262 | ||
263 | HideName.Parent = Frame | |
264 | ||
265 | HideName.Text = "HideName" | |
266 | ||
267 | HideName.Size = UDim2.new(0.5,0,0.1,0) | |
268 | ||
269 | HideName.Position = UDim2.new(0,0,0.1,0) | |
270 | ||
271 | HideName.MouseButton1Down:connect(function() | |
272 | ||
273 | local Head = LocalPlayer.Head | |
274 | ||
275 | local Fake = Head:Clone() | |
276 | ||
277 | Fake.Name = "Fake Head" | |
278 | ||
279 | Fake.face:Remove() | |
280 | ||
281 | Fake.Transparency = 0 | |
282 | ||
283 | Head.Transparency = 1 | |
284 | ||
285 | Fake.Parent = Head.Parent | |
286 | ||
287 | local Weld = Instance.new("Weld",Fake) | |
288 | ||
289 | Weld.Part0 = Fake | |
290 | ||
291 | Weld.Part1 = Head | |
292 | ||
293 | Weld.C0 = CFrame.new(0,0,0) | |
294 | ||
295 | end) | |
296 | ||
297 | local NilChar = HideName:Clone() | |
298 | ||
299 | NilChar.Parent = Frame | |
300 | ||
301 | NilChar.Text = "Nil Char" | |
302 | ||
303 | NilChar.Position = UDim2.new(0.5,0,0.1,0) | |
304 | ||
305 | NilChar.MouseButton1Down:connect(function() | |
306 | ||
307 | LocalPlayer.Character = nil | |
308 | ||
309 | end) | |
310 | ||
311 | local Dark = NilChar:Clone() | |
312 | ||
313 | Dark.Parent = Frame | |
314 | ||
315 | Dark.Text = "Darken" | |
316 | ||
317 | Dark.Position = UDim2.new(0,0,0.2,0) | |
318 | ||
319 | Dark.MouseButton1Down:connect(function() | |
320 | ||
321 | Darken(LocalPlayer.Character) | |
322 | ||
323 | end) | |
324 | ||
325 | local NewChar = Dark:Clone() | |
326 | ||
327 | NewChar.Parent = Frame | |
328 | ||
329 | NewChar.Text = "New Char" | |
330 | ||
331 | NewChar.Position = UDim2.new(0.5,0,0.2,0) | |
332 | ||
333 | NewChar.MouseButton1Down:connect(function() | |
334 | ||
335 | --[[local Clone = game:service'InsertService':LoadAsset(25690626):children()[1] | |
336 | ||
337 | Clone.Parent = workspace | |
338 | ||
339 | LoclaPlayer.Character = Clone]]-- | |
340 | ||
341 | LoadCharacter(CFrame.new(0,50,0)) | |
342 | ||
343 | end) | |
344 | ||
345 | local FF = NewChar:Clone() | |
346 | ||
347 | FF.Parent = Frame | |
348 | ||
349 | FF.Text = "ForceField" | |
350 | ||
351 | FF.Position = UDim2.new(0,0,0.3,0) | |
352 | ||
353 | FF.MouseButton1Down:connect(function() | |
354 | ||
355 | local FF = Instance.new("ForceField",LocalPlayer.Character) | |
356 | ||
357 | FF.Name = "KeyBindingForceField" | |
358 | ||
359 | end) | |
360 | ||
361 | local UnFF = FF:Clone() | |
362 | ||
363 | UnFF.Parent = Frame | |
364 | ||
365 | UnFF.Text = "UnForceField" | |
366 | ||
367 | UnFF.Position = UDim2.new(0.5,0,0.3,0) | |
368 | ||
369 | UnFF.MouseButton1Down:connect(function() | |
370 | ||
371 | for _,v in pairs(LocalPlayer.Character:children()) do | |
372 | ||
373 | if v:IsA("ForceField") then | |
374 | ||
375 | v:Remove() | |
376 | ||
377 | end | |
378 | ||
379 | end | |
380 | ||
381 | end) | |
382 | ||
383 | local LoadGui = FF:Clone() | |
384 | ||
385 | LoadGui.Parent = Frame | |
386 | ||
387 | LoadGui.Text = "Load Gui" | |
388 | ||
389 | LoadGui.Position = UDim2.new(0,0,0.4,0) | |
390 | ||
391 | LoadGui.MouseButton1Down:connect(Load) | |
392 | ||
393 | local NoTools = LoadGui:Clone() | |
394 | ||
395 | NoTools.Parent = Frame | |
396 | ||
397 | NoTools.Text = "Remove tools" | |
398 | ||
399 | NoTools.Position = UDim2.new(0.5,0,0.4,0) | |
400 | ||
401 | NoTools.MouseButton1Down:connect(function() | |
402 | ||
403 | pcall(function() | |
404 | ||
405 | LocalPlayer.Backpack:ClearAllChildren() | |
406 | ||
407 | end) | |
408 | ||
409 | end) | |
410 | ||
411 | local NoGuis = NoTools:Clone() | |
412 | ||
413 | NoGuis.Parent = Frame | |
414 | ||
415 | NoGuis.Text = "Remove GUIs" | |
416 | ||
417 | NoGuis.Position = UDim2.new(0,0,0.5,0) | |
418 | ||
419 | NoGuis.MouseButton1Down:connect(function() | |
420 | ||
421 | pcall(function() | |
422 | ||
423 | for _,v in pairs(LocalPlayer.PlayerGui:children()) do | |
424 | ||
425 | if v ~= Scr then | |
426 | ||
427 | v:Destroy() | |
428 | ||
429 | end | |
430 | ||
431 | end | |
432 | ||
433 | end) | |
434 | ||
435 | end) | |
436 | ||
437 | local Limp = NoGuis:Clone() | |
438 | ||
439 | Limp.Parent = Frame | |
440 | ||
441 | Limp.Text = "Limp" | |
442 | ||
443 | Limp.Position = UDim2.new(0.5,0,0.5,0) | |
444 | ||
445 | Limp.MouseButton1Down:connect(function() | |
446 | ||
447 | pcall(function() | |
448 | ||
449 | Limping = true | |
450 | ||
451 | for _,v in pairs(LocalPlayer.Character.Torso:children()) do | |
452 | ||
453 | if v:IsA("JointInstance") and v.Part1.Name ~= "Head" then | |
454 | ||
455 | for i=1,1 do | |
456 | ||
457 | local Glue = Instance.new("Glue",v.Parent) | |
458 | ||
459 | Glue.Part0 = v.Part0 | |
460 | ||
461 | Glue.Part1 = v.Part1 | |
462 | ||
463 | Glue.C0 = v.C0 | |
464 | ||
465 | Glue.C1 = v.C1 | |
466 | ||
467 | v.Parent = Glue | |
468 | ||
469 | v.Part1 = nil | |
470 | ||
471 | end | |
472 | ||
473 | end | |
474 | ||
475 | end | |
476 | ||
477 | end) | |
478 | ||
479 | end) | |
480 | ||
481 | local UnLimp = NoGuis:Clone() | |
482 | ||
483 | UnLimp.Parent = Frame | |
484 | ||
485 | UnLimp.Text = "Un Limp" | |
486 | ||
487 | UnLimp.Position = UDim2.new(0,0,0.6,0) | |
488 | ||
489 | UnLimp.MouseButton1Down:connect(function() | |
490 | ||
491 | pcall(function() | |
492 | ||
493 | Limping = false | |
494 | ||
495 | for _,v in pairs(LocalPlayer.Character.Torso:children()) do | |
496 | ||
497 | if v:IsA("Glue") then | |
498 | ||
499 | local Orig = v:children()[1] | |
500 | ||
501 | Orig.Parent = v.Parent | |
502 | ||
503 | Orig.Part1 = v.Part1 | |
504 | ||
505 | v.Parent = nil | |
506 | ||
507 | end | |
508 | ||
509 | end | |
510 | ||
511 | LocalPlayer.Character.Humanoid.PlatformStand = false | |
512 | ||
513 | end) | |
514 | ||
515 | end) | |
516 | ||
517 | local God = NoGuis:Clone() | |
518 | ||
519 | God.Parent = Frame | |
520 | ||
521 | God.Text = "God" | |
522 | ||
523 | God.Position = UDim2.new(0.5,0,0.6,0) | |
524 | ||
525 | God.MouseButton1Down:connect(function() | |
526 | ||
527 | pcall(function() | |
528 | ||
529 | if GodConnection ~= nil then GodConnection:disconnect() end | |
530 | ||
531 | GodConnection = LocalPlayer.Character.Torso.Touched:connect(function(v) | |
532 | ||
533 | v:BreakJoints() | |
534 | ||
535 | for i=1,3 do | |
536 | ||
537 | local Fire = Instance.new("Fire",v) | |
538 | ||
539 | Fire.Color = Color3.new(255,255,255) | |
540 | ||
541 | Fire.SecondaryColor = Color3.new(-255,-255,-255) | |
542 | ||
543 | end | |
544 | ||
545 | end) | |
546 | ||
547 | end) | |
548 | ||
549 | end) | |
550 | ||
551 | local UnGod = God:Clone() | |
552 | ||
553 | UnGod.Parent = Frame | |
554 | ||
555 | UnGod.Text = "UnGod" | |
556 | ||
557 | UnGod.Position = UDim2.new(0,0,0.7,0) | |
558 | ||
559 | UnGod.MouseButton1Down:connect(function() | |
560 | ||
561 | if GodConnection ~= nil then | |
562 | ||
563 | GodConnection:disconnect() | |
564 | ||
565 | end | |
566 | ||
567 | end) | |
568 | ||
569 | local UnDarken = UnGod:Clone() | |
570 | ||
571 | UnDarken.Parent = Frame | |
572 | ||
573 | UnDarken.Text = "Un Darken" | |
574 | ||
575 | UnDarken.Position = UDim2.new(0.5,0,0.7,0) | |
576 | ||
577 | UnDarken.MouseButton1Down:connect(function() | |
578 | ||
579 | pcall(function() | |
580 | ||
581 | repeat | |
582 | ||
583 | LocalPlayer.Character:FindFirstChild("Skin",true):Destroy() | |
584 | ||
585 | until LocalPlayer.Character:FindFirstChild("Skin") == nil | |
586 | ||
587 | end) | |
588 | ||
589 | end) | |
590 | ||
591 | local RepairLimbs = UnDarken:Clone() | |
592 | ||
593 | RepairLimbs.Parent = Frame | |
594 | ||
595 | RepairLimbs.Text = "Repair Limbs" | |
596 | ||
597 | RepairLimbs.Position = UDim2.new(0,0,0.8,0) | |
598 | ||
599 | RepairLimbs.MouseButton1Down:connect(function() | |
600 | ||
601 | FixLimbs() | |
602 | ||
603 | end) | |
604 | ||
605 | ||
606 | ||
607 | local Home = RepairLimbs:Clone() | |
608 | ||
609 | Home.Parent = Frame | |
610 | ||
611 | Home.Text = "Home" | |
612 | ||
613 | Home.Position = UDim2.new(0.5,0,0.8,0) | |
614 | ||
615 | Home.MouseButton1Down:connect(function() | |
616 | ||
617 | pcall(function() | |
618 | ||
619 | LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
620 | ||
621 | LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0) | |
622 | ||
623 | LocalPlayer.Character.Torso.RotVelocity = Vector3.new(0,0,0) | |
624 | ||
625 | end) | |
626 | ||
627 | end) | |
628 | ||
629 | end | |
630 | ||
631 | }, | |
632 | ||
633 | {"d","Drag"}, | |
634 | ||
635 | } | |
636 | ||
637 | ||
638 | ||
639 | function PlaySound(Id) | |
640 | ||
641 | pcall(function() | |
642 | ||
643 | Sound:Stop() | |
644 | ||
645 | Sound.SoundId = Id | |
646 | ||
647 | Sound:Play() | |
648 | ||
649 | end) | |
650 | ||
651 | end | |
652 | ||
653 | ||
654 | ||
655 | function GetPlayer(Target) | |
656 | ||
657 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
658 | ||
659 | if Target:IsDescendantOf(v.Character) and v.Character ~= nil then | |
660 | ||
661 | return v | |
662 | ||
663 | end | |
664 | ||
665 | end | |
666 | ||
667 | return nil | |
668 | ||
669 | end | |
670 | ||
671 | ||
672 | ||
673 | function ShouldEditPart(Target) | |
674 | ||
675 | local Rtn = true | |
676 | ||
677 | if Target.Locked == true and CtrlDown == false then | |
678 | ||
679 | Rtn = false | |
680 | ||
681 | end | |
682 | ||
683 | if Target.Name == "Base" or Target == Platform then | |
684 | ||
685 | Rtn = false | |
686 | ||
687 | end | |
688 | ||
689 | return Rtn | |
690 | ||
691 | end | |
692 | ||
693 | ||
694 | ||
695 | ||
696 | ||
697 | function Darken(Parent) | |
698 | ||
699 | for _,v in pairs(Parent:children()) do | |
700 | ||
701 | wait(1/100^100) | |
702 | ||
703 | for _,i in pairs(v:children()) do | |
704 | ||
705 | if i:IsA("Decal") then | |
706 | ||
707 | i:Remove() | |
708 | ||
709 | end | |
710 | ||
711 | end | |
712 | ||
713 | if v:IsA("BasePart") then | |
714 | ||
715 | local Skin = v:FindFirstChild("Handle") or v | |
716 | ||
717 | Skin = Skin:Clone() | |
718 | ||
719 | Skin.Name = "Skin" | |
720 | ||
721 | Skin.Parent = v.Parent | |
722 | ||
723 | Skin.FormFactor = "Custom" | |
724 | ||
725 | Skin.TopSurface = "Smooth" | |
726 | ||
727 | Skin.BottomSurface = "Smooth" | |
728 | ||
729 | Skin.BrickColor = BrickColor.new("Really black") | |
730 | ||
731 | --[[coroutine.resume(coroutine.create(function() | |
732 | ||
733 | while wait() do | |
734 | ||
735 | local R = 0 | |
736 | ||
737 | local G = 0 | |
738 | ||
739 | local B = 0 | |
740 | ||
741 | local ColorChange = 0.03 | |
742 | ||
743 | for i=0,1,ColorChange do R = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
744 | ||
745 | for i=0,1,ColorChange do G = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
746 | ||
747 | for i=0,1,ColorChange do B = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
748 | ||
749 | for i=1,0,ColorChange*-1 do R = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
750 | ||
751 | for i=1,0,ColorChange*-1 do G = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
752 | ||
753 | for i=1,0,ColorChange*-1 do B = i Skin.BrickColor = BrickColor.new(R,G,B) wait(1/100^100) end | |
754 | ||
755 | end | |
756 | ||
757 | end))]] | |
758 | ||
759 | Skin.Transparency = 0.3 | |
760 | ||
761 | Skin.Size = Vector3.new(v.Size.x + 0.1,v.Size.y + 0.1,v.Size.z + 0.1) | |
762 | ||
763 | local Weld = Instance.new("Weld",Skin) | |
764 | ||
765 | Weld.Part0 = Skin | |
766 | ||
767 | Weld.Part1 = v | |
768 | ||
769 | Weld.C0 = CFrame.new(0,0,0) | |
770 | ||
771 | pcall(function() | |
772 | ||
773 | Skin.Mesh.TextureId = "" | |
774 | ||
775 | --Skin.Mesh.Scale = Vector3.new(v.Mesh.Scale.x + 0.1,v.Mesh.Scale.y + 0.1,v.Mesh.Scale.z + 0.1) | |
776 | ||
777 | Skin.Mesh.VertexColor = Vector3.new(0,0,0) | |
778 | ||
779 | end) | |
780 | ||
781 | end | |
782 | ||
783 | Darken(v) | |
784 | ||
785 | end | |
786 | ||
787 | end | |
788 | ||
789 | ||
790 | ||
791 | function FixLimbs() | |
792 | ||
793 | coroutine.wrap(function() | |
794 | ||
795 | for i,v in pairs({"Left Arm","Right Arm","Left Leg","Right Leg"}) do | |
796 | ||
797 | pcall(function() | |
798 | ||
799 | LocalPlayer.Character[v]:Remove() | |
800 | ||
801 | end) | |
802 | ||
803 | Limb = Instance.new("Part",LocalPlayer.Character) | |
804 | ||
805 | Limb.Name = v | |
806 | ||
807 | Limb.Size = Vector3.new(1, 2, 1) | |
808 | ||
809 | Limb.formFactor = 0 | |
810 | ||
811 | Limb.BottomSurface = 0 | |
812 | ||
813 | Limb.BrickColor = LocalPlayer.Character.Head.BrickColor | |
814 | ||
815 | ||
816 | ||
817 | local Motor = Instance.new("Motor6D") | |
818 | ||
819 | Motor.Parent = LocalPlayer.Character.Torso | |
820 | ||
821 | Motor.MaxVelocity = 0.1 | |
822 | ||
823 | Motor.Part0 = LocalPlayer.Character.Torso | |
824 | ||
825 | Motor.Part1 = Limb | |
826 | ||
827 | if v=="Left Arm" then | |
828 | ||
829 | Motor.Name = "Left Shoulder" | |
830 | ||
831 | Motor.MaxVelocity = 0.15 | |
832 | ||
833 | Motor.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
834 | ||
835 | Motor.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
836 | ||
837 | elseif v=="Right Arm" then | |
838 | ||
839 | Motor.Name = "Right Shoulder" | |
840 | ||
841 | Motor.MaxVelocity = 0.15 | |
842 | ||
843 | Motor.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
844 | ||
845 | Motor.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
846 | ||
847 | elseif v=="Left Leg" then | |
848 | ||
849 | Motor.Name="Left Hip" | |
850 | ||
851 | Motor.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
852 | ||
853 | Motor.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
854 | ||
855 | elseif v=="Right Leg" then | |
856 | ||
857 | Motor.Name = "Right Hip" | |
858 | ||
859 | Motor.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
860 | ||
861 | Motor.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
862 | ||
863 | end | |
864 | ||
865 | ||
866 | ||
867 | end | |
868 | ||
869 | LocalPlayer.Character.Animate.Disabled = true | |
870 | ||
871 | wait(0.25) | |
872 | ||
873 | LocalPlayer.Character.Animate.Disabled = false | |
874 | ||
875 | end)() | |
876 | ||
877 | end | |
878 | ||
879 | ||
880 | ||
881 | function OnChatted(Msg) | |
882 | ||
883 | local a,b = coroutine.resume(coroutine.create(function() | |
884 | ||
885 | do | |
886 | ||
887 | local Head = Instance.new("Part",workspace) | |
888 | ||
889 | Head.Name = LocalPlayer.Name | |
890 | ||
891 | game:service'Chat':Chat(Head,Msg,math.random(0,2)) | |
892 | ||
893 | Head:Destroy() | |
894 | ||
895 | end | |
896 | ||
897 | if Msg:sub(1,5):reverse() == " tihs" then | |
898 | ||
899 | Msg = Msg:sub(6) | |
900 | ||
901 | end | |
902 | ||
903 | if Msg:sub(1,5) == "load/" then | |
904 | ||
905 | local Ran,ErrorMessage = coroutine.resume(coroutine.create(function() | |
906 | ||
907 | loadstring(Msg:sub(6))() | |
908 | ||
909 | end)) | |
910 | ||
911 | if Ran then | |
912 | ||
913 | local Run = Instance.new("Hint",Camera) | |
914 | ||
915 | Run.Text = "Script ran succuessfully!" | |
916 | ||
917 | wait(1.5) | |
918 | ||
919 | Run:Remove() | |
920 | ||
921 | else | |
922 | ||
923 | local ErrorMsg = Instance.new("Message",Camera) | |
924 | ||
925 | ErrorMsg.Text = ErrorMessage | |
926 | ||
927 | wait(5) | |
928 | ||
929 | ErrorMsg:remove() | |
930 | ||
931 | end | |
932 | ||
933 | elseif Msg:sub(1,8) == "setname/" then | |
934 | ||
935 | CharacterName = Msg:sub(9) | |
936 | ||
937 | elseif Msg:sub(1,5) == "kill/" then | |
938 | ||
939 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
940 | ||
941 | if string.lower(v.Name):sub(1,#Msg:sub(6)) == string.lower(Msg):sub(6) then | |
942 | ||
943 | v.Character:BreakJoints() | |
944 | ||
945 | end | |
946 | ||
947 | end | |
948 | ||
949 | ||
950 | ||
951 | ||
952 | ||
953 | --[[ | |
954 | ||
955 | ||
956 | ||
957 | ||
958 | ||
959 | if Player.Backpack ~= nil then | |
960 | ||
961 | local NS = ClonyPooPoo:Clone() | |
962 | ||
963 | NS.Parent = Player.Backpack | |
964 | ||
965 | NS.Disabled = false | |
966 | ||
967 | end]]-- | |
968 | ||
969 | elseif Msg == "rejoin/" then | |
970 | ||
971 | game:service'TeleportService':Teleport(game.PlaceId) | |
972 | ||
973 | elseif Msg == "chat/true" then | |
974 | ||
975 | UseChat = true | |
976 | ||
977 | elseif Msg == "chat/false" then | |
978 | ||
979 | UseChat = false | |
980 | ||
981 | elseif Msg:sub(1,2) == "m/" then | |
982 | ||
983 | coroutine.resume(coroutine.create(function() | |
984 | ||
985 | local Msg = Msg:sub(3) | |
986 | ||
987 | local Msg = Msg:gsub("\n"," ") | |
988 | ||
989 | local Msg = Msg:gsub("\t"," ") | |
990 | ||
991 | local Msg = CharacterName..":\t"..Msg | |
992 | ||
993 | local v = Instance.new("Message",workspace) | |
994 | ||
995 | local Total = string.len(Msg) | |
996 | ||
997 | local Max = 100 | |
998 | ||
999 | local Speed = 0.07 | |
1000 | ||
1001 | local Parent = workspace | |
1002 | ||
1003 | for i=0,Total do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed) end | |
1004 | ||
1005 | for i=1,math.random(4,6) do v.Text = Msg:sub(Total-Max,Total).."_" wait(0.5) v.Text = Msg:sub(Total-Max,Total).." " wait(0.5) end | |
1006 | ||
1007 | for i=Total,0,-1 do if i-Max < 0 then v.Text = Msg:sub(0,i).."_" else v.Text = Msg:sub(i-Max,i).."_" end wait(Speed/2/10) end | |
1008 | ||
1009 | v:remove() | |
1010 | ||
1011 | end)) | |
1012 | ||
1013 | elseif Msg == "fixcam/" then | |
1014 | ||
1015 | Camera:Destroy() | |
1016 | ||
1017 | wait() | |
1018 | ||
1019 | Camera = workspace.CurrentCamera | |
1020 | ||
1021 | Camera:SetRoll(0) | |
1022 | ||
1023 | Camera.CameraType = "Custom" | |
1024 | ||
1025 | Camera.FieldOfView = 70 | |
1026 | ||
1027 | LocalPlayer.CameraMode = Enum.CameraMode.Classic | |
1028 | ||
1029 | pcall(function() | |
1030 | ||
1031 | Camera.CameraSubject = LocalPlayer.Character.Humanoid | |
1032 | ||
1033 | end) | |
1034 | ||
1035 | elseif Msg == "do" and LocalPlayer.Parent == nil then | |
1036 | ||
1037 | LoadCharacter(CFrame.new(0,50,0)) | |
1038 | ||
1039 | elseif Msg == "debug/" then | |
1040 | ||
1041 | LocalPlayer.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..LocalPlayer.userId | |
1042 | ||
1043 | elseif Msg == "darken/" then | |
1044 | ||
1045 | Darken(LocalPlayer.Character) | |
1046 | ||
1047 | elseif Msg:sub(1,9) == "getridof/" then | |
1048 | ||
1049 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
1050 | if string.lower(v.Name):sub(1,#Msg:sub(10)) == string.lower(Msg):sub(10) then | |
1051 | local NS = ClonyPooPoo:Clone() | |
1052 | local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") | |
1053 | Source.Value = [[ | |
1054 | local LocalPlayer = game:service'Players'.LocalPlayer | |
1055 | LocalPlayer.Parent = nil wait() | |
1056 | LocalPlayer.Parent = game:service'Players' | |
1057 | ]] | |
1058 | NS.Parent = v.Backpack | |
1059 | NS.Disabled = false end | |
1060 | end | |
1061 | end | |
1062 | ||
1063 | if UseChat == true and LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
1064 | ||
1065 | local Part = Instance.new("Part",LocalPlayer.Character) | |
1066 | ||
1067 | Part.CanCollide = false | |
1068 | ||
1069 | Part.Transparency = 1 | |
1070 | ||
1071 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
1072 | ||
1073 | Part:BreakJoints() | |
1074 | ||
1075 | local Pos = Instance.new("BodyPosition",Part) | |
1076 | ||
1077 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
1078 | ||
1079 | Pos.position = LocalPlayer.Character.Head.Position | |
1080 | ||
1081 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character) | |
1082 | ||
1083 | BBG.Adornee = Part | |
1084 | ||
1085 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
1086 | ||
1087 | BBG.StudsOffset = Vector3.new(0,3,0) | |
1088 | ||
1089 | local Txt = Instance.new("TextLabel",BBG) | |
1090 | ||
1091 | Txt.Text = Msg | |
1092 | ||
1093 | Txt.FontSize = "Size18" | |
1094 | ||
1095 | Txt.TextColor3 = Color3.new(1,1,1) | |
1096 | ||
1097 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
1098 | ||
1099 | Txt.Size = UDim2.new(1,0,1,0) | |
1100 | ||
1101 | coroutine.wrap(function() | |
1102 | ||
1103 | for i=3,100 do | |
1104 | ||
1105 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
1106 | ||
1107 | Pos.position = LocalPlayer.Character.Head.Position | |
1108 | ||
1109 | Txt.TextTransparency = i / 100 | |
1110 | ||
1111 | Txt.BackgroundTransparency = i / 100 | |
1112 | ||
1113 | wait() | |
1114 | ||
1115 | end | |
1116 | ||
1117 | Part:Destroy() | |
1118 | ||
1119 | BBG:Destroy() | |
1120 | ||
1121 | end)() | |
1122 | ||
1123 | end | |
1124 | ||
1125 | end)) | |
1126 | ||
1127 | if not a then | |
1128 | ||
1129 | local ErrorMsg = Instance.new("Message",Camera) | |
1130 | ||
1131 | ErrorMsg.Text = b | |
1132 | ||
1133 | wait(5) | |
1134 | ||
1135 | ErrorMsg:remove() | |
1136 | ||
1137 | end | |
1138 | ||
1139 | end | |
1140 | ||
1141 | LocalPlayer.Chatted:connect(OnChatted) | |
1142 | ||
1143 | ||
1144 | ||
1145 | function LoadCharacter(DaCFrame) | |
1146 | ||
1147 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
1148 | ||
1149 | Character.Name = CharacterName or Character.Name | |
1150 | ||
1151 | Character.Parent = workspace | |
1152 | ||
1153 | LocalPlayer.Character = Character | |
1154 | ||
1155 | Character.Torso.CFrame = DaCFrame | |
1156 | ||
1157 | Camera.CameraSubject = Character.Humanoid | |
1158 | ||
1159 | Camera.CameraType = "Custom" | |
1160 | ||
1161 | local Part = Instance.new("Part",Character) | |
1162 | ||
1163 | Part.Name = "Horus" | |
1164 | ||
1165 | Part.Size = Vector3.new(2,2,2) | |
1166 | ||
1167 | Part.CanCollide = false | |
1168 | ||
1169 | Part.Locked = true | |
1170 | ||
1171 | Part:BreakJoints() | |
1172 | ||
1173 | local Weld = Instance.new("Weld",Part) | |
1174 | ||
1175 | Weld.Part0 = Part | |
1176 | ||
1177 | Weld.Part1 = Character.Head | |
1178 | ||
1179 | Weld.C0 = CFrame.new(0,-0.5,0) | |
1180 | ||
1181 | local Mesh = Instance.new("SpecialMesh",Part) | |
1182 | ||
1183 | Mesh.MeshType = "FileMesh" | |
1184 | ||
1185 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
1186 | ||
1187 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
1188 | ||
1189 | local Shirt = Instance.new("Shirt",Character) | |
1190 | ||
1191 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
1192 | ||
1193 | local Pants = Instance.new("Pants",Character) | |
1194 | ||
1195 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
1196 | ||
1197 | for _,v in pairs(Character:children()) do | |
1198 | ||
1199 | if v:IsA("BasePart") then | |
1200 | ||
1201 | v.BrickColor = BrickColor.new("Pastel brown") | |
1202 | ||
1203 | end | |
1204 | ||
1205 | end | |
1206 | ||
1207 | end | |
1208 | ||
1209 | function Load() | |
1210 | ||
1211 | wait(2.5) | |
1212 | ||
1213 | --repeat wait() until LocalPlayer:FindFirstChild("ScreenGui") ~= nil and LocalPlayer:FindFirstChild("Backpack") ~= nil | |
1214 | ||
1215 | local ScreenGui = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
1216 | ||
1217 | ScreenGui.Name = "KeyBindings" | |
1218 | ||
1219 | ||
1220 | ||
1221 | local Main = Instance.new("Frame",ScreenGui) | |
1222 | ||
1223 | Main.Name = "Main" | |
1224 | ||
1225 | Main.Style = "Custom" | |
1226 | ||
1227 | Main.BackgroundTransparency = 1 | |
1228 | ||
1229 | Main.Active = true | |
1230 | ||
1231 | Main.Draggable = true | |
1232 | ||
1233 | Main.Size = UDim2.new(0.15,0,0.1 + #KeyBindings * 0.02,0) | |
1234 | ||
1235 | Main.Position = UDim2.new(0.85,0,0.25,0) | |
1236 | ||
1237 | if GUIHidden == true then | |
1238 | ||
1239 | Main:TweenPosition(UDim2.new(1,0,0.25,0)) | |
1240 | ||
1241 | end | |
1242 | ||
1243 | ||
1244 | ||
1245 | local Title = Instance.new("TextLabel",Main) | |
1246 | ||
1247 | Title.FontSize = "Size14" | |
1248 | ||
1249 | Title.Text = "KeyBindings" | |
1250 | ||
1251 | Title.Active = false | |
1252 | ||
1253 | Title.TextColor3 = Color3.new(1,1,1) | |
1254 | ||
1255 | Title.BackgroundTransparency = 0.5 | |
1256 | ||
1257 | Title.Size = UDim2.new(1,0,0.1,0) | |
1258 | ||
1259 | Title.Position = UDim2.new(0,0,0,0) | |
1260 | ||
1261 | ||
1262 | ||
1263 | local MouseIn = false | |
1264 | ||
1265 | local HealthDisplay = Instance.new("TextLabel",Main) | |
1266 | ||
1267 | HealthDisplay.FontSize = "Size14" | |
1268 | ||
1269 | HealthDisplay.Text = "Loading..."--"["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
1270 | ||
1271 | HealthDisplay.Active = false | |
1272 | ||
1273 | HealthDisplay.TextColor3 = Color3.new(1,1,1) | |
1274 | ||
1275 | HealthDisplay.BackgroundTransparency = 0.5 | |
1276 | ||
1277 | HealthDisplay.Size = UDim2.new(1,0,0.1,0) | |
1278 | ||
1279 | HealthDisplay.Position = UDim2.new(0,0,0.11,0) | |
1280 | ||
1281 | HealthDisplay.MouseEnter:connect(function() | |
1282 | ||
1283 | MouseIn = true | |
1284 | ||
1285 | HealthDisplay.Text = "Max Health : "..tostring(math.floor(LocalPlayer.Character.Humanoid.MaxHealth+0.5)).."" | |
1286 | ||
1287 | end) | |
1288 | ||
1289 | HealthDisplay.MouseLeave:connect(function() | |
1290 | ||
1291 | MouseIn = false | |
1292 | ||
1293 | HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
1294 | ||
1295 | end) | |
1296 | ||
1297 | LocalPlayer.Character.Humanoid.Changed:connect(function() | |
1298 | ||
1299 | if MouseIn == false then | |
1300 | ||
1301 | HealthDisplay.Text = "["..tostring(LocalPlayer.Character.Humanoid.Health / LocalPlayer.Character.Humanoid.MaxHealth * 100):sub(1,5) .."/100%]" | |
1302 | ||
1303 | end | |
1304 | ||
1305 | end) | |
1306 | ||
1307 | ||
1308 | ||
1309 | local PlatUpArrow = Instance.new("ImageButton",Main) | |
1310 | ||
1311 | PlatUpArrow.Image = "http://www.roblox.com/asset/?id=29563813" | |
1312 | ||
1313 | PlatUpArrow.BackgroundTransparency = 1 | |
1314 | ||
1315 | PlatUpArrow.Size = UDim2.new(1/3,0,0.1,0) | |
1316 | ||
1317 | PlatUpArrow.Position = UDim2.new(0,0,0.22,0) | |
1318 | ||
1319 | PlatUpArrow.MouseButton1Down:connect(function() | |
1320 | ||
1321 | HeightChange = 0.3 | |
1322 | ||
1323 | PlatUpping = true | |
1324 | ||
1325 | end) | |
1326 | ||
1327 | PlatUpArrow.MouseButton1Up:connect(function() | |
1328 | ||
1329 | PlatUpping = false | |
1330 | ||
1331 | end) | |
1332 | ||
1333 | ||
1334 | ||
1335 | local PlatOn = Instance.new("TextButton",Main) | |
1336 | ||
1337 | PlatOn.Text = "On" | |
1338 | ||
1339 | PlatOn.FontSize = "Size12" | |
1340 | ||
1341 | PlatOn.BackgroundTransparency = 1 | |
1342 | ||
1343 | PlatOn.Size = UDim2.new(1/3/2,0,0.1,0) | |
1344 | ||
1345 | PlatOn.Position = UDim2.new(1/3,0,0.22,0) | |
1346 | ||
1347 | PlatOn.MouseButton1Down:connect(function() | |
1348 | ||
1349 | Height = LocalPlayer.Character.Torso.CFrame.y - 3.5 | |
1350 | ||
1351 | Platforming = true | |
1352 | ||
1353 | end) | |
1354 | ||
1355 | ||
1356 | ||
1357 | local PlatOff = Instance.new("TextButton",Main) | |
1358 | ||
1359 | PlatOff.Text = "Off" | |
1360 | ||
1361 | PlatOff.FontSize = "Size12" | |
1362 | ||
1363 | PlatOff.BackgroundTransparency = 1 | |
1364 | ||
1365 | PlatOff.Size = UDim2.new(1/3/2,0,0.1,0) | |
1366 | ||
1367 | PlatOff.Position = UDim2.new(1/3+1/3/2,0,0.22,0) | |
1368 | ||
1369 | PlatOff.MouseButton1Down:connect(function() | |
1370 | ||
1371 | Platforming = false | |
1372 | ||
1373 | Platform.Parent = nil | |
1374 | ||
1375 | end) | |
1376 | ||
1377 | ||
1378 | ||
1379 | local PlatDownArrow = Instance.new("ImageButton",Main) | |
1380 | ||
1381 | PlatDownArrow.Image = "http://www.roblox.com/asset/?id=29563831" | |
1382 | ||
1383 | PlatDownArrow.BackgroundTransparency = 1 | |
1384 | ||
1385 | PlatDownArrow.Size = UDim2.new(1/3,0,0.1,0) | |
1386 | ||
1387 | PlatDownArrow.Position = UDim2.new(1/3*2,0,0.22,0) | |
1388 | ||
1389 | PlatDownArrow.MouseButton1Down:connect(function() | |
1390 | ||
1391 | HeightChange = 0.3 | |
1392 | ||
1393 | PlatDowning = true | |
1394 | ||
1395 | end) | |
1396 | ||
1397 | PlatDownArrow.MouseButton1Up:connect(function() | |
1398 | ||
1399 | PlatDowning = false | |
1400 | ||
1401 | end) | |
1402 | ||
1403 | ||
1404 | ||
1405 | for i,v in pairs(KeyBindings) do | |
1406 | ||
1407 | local Box = Instance.new("TextBox",Main) | |
1408 | ||
1409 | Box.FontSize = "Size12" | |
1410 | ||
1411 | Box.Text = "[" .. v[1] .. "] "..v[2] | |
1412 | ||
1413 | Box.BackgroundTransparency = 0.7 | |
1414 | ||
1415 | Box.Size = UDim2.new(1,0,0.05,0) | |
1416 | ||
1417 | Box.Position = UDim2.new(0,0,0,0) | |
1418 | ||
1419 | --Box.Position = UDim2.new(0,0,0.1 + (i - 1) * 0.05,0) | |
1420 | ||
1421 | Box:TweenPosition(UDim2.new(0,0,0.33 + (i - 1) * 0.06,0),"Out","Back",2) | |
1422 | ||
1423 | ModeChanged.Event:connect(function(CurrentMode) | |
1424 | ||
1425 | if Mode == v[2] then | |
1426 | ||
1427 | while Mode == v[2] do | |
1428 | ||
1429 | for i=0,1,ColorChange do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1430 | ||
1431 | for i=0,1,ColorChange do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1432 | ||
1433 | for i=0,1,ColorChange do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1434 | ||
1435 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end R = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1436 | ||
1437 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end G = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1438 | ||
1439 | for i=1,0,ColorChange*-1 do if Mode ~= v[2] then break end B = i Box.BackgroundColor3 = Color3.new(R,G,B) wait(1/100^100) end | |
1440 | ||
1441 | end | |
1442 | ||
1443 | Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64) | |
1444 | ||
1445 | else | |
1446 | ||
1447 | Box.BackgroundColor3 = Color3.new(0.63,0.63,0.64) | |
1448 | ||
1449 | end | |
1450 | ||
1451 | end) | |
1452 | ||
1453 | Box.Changed:connect(function(Value) | |
1454 | ||
1455 | if Value == "Text" and Box.Text:sub(1,1) ~= "[" then | |
1456 | ||
1457 | v[1] = Box.Text | |
1458 | ||
1459 | Box.Text = "[" .. v[1] .. "] "..v[2] | |
1460 | ||
1461 | end | |
1462 | ||
1463 | end) | |
1464 | ||
1465 | end | |
1466 | ||
1467 | LocalPlayer.Character.Humanoid.Changed:connect(function() | |
1468 | ||
1469 | if Mode ~= "None" then | |
1470 | ||
1471 | LocalPlayer.Character.Humanoid.WalkToPart = nil; | |
1472 | ||
1473 | end | |
1474 | ||
1475 | end) | |
1476 | ||
1477 | ||
1478 | ||
1479 | if LocalPlayer.Backpack ~= nil then | |
1480 | ||
1481 | --pcall(function() | |
1482 | ||
1483 | game:GetService("InsertService"):LoadAsset(99030773):children()[1].Parent = LocalPlayer.Backpack | |
1484 | ||
1485 | --end) | |
1486 | ||
1487 | end | |
1488 | ||
1489 | end | |
1490 | ||
1491 | Load() | |
1492 | ||
1493 | ||
1494 | ||
1495 | LocalPlayer.CharacterAdded:connect(function() | |
1496 | ||
1497 | coroutine.resume(coroutine.create(function() | |
1498 | ||
1499 | Limping = false | |
1500 | ||
1501 | repeat wait() until LocalPlayer.Character.Humanoid ~= nil and LocalPlayer.PlayerGui ~= nil | |
1502 | ||
1503 | Load() | |
1504 | ||
1505 | end)) | |
1506 | ||
1507 | end) | |
1508 | ||
1509 | ||
1510 | ||
1511 | game:GetService("RunService").Stepped:connect(function() | |
1512 | ||
1513 | pcall(function() | |
1514 | ||
1515 | pcall(function() | |
1516 | ||
1517 | if LocalPlayer.Parent ~= nil then | |
1518 | ||
1519 | if Mode ~= "None" then | |
1520 | ||
1521 | LocalPlayer.Character.Torso.CFrame = CFrame.new(LocalPlayer.Character.Torso.CFrame.p, CFrame.new(Mouse.Hit.x,LocalPlayer.Character.Torso.CFrame.y,Mouse.Hit.z).p) | |
1522 | ||
1523 | LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1.5,0) | |
1524 | ||
1525 | LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(Vector3.new(0,0,0), LocalPlayer.Character.Torso.CFrame:pointToObjectSpace(Mouse.Hit.p + Vector3.new(0, -2.5, 0))):inverse() * CFrame.new(0,0,0) | |
1526 | ||
1527 | else | |
1528 | ||
1529 | LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0,0) | |
1530 | ||
1531 | LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-1.5,0) | |
1532 | ||
1533 | end | |
1534 | ||
1535 | --if LocalPlayer.Character.Torso.Neck.C1.y >= 0 then | |
1536 | ||
1537 | -- LocalPlayer.Character.Torso.Neck.C1 = LocalPlayer.Character.Torso.Neck.C1 * CFrame.new(0,-LocalPlayer.Character.Torso.Neck.C1.y,0) | |
1538 | ||
1539 | --end | |
1540 | ||
1541 | end | |
1542 | ||
1543 | -- invert y on clone neck c1 for fix but too lazy. | |
1544 | ||
1545 | end) | |
1546 | ||
1547 | pcall(function() | |
1548 | ||
1549 | if LocalPlayer:FindFirstChild("PlayerGui") == nil then | |
1550 | ||
1551 | Instance.new("PlayerGui",LocalPlayer) | |
1552 | ||
1553 | end | |
1554 | ||
1555 | end) | |
1556 | ||
1557 | if Mode == "NoClip" or Platforming == true then | |
1558 | ||
1559 | for _,v in pairs(LocalPlayer.Character:children()) do | |
1560 | ||
1561 | if v:IsA("BasePart") then | |
1562 | ||
1563 | v.CanCollide = false | |
1564 | ||
1565 | elseif v:IsA("Hat") then | |
1566 | ||
1567 | v.Handle.CanCollide = false | |
1568 | ||
1569 | end | |
1570 | ||
1571 | end | |
1572 | ||
1573 | end | |
1574 | ||
1575 | if Mode == "Phaze" then | |
1576 | ||
1577 | LocalPlayer.Character.Archivable = true | |
1578 | ||
1579 | local Clone = LocalPlayer.Character:Clone() | |
1580 | ||
1581 | Clone.Parent = workspace | |
1582 | ||
1583 | Clone.Torso.Anchored = false | |
1584 | ||
1585 | Clone.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(math.random(-5,5),0,math.random(-5,5)) | |
1586 | ||
1587 | game:GetService("Debris"):AddItem(Clone,0.30) | |
1588 | ||
1589 | end | |
1590 | ||
1591 | if Platforming == true then | |
1592 | ||
1593 | local TargetCFrame = LocalPlayer.Character.Torso.CFrame | |
1594 | ||
1595 | local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector | |
1596 | ||
1597 | Platform.Parent = Camera | |
1598 | ||
1599 | Platform.CFrame = CFrame.new(TargetCFrame.x,Height,TargetCFrame.z) | |
1600 | ||
1601 | Platform.CanCollide = true | |
1602 | ||
1603 | LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0,(TargetCFrame.y * -1) + Height +3.5,0) | |
1604 | ||
1605 | end | |
1606 | ||
1607 | if PlatUpping == true then | |
1608 | ||
1609 | HeightChange = HeightChange + 0.3 | |
1610 | ||
1611 | Height = Height + HeightChange | |
1612 | ||
1613 | elseif PlatDowning == true then | |
1614 | ||
1615 | HeightChange = HeightChange + 0.3 | |
1616 | ||
1617 | Height = Height - HeightChange | |
1618 | ||
1619 | end | |
1620 | ||
1621 | --[[if Mode == "Asplosion" then | |
1622 | ||
1623 | X = X - 1 | |
1624 | ||
1625 | Y = Y / 2 | |
1626 | ||
1627 | Z = Z + 1 | |
1628 | ||
1629 | for i=-1,1,2 do | |
1630 | ||
1631 | local Explosion = Instance.new("Explosion",workspace) | |
1632 | ||
1633 | Explosion.BlastPressure = 2500000 | |
1634 | ||
1635 | Explosion.BlastRadius = 20 | |
1636 | ||
1637 | Explosion.Position = (LocalPlayer.Character.Torso.CFrame | |
1638 | ||
1639 | * CFrame.Angles(X,Y,Z) | |
1640 | ||
1641 | * CFrame.new(0,0,50*i)).p | |
1642 | ||
1643 | end | |
1644 | ||
1645 | end]] | |
1646 | ||
1647 | if Limping == true then | |
1648 | ||
1649 | for _,v in pairs(LocalPlayer.Character:children()) do | |
1650 | ||
1651 | if v:IsA("BasePart") then | |
1652 | ||
1653 | v.CanCollide = true | |
1654 | ||
1655 | --v.Friction = 0.1 | |
1656 | ||
1657 | end | |
1658 | ||
1659 | end | |
1660 | ||
1661 | pcall(function() | |
1662 | ||
1663 | LocalPlayer.Character.Humanoid.PlatformStand = true | |
1664 | ||
1665 | end) | |
1666 | ||
1667 | end | |
1668 | ||
1669 | end) | |
1670 | ||
1671 | end) | |
1672 | ||
1673 | ||
1674 | ||
1675 | Mouse.KeyDown:connect(function(Key) | |
1676 | ||
1677 | local a,b = coroutine.resume(coroutine.create(function() | |
1678 | ||
1679 | if Key == "1" or Key == "2" then | |
1680 | ||
1681 | CtrlDown = true | |
1682 | ||
1683 | elseif Key == "0" then --or Key == "/" then | |
1684 | ||
1685 | PlaySound("http://www.roblox.com/Asset/?id=2785493") | |
1686 | ||
1687 | Mode = "None" | |
1688 | ||
1689 | if LocalPlayer.Character.Parent == Camera then | |
1690 | ||
1691 | LocalPlayer.Character.Parent = workspace | |
1692 | ||
1693 | end | |
1694 | ||
1695 | --pcall(function() LocalPlayer.Character.KeyBindingForceField:Remove() end) | |
1696 | ||
1697 | Platform.Parent = nil | |
1698 | ||
1699 | end | |
1700 | ||
1701 | if CtrlDown == true then | |
1702 | ||
1703 | for _,v in pairs(KeyBindings) do | |
1704 | ||
1705 | if Key == v[1] then | |
1706 | ||
1707 | PlaySound("http://www.roblox.com/Asset/?id=3264923") | |
1708 | ||
1709 | Mode = v[2] | |
1710 | ||
1711 | ModeChanged:Fire(v[2]) | |
1712 | ||
1713 | if v[3] ~= nil then | |
1714 | ||
1715 | v[3]() | |
1716 | ||
1717 | end | |
1718 | ||
1719 | end | |
1720 | ||
1721 | end | |
1722 | ||
1723 | end | |
1724 | ||
1725 | end)) | |
1726 | ||
1727 | if not a then print(b) end | |
1728 | ||
1729 | end) | |
1730 | ||
1731 | ||
1732 | ||
1733 | Mouse.Button1Down:connect(function() | |
1734 | ||
1735 | local a,b = coroutine.resume(coroutine.create(function() | |
1736 | ||
1737 | ButtonUnoDown = true | |
1738 | ||
1739 | if Mode == "Teleport" then | |
1740 | ||
1741 | PlaySound("http://www.roblox.com/Asset/?id=16433289") | |
1742 | ||
1743 | LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0) | |
1744 | ||
1745 | if CtrlDown == false then | |
1746 | ||
1747 | LocalPlayer.Character.Torso.CFrame = CFrame.new(Mouse.Hit.x,Mouse.Hit.y + 3,Mouse.Hit.z) | |
1748 | ||
1749 | elseif CtrlDown == true then | |
1750 | ||
1751 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-15) | |
1752 | ||
1753 | end | |
1754 | ||
1755 | ||
1756 | ||
1757 | elseif Mode == "BreakJoints" and Mouse.Target.Name ~= "Base" then | |
1758 | ||
1759 | if CtrlDown == true then | |
1760 | ||
1761 | Mouse.Target.Anchored = false | |
1762 | ||
1763 | end | |
1764 | ||
1765 | Mouse.Target:BreakJoints() | |
1766 | ||
1767 | ||
1768 | ||
1769 | elseif Mode == "Destroy" then | |
1770 | ||
1771 | if ShouldEditPart(Mouse.Target) then | |
1772 | ||
1773 | Mouse.Target:Destroy() | |
1774 | ||
1775 | end | |
1776 | ||
1777 | ||
1778 | ||
1779 | elseif Mode == "Explosion" then | |
1780 | ||
1781 | PlaySound("http://www.roblox.com/Asset/?id=3087031") | |
1782 | ||
1783 | local Expl = Instance.new("Explosion",workspace) | |
1784 | ||
1785 | Expl.Position = Mouse.Hit.p | |
1786 | ||
1787 | Expl.BlastPressure = 2500000 | |
1788 | ||
1789 | Expl.BlastRadius = 20 | |
1790 | ||
1791 | if CtrlDown == true then | |
1792 | ||
1793 | Expl.Hit:connect(function(v) | |
1794 | ||
1795 | v.Anchored = false | |
1796 | ||
1797 | end) | |
1798 | ||
1799 | end | |
1800 | ||
1801 | ||
1802 | ||
1803 | elseif Mode == "Copy" then | |
1804 | ||
1805 | CopyPasta = Mouse.Target:Clone() | |
1806 | ||
1807 | ||
1808 | ||
1809 | elseif Mode == "Paste" then | |
1810 | ||
1811 | local Temp = CopyPasta:Clone() | |
1812 | ||
1813 | Temp.Parent = workspace | |
1814 | ||
1815 | Temp.CFrame = Mouse.Hit | |
1816 | ||
1817 | ||
1818 | ||
1819 | elseif Mode == "BloodSuck" then | |
1820 | ||
1821 | local Humanoid = Mouse.Target.Parent:FindFirstChild("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChild("Humanoid") | |
1822 | ||
1823 | local Target = Mouse.Target | |
1824 | ||
1825 | while (LocalPlayer.Character.Torso.Position - Target.Position).Magnitude < 55 and Humanoid.Health > 0 and Mode == "BloodSuck" do | |
1826 | ||
1827 | wait() | |
1828 | ||
1829 | Humanoid.Health = Humanoid.Health - 1 | |
1830 | ||
1831 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + 1 | |
1832 | ||
1833 | end | |
1834 | ||
1835 | elseif Mode == "Host" then | |
1836 | ||
1837 | local Player = GetPlayer(Mouse.Target) | |
1838 | ||
1839 | if Player ~= nil then | |
1840 | ||
1841 | --wait(0.25) | |
1842 | ||
1843 | if CtrlDown == true then | |
1844 | ||
1845 | --[[Player.Character.Archivable = true | |
1846 | ||
1847 | local NewChar = Player.Character:Clone() | |
1848 | ||
1849 | LocalPlayer.Character = NewChar | |
1850 | ||
1851 | NewChar.Parent = workspace | |
1852 | ||
1853 | NewChar:MakeJoints() | |
1854 | ||
1855 | NewChar.Torso.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,0,-1)]] | |
1856 | ||
1857 | local Clone = game:service'InsertService':LoadAsset(68452456):children()[1] | |
1858 | ||
1859 | for _,v in pairs(Clone:children()) do if v:IsA("Script") then v:Remove() end end | |
1860 | ||
1861 | ||
1862 | ||
1863 | local Target = Instance.new("ObjectValue") | |
1864 | ||
1865 | Target.Name = "Target" | |
1866 | ||
1867 | Target.Parent = Clone | |
1868 | ||
1869 | Target.Value = LocalPlayer.Character:FindFirstChild("Humanoid") | |
1870 | ||
1871 | Clone.Name = Player.Name | |
1872 | ||
1873 | for _,v in pairs(Player.Character:children()) do | |
1874 | ||
1875 | if Clone:FindFirstChild(v.Name) == nil then | |
1876 | ||
1877 | v:Clone().Parent = Clone | |
1878 | ||
1879 | else | |
1880 | ||
1881 | pcall(function() | |
1882 | ||
1883 | Clone:FindFirstChild(v.Name).BrickColor = v.BrickColor | |
1884 | ||
1885 | end) | |
1886 | ||
1887 | end | |
1888 | ||
1889 | end | |
1890 | ||
1891 | Clone.Humanoid.Torso = Clone.Torso | |
1892 | ||
1893 | LocalPlayer.Character = Clone | |
1894 | ||
1895 | Clone.Parent = workspace | |
1896 | ||
1897 | Clone.Torso.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-5) * CFrame.Angles(0,math.rad(180),0) | |
1898 | ||
1899 | elseif CtrlDown == false then | |
1900 | ||
1901 | --Player.Character.Parent = nil | |
1902 | ||
1903 | LocalPlayer.Character = Player.Character | |
1904 | ||
1905 | --Player.Character.Parent = workspace | |
1906 | ||
1907 | --Player.Character:MakeJoints() | |
1908 | ||
1909 | end | |
1910 | ||
1911 | else | |
1912 | ||
1913 | if CtrlDown == false then | |
1914 | ||
1915 | LoadCharacter(CFrame.new(Mouse.Hit.x,Mouse.Hit.y,Mouse.Hit.z)) | |
1916 | ||
1917 | else | |
1918 | ||
1919 | LocalPlayer.Character = nil | |
1920 | ||
1921 | end | |
1922 | ||
1923 | end | |
1924 | ||
1925 | elseif Mode == "Give" then | |
1926 | ||
1927 | local Player = game:service'Players' | |
1928 | ||
1929 | local Player = GetPlayer(Mouse.Target) | |
1930 | ||
1931 | if Player ~= nil then | |
1932 | ||
1933 | if Player.Backpack ~= nil then | |
1934 | ||
1935 | local NS = ClonyPooPoo:Clone() | |
1936 | ||
1937 | NS.Parent = Player.Backpack | |
1938 | ||
1939 | NS.Disabled = false | |
1940 | ||
1941 | end | |
1942 | ||
1943 | end | |
1944 | ||
1945 | elseif Mode == "BaleFire" then | |
1946 | ||
1947 | --[[local Dist = (LocalPlayer.Character.Torso.Position - Mouse.Hit.p).Magnitude | |
1948 | ||
1949 | --print(Dist) | |
1950 | ||
1951 | local Max = Dist | |
1952 | ||
1953 | local Increase = 1 | |
1954 | ||
1955 | if Max > 1000 then | |
1956 | ||
1957 | Increase = 50 | |
1958 | ||
1959 | Max = Dist | |
1960 | ||
1961 | else | |
1962 | ||
1963 | Max = Dist + 10 | |
1964 | ||
1965 | Increase = 10 | |
1966 | ||
1967 | end]] | |
1968 | ||
1969 | local FF = Instance.new("ForceField",LocalPlayer.Character) | |
1970 | ||
1971 | game:service'Debris':AddItem(FF,1.5) | |
1972 | ||
1973 | for i=0,100 do | |
1974 | ||
1975 | local Expl = Instance.new("Explosion",workspace) | |
1976 | ||
1977 | Expl.BlastPressure = 2500000 | |
1978 | ||
1979 | Expl.BlastRadius = 7 | |
1980 | ||
1981 | Expl.Position = (CFrame.new(LocalPlayer.Character.Torso.Position,Mouse.Hit.p) | |
1982 | ||
1983 | * CFrame.new(0,0,-i * 15)).p | |
1984 | ||
1985 | if CtrlDown == true then | |
1986 | ||
1987 | Expl.Hit:connect(function(v) | |
1988 | ||
1989 | v.Anchored = false | |
1990 | ||
1991 | end) | |
1992 | ||
1993 | end | |
1994 | ||
1995 | end | |
1996 | ||
1997 | elseif Mode == "Drag" then | |
1998 | ||
1999 | if CtrlDown == true then | |
2000 | ||
2001 | Mouse.Target:BreakJoints() | |
2002 | ||
2003 | Mouse.Target.Anchored = false | |
2004 | ||
2005 | end | |
2006 | ||
2007 | Dragging = Mouse.Target | |
2008 | ||
2009 | DraggingBP = Instance.new("BodyPosition",Dragging) | |
2010 | ||
2011 | DraggingBP.maxForce = Vector3.new(1/0,1/0,1/0) | |
2012 | ||
2013 | end | |
2014 | ||
2015 | end)) | |
2016 | ||
2017 | if not a then print(b) end | |
2018 | ||
2019 | end) | |
2020 | ||
2021 | ||
2022 | ||
2023 | Mouse.Button1Up:connect(function() | |
2024 | ||
2025 | ButtonUnoDown = false | |
2026 | ||
2027 | end) | |
2028 | ||
2029 | ||
2030 | ||
2031 | Mouse.Move:connect(function() | |
2032 | ||
2033 | local a,b = coroutine.resume(coroutine.create(function() | |
2034 | ||
2035 | if ButtonUnoDown == true then | |
2036 | ||
2037 | if Mode == "Eat" then | |
2038 | ||
2039 | local Target = Mouse.Target | |
2040 | ||
2041 | if ShouldEditPart(Target) then | |
2042 | ||
2043 | local CF = Target.CFrame | |
2044 | ||
2045 | local Volume = math.floor(Target.Size.x * Target.Size.y * Target.Size.z) | |
2046 | ||
2047 | Target.Size = Vector3.new(math.random(1,2),math.random(1,2),math.random(1,2)) | |
2048 | ||
2049 | Target.Anchored = false | |
2050 | ||
2051 | Target.CanCollide = false | |
2052 | ||
2053 | Target.CFrame = CF | |
2054 | ||
2055 | Target:BreakJoints() | |
2056 | ||
2057 | local BP = Instance.new("BodyPosition",Target) | |
2058 | ||
2059 | BP.maxForce = Vector3.new(1/0,1/0,1/0) | |
2060 | ||
2061 | BP.position = LocalPlayer.Character.Head.Position | |
2062 | ||
2063 | Target.Touched:connect(function(Hit) | |
2064 | ||
2065 | if Hit:IsDescendantOf(LocalPlayer.Character) then | |
2066 | ||
2067 | Target:Destroy() | |
2068 | ||
2069 | if LocalPlayer.Character.Humanoid.Health >= LocalPlayer.Character.Humanoid.MaxHealth then | |
2070 | ||
2071 | LocalPlayer.Character.Humanoid.MaxHealth = LocalPlayer.Character.Humanoid.MaxHealth + Volume * 0.01 | |
2072 | ||
2073 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.MaxHealth | |
2074 | ||
2075 | else | |
2076 | ||
2077 | LocalPlayer.Character.Humanoid.Health = LocalPlayer.Character.Humanoid.Health + Volume * 0.01 | |
2078 | ||
2079 | end | |
2080 | ||
2081 | end | |
2082 | ||
2083 | end) | |
2084 | ||
2085 | game:GetService("Debris"):AddItem(Target,25) | |
2086 | ||
2087 | end | |
2088 | ||
2089 | elseif Mode == "Explosion" then | |
2090 | ||
2091 | PlaySound("http://www.roblox.com/Asset/?id=3087031") | |
2092 | ||
2093 | local Expl = Instance.new("Explosion",workspace) | |
2094 | ||
2095 | Expl.Position = Mouse.Hit.p | |
2096 | ||
2097 | Expl.BlastPressure = 2500000 | |
2098 | ||
2099 | Expl.BlastRadius = 20 | |
2100 | ||
2101 | if CtrlDown == true then | |
2102 | ||
2103 | Expl.Hit:connect(function(v) | |
2104 | ||
2105 | v.Anchored = false | |
2106 | ||
2107 | end) | |
2108 | ||
2109 | end | |
2110 | ||
2111 | elseif Mode == "Drag" then | |
2112 | ||
2113 | --DraggingBP.position = LocalPlayer.Character.Torso.Position + (Mouse.Hit.lookVector*20) | |
2114 | ||
2115 | if Mouse.Target == nil then | |
2116 | ||
2117 | DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,1e3,0)).p)*CFrame.new(0,0,-20)).p | |
2118 | ||
2119 | else | |
2120 | ||
2121 | DraggingBP.position = (CFrame.new(LocalPlayer.Character.Torso.Position,(Mouse.Hit*CFrame.new(0,30,0)).p)*CFrame.new(0,0,-15)).p | |
2122 | ||
2123 | end | |
2124 | ||
2125 | end | |
2126 | ||
2127 | end | |
2128 | ||
2129 | end)) | |
2130 | ||
2131 | if not a then print(b) end | |
2132 | ||
2133 | end) | |
2134 | ||
2135 | ||
2136 | ||
2137 | Mouse.Button1Up:connect(function() | |
2138 | ||
2139 | pcall(function() | |
2140 | ||
2141 | Dragging = nil | |
2142 | ||
2143 | DraggingBP:Destroy() | |
2144 | ||
2145 | DraggingBP = nil | |
2146 | ||
2147 | end) | |
2148 | ||
2149 | end) | |
2150 | ||
2151 | ||
2152 | ||
2153 | Mouse.KeyUp:connect(function(Key) | |
2154 | ||
2155 | Key = Key:lower() | |
2156 | ||
2157 | if Key == "1" or Key == "2" then | |
2158 | ||
2159 | CtrlDown = false | |
2160 | ||
2161 | end | |
2162 | ||
2163 | end) | |
2164 | ------------------------------------------------------------------------------------------------------------------- | |
2165 | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2166 | if script~= nil then tempscr = script:Clone() end | |
2167 | if script ~= nil and script:findFirstChild("DynamicSource",true) == nil then script.Parent = nil end | |
2168 | --To do: Add a command that makes a sphere from the cam that grows killing anyone it touches but not breaking props, also make a version that breaks everything it touches | |
2169 | --Add a command that allows for flying? | |
2170 | --Add a command that allows for no local players (difficult without insertservice) | |
2171 | --Add a command that is epic | |
2172 | --Fix the player getting function to use all, guests, others, me etc etc and add table looping to commands) | |
2173 | --Fix Backup/Restore Game Commands | |
2174 | -- Add Scripts off/on | |
2175 | -- add jump height command? | |
2176 | -- make the cube spin (wierd bug) | |
2177 | -- make a disco | |
2178 | -- when plugins are patched use the admin localscript as a loadstring clonable script to allow for pseudoscripts to be run on players! | |
2179 | -- add a grab/fling command | |
2180 | if script ~= nil then | |
2181 | newLS = script:FindFirstChild("DynamicSource",true) | |
2182 | end | |
2183 | createdorbs = {} | |
2184 | NewTerrain = Workspace:FindFirstChild("Terrain",true) | |
2185 | NewInstance = Instance.new | |
2186 | NewColor3 = Color3.new | |
2187 | NewVector3 = Vector3.new | |
2188 | NewCFrame = CFrame.new | |
2189 | NewAnim = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Animate",true):Clone() | |
2190 | game:GetService("Players").LocalPlayer.Character.Archivable = true | |
2191 | NewClone = game:GetService("Players").LocalPlayer.Character:Clone() | |
2192 | NewBrickColor = BrickColor.new | |
2193 | NewUDim2 = UDim2.new | |
2194 | NewWorkspace = game:GetService("Workspace") | |
2195 | NewPlayers = game:service("Players") | |
2196 | NewDebris = game:GetService("Debris") | |
2197 | NewStarterPack = game:GetService("StarterPack") | |
2198 | NewStarterGui = game:GetService("StarterGui") | |
2199 | NewScriptContext = game:GetService("ScriptContext") | |
2200 | NewLighting = game:GetService("Lighting") | |
2201 | NewRunService = game:GetService("RunService") | |
2202 | NewInsertService = game:GetService("InsertService") | |
2203 | Player = NewPlayers.LocalPlayer | |
2204 | Settings = {} | |
2205 | Settings.Activated = true | |
2206 | Settings.AB = false | |
2207 | Settings.QSID = 66369651 | |
2208 | Settings.Name = "Pepper" | |
2209 | Settings.Hidden = true | |
2210 | Settings.Point1 = NewCFrame() | |
2211 | Settings.Point2 = NewCFrame() | |
2212 | Settings.Part0 = NewInstance("Model") | |
2213 | Settings.Part1 = NewInstance("Part") | |
2214 | Settings.Part1.Transparency = 1 | |
2215 | Settings.Part1Mesh = NewInstance("SpecialMesh", Settings.Part1) | |
2216 | Settings.Part2 = NewInstance("Part") | |
2217 | Settings.Part2.Transparency = 1 | |
2218 | Settings.Part2Mesh = NewInstance("SpecialMesh", Settings.Part2) | |
2219 | Settings.Part3 = NewInstance("Humanoid") | |
2220 | if newLS ~= nil then | |
2221 | print("DyamicSource Found") | |
2222 | loadstring(newLS.Value)() | |
2223 | Settings.Activated = false | |
2224 | end | |
2225 | function GetExtraJoints() | |
2226 | JointNumber=0 | |
2227 | local function GetJoints(Parent) | |
2228 | if (Parent~=nil) then | |
2229 | for _,Item in pairs(Parent:GetChildren()) do | |
2230 | pcall(function() | |
2231 | if (Item:IsA("JointInstance")) then | |
2232 | if (Item.Part0==nil) and (Item.Part1==nil) then | |
2233 | JointNumber=JointNumber+1 Item.Parent=nil end end | |
2234 | GetJoints(Item) end) | |
2235 | end | |
2236 | end | |
2237 | end | |
2238 | GetJoints(game:GetService("Players")) GetJoints(Workspace) GetJoints(game:GetService("InsertService")) GetJoints(game:GetService("JointsService")) GetJoints(game:GetService("Lighting")) GetJoints(game:GetService("StarterGui")) GetJoints(game:GetService("StarterPack")) | |
2239 | mes = NewInstance("Message",Workspace) mes.Text = "Joints Cleared: " .. JointNumber | |
2240 | wait(3) | |
2241 | mes.Text = "" | |
2242 | mes.Parent = nil | |
2243 | end | |
2244 | function Insert(asset) | |
2245 | g = game:GetObjects("rbxassetid://"..asset..[["]])[1] | |
2246 | g.Parent = Workspace | |
2247 | --g:MakeJoints() | |
2248 | return g | |
2249 | end | |
2250 | function BackupGame(BackupIndex) -- todo fix | |
2251 | local BackupServices={"Lighting","StarterPack","StarterGui","SoundService","Workspace"} | |
2252 | local BackupData={}; | |
2253 | for Index,BackupService in pairs(BackupServices) do | |
2254 | local Container=NewInstance("Model"); | |
2255 | Container.Name=BackupService; | |
2256 | BackupData[BackupService]=Container; | |
2257 | for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do | |
2258 | if (Child.archivable) and (Child~=script) and (Child.className ~= "Terrain") then | |
2259 | Child:Clone().Parent=Container; | |
2260 | end | |
2261 | end | |
2262 | end | |
2263 | GameBackups[BackupIndex]=BackupData; | |
2264 | ||
2265 | mes2 = NewInstance("Message",Workspace) | |
2266 | mes2.Text = "Game Backup Complete" | |
2267 | wait(3) | |
2268 | mes2:Remove() | |
2269 | end | |
2270 | function RestoreGame(BackupIndex) -- todo fix | |
2271 | local BackupServices={"Lighting","StarterPack","Starter","SoundService","Workspace"} | |
2272 | local BackupData=GameBackups[BackupIndex]; | |
2273 | for Index,BackupService in pairs(BackupServices) do | |
2274 | for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do | |
2275 | if (Child~=script) then | |
2276 | pcall(Child.Remove,Child); | |
2277 | end | |
2278 | end | |
2279 | end | |
2280 | for Index,Container in pairs(BackupData) do | |
2281 | for ChildIndex,Child in pairs(Container:GetChildren()) do | |
2282 | local NewChild=Child:Clone(); | |
2283 | NewChild.Parent=game:GetService(Container.Name); | |
2284 | pcall(function() NewChild:MakeJoints(); end); | |
2285 | end | |
2286 | end | |
2287 | mes3 = NewInstance("Message",Workspace) | |
2288 | mes3.Text = "Game Restoration Complete" | |
2289 | wait(3) | |
2290 | mes3:Remove() | |
2291 | end | |
2292 | function GetPlayer(Input,Speaker) -- todo fix this and add table loops to all commands. | |
2293 | if (Input==nil) or (Speaker==nil) then return nil end | |
2294 | local function MatchKeyword(Keyword) | |
2295 | for Word in Input:gmatch("%w+") do | |
2296 | if (Word==Keyword) then | |
2297 | return true | |
2298 | end | |
2299 | end | |
2300 | return false | |
2301 | end | |
2302 | local Matches={} | |
2303 | local PlayerList=NewPlayers:GetPlayers(); | |
2304 | if MatchKeyword("all") then | |
2305 | for Index,PlayerF in pairs(PlayerList) do | |
2306 | if (PlayerF.className=="Player") then | |
2307 | table.insert(Matches,PlayerF); | |
2308 | end | |
2309 | end | |
2310 | return Matches | |
2311 | end | |
2312 | if MatchKeyword("me") then | |
2313 | table.insert(Matches,game:service("Players").LocalPlayer) | |
2314 | return Matches; | |
2315 | end | |
2316 | if MatchKeyword("others") then | |
2317 | for Index,PlayerF in pairs(PlayerList) do | |
2318 | if (PlayerF.className=="Player") then | |
2319 | if (PlayerF~=Speaker) then | |
2320 | table.insert(Matches,PlayerF); | |
2321 | end | |
2322 | end | |
2323 | end | |
2324 | return Matches; | |
2325 | end | |
2326 | if MatchKeyword("guests") then | |
2327 | for Index,PlayerF in pairs(PlayerList) do | |
2328 | if (PlayerF.className=="Player") then | |
2329 | if (PlayerF.Name:sub(1,6)=="Guest ") then | |
2330 | table.insert(Matches,PlayerF); | |
2331 | end | |
2332 | end | |
2333 | end | |
2334 | return Matches; | |
2335 | end | |
2336 | for Index,PlayerF in pairs(PlayerList) do | |
2337 | for Word in Input:gmatch("%w+") do | |
2338 | if (PlayerF.className=="Player") then | |
2339 | if (string.find(PlayerF.Name:lower(),Word)==1) then | |
2340 | table.insert(Matches,PlayerF); | |
2341 | end | |
2342 | end | |
2343 | end | |
2344 | end | |
2345 | return Matches; | |
2346 | end | |
2347 | function newLocalScript(Src,Par) | |
2348 | if script ~= nil then | |
2349 | lscr = tempscr:Clone() | |
2350 | print(lscr.Name) | |
2351 | newSource = Instance.new("StringValue") | |
2352 | newSource.Name = "DynamicSource" | |
2353 | newSource.Value = [[script.Parent = nil wait(0.1) ]]..Src | |
2354 | newSource.Parent = lscr | |
2355 | lscr.Parent = Par | |
2356 | lscr.Disabled = true | |
2357 | wait(1) | |
2358 | lscr.Disabled = false | |
2359 | end | |
2360 | end | |
2361 | function matchPlayer(str) | |
2362 | local result = nil | |
2363 | local players = game:GetService("Players"):GetPlayers() | |
2364 | if (string.find(string.lower("all"), str) == 1) then | |
2365 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
2366 | result = v | |
2367 | return v | |
2368 | end | |
2369 | else | |
2370 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2371 | if (string.find(string.lower(v.Name), str) == 1) then | |
2372 | result = v | |
2373 | else if (string.find(string.lower("me"), str) == 1) then | |
2374 | result = game.Players.LocalPlayer | |
2375 | end | |
2376 | end | |
2377 | end | |
2378 | return result | |
2379 | end | |
2380 | end | |
2381 | CatchMsg = function(Msg) | |
2382 | if Settings.Activated == false then return end | |
2383 | if Msg == "/hide" then | |
2384 | Settings.Hidden = not Settings.Hidden | |
2385 | elseif Msg == "/off" then | |
2386 | Settings.Activated = false | |
2387 | elseif Msg == "/ex" or Msg == "/explode" or Msg == "/explosion" then | |
2388 | local Shield = NewInstance("ForceField", game:service("Players").LocalPlayer.Character or nil) | |
2389 | wait(0.05) | |
2390 | local Explosion = NewInstance("Explosion") | |
2391 | Explosion.BlastRadius = 25 | |
2392 | Explosion.BlastPressure = 1000000 | |
2393 | Explosion.Position = Settings.Point2.p | |
2394 | Explosion.Hit:connect(function(Hit) | |
2395 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
2396 | Hit.Anchored = false | |
2397 | Hit:BreakJoints() | |
2398 | end | |
2399 | end) | |
2400 | Explosion.Parent = workspace | |
2401 | wait(0.1) | |
2402 | Shield:Remove() | |
2403 | elseif Msg == "/cam" or Msg == "/ascend" or Msg == "/in" then | |
2404 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
2405 | game:service("Players").LocalPlayer.Character = nil | |
2406 | elseif Msg == "/spawn" or Msg == "/descend" or Msg == "/out" then | |
2407 | if game:service("Players").LocalPlayer.Character ~= nil then | |
2408 | pcall(function() game:service("Players").LocalPlayer.Character:Remove() end) | |
2409 | game:service("Players").LocalPlayer.Character = nil | |
2410 | wait(0.1) | |
2411 | end | |
2412 | Character = NewInstance("Model") | |
2413 | Character.Name = Settings.Name | |
2414 | Character.Parent = workspace | |
2415 | local Head = NewInstance("Part") | |
2416 | Head.Name = "Head" | |
2417 | Head.formFactor = 0 | |
2418 | Head.Size = NewVector3(2, 1, 1) | |
2419 | Head.TopSurface = 0 | |
2420 | Head.BottomSurface = "Weld" | |
2421 | Head.BrickColor = NewBrickColor("Really black") | |
2422 | Head.Parent = Character | |
2423 | local Mesh = NewInstance("SpecialMesh") | |
2424 | Mesh.MeshType = "Head" | |
2425 | Mesh.Scale = NewVector3(1.25, 1.25, 1.25) | |
2426 | Mesh.Parent = Head | |
2427 | local Face = NewInstance("Decal") | |
2428 | Face.Name = "face" | |
2429 | Face.Face = "Front" | |
2430 | Face.Texture = "rbxasset://textures/face.png" | |
2431 | Face.Parent = Head | |
2432 | local Torso = NewInstance("Part") | |
2433 | Torso.Name = "Torso" | |
2434 | Torso.formFactor = 0 | |
2435 | Torso.Size = NewVector3(2, 2, 1) | |
2436 | Torso.TopSurface = "Studs" | |
2437 | Torso.BottomSurface = "Inlet" | |
2438 | Torso.LeftSurface = "Weld" | |
2439 | Torso.RightSurface = "Weld" | |
2440 | Torso.BrickColor = NewBrickColor("Really black") | |
2441 | Torso.Parent = Character | |
2442 | local TShirt = NewInstance("Decal") | |
2443 | TShirt.Name = "roblox" | |
2444 | TShirt.Face = "Front" | |
2445 | TShirt.Texture = "" | |
2446 | TShirt.Parent = Torso | |
2447 | local Limb = NewInstance("Part") | |
2448 | Limb.formFactor = 0 | |
2449 | Limb.Size = NewVector3(1, 2, 1) | |
2450 | Limb.TopSurface = "Studs" | |
2451 | Limb.BottomSurface = "Inlet" | |
2452 | Limb.BrickColor = NewBrickColor("Really black") | |
2453 | local LeftArm = Limb:Clone() | |
2454 | LeftArm.Name = "Left Arm" | |
2455 | LeftArm.Parent = Character | |
2456 | local RightArm = Limb:Clone() | |
2457 | RightArm.Name = "Right Arm" | |
2458 | RightArm.Parent = Character | |
2459 | local LeftLeg = Limb:Clone() | |
2460 | LeftLeg.Name = "Left Leg" | |
2461 | LeftLeg.Parent = Character | |
2462 | local RightLeg = Limb:Clone() | |
2463 | RightLeg.Name = "Right Leg" | |
2464 | RightLeg.Parent = Character | |
2465 | Character:BreakJoints() | |
2466 | local Neck = NewInstance("Motor6D") | |
2467 | Neck.Name = "Neck" | |
2468 | Neck.Part0 = Torso | |
2469 | Neck.Part1 = Head | |
2470 | Neck.C0 = NewCFrame(0, 2, 0) | |
2471 | Neck.C1 = NewCFrame(0, 0.5, 0) | |
2472 | Neck.MaxVelocity = 0 | |
2473 | Neck.Parent = Torso | |
2474 | local LeftShoulder = NewInstance("Motor6D") | |
2475 | LeftShoulder.Name = "Left Shoulder" | |
2476 | LeftShoulder.Part0 = Torso | |
2477 | LeftShoulder.Part1 = LeftArm | |
2478 | LeftShoulder.C0 = NewCFrame(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2479 | LeftShoulder.C1 = NewCFrame(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2480 | LeftShoulder.MaxVelocity = 0.5 | |
2481 | LeftShoulder.Parent = Torso | |
2482 | local RightShoulder = NewInstance("Motor6D") | |
2483 | RightShoulder.Name = "Right Shoulder" | |
2484 | RightShoulder.Part0 = Torso | |
2485 | RightShoulder.Part1 = RightArm | |
2486 | RightShoulder.C0 = NewCFrame(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2487 | RightShoulder.C1 = NewCFrame(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2488 | RightShoulder.MaxVelocity = 0.5 | |
2489 | RightShoulder.Parent = Torso | |
2490 | local LeftHip = NewInstance("Motor6D") | |
2491 | LeftHip.Name = "Left Hip" | |
2492 | LeftHip.Part0 = Torso | |
2493 | LeftHip.Part1 = LeftLeg | |
2494 | LeftHip.C0 = NewCFrame(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2495 | LeftHip.C1 = NewCFrame(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
2496 | LeftHip.MaxVelocity = 0.1 | |
2497 | LeftHip.Parent = Torso | |
2498 | local RightHip = NewInstance("Motor6D") | |
2499 | RightHip.Name = "Right Hip" | |
2500 | RightHip.Part0 = Torso | |
2501 | RightHip.Part1 = RightLeg | |
2502 | RightHip.C0 = NewCFrame(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2503 | RightHip.C1 = NewCFrame(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
2504 | RightHip.MaxVelocity = 0.1 | |
2505 | RightHip.Parent = Torso | |
2506 | local Humanoid = NewInstance("Humanoid") | |
2507 | Humanoid.Parent = Character | |
2508 | local BodyColors = NewInstance("BodyColors") | |
2509 | BodyColors.Name = "Body Colors" | |
2510 | BodyColors.HeadColor = Head.BrickColor | |
2511 | BodyColors.TorsoColor = Torso.BrickColor | |
2512 | BodyColors.LeftArmColor = LeftArm.BrickColor | |
2513 | BodyColors.RightArmColor = RightArm.BrickColor | |
2514 | BodyColors.LeftLegColor = LeftLeg.BrickColor | |
2515 | BodyColors.RightLegColor = RightLeg.BrickColor | |
2516 | BodyColors.Parent = Character | |
2517 | local Shirt = NewInstance("Shirt") | |
2518 | Shirt.Name = "Shirt" | |
2519 | Shirt.ShirtTemplate = "" | |
2520 | Shirt.Parent = Character | |
2521 | local ShirtGraphic = NewInstance("ShirtGraphic") | |
2522 | ShirtGraphic.Name = "Shirt Graphic" | |
2523 | ShirtGraphic.Graphic = "" | |
2524 | ShirtGraphic.Parent = Character | |
2525 | local Pants = NewInstance("Pants") | |
2526 | Pants.Name = "Pants" | |
2527 | Pants.PantsTemplate = "" | |
2528 | Pants.Parent = Character | |
2529 | Torso.CFrame = NewCFrame(Settings.Point1.p, Settings.Point2.p) | |
2530 | game:service("Players").LocalPlayer.Character = Character | |
2531 | workspace.CurrentCamera.CameraSubject = Character.Humanoid | |
2532 | workspace.CurrentCamera.CameraType = "Custom" | |
2533 | local Animate = NewAnim:Clone() | |
2534 | wait(0.1) | |
2535 | Animate.Parent = Character | |
2536 | elseif string.sub(Msg, 0, 7) == "/spawn2" then | |
2537 | ||
2538 | if game:service("Players").LocalPlayer.Character ~= nil then | |
2539 | game:service("Players").LocalPlayer.Character:Remove() | |
2540 | end | |
2541 | game:service("Players").LocalPlayer.Character = nil | |
2542 | l = NewClone:Clone() | |
2543 | l.Name = Settings.Name | |
2544 | l.Parent = Workspace | |
2545 | l.Torso.CFrame = NewCFrame(Settings.Point1.p, Settings.Point2.p) | |
2546 | game:service("Players").LocalPlayer.Character = l | |
2547 | workspace.CurrentCamera.CameraSubject = l.Humanoid | |
2548 | workspace.CurrentCamera.CameraType = "Custom" | |
2549 | wait(0.2) | |
2550 | local Animate = NewAnim:Clone() | |
2551 | Animate.Parent = l | |
2552 | ||
2553 | elseif string.sub(Msg, 0, 5) == "/fire" then | |
2554 | if Settings.Busy == true then | |
2555 | Settings.Busy = false | |
2556 | wait(0.5) | |
2557 | end | |
2558 | Settings.Busy = true | |
2559 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 7)) or 1 do | |
2560 | if Settings.Busy == false then break end | |
2561 | coroutine.wrap(function() | |
2562 | local Bullet = NewInstance("Part", workspace) | |
2563 | Bullet.Name = "Camera Bullet" | |
2564 | Bullet.formFactor = "Custom" | |
2565 | Bullet.Size = NewVector3(0.5, 0.5, 2) | |
2566 | Bullet.TopSurface = 0 | |
2567 | Bullet.BottomSurface = 0 | |
2568 | Bullet.BrickColor = NewBrickColor("New Yeller") | |
2569 | Bullet.CFrame = NewCFrame(Settings.Point1.p, Settings.Point2.p) * NewCFrame(0, 0, -3) | |
2570 | Mesh = NewInstance("SpecialMesh", Bullet) | |
2571 | Mesh.MeshType = "Sphere" | |
2572 | local BodyVelocity = NewInstance("BodyVelocity") | |
2573 | BodyVelocity.maxForce = NewVector3(math.huge, math.huge, math.huge) | |
2574 | BodyVelocity.velocity = ((Settings.Point2.p - Settings.Point1.p).unit * 250) + NewVector3(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
2575 | BodyVelocity.Parent = Bullet | |
2576 | Bullet.Touched:connect(function(Hit) | |
2577 | if Hit.Name == "Camera Focus" then return end | |
2578 | local Sound = Instance.new("Sound", Bullet) | |
2579 | Sound.Pitch = 1 | |
2580 | Sound.Volume = 1 | |
2581 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
2582 | Sound:Play() | |
2583 | Sound:Remove() | |
2584 | local Explosion = Instance.new("Explosion") | |
2585 | Explosion.BlastRadius = 5 | |
2586 | Explosion.BlastPressure = 500000 | |
2587 | Explosion.Position = Bullet.CFrame.p | |
2588 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
2589 | Explosion.Parent = workspace | |
2590 | wait(0.1) | |
2591 | Bullet:Remove() | |
2592 | end) | |
2593 | end)() | |
2594 | wait(0.15) | |
2595 | end | |
2596 | Settings.Busy = false | |
2597 | elseif string.sub(Msg, 0, 4) == "/cp " then | |
2598 | for word in Msg:gmatch("%w+") do | |
2599 | local Target = matchPlayer(word) | |
2600 | if (Target ~= nil) then | |
2601 | if (Target.Character ~= nil) then | |
2602 | NewPlayers.LocalPlayer.Character.Archivable = true | |
2603 | local Robot=NewPlayers.LocalPlayer.Character:Clone() | |
2604 | local Items=Robot:GetChildren() | |
2605 | local Hum=nil | |
2606 | local BotTorso=nil | |
2607 | for ii=1,#Items do | |
2608 | if (Items[ii].className=="Humanoid") then Hum=Items[ii] end | |
2609 | if (Items[ii].Name=="Torso") and (Items[ii].className=="Part") then BotTorso=Items[ii] end | |
2610 | end | |
2611 | if (Hum==nil) or (BotTorso==nil) then return end | |
2612 | Robot.Parent=game:GetService("Workspace") | |
2613 | Robot.Name=NewPlayers.LocalPlayer.Character.Name.."'s PWNER" | |
2614 | Robot:MoveTo(NewVector3(BotTorso.Position.x+math.random()*5,BotTorso.Position.y,BotTorso.Position.z-math.random()*8)) | |
2615 | Robot:MakeJoints() | |
2616 | NewPlayers.LocalPlayer.Character.archivable=false | |
2617 | Hum.Sit=false | |
2618 | Hum.Jump=true | |
2619 | Hum.PlatformStand=false | |
2620 | Hum.Health=250 | |
2621 | Hum.WalkSpeed=65 | |
2622 | coroutine.wrap(function() | |
2623 | game:GetService("Debris"):AddItem(Robot,30) | |
2624 | local MTorso=BotTorso; | |
2625 | MTorso.Touched:connect(function(h) | |
2626 | if (h:IsDescendantOf(Target.Character)) then | |
2627 | h:BreakJoints() | |
2628 | end end) | |
2629 | while true do wait(0.1) if Target.Character ~= nil then if Target.Character:FindFirstChild("Head",true) then Hum:MoveTo(Target.Character.Head.Position,Target.Character.Head) end end end | |
2630 | end)() | |
2631 | end | |
2632 | end | |
2633 | end | |
2634 | ||
2635 | elseif string.sub(Msg, 0, 8) == "/shutup " then | |
2636 | for word in Msg:gmatch("%w+") do | |
2637 | local Target = matchPlayer(word) | |
2638 | if (Target ~= nil) then | |
2639 | pcall(function() game:service("Chat"):Chat(Target.Character.Head, "I Have Been Told To Shutup, If I Speak I will Kick Myself", "Blue") end) | |
2640 | coroutine.wrap(function() | |
2641 | p = Target p.Chatted:connect(function(msg) if msg ~= nil then p:Remove() end end) | |
2642 | end)() | |
2643 | end | |
2644 | end | |
2645 | elseif string.sub(Msg, 0, 9) == "/shutupk " then | |
2646 | for word in Msg:gmatch("%w+") do | |
2647 | local Target = matchPlayer(word) | |
2648 | if (Target ~= nil) then | |
2649 | pcall(function() game:service("Chat"):Chat(Target.Character.Head, "I Have Been Told To Shutup, If I Speak I will Die", "Blue") end) | |
2650 | coroutine.wrap(function() | |
2651 | p = Target | |
2652 | if p:FindFirstChild("Shutup") == nil then | |
2653 | n = Instance.new("IntValue",p) | |
2654 | n.Name = "Shutup" | |
2655 | n.Value = 1 | |
2656 | else | |
2657 | p:FindFirstChild("Shutup").Value = 1 | |
2658 | end | |
2659 | shutupkillhook = p.Chatted:connect(function(lol) if p:findFirstChild("Shutup").Value == 1 then if lol ~= nil then if p.Character ~= nil then p.Character:BreakJoints() end end end end) | |
2660 | end)() | |
2661 | end | |
2662 | end | |
2663 | ||
2664 | elseif string.sub(Msg, 0, 10) == "/unshutup " then | |
2665 | for word in Msg:gmatch("%w+") do | |
2666 | local Target = matchPlayer(word) | |
2667 | if (Target ~= nil) then | |
2668 | pcall(function() Target:FindFirstChild("Shutup",true).Value = 0 end) | |
2669 | pcall(function() game:service("Chat"):Chat(Target.Character.Head, "I Have Been Allowed to Speak Again!", "Blue") end) | |
2670 | end | |
2671 | end | |
2672 | ||
2673 | ----------- CBA Stuffs Below ---------Edited by LastRegicide---------- | |
2674 | elseif string.sub(Msg, 0, 10) == "/spawncage" then | |
2675 | for _, Model in pairs(game:service("Workspace"):children()) do | |
2676 | if Model.Name == "SpawnCage" then | |
2677 | Model:Remove() | |
2678 | end | |
2679 | end | |
2680 | local spawnmodel = Instance.new("Model",workspace) | |
2681 | spawnmodel.Name = "SpawnCage" | |
2682 | wall1 = Instance.new("Part", spawnmodel) | |
2683 | wall1.Size = Vector3.new(1, 20, 51) | |
2684 | wall1.Anchored = true | |
2685 | wall1.BrickColor = BrickColor.new("Really red") | |
2686 | wall1.Transparency = 0.7 | |
2687 | wall1.TopSurface = "Smooth" | |
2688 | wall1.BottomSurface = "Smooth" | |
2689 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
2690 | wall2 = Instance.new("Part", spawnmodel) | |
2691 | wall2.Size = Vector3.new(51, 20, 1) | |
2692 | wall2.Anchored = true | |
2693 | wall2.BrickColor = BrickColor.new("Really red") | |
2694 | wall2.Transparency = 0.7 | |
2695 | wall2.TopSurface = "Smooth" | |
2696 | wall2.BottomSurface = "Smooth" | |
2697 | wall2.CFrame = CFrame.new(0, 10, 25) | |
2698 | wall3 = Instance.new("Part", spawnmodel) | |
2699 | wall3.Size = Vector3.new(1, 20, 51) | |
2700 | wall3.Anchored = true | |
2701 | wall3.BrickColor = BrickColor.new("Really red") | |
2702 | wall3.Transparency = 0.7 | |
2703 | wall3.TopSurface = "Smooth" | |
2704 | wall3.BottomSurface = "Smooth" | |
2705 | wall3.CFrame = CFrame.new(25, 10, 0) | |
2706 | wall4 = Instance.new("Part", spawnmodel) | |
2707 | wall4.Size = Vector3.new(51, 20, 1) | |
2708 | wall4.Anchored = true | |
2709 | wall4.BrickColor = BrickColor.new("Really red") | |
2710 | wall4.Transparency = 0.7 | |
2711 | wall4.TopSurface = "Smooth" | |
2712 | wall4.BottomSurface = "Smooth" | |
2713 | wall4.CFrame = CFrame.new(0, 10, -25) | |
2714 | roof = Instance.new("Part", spawnmodel) | |
2715 | roof.Anchored = true | |
2716 | roof.Size = Vector3.new(51, 1, 51) | |
2717 | roof.TopSurface = "Smooth" | |
2718 | roof.BottomSurface = "Smooth" | |
2719 | roof.BrickColor = BrickColor.new("Really black") | |
2720 | roof.Locked = true | |
2721 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
2722 | elseif string.sub(Msg, 0, 9) == "/opendoor" then | |
2723 | wall1.CanCollide = false | |
2724 | wall1.Transparency = 1 | |
2725 | elseif string.sub(Msg, 0, 10) == "/closedoor" then | |
2726 | wall1.CanCollide = true | |
2727 | wall1.Transparency = 0.7 | |
2728 | elseif string.sub(Msg, 0, 5) == "/base" then | |
2729 | for _, Part in pairs(game:service("Workspace"):children()) do | |
2730 | if Part.Name == "Base" then | |
2731 | Part:Remove() | |
2732 | end | |
2733 | end | |
2734 | for _, Part in pairs(game:service("Workspace"):children()) do | |
2735 | if Part.Name == "SpawnLocation" then | |
2736 | Part:Remove() | |
2737 | end | |
2738 | end | |
2739 | local b = Instance.new("Part", workspace) | |
2740 | b.Size = Vector3.new(3000, 1, 3000) | |
2741 | b.CFrame = CFrame.new(0, 0, 0) | |
2742 | b.Name = "Base" | |
2743 | b.BrickColor = BrickColor.new("Earth green") | |
2744 | b.TopSurface = "Smooth" | |
2745 | b.BottomSurface = "Smooth" | |
2746 | b.LeftSurface = "Smooth" | |
2747 | b.RightSurface = "Smooth" | |
2748 | b.FrontSurface = "Smooth" | |
2749 | b.BackSurface = "Smooth" | |
2750 | b.Anchored = true | |
2751 | b.Locked = true | |
2752 | local sl = Instance.new("SpawnLocation", workspace) | |
2753 | sl.Anchored = true | |
2754 | sl.Locked = true | |
2755 | sl.formFactor = "Plate" | |
2756 | sl.Size = Vector3.new(6, 0.4, 6) | |
2757 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
2758 | sl.BrickColor = BrickColor.new("Really black") | |
2759 | sl.TopSurface = "Smooth" | |
2760 | sl.BottomSurface = "Smooth" | |
2761 | sl.LeftSurface = "Smooth" | |
2762 | sl.RightSurface = "Smooth" | |
2763 | sl.FrontSurface = "Smooth" | |
2764 | sl.BackSurface = "Smooth" | |
2765 | elseif string.sub(Msg, 0, 6) == "/clean" then | |
2766 | for i,s in pairs(workspace:GetChildren()) do | |
2767 | if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then | |
2768 | if s.className ~= "Terrain" then | |
2769 | if s.className ~= "Camera" then | |
2770 | pcall(function() s:Destroy() end) | |
2771 | end end end end | |
2772 | local b = Instance.new("Part", Game:GetService("Workspace")) | |
2773 | b.Size = Vector3.new(3000, 1, 3000) | |
2774 | b.CFrame = CFrame.new(0, 0, 0) | |
2775 | b.Name = "Base" | |
2776 | b.BrickColor = BrickColor.new("Earth green") | |
2777 | b.TopSurface = "Smooth" | |
2778 | b.BottomSurface = "Smooth" | |
2779 | b.LeftSurface = "Smooth" | |
2780 | b.RightSurface = "Smooth" | |
2781 | b.FrontSurface = "Smooth" | |
2782 | b.BackSurface = "Smooth" | |
2783 | b.Anchored = true | |
2784 | b.Locked = true | |
2785 | local sl = Instance.new("SpawnLocation", workspace) | |
2786 | sl.Anchored = true | |
2787 | sl.Locked = true | |
2788 | sl.formFactor = "Plate" | |
2789 | sl.Size = Vector3.new(6, 0.4, 6) | |
2790 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
2791 | sl.BrickColor = BrickColor.new("Really black") | |
2792 | sl.TopSurface = "Smooth" | |
2793 | sl.BottomSurface = "Smooth" | |
2794 | sl.LeftSurface = "Smooth" | |
2795 | sl.RightSurface = "Smooth" | |
2796 | sl.FrontSurface = "Smooth" | |
2797 | sl.BackSurface = "Smooth" | |
2798 | --[[ Lighting Below ]]-- | |
2799 | elseif string.sub(Msg, 0, 3) == "/rl" then -- Resets Lighting | |
2800 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
2801 | v:remove() | |
2802 | end | |
2803 | local light = game:GetService("Lighting") | |
2804 | light.TimeOfDay = "14:00:00" | |
2805 | light.Brightness = 1 | |
2806 | light.ColorShift_Bottom = Color3.new(0, 0, 0) | |
2807 | light.ColorShift_Top = Color3.new(0, 0, 0) | |
2808 | light.ShadowColor = Color3.new(178, 178, 178) | |
2809 | light.Ambient = Color3.new(1, 1, 1) | |
2810 | light.FogStart = 0 | |
2811 | light.FogEnd = 10000000000000 | |
2812 | elseif string.sub(Msg, 0, 4) == "/day" then -- To do: Make a /time [WHAT TIME] | |
2813 | local light = game:GetService("Lighting") | |
2814 | light.TimeOfDay = "14:00:00" | |
2815 | elseif string.sub(Msg, 0, 6) == "/night" then | |
2816 | local light = game:GetService("Lighting") | |
2817 | light.TimeOfDay = "24:00:00" | |
2818 | elseif string.sub(Msg, 0, 6) == "/fogon" then --To do: Make a /fogend [HOW MUCH FOG] | |
2819 | game:service("Lighting").FogStart = 0 | |
2820 | game:service("Lighting").FogEnd = 100 | |
2821 | elseif string.sub(Msg, 0, 7) == "/fogoff" then | |
2822 | game:service("Lighting").FogStart = 0 | |
2823 | game:service("Lighting").FogEnd = 99999999999999 | |
2824 | --[[ Lighting Above ]]-- | |
2825 | --[[elseif string.sub(Msg, 0, 11) == "/scriptsoff" then | |
2826 | NewScriptContext.ScriptsDisabled = true | |
2827 | ]] | |
2828 | ----------------CBA Stuffs Above----Edited by LastRegicide----------------- | |
2829 | elseif string.sub(Msg, 0, 10) == "/stealhats" then | |
2830 | for i,v in pairs(game.Players:GetChildren()) do wait() | |
2831 | if v.Character ~= nil then | |
2832 | for k,p in pairs(v.Character:GetChildren()) do | |
2833 | if p.className == "Hat" then p.Parent = game.Players.LocalPlayer.Character | |
2834 | end | |
2835 | end | |
2836 | end | |
2837 | end | |
2838 | elseif string.sub(Msg, 0, 11) == "/stealtools" then | |
2839 | for i,v in pairs(game.Players:GetChildren()) do wait() | |
2840 | for k,p in pairs(v.Backpack:GetChildren()) do | |
2841 | p.Parent = game.Players.LocalPlayer.Backpack | |
2842 | end | |
2843 | end | |
2844 | elseif string.sub(Msg, 0, 8) == "/notools" then | |
2845 | for i,v in pairs(game.Players:GetChildren()) do wait() | |
2846 | for k,p in pairs(v.Backpack:GetChildren()) do | |
2847 | p:Destroy() | |
2848 | end | |
2849 | end | |
2850 | ||
2851 | -------------------------Below is Sky Box------Edited by LastRegicide--------- | |
2852 | elseif string.sub(Msg, 0, 5) == "/sky " then -- Hopefully it works... | |
2853 | local string = Msg:sub(3) | |
2854 | c = game.Lighting:getChildren() | |
2855 | for i = 1,#c do | |
2856 | if c[i].ClassName == "Sky" then | |
2857 | c[i]:remove() | |
2858 | end | |
2859 | end | |
2860 | local sky = "http://www.roblox.com/asset/?id=" ..string | |
2861 | game.Lighting.TimeOfDay = "12:00:00" | |
2862 | s = Instance.new("Sky") | |
2863 | s.Parent = game.Lighting | |
2864 | s.SkyboxBk = sky | |
2865 | s.SkyboxDn = sky | |
2866 | s.SkyboxFt = sky | |
2867 | s.SkyboxLf = sky | |
2868 | s.SkyboxRt = sky | |
2869 | s.SkyboxUp = sky | |
2870 | -------------------------Above is Sky Box------Edited by LastRegicide--------- | |
2871 | elseif string.sub(Msg, 0, 5) == "/bomb" then | |
2872 | if Settings.Busy == true then | |
2873 | Settings.Busy = false | |
2874 | wait(0.5) | |
2875 | end | |
2876 | Settings.Busy = true | |
2877 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 7)) or 1 do | |
2878 | if Settings.Busy == false then break end | |
2879 | coroutine.wrap(function() | |
2880 | local Bomb = NewInstance("Part", workspace) | |
2881 | Bomb.Name = "Camera Bomb" | |
2882 | Bomb.formFactor = "Custom" | |
2883 | Bomb.Size = NewVector3(1, 1, 1) | |
2884 | Bomb.TopSurface = 0 | |
2885 | Bomb.BottomSurface = 0 | |
2886 | Bomb.BrickColor = NewBrickColor("Really black") | |
2887 | Bomb.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
2888 | Bomb.Velocity = ((Bomb.CFrame.p - Settings.Point1.p).unit * 25) | |
2889 | Mesh = NewInstance("SpecialMesh", Bomb) | |
2890 | Mesh.MeshType = "Sphere" | |
2891 | wait(math.random(1000, 6000) / 1000) | |
2892 | for i = 1, 5 do | |
2893 | local Sound = Instance.new("Sound") | |
2894 | Sound.Name = "Blip" | |
2895 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
2896 | Sound.Pitch = 4 | |
2897 | Sound.Volume = 1 | |
2898 | Sound.Parent = Bomb | |
2899 | Sound:Play() | |
2900 | Sound:Remove() | |
2901 | wait(0.05) | |
2902 | Bomb.BrickColor = BrickColor.new("Really red") | |
2903 | wait(0.05) | |
2904 | Bomb.BrickColor = BrickColor.new("Really black") | |
2905 | end | |
2906 | Bomb.Touched:connect(function(Hit) | |
2907 | local Sound = Instance.new("Sound", Bomb) | |
2908 | Sound.Pitch = 1 | |
2909 | Sound.Volume = 1 | |
2910 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
2911 | Sound:Play() | |
2912 | local Explosion = Instance.new("Explosion") | |
2913 | Explosion.BlastRadius = 5 | |
2914 | Explosion.BlastPressure = 500000 | |
2915 | Explosion.Position = Bomb.CFrame.p | |
2916 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
2917 | Explosion.Parent = workspace | |
2918 | wait(0.1) | |
2919 | Bomb:Remove() | |
2920 | end) | |
2921 | coroutine.wrap(function() | |
2922 | while Bomb.Parent ~= nil do | |
2923 | Bomb:BreakJoints() | |
2924 | wait() | |
2925 | end | |
2926 | end)() | |
2927 | end)() | |
2928 | wait(0.1) | |
2929 | end | |
2930 | Settings.Busy = false | |
2931 | ||
2932 | elseif string.sub(Msg, 0, 6) == "/ebomb" then | |
2933 | if Settings.Busy == true then | |
2934 | Settings.Busy = false | |
2935 | wait(0.5) | |
2936 | end | |
2937 | Settings.Busy = true | |
2938 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 8)) or 1 do | |
2939 | if Settings.Busy == false then break end | |
2940 | coroutine.wrap(function() | |
2941 | local Bomb = NewInstance("Part", workspace) | |
2942 | Bomb.Name = "Explosive Camera Bomb" | |
2943 | Bomb.formFactor = "Custom" | |
2944 | Bomb.Size = NewVector3(1, 1, 1) | |
2945 | Bomb.TopSurface = 0 | |
2946 | Bomb.BottomSurface = 0 | |
2947 | Bomb.BrickColor = NewBrickColor("Really black") | |
2948 | Bomb.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
2949 | Bomb.Velocity = ((Bomb.CFrame.p - Settings.Point1.p).unit * 25) | |
2950 | Mesh = NewInstance("SpecialMesh", Bomb) | |
2951 | Mesh.MeshType = "Sphere" | |
2952 | wait(math.random(1000, 6000) / 1000) | |
2953 | for i = 1, 5 do | |
2954 | local Sound = Instance.new("Sound") | |
2955 | Sound.Name = "Blip" | |
2956 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
2957 | Sound.Pitch = 4 | |
2958 | Sound.Volume = 1 | |
2959 | Sound.Parent = Bomb | |
2960 | Sound:Play() | |
2961 | Sound:Remove() | |
2962 | wait(0.05) | |
2963 | Bomb.BrickColor = BrickColor.new("Really red") | |
2964 | wait(0.05) | |
2965 | Bomb.BrickColor = BrickColor.new("Really black") | |
2966 | end | |
2967 | Bomb.Touched:connect(function(Hit) | |
2968 | local Sound = Instance.new("Sound", Bomb) | |
2969 | Sound.Pitch = 1 | |
2970 | Sound.Volume = 1 | |
2971 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
2972 | Sound:Play() | |
2973 | Sound:Remove() | |
2974 | local Explosion = Instance.new("Explosion") | |
2975 | Explosion.BlastRadius = 25 | |
2976 | Explosion.BlastPressure = 5000000 | |
2977 | Explosion.Position = Bomb.CFrame.p | |
2978 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
2979 | Explosion.Parent = workspace | |
2980 | wait(0.1) | |
2981 | Bomb:Remove() | |
2982 | end) | |
2983 | coroutine.wrap(function() | |
2984 | while Bomb.Parent ~= nil do | |
2985 | Bomb:BreakJoints() | |
2986 | wait() | |
2987 | end | |
2988 | end)() | |
2989 | end)() | |
2990 | wait(0.1) | |
2991 | end | |
2992 | Settings.Busy = false | |
2993 | ||
2994 | elseif Msg == "/clear" then | |
2995 | coroutine.wrap(function() | |
2996 | m = NewInstance("Message",Workspace) | |
2997 | m.Text = "Clearing" | |
2998 | local QuickScript = game:GetObjects("rbxassetid://66369651")[2] | |
2999 | QuickScript.Name = "clear" | |
3000 | --QuickScript.Debug:Remove() | |
3001 | QuickScript.DynamicSource.Value = [[ | |
3002 | NewWorkspace = game:GetService("Workspace") | |
3003 | NewTerrain = NewWorkspace:FindFirstChild("Terrain",true) | |
3004 | NewInstance = Instance.new | |
3005 | NewColor3 = Color3.new | |
3006 | NewVector3 = Vector3.new | |
3007 | NewCFrame = CFrame.new | |
3008 | NewBrickColor = BrickColor.new | |
3009 | NewUDim2 = UDim2.new | |
3010 | NewPlayers = game:GetService("Players") | |
3011 | NewDebris = game:GetService("Debris") | |
3012 | NewStarterPack = game:GetService("StarterPack") | |
3013 | NewStarterGui = game:GetService("StarterGui") | |
3014 | NewScriptContext = game:GetService("ScriptContext") | |
3015 | NewLighting = game:GetService("Lighting") | |
3016 | NewRunService = game:GetService("RunService") | |
3017 | NewInsertService = game:GetService("InsertService") | |
3018 | ||
3019 | if NewTerrain ~= nil then | |
3020 | NewTerrain:Clear() | |
3021 | end | |
3022 | lInstance = NewInstance | |
3023 | lVector3 = NewVector3 | |
3024 | lUDim2 = NewUDim2 | |
3025 | lCFrame = NewCFrame | |
3026 | lColor3 = NewColor3 | |
3027 | lBrickColor = NewBrickColor | |
3028 | lWorkspace = game:GetService("Workspace") | |
3029 | lPlayers = game:GetService("Players") | |
3030 | lDebris = game:GetService("Debris") | |
3031 | lStarterPack = game:GetService("StarterPack") | |
3032 | lStarterGui = game:GetService("StarterGui") | |
3033 | lScriptContext = game:GetService("ScriptContext") | |
3034 | lSoundScape = game:GetService("SoundService") | |
3035 | lScriptContext.ScriptsDisabled = true | |
3036 | lLighting = game:GetService("Lighting") | |
3037 | lRunService = game:GetService("RunService") | |
3038 | lInsertService = game:GetService("InsertService") | |
3039 | lWorkspace.Name = "Hiccup" | |
3040 | lPlayers.Name = "Hiccup2" | |
3041 | lLighting.Name = "Hiccup3" | |
3042 | lRunService.Name = "Hiccup4" | |
3043 | lInsertService.Name = "Hiccup5" | |
3044 | lDebris.Name = "Hiccup6" | |
3045 | lStarterPack.Name = "Hiccup7" | |
3046 | lStarterGui.Name = "Hiccup8" | |
3047 | lSoundScape.Name = "Hiccup9" | |
3048 | lScriptContext.Name = "Hiccup10" | |
3049 | Instance.new = nil | |
3050 | Vector3.new = nil | |
3051 | UDim2.new = nil | |
3052 | CFrame.new = nil | |
3053 | Color3.new = nil | |
3054 | BrickColor.new = nil | |
3055 | shared.game = "emag" | |
3056 | shared.Workspace = "ecapskroW " | |
3057 | shared.workspace = "ecapskrow" | |
3058 | for i,v in pairs(lWorkspace:GetChildren()) do | |
3059 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3060 | v.Archivable = false | |
3061 | v.Disabled = true | |
3062 | v:Remove() | |
3063 | else | |
3064 | if lPlayers:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" then | |
3065 | v.Archivable = false | |
3066 | v:Remove() | |
3067 | end | |
3068 | end | |
3069 | end | |
3070 | for i,v in pairs(lSoundScape:GetChildren()) do | |
3071 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3072 | v.Archivable = false | |
3073 | v.Disabled = true | |
3074 | v:Remove() | |
3075 | else | |
3076 | if lPlayers:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" then | |
3077 | v.Archivable = false | |
3078 | v:Remove() | |
3079 | end | |
3080 | end | |
3081 | end | |
3082 | for i,v in pairs(lScriptContext:GetChildren()) do | |
3083 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3084 | v.Archivable = false | |
3085 | v.Disabled = true | |
3086 | v:Remove() | |
3087 | else | |
3088 | if lPlayers:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v.className ~= "StarterScript" and v.className ~= "CoreScript" then | |
3089 | v.Archivable = false | |
3090 | v:Remove() | |
3091 | end | |
3092 | end | |
3093 | end | |
3094 | for i,v in pairs(lRunService:GetChildren()) do | |
3095 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3096 | v.Archivable = false | |
3097 | v.Disabled = true | |
3098 | v:Remove() | |
3099 | else | |
3100 | if lPlayers:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" then | |
3101 | v.Archivable = false | |
3102 | v:Remove() | |
3103 | end | |
3104 | end | |
3105 | end | |
3106 | for i,v in pairs(lPlayers:GetChildren()) do | |
3107 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3108 | v.Archivable = false | |
3109 | v.Disabled = true | |
3110 | v:Remove() | |
3111 | else | |
3112 | if v.className ~= "Player" then | |
3113 | v.Archivable = false | |
3114 | v:Remove() | |
3115 | end | |
3116 | end | |
3117 | end | |
3118 | for i,v in pairs(lLighting:GetChildren()) do | |
3119 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3120 | v.Archivable = false | |
3121 | v.Disabled = true | |
3122 | v:Remove() | |
3123 | else | |
3124 | v.Archivable = false | |
3125 | v:Remove() | |
3126 | end | |
3127 | end | |
3128 | for i,v in pairs(lStarterGui:GetChildren()) do | |
3129 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3130 | v.Archivable = false | |
3131 | v.Disabled = true | |
3132 | v:Remove() | |
3133 | else | |
3134 | v.Archivable = false | |
3135 | v:Remove() | |
3136 | end | |
3137 | end | |
3138 | for i,v in pairs(lInsertService:GetChildren()) do | |
3139 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3140 | v.Archivable = false | |
3141 | v.Disabled = true | |
3142 | v:Remove() | |
3143 | else | |
3144 | v.Archivable = false | |
3145 | v:Remove() | |
3146 | end | |
3147 | end | |
3148 | ||
3149 | for i,v in pairs(lRunService:GetChildren()) do | |
3150 | if v.className == "Script" or v.className == "BaseScript" or v.className == "LocalScript" then | |
3151 | v.Archivable = false | |
3152 | v.Disabled = true | |
3153 | v:Remove() | |
3154 | else | |
3155 | v.Archivable = false | |
3156 | v:Remove() | |
3157 | end | |
3158 | end | |
3159 | local w=lWorkspace:GetChildren() | |
3160 | for i=1,#w do | |
3161 | if (lPlayers:GetPlayerFromCharacter(w[i]))==nil and (w[i]~=script.Parent) and (w[i]~=lWorkspace.CurrentCamera) and (w[i]~=script) then | |
3162 | if w[i].className == "Script" then | |
3163 | w[i].Disabled = true | |
3164 | end | |
3165 | if w[i].className ~= "Terrain" then | |
3166 | w[i].Parent = lDebris | |
3167 | end | |
3168 | end | |
3169 | end | |
3170 | wait(0.1) | |
3171 | local a=lWorkspace:GetChildren() | |
3172 | for s=1,#a do | |
3173 | if (lPlayers:GetPlayerFromCharacter(a[s]))==nil and (a[s]~=script.Parent) and (a[s]~=lWorkspace.CurrentCamera) and (a[s]~=script) then | |
3174 | if a[s].Name ~= "Base" and a[s].className ~= "Terrain" then | |
3175 | qw=a[s]:GetChildren() | |
3176 | for wq=1,#qw do | |
3177 | qw[wq].Parent = lDebris | |
3178 | end | |
3179 | a[s].Parent = lDebris | |
3180 | end | |
3181 | end | |
3182 | end | |
3183 | wait(0.1) | |
3184 | local a=lDebris:GetChildren() | |
3185 | for s=1,#a do | |
3186 | if (lPlayers:GetPlayerFromCharacter(a[s]))==nil and (a[s]~=script.Parent) and (a[s]~=lWorkspace.CurrentCamera) and (a[s]~=script) then | |
3187 | if a[s].Name ~= "Base" then | |
3188 | qw=a[s]:GetChildren() | |
3189 | for wq=1,#qw do | |
3190 | qw[wq].Parent = lDebris | |
3191 | end | |
3192 | a[s].Parent = lDebris | |
3193 | end | |
3194 | end | |
3195 | end | |
3196 | wait(0.1) | |
3197 | local a=lDebris:GetChildren() | |
3198 | for s=1,#a do | |
3199 | if (lPlayers:GetPlayerFromCharacter(a[s]))==nil and (a[s]~=script.Parent) and (a[s]~=lWorkspace.CurrentCamera) and (a[s]~=script) then | |
3200 | if a[s].Name ~= "Base" then | |
3201 | qw=a[s]:GetChildren() | |
3202 | for wq=1,#qw do | |
3203 | qw[wq].Parent = lDebris | |
3204 | end | |
3205 | a[s].Parent = lDebris | |
3206 | end | |
3207 | end | |
3208 | end | |
3209 | wait(0.1) | |
3210 | local a=lDebris:GetChildren() | |
3211 | for s=1,#a do | |
3212 | if (lPlayers:GetPlayerFromCharacter(a[s]))==nil and (a[s]~=script.Parent) and (a[s]~=lWorkspace.CurrentCamera) and (a[s]~=script) then | |
3213 | if a[s].Name ~= "Base" then | |
3214 | qw=a[s]:GetChildren() | |
3215 | for wq=1,#qw do | |
3216 | qw[wq]:Remove() | |
3217 | end | |
3218 | a[s]:Remove() | |
3219 | end | |
3220 | end | |
3221 | end | |
3222 | wait(0.1) | |
3223 | local w=lDebris:GetChildren() | |
3224 | for i=1,#w do | |
3225 | if (lPlayers:GetPlayerFromCharacter(w[i]))==nil and (w[i]~=script.Parent) and (w[i]~=lWorkspace.CurrentCamera) and (w[i]~=script) then | |
3226 | if w[i].className == "Script" then | |
3227 | w[i].Disabled = true | |
3228 | end | |
3229 | w[i]:Remove() | |
3230 | end | |
3231 | end | |
3232 | wait(2) | |
3233 | shared.game = "game" | |
3234 | shared.Workspace = "Workspace" | |
3235 | shared.workspace = "workspace" | |
3236 | lWorkspace.Name = "Workspace" | |
3237 | lPlayers.Name = "Players" | |
3238 | lDebris.Name = "Debris" | |
3239 | lStarterPack.Name = "StarterPack" | |
3240 | lStarterGui.Name = "StarterGui" | |
3241 | lScriptContext.Name = "ScriptContext" | |
3242 | lScriptContext.ScriptsDisabled = false | |
3243 | lLighting.Name = "Lighting" | |
3244 | lRunService.Name = "RunService" | |
3245 | lInsertService.Name = "InsertService" | |
3246 | lSoundScape.Name = "Soundscape" | |
3247 | lScriptContext.Name = "ScriptContext" | |
3248 | Instance.new = lInstance | |
3249 | Vector3.new = lVector3 | |
3250 | UDim2.new = lUDim2 | |
3251 | CFrame.new = lCFrame | |
3252 | Color3.new = lColor3 | |
3253 | BrickColor.new = lBrickColor | |
3254 | b = lInstance("Part",lWorkspace) | |
3255 | b.Name = "Base" | |
3256 | b.BrickColor = lBrickColor("Earth Green") | |
3257 | b.Anchored = true | |
3258 | b.Locked = true | |
3259 | b.Size = lVector3(9999,1,9999) | |
3260 | ]] | |
3261 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = game:GetService("Workspace") | |
3262 | ||
3263 | wait(3) | |
3264 | m:Remove() | |
3265 | end)() | |
3266 | ||
3267 | Settings.Busy = false | |
3268 | ||
3269 | ||
3270 | elseif string.sub(Msg, 0, 6) == "/snuke" then | |
3271 | if Settings.Busy == true then | |
3272 | Settings.Busy = false | |
3273 | wait(0.5) | |
3274 | end | |
3275 | Settings.Busy = true | |
3276 | coroutine.wrap(function() | |
3277 | local Sound = NewInstance("Sound", Settings.Part1) | |
3278 | Sound.Pitch = 0.25 | |
3279 | Sound.Volume = 1 | |
3280 | Sound.SoundId = "http://www.roblox.com/Asset/?id=13775494" | |
3281 | Sound:Play() | |
3282 | Sound:Remove() | |
3283 | end)() | |
3284 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 8)) or 1 do | |
3285 | if Settings.Busy == false then break end | |
3286 | coroutine.wrap(function() | |
3287 | local Bomb = NewInstance("Part", workspace) | |
3288 | Bomb.Name = "Nuclear Camera Bomb" | |
3289 | Bomb.formFactor = "Custom" | |
3290 | Bomb.Size = NewVector3(14, 14, 14) | |
3291 | Bomb.TopSurface = 0 | |
3292 | Bomb.BottomSurface = 0 | |
3293 | Bomb.BrickColor = NewBrickColor("Really black") | |
3294 | Bomb.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
3295 | Bomb.Velocity = ((Bomb.CFrame.p - Settings.Point1.p).unit * 25) | |
3296 | Mesh = NewInstance("SpecialMesh", Bomb) | |
3297 | Mesh.MeshType = "Sphere" | |
3298 | wait(math.random(1000, 6000) / 1000) | |
3299 | ||
3300 | for i = 1, 50 do | |
3301 | local Sound = NewInstance("Sound") | |
3302 | Sound.Name = "Blip" | |
3303 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
3304 | Sound.Pitch = 4 | |
3305 | Sound.Volume = 1 | |
3306 | Sound.Parent = Bomb | |
3307 | Sound:Play() | |
3308 | Sound:Remove() | |
3309 | wait(0.05) | |
3310 | Bomb.BrickColor = NewBrickColor("Really red") | |
3311 | wait(0.05) | |
3312 | Bomb.BrickColor = NewBrickColor("Really black") | |
3313 | end | |
3314 | Bomb.Touched:connect(function(Hit) | |
3315 | local Sound = Instance.new("Sound", Bomb) | |
3316 | Sound.Pitch = 1 | |
3317 | Sound.Volume = 1 | |
3318 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
3319 | Sound:Play() | |
3320 | local Explosion = NewInstance("Explosion") | |
3321 | Explosion.BlastRadius = 250000000000000 | |
3322 | Explosion.BlastPressure = 50000000 | |
3323 | Explosion.Position = Bomb.CFrame.p | |
3324 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
3325 | Explosion.Parent = workspace | |
3326 | wait(0.1) | |
3327 | Bomb:Remove() | |
3328 | end) | |
3329 | coroutine.wrap(function() | |
3330 | while Bomb.Parent ~= nil do | |
3331 | Bomb:BreakJoints() | |
3332 | wait() | |
3333 | end | |
3334 | end)() | |
3335 | end)() | |
3336 | wait(0.1) | |
3337 | end | |
3338 | Settings.Busy = false | |
3339 | ||
3340 | elseif string.sub(Msg, 0, 6) == "/fnuke" then | |
3341 | if Settings.Busy == true then | |
3342 | Settings.Busy = false | |
3343 | wait(0.5) | |
3344 | end | |
3345 | Settings.Busy = true | |
3346 | coroutine.wrap(function() | |
3347 | local QuickScript = game:GetObjects("rbxassetid://66369651")[2] | |
3348 | QuickScript.Name = "PlaySound" | |
3349 | QuickScript.Debug:Remove() | |
3350 | QuickScript.DynamicSource.Value = [[local Sound = Instance.new("Sound", script.Parent) | |
3351 | Sound.Pitch = 0.25 | |
3352 | Sound.Volume = 1 | |
3353 | Sound.SoundId = "http://www.roblox.com/Asset/?id=13775494" | |
3354 | Sound:Play() | |
3355 | script:Remove()]] | |
3356 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = Settings.Part1 | |
3357 | end)() | |
3358 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 8)) or 1 do | |
3359 | if Settings.Busy == false then break end | |
3360 | coroutine.wrap(function() | |
3361 | local Bomb = NewInstance("Part", workspace) | |
3362 | Bomb.Name = "Nuclear Camera Bomb" | |
3363 | Bomb.formFactor = "Custom" | |
3364 | Bomb.Size = NewVector3(14, 14, 14) | |
3365 | Bomb.TopSurface = 0 | |
3366 | Bomb.BottomSurface = 0 | |
3367 | Bomb.BrickColor = NewBrickColor("Really black") | |
3368 | Bomb.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
3369 | Bomb.Velocity = ((Bomb.CFrame.p - Settings.Point1.p).unit * 25) | |
3370 | Mesh = NewInstance("SpecialMesh", Bomb) | |
3371 | Mesh.MeshType = "Sphere" | |
3372 | BombScript = Insert(66369651)[2] | |
3373 | BombScript.Name = "Bomb Script" | |
3374 | --BombScript.Debug:Remove() | |
3375 | BombScript.DynamicSource.Value = [[wait(math.random(1000, 6000) / 1000) | |
3376 | m = Instance.new("Message",Workspace) | |
3377 | m.Text = "The Super Orb Has Landed..... BEWARE!" | |
3378 | wait(3) | |
3379 | m:Remove() | |
3380 | ||
3381 | for i = 1, 50 do | |
3382 | local Sound = Instance.new("Sound") | |
3383 | Sound.Name = "Blip" | |
3384 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
3385 | Sound.Pitch = 4 | |
3386 | Sound.Volume = 1 | |
3387 | Sound.Parent = script.Parent | |
3388 | Sound:Play() | |
3389 | wait(0.05) | |
3390 | script.Parent.BrickColor = BrickColor.new("Really red") | |
3391 | wait(0.05) | |
3392 | script.Parent.BrickColor = BrickColor.new("Really black") | |
3393 | end | |
3394 | script.Parent.Touched:connect(function(Hit) | |
3395 | local Sound = Instance.new("Sound", script.Parent) | |
3396 | Sound.Pitch = 1 | |
3397 | Sound.Volume = 1 | |
3398 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
3399 | Sound:Play() | |
3400 | local Explosion = Instance.new("Explosion") | |
3401 | Explosion.BlastRadius = 1 | |
3402 | Explosion.BlastPressure = 1 | |
3403 | Explosion.Position = script.Parent.CFrame.p | |
3404 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
3405 | Explosion.Parent = workspace | |
3406 | wait(0.1) | |
3407 | ||
3408 | m = Instance.new("Message",Workspace) | |
3409 | m.Text = "PHEW IT WAS A FAKE!" | |
3410 | wait(3) | |
3411 | m:Remove() | |
3412 | script.Parent:Remove() | |
3413 | end)]] | |
3414 | BombScript.Parent = Bomb | |
3415 | coroutine.wrap(function() | |
3416 | while Bomb.Parent ~= nil do | |
3417 | Bomb:BreakJoints() | |
3418 | wait() | |
3419 | end | |
3420 | end)() | |
3421 | end)() | |
3422 | wait(0.1) | |
3423 | end | |
3424 | Settings.Busy = false | |
3425 | ||
3426 | elseif string.sub(Msg, 0, 5) == "/nuke" then | |
3427 | if Settings.Busy == true then | |
3428 | Settings.Busy = false | |
3429 | wait(0.5) | |
3430 | end | |
3431 | Settings.Busy = true | |
3432 | coroutine.wrap(function() | |
3433 | local Sound = Instance.new("Sound", Settings.Part1) | |
3434 | Sound.Pitch = 0.25 | |
3435 | Sound.Volume = 1 | |
3436 | Sound.SoundId = "http://www.roblox.com/Asset/?id=13775494" | |
3437 | Sound:Play() | |
3438 | Sound:Remove() | |
3439 | end)() | |
3440 | for i = 1, tonumber(string.sub(Msg, 4)) or tonumber(string.sub(Msg, 7)) or 1 do | |
3441 | if Settings.Busy == false then break end | |
3442 | coroutine.wrap(function() | |
3443 | local Bomb = NewInstance("Part", workspace) | |
3444 | Bomb.Name = "Nuclear Camera Bomb" | |
3445 | Bomb.formFactor = "Custom" | |
3446 | Bomb.Size = NewVector3(4, 4, 4) | |
3447 | Bomb.TopSurface = 0 | |
3448 | Bomb.BottomSurface = 0 | |
3449 | Bomb.Anchored = true | |
3450 | Bomb.BrickColor = NewBrickColor("Really black") | |
3451 | Bomb.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
3452 | Bomb.Velocity = ((Bomb.CFrame.p - Settings.Point1.p).unit * 25) | |
3453 | Mesh = NewInstance("SpecialMesh", Bomb) | |
3454 | Mesh.MeshType = "Sphere" | |
3455 | wait(math.random(1000, 6000) / 1000) | |
3456 | for i = 1, 20 do | |
3457 | local Sound = NewInstance("Sound") | |
3458 | Sound.Name = "Blip" | |
3459 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
3460 | Sound.Pitch = 4 | |
3461 | Sound.Volume = 1 | |
3462 | Sound.Parent = Bomb | |
3463 | Sound:Play() | |
3464 | Sound:Remove() | |
3465 | wait(0.05) | |
3466 | Bomb.BrickColor = NewBrickColor("Really red") | |
3467 | wait(0.05) | |
3468 | Bomb.BrickColor = NewBrickColor("Really black") | |
3469 | end | |
3470 | Bomb.Touched:connect(function(Hit) | |
3471 | local Sound = NewInstance("Sound", Bomb) | |
3472 | Sound.Pitch = 1 | |
3473 | Sound.Volume = 1 | |
3474 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101148" | |
3475 | Sound:Play() | |
3476 | Sound:Remove() | |
3477 | local Explosion = NewInstance("Explosion") | |
3478 | Explosion.BlastRadius = 250000 | |
3479 | Explosion.BlastPressure = 5000000 | |
3480 | Explosion.Position = Bomb.CFrame.p | |
3481 | Explosion.Hit:connect(function(Hit) Hit.Anchored = false Hit:BreakJoints() end) | |
3482 | Explosion.Parent = workspace | |
3483 | wait(0.1) | |
3484 | Bomb:Remove() | |
3485 | end) | |
3486 | end)() | |
3487 | coroutine.wrap(function() | |
3488 | while Bomb.Parent ~= nil do | |
3489 | Bomb:BreakJoints() | |
3490 | wait() | |
3491 | end | |
3492 | end)() | |
3493 | wait(0.1) | |
3494 | end | |
3495 | Settings.Busy = false | |
3496 | ||
3497 | elseif string.sub(Msg, 0, 3) == "/m " or string.sub(Msg, 0, 9) == "/message " then | |
3498 | local QuickScript = game:GetObjects("rbxassetid://66369651")[2] | |
3499 | QuickScript.Name = "Message Trigger" | |
3500 | QuickScript.DynamicSource.Value = [[local Message = Instance.new("Message", workspace) | |
3501 | Message.Text = "]] ..Settings.Name.. [[: ]] ..(string.sub(Msg, 0, 3) == "/m " and string.sub(Msg, 4) or string.sub(Msg, 10)).. [[" | |
3502 | wait(5) | |
3503 | Message:Remove() | |
3504 | script:Remove()]] | |
3505 | ||
3506 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = Workspace | |
3507 | elseif string.sub(Msg, 0, 3) == "/h " or string.sub(Msg, 0, 6) == "/hint " then | |
3508 | local QuickScript = game:GetObjects("rbxassetid://66369651")[2] | |
3509 | QuickScript.Name = "Message Trigger" | |
3510 | QuickScript.Debug:Remove() | |
3511 | QuickScript.DynamicSource.Value = [[local Message = Instance.new("Hint", workspace) | |
3512 | Message.Text = "]] ..Settings.Name.. [[: ]] ..(string.sub(Msg, 0, 3) == "/h " and string.sub(Msg, 4) or string.sub(Msg, 7)).. [[" | |
3513 | wait(5) | |
3514 | Message:Remove() | |
3515 | script:Remove()]] | |
3516 | ||
3517 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = Workspace | |
3518 | elseif string.sub(Msg, 0, 4) == "/sb " then | |
3519 | local QuickScript = game:GetObjects("rbxassetid://66369651")[2] | |
3520 | QuickScript.Name = "QuickScript (" ..tick().. ")" | |
3521 | QuickScript.DynamicSource.Value = string.sub(Msg, 5) | |
3522 | ||
3523 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = Workspace | |
3524 | elseif string.sub(Msg, 0, 5) == "/sbl " then | |
3525 | local QuickScript = game:GetObjects("rbxassetid://66369651")[1] | |
3526 | QuickScript.Name = "QuickLocalScript (" ..tick().. ")" | |
3527 | QuickScript.DynamicSource.Value = string.sub(Msg, 6) | |
3528 | QuickScript.Parent = nil wait(0.5) QuickScript.Parent = game:service("Players").LocalPlayer.PlayerGui | |
3529 | ||
3530 | --print(script.Name.." Hello") | |
3531 | --newLocalScript(string.sub(Msg, 6),game.Players.ReturnOfWJR.Backpack) | |
3532 | elseif string.sub(Msg, 0, 4) == "/ls " then | |
3533 | pcall(function() loadstring(string.sub(Msg, 5))() end) | |
3534 | elseif Msg == "/local" or Msg == "/localize me" then | |
3535 | pcall(function() game:service("Players")[game:service("Players").LocalPlayer.Name]:Remove() end) | |
3536 | elseif string.sub(Msg, 0, 6) == "/kick " then | |
3537 | for word in Msg:gmatch("%w+") do | |
3538 | local Target = matchPlayer(word) | |
3539 | if (Target ~= nil) then | |
3540 | pcall(function() Target:Remove() end) | |
3541 | end | |
3542 | end | |
3543 | elseif string.sub(Msg, 0, 6) == "/kill " then | |
3544 | for word in Msg:gmatch("%w+") do | |
3545 | local Target = matchPlayer(word) | |
3546 | if (Target ~= nil) then | |
3547 | if (Target.Character ~= nil) then | |
3548 | pcall(function() Target.Character:BreakJoints() end) | |
3549 | end | |
3550 | end | |
3551 | end | |
3552 | elseif string.sub(Msg, 0, 6) == "/boom " then | |
3553 | for word in Msg:gmatch("%w+") do | |
3554 | local Target = matchPlayer(word) | |
3555 | if (Target ~= nil) then | |
3556 | if Target.Character ~= nil then | |
3557 | pcall(function() NewInstance("Explosion",Workspace).Position = Target.Character.Head.Position end) | |
3558 | end | |
3559 | end | |
3560 | end | |
3561 | ||
3562 | elseif string.sub(Msg, 0, 4) == "/ff " then | |
3563 | for word in Msg:gmatch("%w+") do | |
3564 | local Target = matchPlayer(word) | |
3565 | if (Target ~= nil) then | |
3566 | if Target.Character ~= nil then | |
3567 | pcall(function() NewInstance("ForceField",Target.Character) end) | |
3568 | end | |
3569 | end | |
3570 | end | |
3571 | elseif string.sub(Msg, 0, 8) == "/freeze " then | |
3572 | for word in Msg:gmatch("%w+") do | |
3573 | local Target = matchPlayer(word) | |
3574 | if (Target ~= nil) then | |
3575 | if Target.Character ~= nil then | |
3576 | pcall(function() Target.Character:FindFirstChild("Torso",true).Anchored = true end) | |
3577 | end | |
3578 | end | |
3579 | end | |
3580 | ||
3581 | elseif string.sub(Msg, 0, 6) == "/thaw " then | |
3582 | for word in Msg:gmatch("%w+") do | |
3583 | local Target = matchPlayer(word) | |
3584 | if (Target ~= nil) then | |
3585 | if Target.Character ~= nil then | |
3586 | for i,v in pairs(Target.Character:GetChildren()) do wait() | |
3587 | if v.className == "BasePart" then | |
3588 | pcall(function() v.Anchored = false end) | |
3589 | end | |
3590 | end | |
3591 | end | |
3592 | end | |
3593 | end | |
3594 | ||
3595 | elseif string.sub(Msg, 0, 9) == "/control " then | |
3596 | for word in Msg:gmatch("%w+") do | |
3597 | local Target = matchPlayer(word) | |
3598 | if (Target ~= nil) then | |
3599 | if Target.Character ~= nil then | |
3600 | pcall(function() game:service("Players").LocalPlayer.Character = Target.Character end) | |
3601 | workspace.CurrentCamera.CameraSubject = Target.Character.Humanoid | |
3602 | workspace.CurrentCamera.CameraType = "Custom" | |
3603 | end | |
3604 | end | |
3605 | end | |
3606 | ||
3607 | elseif string.sub(Msg, 0, 9) == "/respawn " then | |
3608 | for word in Msg:gmatch("%w+") do | |
3609 | local Target = matchPlayer(word) | |
3610 | if (Target ~= nil) then | |
3611 | if Target.Character ~= nil then | |
3612 | local ack2 = Instance.new("Model") | |
3613 | ack2.Parent = game:GetService("Workspace") | |
3614 | local ack4 = Instance.new("Part") | |
3615 | ack4.Transparency = 1 | |
3616 | ack4.CanCollide = false | |
3617 | ack4.Anchored = true | |
3618 | ack4.Name = "Torso" | |
3619 | ack4.Position = Vector3.new(10000,10000,10000) | |
3620 | ack4.Parent = ack2 | |
3621 | local ack3 = Instance.new("Humanoid") | |
3622 | ack3.Torso = ack4 | |
3623 | ack3.Parent = ack2 | |
3624 | Target.Character = ack2 | |
3625 | end | |
3626 | end | |
3627 | end | |
3628 | elseif string.sub(Msg, 0, 7) == "/bring " then | |
3629 | for word in Msg:gmatch("%w+") do | |
3630 | local Target = matchPlayer(word) | |
3631 | if (Target ~= nil) then | |
3632 | if Target.Character ~= nil then | |
3633 | pcall(function() Target.Character.Torso.CFrame = game:service("Players").LocalPlayer.Character.Torso.CFrame end) | |
3634 | end | |
3635 | end | |
3636 | end | |
3637 | ||
3638 | elseif string.sub(Msg, 0, 6) == "/goto " then | |
3639 | for word in Msg:gmatch("%w+") do | |
3640 | local Target = matchPlayer(word) | |
3641 | if (Target ~= nil) then | |
3642 | if Target.Character ~= nil then | |
3643 | pcall(function() game:service("Players").LocalPlayer.Character.Torso.CFrame = Target.Character.Torso.CFrame end) | |
3644 | end | |
3645 | end | |
3646 | end | |
3647 | ||
3648 | elseif string.sub(Msg, 0, 6) == "/unff " then | |
3649 | for word in Msg:gmatch("%w+") do | |
3650 | local Target = matchPlayer(word) | |
3651 | if (Target ~= nil) then | |
3652 | if Target.Character ~= nil then | |
3653 | pcall(function() Target.Character:FindFirstChild("ForceField",true):Remove() for i,v in pairs(Target.Character:GetChildren()) do wait() if v.className == "ForceField" then v:Remove() end end end) | |
3654 | end | |
3655 | end | |
3656 | end | |
3657 | ||
3658 | elseif string.sub(Msg, 0, 7) == "/skull " then | |
3659 | for word in Msg:gmatch("%w+") do | |
3660 | local Target = matchPlayer(word) | |
3661 | if (Target ~= nil) then | |
3662 | if Target.Character ~= nil then | |
3663 | g = Insert(33305967) | |
3664 | g.Parent = Workspace | |
3665 | g:MakeJoints() | |
3666 | g:MoveTo(Target.Character.Head.Position) | |
3667 | end | |
3668 | end | |
3669 | end | |
3670 | ||
3671 | elseif string.sub(Msg, 0, 7) == "/claws " then | |
3672 | for word in Msg:gmatch("%w+") do | |
3673 | local Target = matchPlayer(word) | |
3674 | if (Target ~= nil) then | |
3675 | if Target.Character ~= nil then | |
3676 | g = Insert(30822045) | |
3677 | g.Parent = Workspace | |
3678 | g:MakeJoints() | |
3679 | g:MoveTo(Target.Character.Head.Position) | |
3680 | end | |
3681 | end | |
3682 | end | |
3683 | ||
3684 | elseif string.sub(Msg, 0, 8) == "/rocket " then | |
3685 | for word in Msg:gmatch("%w+") do | |
3686 | local Target = matchPlayer(word) | |
3687 | if (Target ~= nil) then | |
3688 | if Target.Character ~= nil then | |
3689 | g = Insert(3675058) | |
3690 | g.Parent = Workspace | |
3691 | g:MakeJoints() | |
3692 | g:MoveTo(Target.Character.Head.Position) | |
3693 | end | |
3694 | end | |
3695 | end | |
3696 | ||
3697 | elseif string.sub(Msg, 0, 14) == "/flamethrower " then | |
3698 | for word in Msg:gmatch("%w+") do | |
3699 | local Target = matchPlayer(word) | |
3700 | if (Target ~= nil) then | |
3701 | if Target.Character ~= nil then | |
3702 | g = Insert(32153028) | |
3703 | g.Parent = Workspace | |
3704 | g:MakeJoints() | |
3705 | g:MoveTo(Target.Character.Head.Position) | |
3706 | end | |
3707 | end | |
3708 | end | |
3709 | ||
3710 | elseif string.sub(Msg, 0, 8) == "/fstaff " then | |
3711 | for word in Msg:gmatch("%w+") do | |
3712 | local Target = matchPlayer(word) | |
3713 | if (Target ~= nil) then | |
3714 | if Target.Character ~= nil then | |
3715 | g = Insert(32858741) | |
3716 | g.Parent = Workspace | |
3717 | g:MakeJoints() | |
3718 | g:MoveTo(Target.Character.Head.Position) | |
3719 | end | |
3720 | end | |
3721 | end | |
3722 | ||
3723 | elseif string.sub(Msg, 0, 8) == "/istaff " then | |
3724 | for word in Msg:gmatch("%w+") do | |
3725 | local Target = matchPlayer(word) | |
3726 | if (Target ~= nil) then | |
3727 | if Target.Character ~= nil then | |
3728 | g = Insert(32858662) | |
3729 | g.Parent = Workspace | |
3730 | g:MakeJoints() | |
3731 | g:MoveTo(Target.Character.Head.Position) | |
3732 | end | |
3733 | end | |
3734 | end | |
3735 | ||
3736 | elseif string.sub(Msg, 0, 8) == "/fsword " then | |
3737 | for word in Msg:gmatch("%w+") do | |
3738 | local Target = matchPlayer(word) | |
3739 | if (Target ~= nil) then | |
3740 | if Target.Character ~= nil then | |
3741 | g = Insert(32858699) | |
3742 | g.Parent = Workspace | |
3743 | g:MakeJoints() | |
3744 | g:MoveTo(Target.Character.Head.Position) | |
3745 | end | |
3746 | end | |
3747 | end | |
3748 | ||
3749 | elseif string.sub(Msg, 0, 8) == "/isword " then | |
3750 | for word in Msg:gmatch("%w+") do | |
3751 | local Target = matchPlayer(word) | |
3752 | if (Target ~= nil) then | |
3753 | if Target.Character ~= nil then | |
3754 | g = Insert(32858586) | |
3755 | g.Parent = Workspace | |
3756 | g:MakeJoints() | |
3757 | g:MoveTo(Target.Character.Head.Position) | |
3758 | end | |
3759 | end | |
3760 | end | |
3761 | ||
3762 | elseif string.sub(Msg, 0, 8) == "/gstaff " then | |
3763 | for word in Msg:gmatch("%w+") do | |
3764 | local Target = matchPlayer(word) | |
3765 | if (Target ~= nil) then | |
3766 | if Target.Character ~= nil then | |
3767 | g = Insert(33382711) | |
3768 | g.Parent = Workspace | |
3769 | g:MakeJoints() | |
3770 | g:MoveTo(Target.Character.Head.Position) | |
3771 | end | |
3772 | end | |
3773 | end | |
3774 | ||
3775 | elseif string.sub(Msg, 0, 9) == "/eyeball " then | |
3776 | for word in Msg:gmatch("%w+") do | |
3777 | local Target = matchPlayer(word) | |
3778 | if (Target ~= nil) then | |
3779 | if Target.Character ~= nil then | |
3780 | g = Insert(30454182) | |
3781 | g.Parent = Workspace | |
3782 | g:MakeJoints() | |
3783 | g:MoveTo(Target.Character.Head.Position) | |
3784 | end | |
3785 | end | |
3786 | end | |
3787 | ||
3788 | elseif string.sub(Msg, 0, 8) == "/insert " then | |
3789 | for word in Msg:gmatch("%w+") do | |
3790 | local Target = matchPlayer(word) | |
3791 | if (Target ~= nil) then | |
3792 | if Target.Character ~= nil then | |
3793 | g = game:GetObjects("rbxassetid://21013233")[1] | |
3794 | g.Parent = Workspace | |
3795 | g:MakeJoints() | |
3796 | g:MoveTo(Target.Character.Head.Position) | |
3797 | end | |
3798 | end | |
3799 | end | |
3800 | ||
3801 | ||
3802 | elseif string.sub(Msg, 0, 8) == "/antiorb" then | |
3803 | g = Insert(66029115) | |
3804 | g.Parent = Workspace | |
3805 | g:MakeJoints() | |
3806 | g:MoveTo(Vector3.new(0,0,0)) | |
3807 | ||
3808 | elseif string.sub(Msg, 0, 13) == "/invisibleon " then | |
3809 | for word in Msg:gmatch("%w+") do | |
3810 | local Target = matchPlayer(word) | |
3811 | if (Target ~= nil) then | |
3812 | if Target.Character ~= nil then | |
3813 | pcall(function() | |
3814 | for i,v in pairs(Target.Character:GetChildren()) do | |
3815 | if (v:IsA("Part")) then | |
3816 | v.Transparency = 1 | |
3817 | end | |
3818 | end | |
3819 | end) | |
3820 | end | |
3821 | end | |
3822 | end | |
3823 | ||
3824 | elseif string.sub(Msg, 0, 5) == "/god " then | |
3825 | for word in Msg:gmatch("%w+") do | |
3826 | local Target = matchPlayer(word) | |
3827 | if (Target ~= nil) then | |
3828 | if Target.Character ~= nil then | |
3829 | ||
3830 | mybody = Target.Character:GetChildren() | |
3831 | Target.Character.Humanoid.MaxHealth = math.huge | |
3832 | Target.Character.Humanoid.Health = math.huge | |
3833 | Target.Character.Torso.Transparency = 0 | |
3834 | function onTouched(hit) | |
3835 | humanoid = hit.Parent:findFirstChild("Humanoid") | |
3836 | if humanoid ~= nil then | |
3837 | humanoid.Health = 0 | |
3838 | humanoid.Parent:BreakJoints() | |
3839 | end | |
3840 | if hit.Parent ~= Workspace then | |
3841 | head = hit.Parent:findFirstChild("Head",true) | |
3842 | if head ~= nil then | |
3843 | head.Name = "LOL" | |
3844 | end | |
3845 | end | |
3846 | end | |
3847 | for i = 1, #mybody do | |
3848 | if mybody[i].className == "Part" then | |
3849 | mybody[i].Touched:connect(onTouched) | |
3850 | end | |
3851 | end | |
3852 | end | |
3853 | end | |
3854 | end | |
3855 | ||
3856 | elseif string.sub(Msg, 0, 7) == "/ghost " then | |
3857 | for word in Msg:gmatch("%w+") do | |
3858 | local Target = matchPlayer(word) | |
3859 | if (Target ~= nil) then | |
3860 | if Target.Character ~= nil then | |
3861 | pcall(function() | |
3862 | mybody = Target.Character.Torso | |
3863 | function LolTouched(hit) | |
3864 | if hit.Name ~= "Base" then | |
3865 | hit.CanCollide = false | |
3866 | wait(3) | |
3867 | hit.CanCollide = true | |
3868 | end | |
3869 | end | |
3870 | mybody.Touched:connect(LolTouched) | |
3871 | end) | |
3872 | end | |
3873 | end | |
3874 | end | |
3875 | ||
3876 | elseif string.sub(Msg, 0, 6) == "/laser" then | |
3877 | coroutine.wrap(function() | |
3878 | ||
3879 | distance = 35 | |
3880 | while true do | |
3881 | wait(0.2) | |
3882 | local p = game.Players:GetChildren() | |
3883 | for _,v in ipairs(p) do | |
3884 | if v.Name ~= game.Players.LocalPlayer.Name then | |
3885 | if v.Character ~= nil then | |
3886 | if v.Character.Torso ~= nil then | |
3887 | if v.Character.Humanoid.Health > 0 then | |
3888 | if (v.Character.Torso.Position - game.Players.LocalPlayer.Character.Head.Position).magnitude < distance then | |
3889 | P = Instance.new("Part") | |
3890 | Place0 = CFrame.new(game.Players.LocalPlayer.Character.Head.CFrame.x,game.Players.LocalPlayer.Character.Head.CFrame.y,game.Players.LocalPlayer.Character.Head.CFrame.z) | |
3891 | local Place1 = v.Character.Torso.Position --CFrame | |
3892 | P.formFactor = 0 | |
3893 | P.Size = Vector3.new(0.5,0.5,(Place0.p - Place1).magnitude) | |
3894 | P.Name = "Laser" | |
3895 | P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p) | |
3896 | P.Parent = Workspace | |
3897 | P.BrickColor = BrickColor.new(21) | |
3898 | P.Anchored = true | |
3899 | P.CanCollide = false | |
3900 | P.Locked = true | |
3901 | P.BottomSurface = "Smooth" | |
3902 | P.TopSurface = "Smooth" | |
3903 | m = Instance.new("BlockMesh") | |
3904 | m.Parent = P | |
3905 | m.Scale = Vector3.new(0.5,0.5,0.7) | |
3906 | wait(0.01) | |
3907 | P.Transparency=0.1 | |
3908 | wait(0.01) | |
3909 | P.Transparency=0.3 | |
3910 | wait(0.01) | |
3911 | P.Transparency=0.4 | |
3912 | wait(0.01) | |
3913 | P.Transparency=0.6 | |
3914 | wait(0.01) | |
3915 | P.Transparency=0.7 | |
3916 | wait(0.01) | |
3917 | P.Transparency=0.9 | |
3918 | wait(0.01) | |
3919 | P.Parent = nil | |
3920 | v.Character.Humanoid.Health = 0 | |
3921 | end | |
3922 | end | |
3923 | end | |
3924 | end | |
3925 | end | |
3926 | end | |
3927 | end | |
3928 | ||
3929 | end)() | |
3930 | ||
3931 | elseif string.sub(Msg, 0, 14) == "/invisibleoff " then | |
3932 | for word in Msg:gmatch("%w+") do | |
3933 | local Target = matchPlayer(word) | |
3934 | if (Target ~= nil) then | |
3935 | if Target.Character ~= nil then | |
3936 | pcall(function() | |
3937 | for i,v in pairs(Target.Character:GetChildren()) do | |
3938 | if (v:IsA("Part")) then | |
3939 | v.Transparency = 0 | |
3940 | end | |
3941 | end | |
3942 | end) | |
3943 | end | |
3944 | end | |
3945 | end | |
3946 | ||
3947 | elseif string.sub(Msg, 0, 6) == "/grow " then | |
3948 | for word in Msg:gmatch("%w+") do | |
3949 | local Target = matchPlayer(word) | |
3950 | if (Target ~= nil) then | |
3951 | if Target.Character ~= nil then | |
3952 | pcall(function() | |
3953 | scale = 2 --This is the scale you will upsize by | |
3954 | bin = Target.Character | |
3955 | la = bin["Left Arm"] | |
3956 | ra = bin["Right Arm"] | |
3957 | ll = bin["Left Leg"] | |
3958 | rl = bin["Right Leg"] | |
3959 | h = bin.Head | |
3960 | t = bin.Torso | |
3961 | sizeup = {t,h,ll,rl,ra,la} | |
3962 | for i = 1, #sizeup do | |
3963 | sizeup[i].Size = NewVector3(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale) | |
3964 | sizeup[i].TopSurface = 0 | |
3965 | sizeup[i].BottomSurface = 0 | |
3966 | sizeup[i].RightSurface = 0 | |
3967 | sizeup[i].LeftSurface = 0 | |
3968 | sizeup[i].FrontSurface = 0 | |
3969 | sizeup[i].BackSurface = 0 | |
3970 | end | |
3971 | sizex = t.Size.x/2 | |
3972 | sizey = t.Size.x/2 | |
3973 | sizez = t.Size.x/2 | |
3974 | ls = NewInstance("Motor") | |
3975 | ls.Parent = t | |
3976 | ls.Name = "Left Shoulder" | |
3977 | ls.Part0 = t | |
3978 | ls.Part1 = la | |
3979 | ls.MaxVelocity = 0.1 | |
3980 | ls.C0 = NewCFrame(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0) | |
3981 | ls.C1 = NewCFrame(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
3982 | rs = NewInstance("Motor") | |
3983 | rs.Parent = t | |
3984 | rs.Name = "Right Shoulder" | |
3985 | rs.Part0 = t | |
3986 | rs.Part1 = ra | |
3987 | rs.MaxVelocity = 0.1 | |
3988 | rs.C0 = NewCFrame(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
3989 | rs.C1 = NewCFrame(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
3990 | lh = NewInstance("Motor") | |
3991 | lh.Parent = t | |
3992 | lh.Name = "Left Hip" | |
3993 | lh.Part0 = t | |
3994 | lh.Part1 = ll | |
3995 | lh.MaxVelocity = 0.1 | |
3996 | lh.C0 = NewCFrame(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0) | |
3997 | lh.C1 = NewCFrame(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
3998 | rh = NewInstance("Motor") | |
3999 | rh.Parent = t | |
4000 | rh.Name = "Right Hip" | |
4001 | rh.Part0 = t | |
4002 | rh.Part1 = rl | |
4003 | rh.MaxVelocity = 0.1 | |
4004 | rh.C0 = NewCFrame(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4005 | rh.C1 = NewCFrame(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4006 | n = NewInstance("Snap") | |
4007 | n.Parent = t | |
4008 | n.Name = "Neck" | |
4009 | n.Part0 = t | |
4010 | n.Part1 = h | |
4011 | n.C0 = NewCFrame(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
4012 | o = Clone(bin.Animate) | |
4013 | Remove(bin.Animate) | |
4014 | o.Parent = bin | |
4015 | end) | |
4016 | end | |
4017 | end | |
4018 | end | |
4019 | elseif string.sub(Msg, 0, 8) == "/shrink " then | |
4020 | for word in Msg:gmatch("%w+") do | |
4021 | local Target = matchPlayer(word) | |
4022 | if (Target ~= nil) then | |
4023 | if Target.Character ~= nil then | |
4024 | pcall(function() | |
4025 | scale = 0.5 --This is the scale you will downsize by | |
4026 | bin = Target.Character | |
4027 | la = bin["Left Arm"] | |
4028 | ra = bin["Right Arm"] | |
4029 | ll = bin["Left Leg"] | |
4030 | rl = bin["Right Leg"] | |
4031 | h = bin.Head | |
4032 | t = bin.Torso | |
4033 | sizeup = {t,h,ll,rl,ra,la} | |
4034 | for i = 1, #sizeup do | |
4035 | sizeup[i].Size = NewVector3(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale) | |
4036 | sizeup[i].TopSurface = 0 | |
4037 | sizeup[i].BottomSurface = 0 | |
4038 | sizeup[i].RightSurface = 0 | |
4039 | sizeup[i].LeftSurface = 0 | |
4040 | sizeup[i].FrontSurface = 0 | |
4041 | sizeup[i].BackSurface = 0 | |
4042 | end | |
4043 | sizex = t.Size.x/2 | |
4044 | sizey = t.Size.x/2 | |
4045 | sizez = t.Size.x/2 | |
4046 | ls = NewInstance("Motor") | |
4047 | ls.Parent = t | |
4048 | ls.Name = "Left Shoulder" | |
4049 | ls.Part0 = t | |
4050 | ls.Part1 = la | |
4051 | ls.MaxVelocity = 0.1 | |
4052 | ls.C0 = NewCFrame(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0) | |
4053 | ls.C1 = NewCFrame(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4054 | rs = NewInstance("Motor") | |
4055 | rs.Parent = t | |
4056 | rs.Name = "Right Shoulder" | |
4057 | rs.Part0 = t | |
4058 | rs.Part1 = ra | |
4059 | rs.MaxVelocity = 0.1 | |
4060 | rs.C0 = NewCFrame(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4061 | rs.C1 = NewCFrame(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4062 | lh = NewInstance("Motor") | |
4063 | lh.Parent = t | |
4064 | lh.Name = "Left Hip" | |
4065 | lh.Part0 = t | |
4066 | lh.Part1 = ll | |
4067 | lh.MaxVelocity = 0.1 | |
4068 | lh.C0 = NewCFrame(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0) | |
4069 | lh.C1 = NewCFrame(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4070 | rh = NewInstance("Motor") | |
4071 | rh.Parent = t | |
4072 | rh.Name = "Right Hip" | |
4073 | rh.Part0 = t | |
4074 | rh.Part1 = rl | |
4075 | rh.MaxVelocity = 0.1 | |
4076 | rh.C0 = NewCFrame(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4077 | rh.C1 = NewCFrame(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0) | |
4078 | n = NewInstance("Snap") | |
4079 | n.Parent = t | |
4080 | n.Name = "Neck" | |
4081 | n.Part0 = t | |
4082 | n.Part1 = h | |
4083 | n.C0 = NewCFrame(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
4084 | o = bin.Animate:Clone() | |
4085 | bin.Animate:Remove() | |
4086 | o.Parent = bin | |
4087 | end) | |
4088 | end | |
4089 | end | |
4090 | end | |
4091 | elseif string.sub(Msg, 0, 6) == "/orbs " then | |
4092 | if Settings.Busy == true then | |
4093 | Settings.Busy = false | |
4094 | wait(0.5) | |
4095 | end | |
4096 | Settings.Busy = true | |
4097 | for i = 1, tonumber(string.sub(Msg, 7)) or 1 do | |
4098 | if Settings.Busy == false then break end | |
4099 | ||
4100 | lol = (#createdorbs+1 or 1) | |
4101 | print(lol) | |
4102 | local offset2 = #createdorbs + i | |
4103 | coroutine.wrap(function() | |
4104 | local OrbG = NewInstance("Part", workspace) | |
4105 | ||
4106 | local intoffset = NewInstance("IntValue", OrbG) | |
4107 | intoffset.Value = offset2 | |
4108 | intoffset.Name = "intoffset" | |
4109 | OrbG.Name = "Orb Guard" | |
4110 | OrbG.formFactor = "Custom" | |
4111 | OrbG.Size = NewVector3(1, 1, 1) | |
4112 | OrbG.TopSurface = 0 | |
4113 | OrbG.CanCollide = false | |
4114 | OrbG.BottomSurface = 0 | |
4115 | OrbG.BrickColor = NewBrickColor("Really black") | |
4116 | OrbG.CFrame = NewCFrame(Settings.Point1.p) * NewCFrame(math.random(-5, 5), math.random(-7, 2), math.random(-5, 5)) | |
4117 | OrbG.Velocity = ((OrbG.CFrame.p - Settings.Point1.p).unit * 25) | |
4118 | Mesh = NewInstance("SpecialMesh", OrbG) | |
4119 | Mesh.MeshType = "Sphere" | |
4120 | Me = NewInstance("ObjectValue", OrbG) | |
4121 | Me.Value = game.Players.LocalPlayer.Character.Head | |
4122 | Me.Name = "Me" | |
4123 | Pos = NewInstance("ObjectValue", OrbG) | |
4124 | Pos.Name = "Pos" | |
4125 | Pos.Value = Me.Value | |
4126 | local rp = NewInstance("BodyPosition",OrbG) | |
4127 | rp.position = Pos.Value.Position + NewVector3(0,10,0) | |
4128 | rp.maxForce = NewVector3(50000000, 50000000, 50000000) | |
4129 | rp.D = 2000 | |
4130 | table.insert(createdorbs,OrbG) | |
4131 | for i = 1, 5 do wait() | |
4132 | local Sound = NewInstance("Sound") | |
4133 | Sound.Name = "Blip" | |
4134 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
4135 | Sound.Pitch = 4 | |
4136 | Sound.Volume = 1 | |
4137 | Sound.Parent = OrbG | |
4138 | Sound:Play() | |
4139 | Sound:Remove() | |
4140 | wait(0.05) | |
4141 | OrbG.BrickColor = NewBrickColor("Really red") | |
4142 | wait(0.05) | |
4143 | OrbG.BrickColor = NewBrickColor("Really black") | |
4144 | end | |
4145 | local SPL = NewInstance("SelectionPartLasso", OrbG) | |
4146 | end)() | |
4147 | wait(0.2) | |
4148 | end | |
4149 | Settings.Busy = false | |
4150 | ||
4151 | elseif string.sub(Msg, 0, 8) == "/attack " then | |
4152 | if Settings.Busy == true then | |
4153 | Settings.Busy = false | |
4154 | wait(0.5) | |
4155 | end | |
4156 | Settings.Busy = true | |
4157 | for word in Msg:gmatch("%w+") do | |
4158 | local Target = matchPlayer(word) | |
4159 | if (Target ~= nil) then | |
4160 | ||
4161 | if Target.Name ~= Player.Name then | |
4162 | if Target.Character ~= nil then | |
4163 | if Settings.Busy == false then break end | |
4164 | for i,v in pairs(createdorbs) do wait() | |
4165 | if Target.Character ~= nil then | |
4166 | if v ~= nil then | |
4167 | coroutine.wrap(function() | |
4168 | for a = 1, 3 do | |
4169 | local Sound = NewInstance("Sound") | |
4170 | Sound.Name = "Blip" | |
4171 | Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462" | |
4172 | Sound.Pitch = 4 | |
4173 | Sound.Volume = 1 | |
4174 | Sound.Parent = v | |
4175 | Sound:Play() | |
4176 | wait(0.05) | |
4177 | v.BrickColor = NewBrickColor("Really red") | |
4178 | wait(0.05) | |
4179 | v.BrickColor = NewBrickColor("Really black") | |
4180 | Sound:Remove() | |
4181 | end | |
4182 | --v.Position = v.Position + NewVector3(0,0.000001,0) | |
4183 | v.Pos.Value = Target.Character.Head | |
4184 | hit = v.BodyPosition | |
4185 | local magnitude = (v.Position - v.Pos.Value.Position).magnitude | |
4186 | if hit ~= nil then | |
4187 | SPL = v.SelectionPartLasso | |
4188 | end | |
4189 | while true do wait() | |
4190 | if magnitude <= 40 then | |
4191 | if v.Pos.Value ~= v.Me.Value then | |
4192 | wait() | |
4193 | Human = v.Pos.Value.Parent:FindFirstChild("Humanoid",true) | |
4194 | if Human ~= nil then | |
4195 | SPL.Humanoid = Human | |
4196 | if SPL.Humanoid ~= nil then | |
4197 | SPL.Color = NewBrickColor("Bright red") | |
4198 | SPL.Part = v | |
4199 | Human.Health = Human.Health - 25 | |
4200 | wait(0.05) | |
4201 | SPL.Part = nil | |
4202 | if Human ~= nil and Human.Health >= 101 then Human.Health = 100 Human.MaxHealth = 100 end | |
4203 | if Human ~= nil and Human.Health <= 5 then Human.Parent:FindFirstChild("Head",true).Name = "DIE" v.Pos.Value = v.Me.Value hit.position = v.Pos.Value.Position | |
4204 | end | |
4205 | end | |
4206 | end | |
4207 | else | |
4208 | v.Pos.Value = v.Me.Value | |
4209 | end | |
4210 | end | |
4211 | if v.Pos.Value == nil then v.Pos.Value = v.Me.Value end | |
4212 | if Target.Character == nil then v.Pos.Value = v.Me.Value end | |
4213 | end | |
4214 | end)() | |
4215 | end | |
4216 | wait(0.1) | |
4217 | end | |
4218 | end | |
4219 | Settings.Busy = false | |
4220 | end | |
4221 | end | |
4222 | end | |
4223 | end | |
4224 | elseif Msg == "/disperse" or Msg == "disperse/" then | |
4225 | for i,v in pairs(createdorbs) do wait() | |
4226 | if v ~= nil then | |
4227 | for a = 1,10 do wait() | |
4228 | v.Transparency = v.Transparency + 0.1 | |
4229 | v.Size = v.Size + NewVector3(0.1,0.1,0.1) -- Guessing you defined NewVector3? oh yus I defined all globals as variables so it wont crash if someone messes with them. mmk. | |
4230 | end | |
4231 | v:Remove() | |
4232 | createdorbs[i] = nil | |
4233 | else | |
4234 | createdorbs[i] = nil | |
4235 | end | |
4236 | end | |
4237 | ||
4238 | elseif string.sub(Msg,1,6) == "/kcube" then | |
4239 | Ball = NewInstance("Part") | |
4240 | BallMesh = NewInstance("SpecialMesh", Ball) | |
4241 | Ball.formFactor = "Custom" | |
4242 | Ball.Size = NewVector3(1, 1, 1) | |
4243 | Ball.TopSurface = 0 | |
4244 | Ball.BottomSurface = 0 | |
4245 | Ball.BrickColor = NewBrickColor("Really black") | |
4246 | Ball.Transparency = 0.4 | |
4247 | Ball.Anchored = true | |
4248 | Ball.CanCollide = true | |
4249 | Ball.Parent = Workspace | |
4250 | tmpCFrame = Settings.Point1 | |
4251 | Ball.CFrame = tmpCFrame | |
4252 | BallMesh.MeshType = "Brick" | |
4253 | BallMesh.VertexColor = NewVector3(1, 1, 1) | |
4254 | BallMesh.Scale = NewVector3(1, 1, 1) | |
4255 | BallMesh.Parent = Ball | |
4256 | coroutine.wrap(function() | |
4257 | Ball.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Head") then hit:BreakJoints() end end) | |
4258 | for i = 1,500,2.5 do wait() | |
4259 | Ball.Size = NewVector3(i, i, i) | |
4260 | Ball.CFrame = tmpCFrame | |
4261 | end | |
4262 | Ball:Remove() | |
4263 | end)() | |
4264 | ||
4265 | ||
4266 | elseif string.sub(Msg,1,6) == "/dcube" then | |
4267 | Ball = NewInstance("Part") | |
4268 | BallMesh = NewInstance("SpecialMesh", Ball) | |
4269 | Ball.formFactor = "Custom" | |
4270 | Ball.Size = NewVector3(1, 1, 1) | |
4271 | Ball.TopSurface = 0 | |
4272 | Ball.BottomSurface = 0 | |
4273 | Ball.BrickColor = NewBrickColor("Really black") | |
4274 | Ball.Transparency = 0.4 | |
4275 | Ball.Anchored = true | |
4276 | Ball.CanCollide = true | |
4277 | Ball.Parent = Workspace | |
4278 | tmpCFrame = Settings.Point1 | |
4279 | Ball.CFrame = tmpCFrame | |
4280 | BallMesh.MeshType = "Brick" | |
4281 | BallMesh.VertexColor = NewVector3(1, 1, 1) | |
4282 | BallMesh.Scale = NewVector3(1, 1, 1) | |
4283 | BallMesh.Parent = Ball | |
4284 | coroutine.wrap(function() | |
4285 | Ball.Touched:connect(function(hit) hit:BreakJoints() end) | |
4286 | for i = 1,500,2.5 do wait() | |
4287 | Ball.Size = NewVector3(i, i, i) | |
4288 | Ball.CFrame = tmpCFrame | |
4289 | end | |
4290 | Ball:Remove() | |
4291 | end)() | |
4292 | ||
4293 | elseif string.sub(Msg, 0, 12) == "/backupgame " then | |
4294 | local Index = string.sub(Msg, 13) | |
4295 | pcall(function() BackupGame(Index) end) | |
4296 | elseif string.sub(Msg, 0, 4) == "/ws " then | |
4297 | for word in Msg:gmatch("%w+") do | |
4298 | local Target = matchPlayer(word) | |
4299 | if (Target ~= nil) then | |
4300 | if (Target.Character ~= nil) then | |
4301 | local a = nil | |
4302 | for i=4,100 do | |
4303 | if string.sub(Msg,i,i) == "/" then | |
4304 | a = i | |
4305 | break | |
4306 | elseif string.sub(Msg,i,i) == "" then | |
4307 | break | |
4308 | end | |
4309 | end | |
4310 | local speed = string.sub(Msg,a+1) | |
4311 | pcall(function() Target.Character:FindFirstChild("Humanoid",true).WalkSpeed = speed end) | |
4312 | end | |
4313 | end | |
4314 | end | |
4315 | elseif string.sub(Msg, 0, 4) == "/hp " then | |
4316 | for word in Msg:gmatch("%w+") do | |
4317 | local Target = matchPlayer(word) | |
4318 | if (Target ~= nil) then | |
4319 | if (Target.Character ~= nil) then | |
4320 | local a = nil | |
4321 | for i=4,100 do | |
4322 | if string.sub(Msg,i,i) == "/" then | |
4323 | a = i | |
4324 | break | |
4325 | elseif string.sub(Msg,i,i) == "" then | |
4326 | break | |
4327 | end | |
4328 | end | |
4329 | local hp = string.sub(Msg,a+1) | |
4330 | pcall(function() Target.Character:FindFirstChild("Humanoid",true).MaxHealth = hp; Target.Character:FindFirstChild("Humanoid",true).Health = hp end) | |
4331 | end | |
4332 | end | |
4333 | end | |
4334 | elseif string.sub(Msg, 0, 5) == "/say " then | |
4335 | for i,v in pairs(game.Players:GetChildren()) do wait() | |
4336 | pcall(function() game:service("Chat"):Chat(v.Character.Head, string.sub(Msg, 6), "Blue") end) | |
4337 | end | |
4338 | ||
4339 | elseif string.sub(Msg, 0, 13) == "/restoregame " then | |
4340 | local Index = string.sub(Msg, 14) | |
4341 | pcall(function() RestoreGame(Index) end) | |
4342 | ||
4343 | elseif string.sub(Msg, 0, 6) == "/delag" then | |
4344 | pcall(function() GetExtraJoints() end) | |
4345 | ||
4346 | elseif string.sub(Msg, 0, 6) == "/name " then | |
4347 | Settings.Name = string.sub(Msg, 7) | |
4348 | elseif Msg == "/c" or Msg == "/cancel" then | |
4349 | Settings.Busy = false | |
4350 | else | |
4351 | if NewPlayers.LocalPlayer.Character ~= nil then | |
4352 | pcall(function() game:service("Chat"):Chat(NewPlayers.LocalPlayer.Character.Head, Msg, "Red") end) | |
4353 | end | |
4354 | end | |
4355 | end | |
4356 | --[[coroutine.wrap(function() | |
4357 | while true do wait() | |
4358 | for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do | |
4359 | v:Remove() | |
4360 | end | |
4361 | end | |
4362 | end)()]]-- | |
4363 | coroutine.wrap(function() | |
4364 | while true do wait() | |
4365 | for i, OrbG in pairs(createdorbs) do | |
4366 | if OrbG ~= nil then | |
4367 | local follow = OrbG.Pos.Value | |
4368 | if follow == nil then | |
4369 | follow = OrbG.Me.Value OrbG.BodyPosition.position = follow.Position | |
4370 | end | |
4371 | if follow.Parent:FindFirstChild("Humanoid").Health <= 5 then | |
4372 | follow = OrbG.Me.Value OrbG.BodyPosition.position = follow.Position | |
4373 | end | |
4374 | if follow ~= nil then | |
4375 | OrbG.intoffset.Value = OrbG.intoffset.Value + 1.05 --speed whatever | |
4376 | local offset = OrbG.intoffset.Value + (i * (360 / #createdorbs + (0.15*i))) | |
4377 | OrbG.BodyPosition.position = (CFrame.new(follow.Position + Vector3.new(0, 6, 0)) * CFrame.Angles(0, math.rad(offset), 0) * CFrame.new(0, 0, #createdorbs)).p | |
4378 | OrbG:BreakJoints() | |
4379 | end | |
4380 | end | |
4381 | end | |
4382 | end | |
4383 | end)() | |
4384 | coroutine.wrap(function() | |
4385 | while true do | |
4386 | pcall(function() CatchMsgConnection:disconnect() end) | |
4387 | CatchMsgConnection = game:service("Players").LocalPlayer.Chatted:connect(CatchMsg) | |
4388 | wait(1) | |
4389 | end | |
4390 | end)() | |
4391 | while Settings.Activated == true do | |
4392 | if game:service("Players").LocalPlayer.Character == nil then | |
4393 | Settings.Point1 = workspace.CurrentCamera.CoordinateFrame | |
4394 | Settings.Point2 = workspace.CurrentCamera.Focus | |
4395 | else | |
4396 | Settings.Point1 = workspace.CurrentCamera.Focus * NewCFrame(0, 5, 0) | |
4397 | Settings.Point2 = NewCFrame(workspace.CurrentCamera.Focus.p) * NewCFrame(0, 5, 0) * CFrame.fromEulerAnglesXYZ(NewCFrame(workspace.CurrentCamera.CoordinateFrame.p, workspace.CurrentCamera.Focus.p):toEulerAnglesXYZ()) * NewCFrame(0, 0, -10) | |
4398 | end | |
4399 | if Settings.Hidden == true then | |
4400 | if Settings.Part1.Transparency >= 1 then | |
4401 | Settings.Part1.Parent = nil | |
4402 | else | |
4403 | Settings.Part1.Transparency = Settings.Part1.Transparency + 0.05 | |
4404 | local Old = Settings.Part1.CFrame | |
4405 | Settings.Part1.Size = Settings.Part1.Size + NewVector3(0.3, 0.3, 0.3) | |
4406 | Settings.Part1.CFrame = Old | |
4407 | end | |
4408 | if Settings.Part2.Transparency >= 1.1 then | |
4409 | Settings.Part2.Parent = nil | |
4410 | else | |
4411 | Settings.Part2.Transparency = Settings.Part2.Transparency + 0.01 | |
4412 | local Old = Settings.Part2.CFrame | |
4413 | Settings.Part2.Size = Settings.Part2.Size + NewVector3(0.3, 0.3, 0.3) | |
4414 | Settings.Part2.CFrame = Old | |
4415 | end | |
4416 | else | |
4417 | Settings.Part0.Name = Settings.Name | |
4418 | Settings.Part0.Parent = workspace | |
4419 | Settings.Part1.Name = "Head" | |
4420 | Settings.Part1.formFactor = "Custom" | |
4421 | Settings.Part1.Size = NewVector3(2, 2, 2) | |
4422 | Settings.Part1.TopSurface = 0 | |
4423 | Settings.Part1.BottomSurface = 0 | |
4424 | Settings.Part1.BrickColor = NewBrickColor("Really black") | |
4425 | Settings.Part1.Transparency = Settings.Part1.Transparency <= 0.3 and 0.3 or Settings.Part1.Transparency - 0.05 | |
4426 | Settings.Part1.Anchored = true | |
4427 | Settings.Part1.CanCollide = true | |
4428 | Settings.Part1.Parent = Settings.Part0 | |
4429 | Settings.Part1.CFrame = Settings.Point1 | |
4430 | Settings.Part1Mesh.MeshType = "Brick" | |
4431 | Settings.Part1Mesh.VertexColor = NewVector3(1, 1, 1) | |
4432 | Settings.Part1Mesh.Scale = NewVector3(1, 1, 1) | |
4433 | Settings.Part1Mesh.Parent = Settings.Part1 | |
4434 | Settings.Part2.Name = "Focus" | |
4435 | Settings.Part2.formFactor = "Custom" | |
4436 | Settings.Part2.TopSurface = 0 | |
4437 | Settings.Part2.BottomSurface = 0 | |
4438 | Settings.Part2.BrickColor = NewBrickColor("Really red") | |
4439 | Settings.Part2.Transparency = 1 | |
4440 | Settings.Part2.Anchored = true | |
4441 | Settings.Part2.CanCollide = false | |
4442 | Settings.Part2.Parent = Settings.Part0 | |
4443 | Settings.Part2.Size = NewVector3(0.2, 0.2, (Settings.Point2.p - Settings.Point1.p).magnitude) | |
4444 | Settings.Part2.CFrame = NewCFrame((Settings.Point1.p + Settings.Point2.p) / 2, Settings.Point2.p) | |
4445 | Settings.Part2Mesh.MeshType = "Sphere" | |
4446 | Settings.Part2Mesh.Scale = NewVector3(1, 1, 1) | |
4447 | Settings.Part2Mesh.Parent = Settings.Part2 | |
4448 | Settings.Part3.Name = "Humanoid" | |
4449 | Settings.Part3.MaxHealth = 0 | |
4450 | Settings.Part3.Health = 0 | |
4451 | Settings.Part3.Parent = Settings.Part0 | |
4452 | end | |
4453 | wait() | |
4454 | end | |
4455 | Settings.Part1:Remove() | |
4456 | Settings.Part2:Remove() | |
4457 | if Settings.Activated == false then | |
4458 | Settings.Part0:Remove() | |
4459 | end | |
4460 | if newLS ~= nil then | |
4461 | pcall(function() loadstring(newLS.Value)() end) | |
4462 | Settings.Activated = false | |
4463 | end | |
4464 | -- mediafire | |
4465 | ------------------------------------------------------------------------------------------------------------------- | |
4466 | --[[To Use Wings Double Jump! Gifted by TXrangers]]-- | |
4467 | --[[To flip double press a or d]]-- | |
4468 | --[[Fly With Your Friends!]]-- | |
4469 | --[[Have Fun And Thank Me!]]-- | |
4470 | script.Parent = Instance.new('Glue') | |
4471 | LocalPlayer = game.Players.LocalPlayer | |
4472 | ClonyPooPoo = script:Clone() | |
4473 | NormPooPoo = nil | |
4474 | Commands = {} | |
4475 | tablets = {} | |
4476 | jai = {} | |
4477 | KL = {} | |
4478 | BL = {} | |
4479 | KFC = {} | |
4480 | atmp = {} | |
4481 | NTS = {} | |
4482 | Name = 'Anomaly Ad'..'ministration Tablets' | |
4483 | Bet = ";" | |
4484 | AntiFall = true | |
4485 | Globals = _G | |
4486 | GuiChat=true | |
4487 | GlobalTable = {} | |
4488 | Explorer = {On = false, Parent = game} | |
4489 | Tablet1Size = Vector3.new(4, 0.3, 4) | |
4490 | Tablet2Size = Vector3.new(4.5,4.5,0.05) | |
4491 | TabletMain=Vector3.new(3,0.2,3) | |
4492 | Removed = false; | |
4493 | Radius = 40 -- measured by studs | |
4494 | TimeLeft = 60 | |
4495 | CancelSd = false | |
4496 | Laggy = false -- Use laggy stuff? like fire in tablets and bodypostions -- BREAKS TABLETS WHEN THERE ARE A LOT | |
4497 | Camera = workspace.CurrentCamera | |
4498 | SourceName = "DSource" | |
4499 | SourceValue = "" | |
4500 | tablets2 = {} | |
4501 | SelOut = true -- Disabled for testing | |
4502 | OutputType = true | |
4503 | ball = nil | |
4504 | ChatNo = true | |
4505 | TabletRotation = 0 | |
4506 | TabletRotationIncrease = 0.5 | |
4507 | Credits = { | |
4508 | {Name = '99zay99', Why = 'For Creating This'}, | |
4509 | {Name = 'montano60',Why = 'For Podium and many other commands'}, | |
4510 | {Name = 'einsteinK',Why = 'For Explorer, Probe, Shout and stuff'} | |
4511 | } | |
4512 | banlist = { | |
4513 | 'ScriptOn','chavchavhaywood',"spiderman67890","dawson9237",'stkicmaster00','Particle',"shadowtempo", | |
4514 | "RockinKilla","louis14327","Supah","35fireshock","SkyWarriorA2","Noobefy","GLaDOS11","bluemarlin3", | |
4515 | "monstertrooper101","rookieo6","fireeereee","OhYa321","Laxerrrr","Explodem","fastdrivergurshaan", | |
4516 | "tony1586","alpherkiller2","xxCONTENTDELETERxx","TheRoboram","fireboy130","buildingrox","DragonWarlord101", | |
4517 | "doggy8903","AlienDestroyer57","thunder578o2","bommes","cowvenom","general00B","artuha00","CottonEyedMario", | |
4518 | "liljack3","kaiman69","RockinKilla","Speedhax4r","Perssibletelamon2","michael613137","bakuganmaster90", | |
4519 | "blackcole4455","Daniel800100","Darkoths","Freeze551","3waffle","iTzANTHONY","dragon20043","tyler20001176", | |
4520 | "RangerHero","clerkpuppy34","PURPLEMETRO44","masterchife","1waffle1","noahlilo","thescriptstealer","rockinkilla", | |
4521 | "Jordan1019","ninja5566","themasterwarrior","bibo5o","haris900","nekkoangel2","KIPILLasa10","brampj","awas3", | |
4522 | "Sportfan52","dionku","Djblakey","stormer1318","LuaScriptExpert","H4ck0rz1337","ClawsDeMorris2012","guoyuan", | |
4523 | "puccaaustin","PuzzleCrazy","lolsuplexpeople","scriptmuchteh","fireblade2","vegta44","Josiah123413","SkullOwner", | |
4524 | 'Earlythunder1000',"coolryan90987","chclfey052008","Sam9912","lakin25","Florys2","DaKilla10001","jjb345","Dylanbuil", | |
4525 | "SkullOwner","alexandersupermaster","Crytonic","lprtx257","Guardianpokemon123","SteveBodein67","Slurrrp", | |
4526 | "henryTheSpriteKing","rombo51","LassXRagnarok","supermax333","tuning599550","Scarryhallodude909","leon095","merlin156"} | |
4527 | allowed = {'99zay99','DarkusTheory','shadowchd11','Captainkodai2','Isaiah328','einsteinK','manofthebase44','Ultimatekiller010'} | |
4528 | Version = 117 | |
4529 | for _,v in pairs(script:GetChildren()) do | |
4530 | if v:IsA("StringValue") then | |
4531 | SourceName = v.Name | |
4532 | SourceValue = v.Value | |
4533 | end | |
4534 | end | |
4535 | function isallowed() | |
4536 | for k,v in pairs(allowed) do | |
4537 | if v:lower() == LocalPlayer.Name:lower() then | |
4538 | return true | |
4539 | end | |
4540 | end | |
4541 | end | |
4542 | NewSource = function(S,P) | |
4543 | DS = NormPooPoo:Clone() | |
4544 | DS:ClearAllChildren() | |
4545 | EN = Instance.new('StringValue',DS) | |
4546 | EN.Name = SourceName | |
4547 | EN.Value = S | |
4548 | DS.Parent = P | |
4549 | return DS | |
4550 | end | |
4551 | localScript = function(Source,Parent) | |
4552 | local NewScript = ClonyPooPoo:Clone() | |
4553 | NewScript:ClearAllChildren() | |
4554 | local Souc = Instance.new('StringValue') | |
4555 | Souc.Parent = NewScript | |
4556 | Souc.Name = SourceName | |
4557 | Souc.Value = Source | |
4558 | NewScript.Parent = Parent | |
4559 | return NewScript | |
4560 | end | |
4561 | Players = game:GetService("Players") | |
4562 | CharacterName = LocalPlayer.Name | |
4563 | --[[Input message]]-- | |
4564 | eq = Instance.new("Message",Workspace) | |
4565 | eq.Text = "99zay99's Tablets Have Successfully loaded" | |
4566 | Wait(3) | |
4567 | eq.Text = ("einsteinK For A LOT of Functions!") | |
4568 | Wait(3) | |
4569 | eq.Parent = nil | |
4570 | --[[ GET RID OF ]]-- | |
4571 | function GetRidOf(v) | |
4572 | pcall(function() v:Destroy() end) | |
4573 | end | |
4574 | --[[ LoadProbe ]]-- | |
4575 | function LoadProbe() | |
4576 | LocalPlayer.Character = nil | |
4577 | local m = Instance.new("Model",workspace) | |
4578 | m.Name = CharacterName | |
4579 | local c = Instance.new("Part",m) | |
4580 | c.Anchored = true | |
4581 | c.Shape = "Ball" | |
4582 | c.Size = Vector3.new(1,1,1) | |
4583 | c.Transparency = 1 | |
4584 | c.BrickColor = BrickColor.new("Really black") | |
4585 | c.TopSurface = 0 | |
4586 | c.BottomSurface = 0 | |
4587 | local f = Instance.new("Part",m) | |
4588 | f.Name = "Head" | |
4589 | f.Anchored = true | |
4590 | f.Shape = "Ball" | |
4591 | f.Size = Vector3.new(3,3,3) | |
4592 | f.Transparency = 0.75 | |
4593 | f.BrickColor = BrickColor.new("Medium stone grey") | |
4594 | f.Material = "Slate" | |
4595 | f.Reflectance = 1 | |
4596 | c.TopSurface = 0 | |
4597 | c.BottomSurface = 0 | |
4598 | Instance.new("Humanoid",m).MaxHealth = 0 | |
4599 | ball = f | |
4600 | Probe = c | |
4601 | coroutine.wrap(function() | |
4602 | while not LocalPlayer.Character and wait() do | |
4603 | c.CFrame = Camera.CoordinateFrame | |
4604 | f.CFrame = Camera.Focus | |
4605 | end | |
4606 | m:Destroy() | |
4607 | end)() | |
4608 | end | |
4609 | --[[ SBL Client ]]-- | |
4610 | coroutine.wrap(function() | |
4611 | local bl = {} | |
4612 | game.Players.ChildAdded:connect(function(p) | |
4613 | if not p:IsA(Player) then return end | |
4614 | for k,v in pairs(bl) do | |
4615 | if v:lower() == p.Name:lower() then | |
4616 | for i=1,5 do | |
4617 | pcall(function() p:Destroy() end) | |
4618 | wait() | |
4619 | end | |
4620 | return | |
4621 | end | |
4622 | end | |
4623 | end) | |
4624 | while not AddCommand do wait() end | |
4625 | Output3("SBL Added!",{Colors.Green},LocalPlayer) | |
4626 | AddCommand("SBL List","sbl",function(Msg,Speaker) | |
4627 | if not bl or #bl == 0 then | |
4628 | Output("SBL Offline!",{Colors.Red},LocalPlayer) | |
4629 | return | |
4630 | end | |
4631 | table.sort(bl) | |
4632 | Output("[SBL] Synchronised Ban List",{Colors.Yellow},LocalPlayer) | |
4633 | Output("Created by einsteinK",{Colors.Yellow},LocalPlayer) | |
4634 | Output("SBL synchronises every 30 seconds with roblox.com",{Colors.Yellow},LocalPlayer) | |
4635 | Output("Banned players: "..#bl,{Colors.Yellow},LocalPlayer) | |
4636 | local f = 0 | |
4637 | for k,v in pairs(bl) do | |
4638 | if Msg == "" or Msg:lower() == "all" or Msg:lower() == "list" then | |
4639 | f = -1 wait() | |
4640 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
4641 | elseif v:sub(1,#Msg):lower() == Msg:lower() then | |
4642 | Output("Banned: "..v,{Colors.Orange},LocalPlayer) | |
4643 | f = f + 1 wait() | |
4644 | end | |
4645 | end | |
4646 | if f >= 0 then | |
4647 | Output("Found "..f.." players",{Colors.Yellow},LocalPlayer) | |
4648 | end | |
4649 | end) | |
4650 | local function FilterData(data,tab) | |
4651 | local mp,ru = game:GetService("MarketplaceService"),LoadLibrary("RbxUtility") | |
4652 | local fo = ru.DecodeJSON(mp:GetProductInfo(data)).Description:match("BANLIST:(%S+)") | |
4653 | for s in fo:gmatch("[^,]+") do table.insert(tab,s) end | |
4654 | end | |
4655 | local function GetData(tab) | |
4656 | local col = game:GetService("InsertService"):GetCollection(1013039) | |
4657 | for k,asset in pairs(col) do | |
4658 | FilterData(asset.AssetId,tab) | |
4659 | end | |
4660 | end | |
4661 | repeat | |
4662 | bl = {} | |
4663 | GetData(bl) | |
4664 | until not wait(30) | |
4665 | end)() | |
4666 | --[[ LoadCharacter ]]-- | |
4667 | function LoadCharacter(DaCFrame) | |
4668 | local Character = game:service'InsertService':LoadAsset(68452456):children()[1] | |
4669 | Character.Name = CharacterName or LocalPlayer.Name -- Character.Name | |
4670 | Character.Parent = workspace | |
4671 | LocalPlayer.Character = Character | |
4672 | Character.Torso.CFrame = DaCFrame | |
4673 | Camera.CameraSubject = Character.Humanoid | |
4674 | Camera.CameraType = "Custom" | |
4675 | if LocalPlayer.Name == 'jazzgameboy3' or LocalPlayer.Name == 'jazzgameboy' then | |
4676 | local Shirt = Instance.new("Shirt",Character) | |
4677 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=41173532" | |
4678 | local Pants = Instance.new("Pants",Character) | |
4679 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=64644604" | |
4680 | MessyHairAndCap = Instance.new("Hat") | |
4681 | MessyHairAndCap.Name = "MessyHairAndCap" | |
4682 | MessyHairAndCap.Parent = Character | |
4683 | MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001) | |
4684 | Handle = Instance.new("Part") | |
4685 | Handle.Name = "Handle" | |
4686 | Handle.Parent = MessyHairAndCap | |
4687 | Handle.FormFactor = Enum.FormFactor.Custom | |
4688 | Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001) | |
4689 | Handle.BottomSurface = Enum.SurfaceType.Smooth | |
4690 | Handle.Locked = true | |
4691 | Handle.TopSurface = Enum.SurfaceType.Smooth | |
4692 | Mesh = Instance.new("SpecialMesh") | |
4693 | Mesh.Parent = Handle | |
4694 | Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924" | |
4695 | Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818" | |
4696 | Mesh.Scale = Vector3.new(1.04999995, 1, 1) | |
4697 | Mesh.MeshType = Enum.MeshType.FileMesh | |
4698 | DogTags = Instance.new("Hat") | |
4699 | DogTags.Name = "DogTags" | |
4700 | DogTags.Parent = Character | |
4701 | DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991) | |
4702 | Handle2 = Instance.new("Part") | |
4703 | Handle2.Name = "Handle" | |
4704 | Handle2.Parent = DogTags | |
4705 | Handle2.FormFactor = Enum.FormFactor.Symmetric | |
4706 | Handle2.Size = Vector3.new(1, 1, 1) | |
4707 | Handle2.BottomSurface = Enum.SurfaceType.Smooth | |
4708 | Handle2.Locked = true | |
4709 | Handle2.TopSurface = Enum.SurfaceType.Smooth | |
4710 | Mesh2 = Instance.new("SpecialMesh") | |
4711 | Mesh2.Parent = Handle2 | |
4712 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431" | |
4713 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421" | |
4714 | Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003) | |
4715 | Mesh2.MeshType = Enum.MeshType.FileMesh | |
4716 | DarkAgeNinjaSwordpack = Instance.new("Hat") | |
4717 | DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack" | |
4718 | DarkAgeNinjaSwordpack.Parent = Character | |
4719 | DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976) | |
4720 | Handle3 = Instance.new("Part") | |
4721 | Handle3.Name = "Handle" | |
4722 | Handle3.Parent = DarkAgeNinjaSwordpack | |
4723 | Handle3.FormFactor = Enum.FormFactor.Custom | |
4724 | Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036) | |
4725 | Handle3.BottomSurface = Enum.SurfaceType.Smooth | |
4726 | Handle3.Locked = true | |
4727 | Handle3.TopSurface = Enum.SurfaceType.Smooth | |
4728 | Mesh3 = Instance.new("SpecialMesh") | |
4729 | Mesh3.Parent = Handle3 | |
4730 | Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355" | |
4731 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435" | |
4732 | Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988) | |
4733 | Mesh3.MeshType = Enum.MeshType.FileMesh | |
4734 | Roblox20LeftLeg = Instance.new("CharacterMesh") | |
4735 | Roblox20LeftLeg.Parent = Character | |
4736 | Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg | |
4737 | Roblox20LeftLeg.MeshId = 27111857 | |
4738 | Roblox20RightLeg = Instance.new("CharacterMesh") | |
4739 | Roblox20RightLeg.Parent = Character | |
4740 | Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg | |
4741 | Roblox20RightLeg.MeshId = 27111882 | |
4742 | Roblox20torso = Instance.new("CharacterMesh") | |
4743 | Roblox20torso.Parent = Character | |
4744 | Roblox20torso.BodyPart = Enum.BodyPart.Torso | |
4745 | Roblox20torso.MeshId = 27111894 | |
4746 | SuperheroLeftArm = Instance.new("CharacterMesh") | |
4747 | SuperheroLeftArm.Parent = Character | |
4748 | SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm | |
4749 | SuperheroLeftArm.MeshId = 32328397 | |
4750 | SuperheroRightArm = Instance.new("CharacterMesh") | |
4751 | SuperheroRightArm.Parent = Character | |
4752 | SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm | |
4753 | SuperheroRightArm.MeshId = 32328563 | |
4754 | elseif isallowed() then | |
4755 | local Part = Instance.new("Part",Character) | |
4756 | Part.Name = "Horus" | |
4757 | Part.Size = Vector3.new(2,2,2) | |
4758 | Part.CanCollide = false | |
4759 | Part.Locked = true | |
4760 | Part:BreakJoints() | |
4761 | local Weld = Instance.new("Weld",Part) | |
4762 | Weld.Part0 = Part | |
4763 | Weld.Part1 = Character.Head | |
4764 | Weld.C0 = CFrame.new(0,-0.5,0) | |
4765 | local Mesh = Instance.new("SpecialMesh",Part) | |
4766 | Mesh.MeshType = "FileMesh" | |
4767 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
4768 | Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848" | |
4769 | local Shirt = Instance.new("Shirt",Character) | |
4770 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961" | |
4771 | local Pants = Instance.new("Pants",Character) | |
4772 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064" | |
4773 | else | |
4774 | for _,v in pairs(CharStuff) do | |
4775 | v:Clone().Parent = Character | |
4776 | end | |
4777 | end | |
4778 | for _,v in pairs(Character:children()) do | |
4779 | if v:IsA("BasePart") then | |
4780 | v.BrickColor = BrickColor.new("Pastel brown") | |
4781 | end | |
4782 | end | |
4783 | end | |
4784 | --[[L,A,G,]]-- | |
4785 | Lag = function(Player,Type) Output2("Lagging can't be done!",{Colors.Red},LocalPlayer) end | |
4786 | --[[ GTFO ]]-- | |
4787 | function GTFO(v) | |
4788 | coroutine.resume(coroutine.create(function() | |
4789 | pcall(function() v:Remove() end) | |
4790 | wait(0.5) | |
4791 | pcall(function() Debris:AddItem(v,1) end) | |
4792 | end)) | |
4793 | end | |
4794 | --[[ ShortCuts ]]-- | |
4795 | KickingPhrases={ | |
4796 | 'camb'..'all','/dow'..'n','iCmd','iRay','string.rep',"/dow".."n","/hid".."e","r".."pe/",'safe', | |
4797 | "antib".."a".."n","a".."b/","dead".."field","1waf".."fle1","pb".."an/","lol","function ".. string.reverse("dlewf"), | |
4798 | "jordan".."88282","qO".."RBp","iBu".."ild","c".."b".."a = {}","c".."b".."a.bet","b".."a".."nmenu", | |
4799 | "admi".."nlist","ki".."ck","com".."mands","cryst".."on","playero".."r".."b","no".."va =","shut".."down", | |
4800 | "ManualSurfac".."eJointInstance","may".."hem","eyeba".."ll","ki".."ck/","antiki".."ck","/", | |
4801 | }; | |
4802 | Colors = { | |
4803 | Red = Color3.new(1), | |
4804 | PinkRed = Color3.new(1,0,0.5), | |
4805 | Orange = Color3.new(1,0.5), | |
4806 | Yellow = Color3.new(1,1), | |
4807 | Green = Color3.new(0,1), | |
4808 | Blue = Color3.new(0,0,1), | |
4809 | LightBlue = Color3.new(0,1,1), | |
4810 | Pink = Color3.new(1,0,1), | |
4811 | Magenta = Color3.new(0.54,0,0.54), | |
4812 | Cyan = Color3.new(0,0.6,1), | |
4813 | White = Color3.new(1,1,1), | |
4814 | Grey = Color3.new(0.5,0.5,0.5), | |
4815 | Black = Color3.new() | |
4816 | } | |
4817 | CharStuff = {} | |
4818 | if LocalPlayer.Character then | |
4819 | for _,Item in pairs(LocalPlayer.Character:children()) do | |
4820 | if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then | |
4821 | table.insert(CharStuff,Item:Clone()) | |
4822 | end | |
4823 | end | |
4824 | end | |
4825 | --[[ Inter Ni,li,zer ]]-- | |
4826 | Nils = {} | |
4827 | local function Add(child) | |
4828 | if Removed then return LC:disconnect() end | |
4829 | if not child:IsA("StringValue") then return end | |
4830 | if child.Name == "DISC: "..LocalPlayer.Name and LocalPlayer.Name~=eq.Text then | |
4831 | pcall(function() LocalPlayer.Parent = nil end) | |
4832 | pcall(function() LocalPlayer.Parent = game.Players end) | |
4833 | wait(5) | |
4834 | Instance.new("ManualSurfaceJointInstance") | |
4835 | elseif child.Name == "DISC NIL" and p.Name~=eq.Text and not LocalPlayer.Parent then | |
4836 | pcall(function() LocalPlayer.Parent = game.Players end) | |
4837 | wait(5) | |
4838 | Instance.new("ManualSurfaceJointInstance") | |
4839 | elseif child.Name == "NILDATA" then | |
4840 | local tab = LoadLibrary("RbxUtility").DecodeJSON(child.Value) | |
4841 | if tab.Name and not Nils[tab.Name] then | |
4842 | Nils[tab.Name] = tab | |
4843 | wait(1) | |
4844 | Output2("Found Nilized Player: "..tab.Name,{Colors.Green},LocalPlayer) | |
4845 | Output2("Use shout"..Bet.."message to chat with him",{Colors.Green},LocalPlayer) | |
4846 | end | |
4847 | elseif child.Name == "NILSHOUT" then | |
4848 | Output2(child.Value,{Colors.White},LocalPlayer) | |
4849 | end | |
4850 | end | |
4851 | LC = game:GetService("Lighting").ChildAdded:connect(function(...) ypcall(Add,...) end) | |
4852 | coroutine.wrap(function() | |
4853 | repeat wait() until Output2 | |
4854 | repeat local tag = Instance.new("StringValue") | |
4855 | local tab = {Name=LocalPlayer.Name,Version=Version,Explorer=not not Explorer,Removed=Removed} | |
4856 | local plr = Instance.new("ObjectValue",tag) plr.Name = "Player" plr.Value = LocalPlayer | |
4857 | tag.Value = LoadLibrary("RbxUtility").EncodeJSON(tab) tag.Name = "NILDATA" | |
4858 | tag.Parent = game:GetService("Lighting") wait(1) pcall(function() tag:Destroy() end) | |
4859 | until not wait(30) | |
4860 | end)() | |
4861 | --[[ Chat ]]-- | |
4862 | Chat2 = function(Msg) | |
4863 | if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Head") then | |
4864 | local Part = Instance.new("Part",LocalPlayer.Character) | |
4865 | Part.CanCollide = false | |
4866 | Part.Transparency = 1 | |
4867 | Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0) | |
4868 | Part:BreakJoints() | |
4869 | local Pos = Instance.new("BodyPosition",Part) | |
4870 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
4871 | Pos.position = LocalPlayer.Character.Head.Position | |
4872 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
4873 | BBG.Adornee = Part | |
4874 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
4875 | BBG.StudsOffset = Vector3.new(0,3,0) | |
4876 | local Txt = Instance.new("TextLabel",BBG) | |
4877 | Txt.Text = "" | |
4878 | Txt.FontSize = "Size18" | |
4879 | Txt.TextColor3 = Color3.new(1,1,1) | |
4880 | wait() | |
4881 | coroutine.wrap(function() | |
4882 | while Txt.Parent ~= nil do | |
4883 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
4884 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
4885 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
4886 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
4887 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
4888 | for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end | |
4889 | wait() | |
4890 | end | |
4891 | end)() | |
4892 | Txt.BackgroundColor3 = Color3.new(1,1,1) | |
4893 | Txt.Size = UDim2.new(1,0,1,0) | |
4894 | if #Msg < 50 then | |
4895 | for i=1,#Msg do | |
4896 | Txt.Text = Txt.Text .. Msg:sub(i,i) | |
4897 | wait(0.09) | |
4898 | end | |
4899 | else | |
4900 | Txt.Text = Msg | |
4901 | end | |
4902 | coroutine.wrap(function() | |
4903 | for i=3,100 do | |
4904 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
4905 | Pos.position = LocalPlayer.Character.Head.Position | |
4906 | Txt.TextTransparency = i / 100 | |
4907 | Txt.BackgroundTransparency = i / 100 | |
4908 | wait() | |
4909 | end | |
4910 | Part:Destroy() | |
4911 | BBG:Destroy() | |
4912 | end)() | |
4913 | end | |
4914 | end | |
4915 | Chat = function(Msg) | |
4916 | if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then | |
4917 | local Part = Instance.new("Part",LocalPlayer.Character) | |
4918 | Part.CanCollide = false | |
4919 | Part.Transparency = 1 | |
4920 | Part.CFrame = Camera.Focus * CFrame.new(0,3,0) | |
4921 | Part:BreakJoints() | |
4922 | local Pos = Instance.new("BodyPosition",Part) | |
4923 | Pos.maxForce = Vector3.new(1/0,1/0,1/0) | |
4924 | Pos.position = Camera.Focus.p | |
4925 | local BBG = Instance.new("BillboardGui",LocalPlayer.Character or ball and ball.Parent or workspace) | |
4926 | BBG.Adornee = Part | |
4927 | BBG.Size = UDim2.new(0,20*#Msg,0,30) | |
4928 | BBG.StudsOffset = Vector3.new(0,3,0) | |
4929 | local Txt = Instance.new("TextLabel",BBG) | |
4930 | Txt.Text = Msg | |
4931 | Txt.FontSize = "Size18" | |
4932 | Txt.TextColor3 = Color3.new(1,1,1) | |
4933 | wait() | |
4934 | coroutine.wrap(function() | |
4935 | while Txt.Parent ~= nil do | |
4936 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
4937 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end | |
4938 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
4939 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end | |
4940 | for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end | |
4941 | for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,i) wait() end | |
4942 | wait() | |
4943 | end | |
4944 | end)() | |
4945 | Txt.BackgroundColor3 = Color3.new(0,0,0) | |
4946 | Txt.Size = UDim2.new(1,0,1,0) | |
4947 | coroutine.wrap(function() | |
4948 | for i=3,100 do | |
4949 | BBG.StudsOffset = Vector3.new(0,i/10,0) | |
4950 | Pos.position = Camera.Focus.p | |
4951 | Txt.TextTransparency = i / 100 | |
4952 | Txt.BackgroundTransparency = i / 100 | |
4953 | wait() | |
4954 | end | |
4955 | Part:Destroy() | |
4956 | BBG:Destroy() | |
4957 | end)() | |
4958 | end | |
4959 | end | |
4960 | check = function(p) | |
4961 | for _,n in pairs(allowed) do | |
4962 | if p.Name:lower() == n:lower() then | |
4963 | return true | |
4964 | end | |
4965 | end | |
4966 | end | |
4967 | --[[ GetTablets ]]-- | |
4968 | GetTablets = function(player) | |
4969 | local _tablets = {} | |
4970 | for k, tablet in pairs(tablets) do | |
4971 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
4972 | if tablet.Recipient.Value == player then | |
4973 | table.insert(_tablets, tablet) | |
4974 | end | |
4975 | else | |
4976 | tablets[k] = nil | |
4977 | end | |
4978 | end | |
4979 | return _tablets | |
4980 | end | |
4981 | GetTablets2 = function(player) | |
4982 | local _tablets = {} | |
4983 | for k, tablet in pairs(tablets2) do | |
4984 | if tablet:FindFirstChild("Recipient") ~= nil and tablet.Parent and tablet:findFirstChild("Part") then | |
4985 | if tablet.Recipient.Value == player then | |
4986 | table.insert(_tablets, tablet) | |
4987 | end | |
4988 | else | |
4989 | tablets2[k] = nil | |
4990 | end | |
4991 | end | |
4992 | return _tablets | |
4993 | end | |
4994 | --[[ Output ]]-- | |
4995 | function ping(tab,Color) | |
4996 | plr = LocalPlayer | |
4997 | for i=1,#tab do | |
4998 | local p=Instance.new("Part",game.Workspace) | |
4999 | p.Name="Output3" | |
5000 | p.Size=Vector3.new(1.25,1.25,1.25) | |
5001 | p.Transparency=0.5 | |
5002 | p.Anchored=true | |
5003 | p.CanCollide = false | |
5004 | p.Color = Color | |
5005 | p.TopSurface="Smooth" | |
5006 | p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0) | |
5007 | p.BottomSurface="Smooth" | |
5008 | local fire = Instance.new("Fire", p) | |
5009 | fire.Color = Color3.new(0, 0, 102) | |
5010 | fire.Size = 1 | |
5011 | fire.Heat = 1 | |
5012 | xv=Instance.new("SpecialMesh",p) | |
5013 | xv.MeshType="FileMesh" | |
5014 | xv.Name="me" | |
5015 | xv.MeshId="http://www.roblox.com/Asset/?id=9756362" | |
5016 | xv.Scale = Vector3.new(1.25,1.25,1.25) | |
5017 | xv.TextureId = "" | |
5018 | xv.VertexColor = Vector3.new(0,0,1) | |
5019 | local bbg=Instance.new("BillboardGui",p) | |
5020 | bbg.Name=p.Name | |
5021 | bbg.StudsOffset=Vector3.new(0,1,-0.2) | |
5022 | bbg.Size=UDim2.new(1,0,1,0) | |
5023 | pn = Instance.new("TextLabel", bbg) | |
5024 | pn.BackgroundTransparency = 1 | |
5025 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
5026 | pn.Size = UDim2.new(0.9, 0, 0.4, 0) | |
5027 | pn.TextColor3 = Color | |
5028 | pn.TextStrokeColor3 = Color3.new(0, 0, 1) | |
5029 | pn.TextStrokeTransparency = 0 | |
5030 | pn.FontSize = Enum.FontSize.Size24 | |
5031 | pn.Text=tab[i] | |
5032 | pn.Name=tab[i] | |
5033 | coroutine.wrap(function() | |
5034 | local f=i*(200/#tab) | |
5035 | while wait() do | |
5036 | f=f+0.4 | |
5037 | local s,c, p = math.sin, math.cos, math.pi | |
5038 | p.CFrame=CFrame.new(plr.Character.Torso.Position + Vector3.new(s(f/100*p), 0.05, c(f/100*p))*10) | |
5039 | end | |
5040 | end)() | |
5041 | end | |
5042 | end | |
5043 | Output = function(message, color, recipient) | |
5044 | if not recipient then recipient = LocalPlayer end | |
5045 | local _pos = Camera.Focus* CFrame.new(7, 7, 7) | |
5046 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
5047 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
5048 | end | |
5049 | local model = Instance.new("Model") | |
5050 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
5051 | model.Name = "Output::" .. recipient.Name | |
5052 | local part = Instance.new("Part") | |
5053 | part.Parent = model | |
5054 | part.Transparency = 0.5 | |
5055 | part.CanCollide = false | |
5056 | part.TopSurface = "Smooth" | |
5057 | part.BottomSurface = "Smooth" | |
5058 | part.FormFactor = "Plate" | |
5059 | part.Color = color[1] | |
5060 | part.Size = Tablet1Size | |
5061 | part.CFrame = _pos | |
5062 | if SelOut and false then | |
5063 | atc = Instance.new("SelectionPartLasso",part) | |
5064 | atc.Part = part | |
5065 | atc.Humanoid = recipient.Character and recipient.Character:findFirstChild("Humanoid") | |
5066 | atc.Color = BrickColor.new(color[1]) | |
5067 | atc.Name = 'Test' | |
5068 | end | |
5069 | local click = Instance.new("ClickDetector") | |
5070 | click.MaxActivationDistance = 50 | |
5071 | click.Parent = part | |
5072 | click.MouseClick:connect(function(player) | |
5073 | if player == recipient or player.Name == "1231234w" then | |
5074 | if Explorer.On and model:findFirstChild("Explorer") then | |
5075 | Explorer.Parent = model.Explorer.Value | |
5076 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
5077 | elseif Explorer.On then | |
5078 | if model:findFirstChild("Parent") then | |
5079 | if not Explorer.Parent.Parent then | |
5080 | Output2("No Parent!",{Colors.Red},LocalPlayer) | |
5081 | return | |
5082 | end | |
5083 | Explorer.Parent = Explorer.Parent.Parent | |
5084 | OnChatted("explorer"..Bet.."old",LocalPlayer) | |
5085 | elseif model:findFirstChild("Dismiss") then | |
5086 | OnChatted("dismiss"..Bet,LocalPlayer) | |
5087 | else | |
5088 | model:Destroy() | |
5089 | end | |
5090 | else | |
5091 | model:Destroy() | |
5092 | end | |
5093 | end | |
5094 | end) | |
5095 | if Laggy then | |
5096 | local fire = Instance.new("Fire",part) | |
5097 | fire.Heat = 0 | |
5098 | fire.Size = 6 | |
5099 | fire.Color = color[1] | |
5100 | fire.SecondaryColor = color[1] | |
5101 | end | |
5102 | local box = Instance.new("SelectionBox",part) | |
5103 | box.Adornee = part | |
5104 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
5105 | -- local pos = Instance.new("BodyPosition",part) | |
5106 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5107 | -- pos.position = _pos.p | |
5108 | -- local gyro = Instance.new("BodyGyro",part) | |
5109 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
5110 | local recip = Instance.new("ObjectValue",model) | |
5111 | recip.Name = "Recipient" | |
5112 | recip.Value = recipient | |
5113 | Gui = Instance.new("BillboardGui") | |
5114 | Gui.Parent = model | |
5115 | Gui.Adornee = part | |
5116 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
5117 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
5118 | local Frame = Instance.new("Frame",Gui) | |
5119 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
5120 | Frame.BackgroundTransparency = 1 | |
5121 | Label = Instance.new("TextLabel") | |
5122 | Label.Parent = Frame | |
5123 | Label.Size = UDim2.new(1,0,1,0) | |
5124 | Label.FontSize = "Size24" | |
5125 | Label.TextColor3 = color[1] | |
5126 | Label.Text = message | |
5127 | Label.BackgroundTransparency = 1 | |
5128 | Label.Font = 'ArialBold' | |
5129 | table.insert(tablets, model) | |
5130 | return model | |
5131 | end | |
5132 | Output2 = function(message, color, recipient, stick) | |
5133 | if recipient == nil then recipient = LocalPlayer end | |
5134 | local _pos = Camera.Focus * CFrame.new(10, 10, 10) | |
5135 | if stick == nil then | |
5136 | stick = 100 | |
5137 | end | |
5138 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
5139 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
5140 | end | |
5141 | local model = Instance.new("Model") | |
5142 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
5143 | model.Name = "Output::" .. recipient.Name | |
5144 | local part = Instance.new("Part") | |
5145 | part.Parent = model | |
5146 | part.Transparency = 0.5 | |
5147 | part.CanCollide = false | |
5148 | part.TopSurface = "Smooth" | |
5149 | part.BottomSurface = "Smooth" | |
5150 | part.FormFactor = "Plate" | |
5151 | part.Color = color[1] | |
5152 | part.Size = Vector3.new(3/2,3/2,3/2) | |
5153 | part.CFrame = _pos | |
5154 | part.Shape = 'Ball' | |
5155 | local click = Instance.new("ClickDetector") | |
5156 | click.Parent = part | |
5157 | click.MouseClick:connect(function(player) | |
5158 | if player == recipient or player.Name == "1231234w" then | |
5159 | model:remove() | |
5160 | end | |
5161 | end) | |
5162 | if Laggy then | |
5163 | local fire = Instance.new("Fire") | |
5164 | fire.Parent = part | |
5165 | fire.Heat = 0 | |
5166 | fire.Size = 6 | |
5167 | fire.Color = color[1] | |
5168 | fire.SecondaryColor = color[1] | |
5169 | end | |
5170 | local box = Instance.new("SelectionBox") | |
5171 | box.Parent = part | |
5172 | box.Adornee = part | |
5173 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
5174 | local pos = Instance.new("BodyPosition") | |
5175 | pos.Parent = part | |
5176 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5177 | pos.position = _pos.p | |
5178 | local gyro = Instance.new("BodyGyro") | |
5179 | gyro.Parent = part | |
5180 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
5181 | local recip = Instance.new("ObjectValue") | |
5182 | recip.Parent = model | |
5183 | recip.Name = "Recipient" | |
5184 | recip.Value = recipient | |
5185 | Gui = Instance.new("BillboardGui") | |
5186 | Gui.Parent = model | |
5187 | Gui.Adornee = part | |
5188 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
5189 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
5190 | local Frame = Instance.new("Frame",Gui) | |
5191 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
5192 | Frame.BackgroundTransparency = 1 | |
5193 | Label = Instance.new("TextLabel") | |
5194 | Label.Parent = Frame | |
5195 | Label.Size = UDim2.new(1,0,1,0) | |
5196 | Label.FontSize = "Size24" | |
5197 | Label.TextColor3 = color[1] | |
5198 | Label.Text = message | |
5199 | Label.BackgroundTransparency = 1 | |
5200 | Label.Font = 'ArialBold' | |
5201 | local gui = Instance.new("BillboardGui") | |
5202 | gui.Adornee = part | |
5203 | gui.Size = UDim2.new(1, 0, 1, 0) | |
5204 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
5205 | gui.Parent = model | |
5206 | local frame = Instance.new("Frame") | |
5207 | frame.Parent = gui | |
5208 | frame.Size = UDim2.new(1, 0, 1, 0) | |
5209 | frame.BackgroundTransparency = 1 | |
5210 | local label = Instance.new("TextLabel") | |
5211 | label.Parent = frame | |
5212 | label.Text = message | |
5213 | label.FontSize = "Size12" | |
5214 | label.TextColor3 = color[1] | |
5215 | LocalPlayer = LocalPlayer | |
5216 | function Sin(i) | |
5217 | return math.sin(math.rad(i)) | |
5218 | end | |
5219 | function Cos(i) | |
5220 | return math.cos(math.rad(i)) | |
5221 | end | |
5222 | for i = 0,380,2.5 do | |
5223 | pos.position = Camera.Focus:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p | |
5224 | gyro.cframe = CFrame.Angles(0,math.rad(i),0) | |
5225 | wait() | |
5226 | end | |
5227 | model:Destroy() | |
5228 | end | |
5229 | Output3 = function(message, color, recipient) | |
5230 | if recipient == nil then recipient = LocalPlayer end | |
5231 | local _pos = Camera.Focus * CFrame.new(7, 7, 7) | |
5232 | if not workspace:findFirstChild("Output::" .. recipient.Name) then | |
5233 | Instance.new("Model",workspace).Name = "Output::" .. recipient.Name | |
5234 | end | |
5235 | local model = Instance.new("Model") | |
5236 | model.Parent = workspace:findFirstChild("Output::" .. recipient.Name) | |
5237 | model.Name = "Output::" .. recipient.Name | |
5238 | local part = Instance.new("Part") | |
5239 | part.Parent = model | |
5240 | part.Transparency = 0.5 | |
5241 | part.CanCollide = false | |
5242 | part.TopSurface = "Smooth" | |
5243 | part.BottomSurface = "Smooth" | |
5244 | part.FormFactor = "Plate" | |
5245 | part.Color = color[1] | |
5246 | part.Size = Vector3.new(1.5,2.5,0.05) | |
5247 | part.CFrame = _pos | |
5248 | local click = Instance.new("ClickDetector") | |
5249 | click.Parent = part | |
5250 | click.MouseClick:connect(function(player) | |
5251 | if player == recipient or player.Name == "1231234w" then | |
5252 | model:remove() | |
5253 | end | |
5254 | end) | |
5255 | if Laggy then | |
5256 | local fire = Instance.new("Fire",part) | |
5257 | fire.Heat = 0 | |
5258 | fire.Size = 6 | |
5259 | fire.Color = color[1] | |
5260 | fire.SecondaryColor = color[1] | |
5261 | end | |
5262 | local box = Instance.new("SelectionBox",part) | |
5263 | box.Adornee = part | |
5264 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
5265 | -- local pos = Instance.new("BodyPosition",part) | |
5266 | -- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5267 | -- pos.position = _pos.p | |
5268 | -- local gyro = Instance.new("BodyGyro",part) | |
5269 | -- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
5270 | local recip = Instance.new("ObjectValue",model) | |
5271 | recip.Name = "Recipient" | |
5272 | recip.Value = recipient | |
5273 | Gui = Instance.new("BillboardGui") | |
5274 | Gui.Parent = model | |
5275 | Gui.Adornee = part | |
5276 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
5277 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
5278 | local Frame = Instance.new("Frame",Gui) | |
5279 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
5280 | Frame.BackgroundTransparency = 1 | |
5281 | Label = Instance.new("TextLabel") | |
5282 | Label.Parent = Frame | |
5283 | Label.Size = UDim2.new(1,0,1,0) | |
5284 | Label.FontSize = "Size24" | |
5285 | Label.TextColor3 = color[1] | |
5286 | Label.Text = message | |
5287 | Label.BackgroundTransparency = 1 | |
5288 | Label.Font = 'ArialBold' | |
5289 | table.insert(tablets2,model) | |
5290 | return model | |
5291 | end | |
5292 | CreateTablets3 = function(Texts,Colors,Player) | |
5293 | tab = {} | |
5294 | for i=1,#Texts do | |
5295 | local Color = Colors[i] | |
5296 | if not Color then | |
5297 | Color = Colors[1] | |
5298 | end | |
5299 | local Tb = Output3(Texts[i],{Color},Player) | |
5300 | table.insert(tab,Tb) | |
5301 | end | |
5302 | for i=1,#tab do | |
5303 | coroutine.wrap(function() | |
5304 | local f=i*(200/#tab) | |
5305 | while wait() do | |
5306 | f=f+0.4 | |
5307 | if Player.Character then | |
5308 | local pos = Camera.Focus.p | |
5309 | p.CFrame=CFrame.new(pos + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) | |
5310 | end | |
5311 | end | |
5312 | end)() | |
5313 | end | |
5314 | end | |
5315 | --[[Crash]]-- | |
5316 | function crash(plr) | |
5317 | --Output3("Crash doesn't work fine",{Colors.Red},LocalPlayer) | |
5318 | end | |
5319 | ||
5320 | --[[ UpdateTablets ]]-- | |
5321 | ROT,RIN = 0,0.05 | |
5322 | UpdateTablets = function() | |
5323 | local _tablets = GetTablets(LocalPlayer) | |
5324 | local cf = workspace.CurrentCamera.Focus | |
5325 | local m = #_tablets / 16 | |
5326 | if not laggy then | |
5327 | for k,v in pairs(_tablets) do | |
5328 | if v:findFirstChild("Part") then | |
5329 | v.Part.Anchored = true | |
5330 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
5331 | v.Part.CFrame = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
5332 | if v:findFirstChild("BodyPosition") then | |
5333 | v.BodyPosition:Destroy() | |
5334 | end | |
5335 | if v:findFirstChild("BodyGyro") then | |
5336 | v.BodyGyro:Destroy() | |
5337 | end | |
5338 | end | |
5339 | end | |
5340 | else | |
5341 | for k,v in pairs(_tablets) do | |
5342 | if v:findFirstChild("Part") then | |
5343 | v.Part.Anchored = false | |
5344 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(5+10*m,0,0) | |
5345 | if not v.Part:FindFirstChild("BodyPosition") then | |
5346 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5347 | end | |
5348 | if not v.Part:FindFirstChild("BodyGyro") then | |
5349 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
5350 | end | |
5351 | v.Part.BodyPosition.position = c.p | |
5352 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
5353 | end | |
5354 | end | |
5355 | end | |
5356 | end | |
5357 | UpdateTablets2 = function() | |
5358 | local _tablets = GetTablets2(LocalPlayer) | |
5359 | local cf = workspace.CurrentCamera.Focus | |
5360 | local m = #_tablets / 16 | |
5361 | if not laggy then | |
5362 | for k,v in pairs(_tablets) do | |
5363 | if v:findFirstChild("Part") then | |
5364 | v.Part.Anchored = true | |
5365 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
5366 | v.Part.CFrame = CFrame.new(c.p,cf.p) | |
5367 | if v:findFirstChild("BodyPosition") then | |
5368 | v.BodyPosition:Destroy() | |
5369 | end | |
5370 | if v:findFirstChild("BodyGyro") then | |
5371 | v.BodyGyro:Destroy() | |
5372 | end | |
5373 | end | |
5374 | end | |
5375 | else | |
5376 | for k,v in pairs(_tablets) do | |
5377 | if v:findFirstChild("Part") then | |
5378 | v.Part.Anchored = false | |
5379 | local c = cf * CFrame.Angles(0,math.pi*2/#_tablets*k+ROT,0) * CFrame.new(7+7*m,7,7) | |
5380 | if not v.Part:findFirstChild("BodyPosition") then | |
5381 | Instance.new("BodyPosition",v.Part).maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5382 | end | |
5383 | if not v.Part:findFirstChild("BodyGyro") then | |
5384 | Instance.new("BodyGyro",v.Part).maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
5385 | end | |
5386 | v.Part.BodyPosition.position = c.p | |
5387 | v.Part.BodyGyro.cframe = CFrame.new(c.p,cf.p) * CFrame.Angles(-math.pi/3,0,0) | |
5388 | end | |
5389 | end | |
5390 | end | |
5391 | end | |
5392 | --[[ OnChatted ]]-- | |
5393 | IsExplorerCmd = function(Cmd) return Cmd:find("dismiss") or Cmd:find("destroy") or Cmd:find("dt") end | |
5394 | OnChatted = function(Msg,Speaker) | |
5395 | if Explorer.On then | |
5396 | for Name,Command in pairs(Commands) do | |
5397 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
5398 | if IsExplorerCmd(Command.Command:lower()) or Command.Command:lower() == "destroy" then | |
5399 | Explorer.On = false | |
5400 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
5401 | if not Ran then | |
5402 | Output(Error,{Colors.Red},LocalPlayer) | |
5403 | end | |
5404 | end | |
5405 | end | |
5406 | end | |
5407 | if GuiChat == true then | |
5408 | if ChatNo == true then | |
5409 | Chat(Msg) | |
5410 | else | |
5411 | Chat2(Msg) | |
5412 | end | |
5413 | else | |
5414 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
5415 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
5416 | end | |
5417 | elseif not Removed then | |
5418 | for Name,Command in pairs(Commands) do | |
5419 | if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then | |
5420 | local Ran,Error = ypcall(Command.Func,Msg:sub(#Command.Command+2),Speaker) | |
5421 | if not Ran then | |
5422 | Output(Error,{Colors.Red},LocalPlayer) | |
5423 | end | |
5424 | end | |
5425 | end | |
5426 | if GuiChat == true then | |
5427 | if ChatNo == true then | |
5428 | Chat(Msg) | |
5429 | else | |
5430 | Chat2(Msg) | |
5431 | end | |
5432 | else | |
5433 | local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe | |
5434 | pcall(function() game:GetService("Chat"):Chat(tar,Msg,"Green") end) | |
5435 | end | |
5436 | end | |
5437 | end | |
5438 | local OC = nil | |
5439 | OnChatted2 = function(m,s) | |
5440 | if m == 'fix'..Bet then | |
5441 | OC:disconnect() | |
5442 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
5443 | end | |
5444 | end | |
5445 | --[[ GetPlayers ]]-- | |
5446 | function GetPlayers(string,Player) | |
5447 | Rtn = {} if Player == nil then Player = player end | |
5448 | if string == "all" then | |
5449 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
5450 | elseif string == "others" then | |
5451 | for _,v in pairs(Players:GetPlayers()) do if v ~= Localplayer then table.insert(Rtn,v) end end | |
5452 | elseif string == "random" then | |
5453 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
5454 | elseif string == "me" then | |
5455 | table.insert(Rtn,Player) | |
5456 | elseif string == "vetrans" then | |
5457 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
5458 | elseif string == "nonvetrans" or string == "notvetrans" then | |
5459 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
5460 | elseif string == "losers" then | |
5461 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 60 then table.insert(Rtn,v) end end | |
5462 | else | |
5463 | for _,v in pairs(Players:GetPlayers()) do | |
5464 | if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then | |
5465 | table.insert(Rtn,v) | |
5466 | end | |
5467 | end | |
5468 | end | |
5469 | return Rtn | |
5470 | end | |
5471 | --[[ Start ]]-- | |
5472 | Start = function() | |
5473 | coroutine.resume(coroutine.create(function() | |
5474 | while wait(1) do | |
5475 | if not Removed and AntiFall then | |
5476 | pcall(function() | |
5477 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
5478 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
5479 | end | |
5480 | end) | |
5481 | end | |
5482 | end | |
5483 | end)) | |
5484 | coroutine.resume(coroutine.create(function() | |
5485 | while wait(0.1) do | |
5486 | UpdateTablets() | |
5487 | UpdateTablets2() | |
5488 | end | |
5489 | end)) | |
5490 | OC=LocalPlayer.Chatted:connect(OnChatted) | |
5491 | LocalPlayer.Chatted:connect(OnChatted2) | |
5492 | end | |
5493 | Start() | |
5494 | --[[ Split Function ]]-- | |
5495 | function Split(str) | |
5496 | local res = {} | |
5497 | for s in string.gmatch(str,"[^;]+") do | |
5498 | table.insert(res,s) | |
5499 | end | |
5500 | return res | |
5501 | end | |
5502 | --[[ AddCommand ]]-- | |
5503 | function AddCommand(Name,Command,Func) | |
5504 | Commands[Name] = {Command = Command,Func = Func} | |
5505 | end | |
5506 | --[[ Commands ]]-- | |
5507 | AddCommand('Params','parms', | |
5508 | function(Msg,Speaker) | |
5509 | Output("Speaker: "..tostring(Speaker or "nil"), {Colors.Cyan}, LocalPlayer) | |
5510 | for k,v in pairs(Split(Msg)) do | |
5511 | Output("Arg"..k..": "..tostring(v or "nil"), {Colors.Magenta}, LocalPlayer) | |
5512 | end | |
5513 | end | |
5514 | ) | |
5515 | AddCommand('Forcefield','ff', | |
5516 | function(Msg, Speaker) | |
5517 | for k,v in pairs(GetPlayers(Msg,Speaker)) do | |
5518 | Instance.new("ForceField",v) | |
5519 | Output2("FFed",{Colors.Green},LocalPlayer) | |
5520 | end | |
5521 | end | |
5522 | ) | |
5523 | AddCommand("Nil Shout","shout", function(Msg,Speaker) | |
5524 | local tag = Instance.new("StringValue") | |
5525 | tag.Name = "NILSHOUT" | |
5526 | tag.Value = LocalPlayer.Name..": "..Msg | |
5527 | tag.Parent = game.Lighting | |
5528 | wait(1) | |
5529 | tag:Destroy() | |
5530 | end) | |
5531 | AddCommand('Remove Forcefield','unff', | |
5532 | function(Msg, Speaker) | |
5533 | for k,v in pairs(GetPlayers(Msg,Speaker)) do | |
5534 | for k,v in pairs(v.Character:GetChildren()) do | |
5535 | if v:IsA("ForceField") then | |
5536 | v:Destroy() | |
5537 | Output2("UnFFed",{Colors.Green},LocalPlayer) | |
5538 | end | |
5539 | end | |
5540 | end | |
5541 | end | |
5542 | ) | |
5543 | AddCommand('Com'..'mands','cm'..'ds', | |
5544 | function(Msg,Speaker) | |
5545 | rtn = {} | |
5546 | for name,Cmd in pairs(Commands) do | |
5547 | table.insert(rtn, name .. ' : ' .. Cmd.Command) | |
5548 | if OutputType then | |
5549 | Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(1,1,0)},LocalPlayer) | |
5550 | end | |
5551 | end | |
5552 | if not OutputType then ping(rtn,Colors.Green) end | |
5553 | end | |
5554 | ) | |
5555 | AddCommand('Reset Character','char', | |
5556 | function(Msg,Speaker) | |
5557 | LoadCharacter(CFrame.new(0,20,0)) | |
5558 | Wait(1) | |
5559 | OnChatted('Get/Reset',Speaker) | |
5560 | Output2('Got Your Reset,Lord',{Colors.Red},LocalPlayer) | |
5561 | end | |
5562 | ) | |
5563 | AddCommand("Activates Your Probe","probe", | |
5564 | function(Msg,Speaker) | |
5565 | if msg == 0 or msg == nil then | |
5566 | if LocalPlayer.Character then | |
5567 | LocalPlayer.Character:Destroy() | |
5568 | end | |
5569 | LoadProbe() | |
5570 | wait(1) | |
5571 | Output("You're now probed!",{Colors.Red},LocalPlayer) | |
5572 | Output("Probe is nil",{Colors.Red},LocalPlayer) | |
5573 | Output("Running Check Player Scripts",{Colors.Red},LocalPlayer) | |
5574 | Output("Probe Loaded",{Colors.Red},LocalPlayer) | |
5575 | end | |
5576 | end | |
5577 | ) | |
5578 | AddCommand("Small Base","sbase", | |
5579 | function(Msg,Speaker) | |
5580 | local Base = Workspace:FindFirstChild("Base") | |
5581 | Base.Size = Vector3.new(50,1,50) | |
5582 | Base.CFrame = CFrame.new(0,0,0) | |
5583 | Output2("Made base smaller",{Colors.Green},LocalPlayer) | |
5584 | end | |
5585 | ) | |
5586 | AddCommand("Change base size","bvec", | |
5587 | function(Msg,Speaker) | |
5588 | local Base = Workspace:FindFirstChild("Base") | |
5589 | Base.Size = Vector3.new(tonumber(Msg),1,tonumber(Msg)) | |
5590 | Base.CFrame = CFrame.new(0,0,0) | |
5591 | Output2("Changed base ",{Colors.Green},LocalPlayer) | |
5592 | end | |
5593 | ) | |
5594 | AddCommand("Change base Position","bcfr", | |
5595 | function(Msg,Speaker) | |
5596 | local Base = Workspace:FindFirstChild("Base") | |
5597 | Base.Size = Vector3.new(50,1,50) | |
5598 | Base.CFrame = CFrame.new(tonumber(Msg),1,tonumber(Msg)) | |
5599 | Output2("Changed base ",{Colors.Green},LocalPlayer) | |
5600 | end | |
5601 | ) | |
5602 | AddCommand("Freeze","freeze", | |
5603 | function(Msg,Speaker) | |
5604 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
5605 | v.Character.Torso.Anchored = true | |
5606 | Output2("Froze "..v.Name.."",{Colors.Green},LocalPlayer) | |
5607 | end | |
5608 | end | |
5609 | ) | |
5610 | AddCommand("Thaw","thaw", | |
5611 | function(Msg,Speaker) | |
5612 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
5613 | if v.Character and v:findFirstChild("Torso") then | |
5614 | v.Character.Torso.Anchored = false | |
5615 | Output2("Thawed "..v.Name.."",{Colors.Green},LocalPlayer) | |
5616 | end | |
5617 | end | |
5618 | end | |
5619 | ) | |
5620 | ||
5621 | AddCommand('Loadstring','load', | |
5622 | function(Msg,Speaker) | |
5623 | local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end)) | |
5624 | if not Ran then | |
5625 | Output('Error',{Colors.Red},LocalPlayer) | |
5626 | else | |
5627 | Output('Script ran',{Colors.Green},LocalPlayer) | |
5628 | end | |
5629 | end | |
5630 | ) | |
5631 | AddCommand('Make a player have a seizure','seizure', | |
5632 | function(Msg,Speaker) | |
5633 | local plrz = GetPlayers(Msg,Speaker) | |
5634 | for i, v in pairs(plrz) do | |
5635 | repeat wait() | |
5636 | g = v.Character | |
5637 | g.Humanoid.PlatformStand = true | |
5638 | g.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) | |
5639 | g.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil | |
5640 | --end | |
5641 | --end) | |
5642 | end | |
5643 | end | |
5644 | ) | |
5645 | AddCommand('Remove Legs','nolegs', | |
5646 | function(Msg,Speaker) | |
5647 | local a = GetPlayers(Msg,Speaker) | |
5648 | for i,v in pairs(a) do | |
5649 | for i,j in pairs(v.Character:GetChildren()) do | |
5650 | if j.Name == "Left Leg" or j.Name == "Right Leg" then | |
5651 | j:remove() | |
5652 | end end end | |
5653 | Output("Removed player's legs",{Colors.Green},LocalPlayer) | |
5654 | end | |
5655 | ) | |
5656 | AddCommand('Remove Hats','nohats', | |
5657 | function(Msg,Speaker) | |
5658 | local a = GetPlayers(Msg,Speaker) | |
5659 | for i,v in pairs(a) do | |
5660 | for i,j in pairs(v.Character:GetChildren()) do | |
5661 | if j.ClassName == "Hat" then | |
5662 | j:remove() | |
5663 | end end end | |
5664 | Output("Removed player's hats",{Colors.Green},LocalPlayer) | |
5665 | end | |
5666 | ) | |
5667 | AddCommand('Remove Face','noface', | |
5668 | function(Msg,Speaker) | |
5669 | local a = GetPlayers(Msg,Speaker) | |
5670 | for i,v in pairs(a) do | |
5671 | for i,j in pairs(v.Character.Head:GetChildren()) do | |
5672 | if j.ClassName == "Decal" then | |
5673 | j:remove() | |
5674 | end end end | |
5675 | Output("Removed player's face",{Colors.Green},LocalPlayer) | |
5676 | end | |
5677 | ) | |
5678 | AddCommand('Remove Arms','noarms', | |
5679 | function(Msg,Speaker) | |
5680 | local a = GetPlayers(Msg,Speaker) | |
5681 | for i,v in pairs(a) do | |
5682 | for i,j in pairs(v.Character:GetChildren()) do | |
5683 | if j.Name == "Left Arm" or j.Name == "Right Arm" then | |
5684 | j:remove() | |
5685 | end end end | |
5686 | Output("Removed player's arms",{Colors.Green},LocalPlayer) | |
5687 | end | |
5688 | ) | |
5689 | ||
5690 | AddCommand('Change Ambient','ambient', | |
5691 | function(Msg,Speaker) | |
5692 | game:GetService("Lighting").Ambient = Color3.new(tonumber(word)) | |
5693 | Output2("Changed ambient",{Colors.Green},LocalPlayer) | |
5694 | end | |
5695 | ) | |
5696 | AddCommand('Remove Cloths','noclothes', | |
5697 | function(Msg,Speaker) | |
5698 | local a = GetPlayers(Msg,Speaker) | |
5699 | for i,v in pairs(a) do | |
5700 | for i,j in pairs(v.Character:GetChildren()) do | |
5701 | if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then | |
5702 | j:remove() | |
5703 | end end end | |
5704 | Output("Removed player's clothes",{Colors.Green},LocalPlayer) | |
5705 | end | |
5706 | ) | |
5707 | AddCommand('Reset Lighting','rl', | |
5708 | function(Msg,Speaker) | |
5709 | for i,v in pairs(game:GetService("Lighting"):GetChildren()) do | |
5710 | v:remove() | |
5711 | end | |
5712 | local light = game:GetService("Lighting") | |
5713 | light.TimeOfDay = "14:00:00" | |
5714 | light.Brightness = 1 | |
5715 | light.ColorShift_Bottom = Color3.new(0, 0, 0) | |
5716 | light.ColorShift_Top = Color3.new(0, 0, 0) | |
5717 | light.ShadowColor = Color3.new(178, 178, 178) | |
5718 | light.Ambient = Color3.new(1, 1, 1) | |
5719 | light.FogStart = 0 | |
5720 | light.FogEnd = 10000000000000 | |
5721 | Output2("Reset lighting",{Colors.Green},LocalPlayer) | |
5722 | end | |
5723 | ) | |
5724 | AddCommand('Day','day', | |
5725 | function(Msg,Speaker) | |
5726 | local light = game:GetService("Lighting") | |
5727 | light.TimeOfDay = "14:00:00" | |
5728 | Output2("Set time to day",{Colors.Green},LocalPlayer) | |
5729 | end | |
5730 | ) | |
5731 | AddCommand('Night','night', | |
5732 | function(Msg,Speaker) | |
5733 | local light = game:GetService("Lighting") | |
5734 | light.TimeOfDay = "24:00:00" | |
5735 | Output2("Set time to night",{Colors.Green},LocalPlayer) | |
5736 | end | |
5737 | ) | |
5738 | AddCommand('UnFire','unfire', | |
5739 | function(Msg,Speaker) | |
5740 | local a = GetPlayers(Msg,Speaker) | |
5741 | for i,v in pairs(a) do | |
5742 | if v.Character then | |
5743 | if v.Character:findFirstChild("Torso") then | |
5744 | if v.Character.Torso.ClassName == "Part" then | |
5745 | for i,f in pairs(v.Character.Torso:GetChildren()) do | |
5746 | if f.ClassName == "Fire" then | |
5747 | f:remove() | |
5748 | Output2("Removed fire from "..v.Name,{Colors.Green},LocalPlayer) | |
5749 | end end end end end end end | |
5750 | ) | |
5751 | AddCommand('ForceField','ff', | |
5752 | function(Msg,Speaker) | |
5753 | local a = GetPlayers(Msg,Speaker) | |
5754 | for i,v in pairs(a) do | |
5755 | if v.Character then | |
5756 | Instance.new("ForceField", v.Character).Name = "nilforcefield" | |
5757 | Output3("Gave forcefield to "..v.Name,{Colors.Green},LocalPlayer) | |
5758 | end end end | |
5759 | ) | |
5760 | AddCommand('Remove ForceField','unff', | |
5761 | function(Msg,Speaker) | |
5762 | local a = GetPlayers(Msg,Speaker) | |
5763 | for i,v in pairs(a) do | |
5764 | if v.Character then | |
5765 | for i,f in pairs(v.Character:GetChildren()) do | |
5766 | if f.ClassName == "ForceField" then | |
5767 | f:remove() | |
5768 | Output3("Removed ForceField from "..v.Name,{Colors.Green},LocalPlayer) | |
5769 | end end end end end | |
5770 | ) | |
5771 | AddCommand('Fog on/off','fog', | |
5772 | function(Msg,Speaker) | |
5773 | if string.lower(Msg) == "on" then | |
5774 | game:service("Lighting").FogStart = 0 | |
5775 | game:service("Lighting").FogEnd = 100 | |
5776 | Output2("Fogs on",{Colors.Green},LocalPlayer) | |
5777 | elseif(string.lower(Msg) == "off") then | |
5778 | game:service("Lighting").FogStart = 0 | |
5779 | game:service("Lighting").FogEnd = 999999999999 | |
5780 | Output2("Fogs off",{Colors.Green},LocalPlayer) | |
5781 | end end | |
5782 | ) | |
5783 | AddCommand('Fly (PRESS E TO TOGGLE ON/OFF)','fly', | |
5784 | function(Msg,Speaker) | |
5785 | v = LocalPlayer | |
5786 | FlyScript = [[ | |
5787 | repeat | |
5788 | wait() | |
5789 | until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") | |
5790 | local mouse = game.Players.LocalPlayer:GetMouse() | |
5791 | repeat | |
5792 | wait() | |
5793 | until mouse ~= nil | |
5794 | local plr = game.Players.LocalPlayer | |
5795 | local torso = plr.Character.Torso | |
5796 | local flying = false | |
5797 | local deb = true | |
5798 | local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
5799 | local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
5800 | local maxspeed = 50 | |
5801 | local speed = 0 | |
5802 | function Fly() | |
5803 | local bg = Instance.new("BodyGyro", torso) | |
5804 | bg.P = 9e4 | |
5805 | bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
5806 | bg.cframe = torso.CFrame | |
5807 | local bv = Instance.new("BodyVelocity", torso) | |
5808 | bv.velocity = Vector3.new(0,0,0) | |
5809 | bv.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
5810 | repeat | |
5811 | wait() | |
5812 | plr.Character.Humanoid.PlatformStand = true | |
5813 | if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then | |
5814 | speed = speed+.5+(speed/maxspeed) | |
5815 | if speed > maxspeed then | |
5816 | speed = maxspeed | |
5817 | end | |
5818 | elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then | |
5819 | speed = speed-1 if speed < 0 then | |
5820 | speed = 0 | |
5821 | end | |
5822 | end | |
5823 | if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then | |
5824 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed | |
5825 | lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} | |
5826 | elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then | |
5827 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed else bv.velocity = Vector3.new(0,0,0) end bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) until not flying ctrl = {f = 0, b = 0, l = 0, r = 0} | |
5828 | lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
5829 | speed = 0 | |
5830 | bg:Destroy() | |
5831 | bv:Destroy() plr.Character.Humanoid.PlatformStand = false | |
5832 | end | |
5833 | mouse.KeyDown:connect(function(key) if key:lower() == "e" then | |
5834 | if flying then flying = false else flying = true Fly() end elseif key:lower() == "w" then | |
5835 | ctrl.f = 1 | |
5836 | elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1 | |
5837 | elseif key:lower() == "d" then ctrl.r = 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then ctrl.f = 0 elseif key:lower() == "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0 | |
5838 | elseif key:lower() == "d" then ctrl.r = 0 end end)]] | |
5839 | coroutine.resume(coroutine.create(function()loadstring(FlyScript)() end)) | |
5840 | end | |
5841 | ) | |
5842 | ||
5843 | AddCommand('Flying NoClip','flynoclip', | |
5844 | function(Msg,Speaker) | |
5845 | --local plrz = GetPlr(plr, msg:lower():sub(8)) | |
5846 | --for i, v in pairs(plrz) do | |
5847 | v = LocalPlayer | |
5848 | --coroutine.resume(coroutine.create(function() | |
5849 | --if v and v:findFirstChild("PlayerGui") then | |
5850 | --local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value | |
5851 | NoClip = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]] | |
5852 | --cl.Parent = v.PlayerGui cl.Disabled = false | |
5853 | coroutine.resume(coroutine.create(function()loadstring(NoClip)() end)) | |
5854 | end | |
5855 | --end)) | |
5856 | --end | |
5857 | --end | |
5858 | )--]] | |
5859 | AddCommand('Ni'..'lCr'..'ash','ni'..'lcr'..'ash', | |
5860 | function(Msg,Speaker) | |
5861 | Output2("Cra".."shing (Nil) Player", "Institutional white",{Colors.Blue},LocalPlayer) | |
5862 | local tc=Instance.new("StringValue",light) | |
5863 | tc.Name="CR4SH" | |
5864 | tc.Value=tostring(Msg:sub(7):lower()) | |
5865 | wait(1) | |
5866 | if tc and tc.Parent then | |
5867 | tc:Destroy() | |
5868 | wait() | |
5869 | Output3("Cra".."sh Successfull!",{Colors.Green},LocalPlayer) | |
5870 | end | |
5871 | end | |
5872 | ) | |
5873 | function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f) | |
5874 | local funcw = Instance.new("Weld") | |
5875 | funcw.Name = zName | |
5876 | funcw.Parent = zParent | |
5877 | funcw.Part0 = zPart0 | |
5878 | funcw.Part1 = zPart1 | |
5879 | if (zCoco == true) then | |
5880 | funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
5881 | else | |
5882 | funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f) | |
5883 | end | |
5884 | return funcw | |
5885 | end | |
5886 | AddCommand('Boo'..'bs','bb', | |
5887 | function(Msg,Speaker) | |
5888 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
5889 | person=v.Name | |
5890 | --v.Character.Head.face.Texture = nkdfc | |
5891 | --Weld = Instance.new('Weld') | |
5892 | --game.Players[v.Name].Character.Head.face.Texture = nkdfc | |
5893 | size = 3 | |
5894 | ||
5895 | t2 = game.Players[person].Character.Torso | |
5896 | pcall(function() game.Players[person].Character.Torso["Be".."wbs"]:Remove() end) | |
5897 | ||
5898 | mdl = Instance.new("Model",t2) | |
5899 | ||
5900 | mdl.Name = ("Be".."wbs") | |
5901 | ||
5902 | local bl = Instance.new("Part") | |
5903 | ||
5904 | bl.TopSurface = 0 | |
5905 | ||
5906 | bl.BottomSurface = 0 | |
5907 | ||
5908 | bl.CanCollide = false | |
5909 | ||
5910 | bl.BrickColor = BrickColor.new("Pastel brown") | |
5911 | ||
5912 | bl.Shape = "Ball" | |
5913 | ||
5914 | bl.Parent = mdl | |
5915 | ||
5916 | bl.Size = Vector3.new(1,1,1) | |
5917 | ||
5918 | local dm = Instance.new("SpecialMesh") | |
5919 | ||
5920 | dm.MeshType = "Sphere" | |
5921 | ||
5922 | dm.Parent = bl | |
5923 | ||
5924 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
5925 | ||
5926 | fgeld("weld",mdl,t2,bl,true,-0.5,0.5,-0.6,0,0,0) | |
5927 | ||
5928 | local br = Instance.new("Part") | |
5929 | ||
5930 | br.TopSurface = 0 | |
5931 | ||
5932 | br.BottomSurface = 0 | |
5933 | ||
5934 | br.CanCollide = false | |
5935 | ||
5936 | br.BrickColor = BrickColor.new("Pastel brown") | |
5937 | ||
5938 | br.Shape = "Ball" | |
5939 | ||
5940 | br.Parent = mdl | |
5941 | ||
5942 | br.Size = Vector3.new(1,1,1) | |
5943 | ||
5944 | local dm = Instance.new("SpecialMesh") | |
5945 | ||
5946 | dm.MeshType = "Sphere" | |
5947 | ||
5948 | dm.Parent = br | |
5949 | ||
5950 | dm.Scale = Vector3.new(1.2,1.2,1.2) | |
5951 | ||
5952 | fgeld("weld",mdl,t2,br,true,0.5,0.5,-0.6,0,0,0) | |
5953 | ||
5954 | local bln = Instance.new("Part") | |
5955 | ||
5956 | bln.BrickColor = BrickColor.new("Pink") | |
5957 | ||
5958 | bln.TopSurface = 0 | |
5959 | ||
5960 | bln.BottomSurface = 0 | |
5961 | ||
5962 | bln.CanCollide = false | |
5963 | ||
5964 | bln.Shape = "Ball" | |
5965 | ||
5966 | bln.Parent = mdl | |
5967 | ||
5968 | bln.Size = Vector3.new(1,1,1) | |
5969 | ||
5970 | local dm = Instance.new("SpecialMesh") | |
5971 | ||
5972 | dm.MeshType = "Sphere" | |
5973 | ||
5974 | dm.Parent = bln | |
5975 | ||
5976 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
5977 | ||
5978 | fgeld("weld",mdl,t2,bln,true,-0.5,0.5,-1.2,0,0,0) | |
5979 | ||
5980 | local brn = Instance.new("Part") | |
5981 | ||
5982 | brn.BrickColor = BrickColor.new("Pink") | |
5983 | ||
5984 | brn.TopSurface = 0 | |
5985 | ||
5986 | brn.BottomSurface = 0 | |
5987 | ||
5988 | brn.CanCollide = false | |
5989 | ||
5990 | brn.Shape = "Ball" | |
5991 | ||
5992 | brn.Parent = mdl | |
5993 | ||
5994 | brn.Size = Vector3.new(1,1,1) | |
5995 | ||
5996 | local dm = Instance.new("SpecialMesh") | |
5997 | ||
5998 | dm.MeshType = "Sphere" | |
5999 | ||
6000 | dm.Parent = brn | |
6001 | ||
6002 | dm.Scale = Vector3.new(0.2,0.2,0.2) | |
6003 | ||
6004 | fgeld("weld",mdl,t2,brn,true,0.5,0.5,-1.2,0,0,0) | |
6005 | ||
6006 | end | |
6007 | ||
6008 | end) | |
6009 | AddCommand("Infinite Health","inf", | |
6010 | function(Msg,Speaker) | |
6011 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6012 | v.Character.Humanoid.MaxHealth = math.huge | |
6013 | Output2("Made"..v.Name.."a god",{Colors.Green},LocalPlayer) | |
6014 | end | |
6015 | end | |
6016 | ) | |
6017 | AddCommand("Nil Player","nil", | |
6018 | function(Msg,Speaker) | |
6019 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6020 | v.Character = nil | |
6021 | Output2("Niled"..v.Name.."",{Colors.Green},LocalPlayer) | |
6022 | end | |
6023 | end | |
6024 | ) | |
6025 | AddCommand('C'..'rash','cr'..'ash', | |
6026 | function(Msg,Speaker) | |
6027 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6028 | local NS = ClonyPooPoo:Clone() | |
6029 | local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName) | |
6030 | if Source == nil then Instance.new('StringValue',NS).Name = SourceName end | |
6031 | Source = NS:findFirstChild(SourceName) | |
6032 | Source.Value = [[ | |
6033 | local LocalPlayer = game:service'Players'.LocalPlayer | |
6034 | LocalPlayer.Parent = nil | |
6035 | wait() | |
6036 | LocalPlayer.Parent = game:service'Players' | |
6037 | ]] | |
6038 | NS.Parent = v:findFirstChild('Backpack') | |
6039 | NS.Disabled = true | |
6040 | wait() | |
6041 | NS.Disabled = false | |
6042 | NS.Disabled = false | |
6043 | Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer) | |
6044 | end | |
6045 | end | |
6046 | ) | |
6047 | AddCommand('Ki'..'ck','k'..'ick', | |
6048 | function(Msg,Speaker) | |
6049 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6050 | table.insert(KL,v.Name) | |
6051 | v:Destroy() | |
6052 | Output2("You have ki".."cked "..v.Name.."",{Colors.Green},LocalPlayer) | |
6053 | end | |
6054 | end | |
6055 | ) | |
6056 | AddCommand('Kill','kill', | |
6057 | function(Msg,Speaker) | |
6058 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6059 | v.Character:BreakJoints() | |
6060 | Output2('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer) | |
6061 | end | |
6062 | end | |
6063 | ) | |
6064 | AddCommand('Remove','disable', | |
6065 | function(Msg,Speaker) | |
6066 | if #Msg == 0 then | |
6067 | Removed = true | |
6068 | Commands = {} | |
6069 | tag = Instance.new("StringValue") | |
6070 | tag.Value = LocalPlayer.Name | |
6071 | tag.Name = "DISABLED" | |
6072 | tag.Parent = game:GetService("Lighting") | |
6073 | end | |
6074 | end | |
6075 | ) | |
6076 | AddCommand('Dismiss','dismiss', | |
6077 | function(Msg,Speaker) | |
6078 | for num,v in pairs(tablets) do v:Remove() end | |
6079 | Radius = 40 | |
6080 | Output2("Dismissed Tablets",{Colors.Green},LocalPlayer) | |
6081 | end | |
6082 | ) | |
6083 | AddCommand('Destroy Tablets','dt', | |
6084 | function(msg,Speaker) | |
6085 | for num,v in pairs(tablets) do v:Destroy() end | |
6086 | end | |
6087 | ) | |
6088 | AddCommand('Explorer','explorer', | |
6089 | function(msg,Speaker) | |
6090 | Radius = 80 | |
6091 | OnChatted("dt"..Bet,Speaker) | |
6092 | local rea,par = nil, game | |
6093 | if msg:lower() == "old" or msg:lower() == "previous" or msg:lower() == "current" then | |
6094 | rea = Explorer.Parent | |
6095 | else | |
6096 | local pars = Split(msg) | |
6097 | if #pars == 1 then | |
6098 | msg = pars[1] | |
6099 | else | |
6100 | msg = pars | |
6101 | end | |
6102 | ypcall(function() | |
6103 | if type(msg) == "table" and #msg == 0 then | |
6104 | rea = game | |
6105 | elseif type(msg) == "string" then | |
6106 | rea = game:findFirstChild(msg) or workspace:findFirstChild(msg) | |
6107 | else | |
6108 | if msg[1]:lower() == "old" or msg[1]:lower() == "previous" or msg[1]:lower() == "current" then | |
6109 | par = Explorer.Parent | |
6110 | rea = par | |
6111 | else | |
6112 | par = game:findFirstChild(msg[1]) or workspace:findFirstChild(msg[1]) | |
6113 | rea = par | |
6114 | end | |
6115 | for i=2,#msg do | |
6116 | par = rea:findFirstChild(msg[i]) | |
6117 | if par then | |
6118 | rea = par | |
6119 | else | |
6120 | break | |
6121 | end | |
6122 | end | |
6123 | end | |
6124 | end) | |
6125 | end | |
6126 | if not rea then | |
6127 | Output("This object is not found!", {Colors.Red}, Localplayer) | |
6128 | return | |
6129 | end | |
6130 | Explorer.On = true | |
6131 | Explorer.Parent = rea | |
6132 | for k,v in pairs(rea:GetChildren()) do | |
6133 | pcall(function() | |
6134 | local tag = Instance.new("ObjectValue",Output(v.Name.." ("..v.ClassName..")", {Colors.Orange},LocalPlayer)) | |
6135 | tag.Name = "Explorer" | |
6136 | tag.Value = v | |
6137 | end) | |
6138 | end | |
6139 | Instance.new("StringValue",Output("Parent",{Colors.White},LocalPlayer)).Name = "Parent" | |
6140 | Instance.new("StringValue",Output("Dismiss",{Colors.Red},LocalPlayer)).Name = "Dismiss" | |
6141 | Output("Exploring "..rea.Name.." ("..rea.ClassName..")",{Colors.Green},LocalPlayer) | |
6142 | if rea:IsA("Player") then | |
6143 | for a,b in pairs({"AccountAge","Character"}) do | |
6144 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
6145 | end | |
6146 | elseif rea:IsA("Lighting") then | |
6147 | for a,b in pairs({"Brightness","Ambient","FogStart","FogEnd"}) do | |
6148 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
6149 | end | |
6150 | elseif rea:IsA("DataModel") then | |
6151 | for a,b in pairs({"CreatorId","CreatorType","JobId","PlaceId"}) do | |
6152 | Output(b..": "..tostring(rea[b]),{Colors.Magenta},LocalPlayer) | |
6153 | end | |
6154 | end | |
6155 | end | |
6156 | ) | |
6157 | AddCommand('Destroy','destroy', | |
6158 | function(msg,Speaker) | |
6159 | if msg == "" or msg == "old" or msg == "previous" or msg == "current" then | |
6160 | Output("Trying to destroy object currently in exporer",{Colors.White},LocalPlayer) | |
6161 | if pcall(function() Explorer.Parent:Destroy() end) then | |
6162 | Output("Object deleted!",{Colors.Red}, LocalPlayer) | |
6163 | else | |
6164 | Output("This can't be deleted!",{Colors.Red}, LocalPlayer) | |
6165 | end | |
6166 | return | |
6167 | end | |
6168 | local rea,par = nil, game | |
6169 | ypcall(function() | |
6170 | if #msg == 0 then | |
6171 | rea = game | |
6172 | elseif type(msg) == "string" then | |
6173 | rea = game:findFirstChild(msg) or workspace:findFirstChild(msg) | |
6174 | elseif #msg >= 2 then | |
6175 | par = game:findFirstChild(msg[1]) or workspace:findFirstChild(msg[1]) | |
6176 | for i=2,#msg do | |
6177 | par = rea:findFirstChild(msg[i]) | |
6178 | if par then | |
6179 | rea = par | |
6180 | else | |
6181 | break | |
6182 | end | |
6183 | end | |
6184 | end | |
6185 | end) | |
6186 | if not rea then | |
6187 | Output("This object is not found!", {Colors.Red}, LocalPlayer) | |
6188 | return | |
6189 | end | |
6190 | if pcall(function() rea:Destroy() end) then | |
6191 | Output("Object deleted!",{Colors.Red}, LocalPlayer) | |
6192 | else | |
6193 | Output("This can't be deleted!",{Colors.Red}, LocalPlayer) | |
6194 | end | |
6195 | end | |
6196 | ) | |
6197 | AddCommand('Ping','ping', | |
6198 | function(Msg,Speaker) | |
6199 | rtn = {} | |
6200 | fty = {} | |
6201 | if #Msg == 0 then | |
6202 | table.insert(rtn,'Pinging Server For Hidden No-No Models!') | |
6203 | elseif Msg:sub(1,2) == 'a;' then table.insert(rtn,tostring(loadstring("return " .. Msg:sub(3))())) | |
6204 | elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end | |
6205 | elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end | |
6206 | elseif Msg == 'Hello' then | |
6207 | Output('Hello Your Tablet Interface is Operational',{Colors.Orange},LocalPlayer) | |
6208 | elseif Msg == 'AFK' then | |
6209 | Output('This God Is AFK Dont Talk To Him Or You May Be Banned',{Colors.Red},LocalPlayer) | |
6210 | elseif Msg == 'Rules' then | |
6211 | Output('These Are The Rules',{Colors.Orange},LocalPlayer) | |
6212 | Output('No Camballs',{Colors.Red},LocalPlayer) | |
6213 | Output('No Orbs',{Colors.Red},LocalPlayer) | |
6214 | Output('No Adm'..'in',{Colors.Red},LocalPlayer) | |
6215 | Output('Dont Be Rude',{Colors.Red},LocalPlayer) | |
6216 | Output('No Killing Gods',{Colors.Red},LocalPlayer) | |
6217 | Output('No Arguments',{Colors.Red},LocalPlayer) | |
6218 | Output('Dont Beg For Anything',{Colors.Red},LocalPlayer) | |
6219 | Output('Dont Be A Noob',{Colors.Red},LocalPlayer) | |
6220 | Output('Dont Provoke Me',{Colors.Red},LocalPlayer) | |
6221 | Output('Dont Ask For Ad'..'min',{Colors.Red},LocalPlayer) | |
6222 | Output('Dont Script Unless Told To',{Colors.Red},LocalPlayer) | |
6223 | Output('Dont Find Loopholes In The Rules',{Colors.Red},LocalPlayer) | |
6224 | Output('Dont Use Innapropriate Scripts',{Colors.Red},LocalPlayer) | |
6225 | Output('Dont Try To Cross Me',{Colors.Red},LocalPlayer) | |
6226 | Output('Dont Use Any Camspheres',{Colors.Red},LocalPlayer) | |
6227 | Output('Dont use Forum Scripts',{Colors.Red},LocalPlayer) | |
6228 | Output('Never Shut'..'down The Server',{Colors.Red},LocalPlayer) | |
6229 | elseif Msg == 'Version' then | |
6230 | Output('The Version is '..Version..' In case You Wanted to Know ',{Colors.Green},LocalPlayer) | |
6231 | elseif Msg == 'version' then | |
6232 | Output2('The Version is '..Version..' In case You Wanted to Know ',{Colors.Green},LocalPlayer) | |
6233 | elseif Msg == 'load' then | |
6234 | Output2("Navi Comm Loading",{Colors.Green},Speaker) | |
6235 | Wait(3) | |
6236 | Output3("Please Choose A Program By Saying Ping,Then the program name",{Colors.Yellow},Localplayer) | |
6237 | Output3("Players Online This Game,Players",{Colors.Cyan},Localplayer) | |
6238 | Output3("Banned Players,Banned",{Colors.Cyan},Localplayer) | |
6239 | Output3("Kicking Phrases,Kp",{Colors.Cyan},Localplayer) | |
6240 | Output3("Allowed Players,Allowed",{Colors.Cyan},Localplayer) | |
6241 | Output3("AFK Mode,AFK",{Colors.Cyan},Localplayer) | |
6242 | Output3("Interface Test,Hello",{Colors.Cyan},Localplayer) | |
6243 | Output3("Show Rules,Rules",{Colors.Cyan},Localplayer) | |
6244 | Output3("shows the ping version information,Version",{Colors.Cyan},Localplayer) | |
6245 | Output3("shows the ping2 version information,version",{Colors.Cyan},Localplayer) | |
6246 | Output3("load the System over,load",{Colors.Cyan},Localplayer) | |
6247 | Output3("Information,Info",{Colors.Cyan},Localplayer) | |
6248 | Output3("Show Log,bl",{Colors.Cyan},Localplayer) | |
6249 | Output3("Show Log,kl",{Colors.Cyan},Localplayer) | |
6250 | Output3("Show Name,sn",{Colors.Cyan},Localplayer) | |
6251 | Output3("Show atmp log,atmp",{Colors.Cyan},Localplayer) | |
6252 | Output3("Shows Notes,nts",{Colors.Cyan},Localplayer) | |
6253 | Output3("Show plog,plog",{Colors.Cyan},Localplayer) | |
6254 | Output3("KFC,kfc",{Colors.Cyan},Localplayer) | |
6255 | Output3("Dismiss,Dismiss",{Colors.Cyan},Localplayer) | |
6256 | elseif Msg == 'kfc' then for _,v in pairs(KFC) do table.insert(rtn,v) end | |
6257 | Output3("Showing ki".."cked for chatting players",{Colors.Yellow},Localplayer) | |
6258 | elseif Msg == 'plog' then for _,v in pairs(PLOG) do table.insert(rtn,v) end | |
6259 | elseif Msg == 'nts' then for _,v in pairs(NTS) do table.insert(rtn,v) end | |
6260 | Output3("Showing Notes",{Colors.Yellow},Localplayer) | |
6261 | elseif Msg == 'Kp' then for _,v in pairs(KickingPhrases) do table.insert(rtn,v) end | |
6262 | Output3("Showing ki".."ck Log",{Colors.Yellow},Localplayer) | |
6263 | elseif Msg == 'bl' then for _,v in pairs(BL) do table.insert(rtn,v) end | |
6264 | Output3("Showing Ba".."n Log",{Colors.Yellow},Localplayer) | |
6265 | elseif Msg == 'atmp' then for _,v in pairs(atmp) do table.insert(rtn,v) end | |
6266 | Output3("Showing Attempted Rejoins",{Colors.Yellow},Localplayer) | |
6267 | elseif Msg == 'plog' then for _,v in pairs(PLOG) do table.insert(rtn,v) end | |
6268 | Output3('Showing Player Log',{Colors.Black},Localplayer) | |
6269 | elseif Msg == 'sn' then | |
6270 | Output3("Script Name Is : "..Name.." By 99zay99",{Colors.Black},Localplayer) | |
6271 | Output3("This will not be given out",{Colors.Black},Localplayer) | |
6272 | Output("Script Name Is : "..Name.." By 99zay99",{Colors.Black},Localplayer) | |
6273 | elseif Msg == 'USA' then Output("Local Names Are:",{Colors.Yellow},Localplayer) | |
6274 | Output3("Dark",{Colors.Cyan},Localplayer) | |
6275 | Output3("Anom",{Colors.Cyan},Localplayer) | |
6276 | Output3("Mod",{Colors.Cyan},Localplayer) | |
6277 | Output3("Rob",{Colors.Cyan},Localplayer) | |
6278 | Output3("Shed",{Colors.Cyan},Localplayer) | |
6279 | Output3("Noob",{Colors.Cyan},Localplayer) | |
6280 | Output3("Unk",{Colors.Cyan},Localplayer) | |
6281 | elseif Msg == 'KB' then | |
6282 | Output("Keys Are:",{Colors.Yellow},Localplayer) | |
6283 | Output3("t",{Colors.Cyan},Localplayer) | |
6284 | Output3("j",{Colors.Cyan},Localplayer) | |
6285 | Output3("n",{Colors.Cyan},Localplayer) | |
6286 | Output3("u",{Colors.Cyan},Localplayer) | |
6287 | Output3("e",{Colors.Cyan},Localplayer) | |
6288 | Output3("k",{Colors.Cyan},Localplayer) | |
6289 | Output3("c",{Colors.Cyan},Localplayer) | |
6290 | Output3("v",{Colors.Cyan},Localplayer) | |
6291 | Output3("b",{Colors.Cyan},Localplayer) | |
6292 | Output3("m",{Colors.Cyan},Localplayer) | |
6293 | Output3("r",{Colors.Cyan},Localplayer) | |
6294 | Output3(";",{Colors.Cyan},Localplayer) | |
6295 | Output3("]",{Colors.Cyan},Localplayer) | |
6296 | Output3("f",{Colors.Cyan},Localplayer) | |
6297 | Output3("p",{Colors.Cyan},Localplayer) | |
6298 | elseif Msg == 'kl' then for _,v in pairs(KL) do | |
6299 | table.insert(rtn,v) end | |
6300 | elseif Msg == 'Info' then | |
6301 | Output("This Program Was Made To Be used In Script Builder",{Colors.Cyan},Localplayer) | |
6302 | Output("This Was Created by 99zay99",{Colors.Red},Localplayer) | |
6303 | Output("The Version Can be seen by saying ping;version or ping;Version",{Colors.Magenta},Localplayer) | |
6304 | Output("This is not a program to be abused",{Colors.Blue},Localplayer) | |
6305 | Output("This will not be given out",{Colors.Yellow},Localplayer) | |
6306 | Output("This Program took 4 months to complete",{Colors.Black},Localplayer) | |
6307 | Output("#=-_99zay99_-=#",{Colors.Grey},Localplayer) | |
6308 | elseif Msg == 'players' then | |
6309 | for _,ply in pairs(game.Players:GetPlayers()) do | |
6310 | table.insert(rtn,ply.Name) | |
6311 | end | |
6312 | else | |
6313 | table.insert(rtn,Msg) | |
6314 | end | |
6315 | for _,m in pairs(rtn) do | |
6316 | Output3(m,{Color3.new(1,1,1)},LocalPlayer) | |
6317 | end | |
6318 | end | |
6319 | ) | |
6320 | AddCommand('Unlocks Hidden Functions','unlock', | |
6321 | function(Msg,Speaker) | |
6322 | if Msg == 'CloonyPoo' then | |
6323 | Output2('Correct Passcode..Loading Interface...',{Colors.Green},Localplayer) | |
6324 | Output3('Still Being Scripted!',{Colors.Yellow},Localplayer) | |
6325 | else | |
6326 | Output2('Incorrect!',{Colors.Red},Localplayer) | |
6327 | end | |
6328 | end | |
6329 | ) | |
6330 | AddCommand('Ba'..'nish','b'..'an', | |
6331 | function(Msg,Speaker) | |
6332 | for a,b in pairs(GetPlayers(Msg,Speaker)) do | |
6333 | table.insert(banlist,b.Name) | |
6334 | table.insert(BL,b.Name) | |
6335 | OnChatted('crash'..Bet..b.Name,Speaker) | |
6336 | end | |
6337 | end | |
6338 | ) | |
6339 | AddCommand('Note To Self','nts', | |
6340 | function(Msg,Speaker) | |
6341 | table.insert(NTS,Msg) | |
6342 | end | |
6343 | ) | |
6344 | AddCommand('Ad'..'min','adm'..'in', | |
6345 | function(Msg,Speaker) | |
6346 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
6347 | script.Parent = Player.Backpack | |
6348 | end | |
6349 | end | |
6350 | ) | |
6351 | AddCommand("Jail","jail", | |
6352 | function(Msg,Speaker) | |
6353 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6354 | pcall(function() | |
6355 | coroutine.resume(coroutine.create(function() | |
6356 | local MainCF = v.Character.Torso.CFrame | |
6357 | local Main = Instance.new("Model",workspace) | |
6358 | Main.Name = "Main" | |
6359 | table.insert(jai,{Jail = Main, Player = v,Speaker = Speaker}) | |
6360 | for Pitch = 1, 360, 360 do | |
6361 | for Yaw = 1, 360, 360/13 do | |
6362 | for Angle = 1,180, 8 do | |
6363 | local Part = Instance.new("Part",Main) | |
6364 | Part.Name = "Part" | |
6365 | Part.FormFactor = "Custom" | |
6366 | Part.TopSurface = "Smooth" | |
6367 | Part.BottomSurface = "Smooth" | |
6368 | Part.Reflectance = 0 | |
6369 | Part.Transparency = 0 | |
6370 | Part.Anchored = true | |
6371 | Part.Locked = true | |
6372 | Part.CanCollide = true | |
6373 | Part.BrickColor = BrickColor.new("Navy blue") | |
6374 | Part.Size = Vector3.new(2,1,4) | |
6375 | Part.CFrame = MainCF | |
6376 | * CFrame.Angles(math.rad(Pitch),math.rad(Yaw),math.rad(Angle)) | |
6377 | * CFrame.new(0,5,0) | |
6378 | local Mesh = Instance.new("BlockMesh",Part) | |
6379 | Mesh.Scale = Vector3.new(1,1,0.1) | |
6380 | if math.floor(Angle/5) == Angle/5 then | |
6381 | wait() | |
6382 | end | |
6383 | end | |
6384 | end | |
6385 | end | |
6386 | v.Character.Torso.CFrame = MainCF | |
6387 | while Main.Parent ~= nil do | |
6388 | wait() | |
6389 | pcall(function() | |
6390 | if (v.Character.Torso.CFrame.p - MainCF.p).magnitude > 6 then | |
6391 | v.Character.Torso.CFrame = MainCF | |
6392 | end | |
6393 | end) | |
6394 | end | |
6395 | end)) | |
6396 | end) | |
6397 | end | |
6398 | end | |
6399 | ) | |
6400 | ||
6401 | AddCommand("Un Jail","unjail", | |
6402 | function(Msg,Speaker) | |
6403 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6404 | for Num,Jail in pairs(jai) do | |
6405 | if Jail.Player ~= nil and Jail.Player == v then | |
6406 | pcall(function() Jail.Jail:Destroy() end) | |
6407 | table.remove(jai,Num) | |
6408 | end | |
6409 | end | |
6410 | end | |
6411 | end | |
6412 | ) | |
6413 | AddCommand('Teleport','tp', | |
6414 | function(Msg,Speaker) | |
6415 | local Split = Msg:find(Bet) | |
6416 | local From = GetPlayers(Msg:sub(1,Split-1),Speaker) | |
6417 | local To = GetPlayers(Msg:sub(Split+1),Speaker)[1] | |
6418 | local Current = 0 | |
6419 | for i=-180,180,360/#From do | |
6420 | Current = Current + 1 | |
6421 | pcall(function() | |
6422 | if From[Current] ~= To then | |
6423 | From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame | |
6424 | * CFrame.Angles(0,math.rad(i),0) | |
6425 | * CFrame.new(0,0,5 + (#From*1.1)) | |
6426 | end | |
6427 | end) | |
6428 | end | |
6429 | end | |
6430 | ) | |
6431 | AddCommand('Baseplate','base', | |
6432 | function(Msg,Speaker) | |
6433 | pcall(function() workspace.Base:Remove() end) | |
6434 | local Base = Instance.new("Part",game.Workspace) | |
6435 | Base.Name = "Base" | |
6436 | Base.Anchored = true | |
6437 | Base.Locked = true | |
6438 | Base.BrickColor = BrickColor.new("Bright green") | |
6439 | Base.Size = Vector3.new(2048,2,2048) | |
6440 | Base.CFrame = CFrame.new(0,0,0) | |
6441 | Output2("Made a baseplate",{Colors.Green},LocalPlayer) | |
6442 | end | |
6443 | ) | |
6444 | AddCommand('Allow','ap', | |
6445 | function(Msg,Speaker) | |
6446 | for _,p in pairs(GetPlayers(Msg,Speaker)) do | |
6447 | table.insert(allowed,p.Name) | |
6448 | end | |
6449 | end | |
6450 | ) | |
6451 | AddCommand('Get Rid Of','gtfo', | |
6452 | function(Msg,Speaker) | |
6453 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6454 | pcall(function() | |
6455 | GTFO(v) | |
6456 | Output2("It seems as if"..v.Name.."has gotten teh f*ck out",{Colors.Green},LocalPlayer) | |
6457 | end) | |
6458 | end | |
6459 | end | |
6460 | ) | |
6461 | AddCommand('For Noob Camballers','Lolno', | |
6462 | function(Msg,Speaker) | |
6463 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6464 | pcall(function() | |
6465 | crash(v) | |
6466 | Output2("It seems as if"..v.Name.."has gotten teh f*ck out",{Colors.Green},LocalPlayer) | |
6467 | end) | |
6468 | end | |
6469 | end | |
6470 | ) | |
6471 | AddCommand('Clean','clean', | |
6472 | function(Msg,Speaker) | |
6473 | for a,b in pairs(game.Workspace:GetChildren()) do | |
6474 | if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then | |
6475 | pcall(function() b:Destroy() end) | |
6476 | end | |
6477 | end | |
6478 | if game.Workspace:findFirstChild('Base') == nil then | |
6479 | local Base = Instance.new("Part",Game.Workspace) | |
6480 | Base.Name = "Base" | |
6481 | Base.Anchored = true | |
6482 | Base.Locked = true | |
6483 | Base.BrickColor = BrickColor.new("Bright green") | |
6484 | Base.Size = Vector3.new(2048,2,2048) | |
6485 | Base.CFrame = CFrame.new(0,0,0) | |
6486 | end | |
6487 | Output('You have cleaned workspace!',{Colors.Green},LocalPlayer) | |
6488 | end | |
6489 | ) | |
6490 | AddCommand('Spam a text','spam', | |
6491 | function (Msg,Speaker) | |
6492 | for i = 1,100,1 do | |
6493 | Chat(""..Msg.."") | |
6494 | Wait() | |
6495 | end | |
6496 | end | |
6497 | ) | |
6498 | AddCommand('Disable cb'..'a','removecb'..'a', | |
6499 | function(m,s) | |
6500 | local lol=Instance.new("StringValue") | |
6501 | lol.Name="CB".."A Attachment" | |
6502 | lol.Value=[[CB]]..[[A.remove]]..[[=false;]] | |
6503 | lol.Parent = game:GetService("Workspace") | |
6504 | Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer) | |
6505 | end | |
6506 | ) | |
6507 | AddCommand('Override cb'..'a a'..'b','overcb'..'a', | |
6508 | function(m,s) | |
6509 | local lol=Instance.new("StringValue") | |
6510 | lol.Name="CB".."A Attachment" | |
6511 | lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]] | |
6512 | lol.Parent = game:GetService("Workspace") | |
6513 | wait() | |
6514 | lol:Destroy() | |
6515 | Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer) | |
6516 | end | |
6517 | ) | |
6518 | AddCommand('Character name','name', | |
6519 | function(Msg,Speaker) | |
6520 | if #Msg == 0 then | |
6521 | CharacterName = LocalPlayer.Name | |
6522 | else | |
6523 | CharacterName = Msg | |
6524 | end | |
6525 | LoadCharacter(CFrame.new(0,50,0)) | |
6526 | end | |
6527 | ) | |
6528 | AddCommand("Remove Tools","rtools", | |
6529 | function(Msg,Speaker) | |
6530 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6531 | v.Backpack:ClearAllChildren() | |
6532 | Output2("Removed : "..v.Name.."'s Backpack",{Colors.Green},LocalPlayer) | |
6533 | end | |
6534 | end | |
6535 | ) | |
6536 | AddCommand("Remove Backpack","rpack", | |
6537 | function(Msg,Speaker) | |
6538 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6539 | v.Backpack:remove() | |
6540 | Output2("Removed : "..v.Name.."'s Backpack",{Colors.Green},LocalPlayer) | |
6541 | end | |
6542 | end | |
6543 | ) | |
6544 | AddCommand("Base","nbase", | |
6545 | function(Msg,Speaker) | |
6546 | pcall(function() workspace.Base:Remove() end) | |
6547 | local Base = Instance.new("Part",Workspace) | |
6548 | Base.Name = "Base" | |
6549 | Base.Anchored = true | |
6550 | Base.Locked = true | |
6551 | Base.BrickColor = BrickColor.new("Bright green") | |
6552 | Base.Size = Vector3.new(2048,2,2048) | |
6553 | Base.CFrame = CFrame.new(0,0,0) | |
6554 | Output2("Made A New Base",{Colors.Green},LocalPlayer) | |
6555 | end | |
6556 | ) | |
6557 | AddCommand('Loopkill','lk', | |
6558 | function(Msg,Speaker) | |
6559 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
6560 | --Target= p | |
6561 | Num = 0 | |
6562 | Msg = Instance.new('Hint',game.Workspace) | |
6563 | Delay(0,function() | |
6564 | while wait() do | |
6565 | if Target:findFirstChild('LK') ~= nil then | |
6566 | c = Instance.new('ObjectValue') | |
6567 | c.Parent = Target.Character.Humanoid | |
6568 | c.Value = game.Players.NameHere | |
6569 | c.Name = 'creator' | |
6570 | Num = Num + 1 | |
6571 | wait(0.1) | |
6572 | Target.Character.Humanoid.Health = 0 | |
6573 | wait(0.01) | |
6574 | Target.Character.Parent = game.Lighting | |
6575 | wait(0.01) | |
6576 | c:remove() | |
6577 | wait(0.01) | |
6578 | Target.Character.Parent = game.Workspace | |
6579 | Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!' | |
6580 | end | |
6581 | end | |
6582 | end) | |
6583 | Instance.new('StringValue',Target).Name = 'LK' | |
6584 | Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer) | |
6585 | end | |
6586 | end | |
6587 | ) | |
6588 | AddCommand('Un loopkill','unlk', | |
6589 | function(Msg,Speaker) | |
6590 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
6591 | if v:findFirstChild('LK') then | |
6592 | v.LK:Destroy() | |
6593 | Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer) | |
6594 | else | |
6595 | Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer) | |
6596 | end | |
6597 | end | |
6598 | end | |
6599 | ) | |
6600 | game:service'Players'.ChildAdded:connect( | |
6601 | function(p) | |
6602 | if p:IsA("Player") then | |
6603 | table.insert(PLOG,player.Name) | |
6604 | if not Removed then | |
6605 | p:WaitForDataReady() | |
6606 | for _,n in pairs(banlist) do | |
6607 | if p.Name:lower():sub(1,#n) == n:lower() then | |
6608 | p:Destroy() | |
6609 | end | |
6610 | end | |
6611 | end | |
6612 | end | |
6613 | end | |
6614 | ) | |
6615 | --Output('Hello ' .. LocalPlayer.Name,{Colors.Red},LocalPlayer) | |
6616 | --Output('Your Tablets Have Loaded Successfully',{Colors.Orange},LocalPlayer) | |
6617 | --Output('The Key Is ' .. Bet,{Colors.Blue},LocalPlayer) | |
6618 | --Output('Enjoy The Tablets',{Colors.Yellow},LocalPLayer) | |
6619 | Output('Anomaly Ad'..'ministration Tablets Loaded',{Colors.Black},LocalPLayer) | |
6620 | Output('Advanced CMDS loaded Successfully',{Colors.Black},LocalPLayer) | |
6621 | Output('Initiated Advanced Protocols',{Colors.Black},LocalPLayer) | |
6622 | Output('Strings Loaded-No Errors',{Colors.Black},LocalPLayer) | |
6623 | Output('Welcome',{Colors.Black},LocalPLayer) | |
6624 | Output('Interface Compatibility Is Set To True',{Colors.Black},LocalPLayer) | |
6625 | Output('Kp Is On',{Colors.Black},LocalPLayer) | |
6626 | Output('All Script Lines Clean',{Colors.Black},LocalPLayer) | |
6627 | Output2('Version:'..Version..' ',{Colors.Black},LocalPlayer) | |
6628 | if game.PlaceId == 113456 then | |
6629 | SourceName = 'Source' | |
6630 | AddCommand('Newlocal','nl', | |
6631 | function(Msg,Speaker) | |
6632 | local g = Msg:find(Bet) | |
6633 | for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do | |
6634 | newLocalScript(Msg:sub(g+1),b.Backpack) | |
6635 | Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer) | |
6636 | end | |
6637 | end | |
6638 | ) | |
6639 | AddCommand('Newscript','ns', | |
6640 | function(Msg,Speaker) | |
6641 | local g = Msg:find(Bet) | |
6642 | Sour = Msg:sub(g+1) | |
6643 | Pla = Msg:sub(1,g-1) | |
6644 | for _,b in pairs(GetPlayers(Pla,Speaker)) do | |
6645 | newScript(Sour,Pla.Character) | |
6646 | end | |
6647 | end | |
6648 | ) | |
6649 | AddCommand('Script','s', | |
6650 | function(Msg,Speaker) | |
6651 | newScript(Msg,game.Workspace) | |
6652 | end | |
6653 | ) | |
6654 | AddCommand('Local','l', | |
6655 | function(Msg,Speaker) | |
6656 | newLocalScript(Msg,Speaker:findFirstChild('Backpack')) | |
6657 | end | |
6658 | ) | |
6659 | end | |
6660 | Delay(0,function() | |
6661 | while wait() do | |
6662 | for _,p in pairs(game.Players:GetPlayers()) do | |
6663 | for _,n in pairs(banlist) do | |
6664 | if p.Name:lower():sub(1,#n) == n:lower() then | |
6665 | table.insert(atmp,p.Name) | |
6666 | p:Destroy() | |
6667 | Output2('A Banned Player Is Attempting To Join : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer) | |
6668 | end | |
6669 | end | |
6670 | p.Chatted:connect(function(Msg) | |
6671 | for _,s in pairs(KickingPhrases) do | |
6672 | fund = false | |
6673 | if Msg:find(s) and fund == false and check(p) == false then | |
6674 | fund = true | |
6675 | table.insert(KFC,p.Name) | |
6676 | p:Destroy() | |
6677 | Output2(p.Name .. ' has been removed for chatting ' .. s,{Colors.Black},LocalPlayer) | |
6678 | end | |
6679 | end | |
6680 | end) | |
6681 | end | |
6682 | end | |
6683 | end) | |
6684 | AddCommand("Give your self a Podium","podium", | |
6685 | function(Msg,Speaker) | |
6686 | local MainColor = Color3.new(0,0,0) | |
6687 | local SeccondaryColor = Color3.new(0.69,0.13,0.13) | |
6688 | local Main = Instance.new("Model",workspace) Main.Name = "Podium" | |
6689 | local MainCFrame = LocalPlayer.Character.Torso.CFrame | |
6690 | * CFrame.new(0,-4,0) | |
6691 | + LocalPlayer.Character.Torso.CFrame.lookVector*3 | |
6692 | local SeccondaryCFrame = LocalPlayer.Character.Torso.CFrame | |
6693 | * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 ) | |
6694 | + LocalPlayer.Character.Torso.CFrame.lookVector*3 | |
6695 | if CFrame == nil then return end | |
6696 | coroutine.resume(coroutine.create(function() | |
6697 | ||
6698 | for i=1,25 do | |
6699 | wait() | |
6700 | local Step = Instance.new("Part",Main) | |
6701 | Step.FormFactor = "Custom" | |
6702 | Step.Name = "Step" | |
6703 | Step.Anchored = true | |
6704 | Step.Locked = true | |
6705 | Step.Reflectance = 0 | |
6706 | Step.TopSurface = "Smooth" | |
6707 | Step.BottomSurface = "Smooth" | |
6708 | Step.BrickColor = BrickColor.new(SeccondaryColor) | |
6709 | Step.Size = Vector3.new(6,1,3) | |
6710 | Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2)) | |
6711 | Instance.new("BlockMesh",Step) | |
6712 | ||
6713 | local Carpet = Instance.new("Part",Main) | |
6714 | Carpet.FormFactor = "Custom" | |
6715 | Carpet.Name = "Carpet" | |
6716 | Carpet.Anchored = true | |
6717 | Carpet.Locked = true | |
6718 | Carpet.Reflectance = 0 | |
6719 | Carpet.TopSurface = "Smooth" | |
6720 | Carpet.BottomSurface = "Smooth" | |
6721 | Carpet.BrickColor = BrickColor.new(MainColor) | |
6722 | Carpet.Size = Vector3.new(4,1,3.2) | |
6723 | Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2)) | |
6724 | Instance.new("BlockMesh",Carpet) | |
6725 | end | |
6726 | local MainCirc = Instance.new("Part",Main) | |
6727 | MainCirc.FormFactor = "Custom" | |
6728 | MainCirc.Name = "MainCirc" | |
6729 | MainCirc.Anchored = true | |
6730 | MainCirc.Locked = true | |
6731 | MainCirc.Reflectance = 0 | |
6732 | MainCirc.TopSurface = "Smooth" | |
6733 | MainCirc.BottomSurface = "Smooth" | |
6734 | MainCirc.BrickColor = BrickColor.new(SeccondaryColor) | |
6735 | MainCirc.Size = Vector3.new(20,1,20) | |
6736 | MainCirc.CFrame = SeccondaryCFrame | |
6737 | Instance.new("CylinderMesh",MainCirc) | |
6738 | ||
6739 | local SeccondaryCirc = Instance.new("Part",Main) | |
6740 | SeccondaryCirc.FormFactor = "Custom" | |
6741 | SeccondaryCirc.Name = "SeccondaryCirc" | |
6742 | SeccondaryCirc.Anchored = true | |
6743 | SeccondaryCirc.Locked = true | |
6744 | SeccondaryCirc.Reflectance = 0 | |
6745 | SeccondaryCirc.TopSurface = "Smooth" | |
6746 | SeccondaryCirc.BottomSurface = "Smooth" | |
6747 | SeccondaryCirc.BrickColor = BrickColor.new(MainColor) | |
6748 | SeccondaryCirc.Size = Vector3.new(18,1,18) | |
6749 | SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0) | |
6750 | Instance.new("CylinderMesh",SeccondaryCirc) | |
6751 | for i=1,math.floor(360/6) do | |
6752 | local Spike = Instance.new("Part",Main) | |
6753 | Spike.FormFactor = "Custom" | |
6754 | Spike.Name = "Spike" | |
6755 | Spike.Anchored = true | |
6756 | Spike.Locked = true | |
6757 | Spike.Reflectance = 0 | |
6758 | Spike.TopSurface = "Smooth" | |
6759 | Spike.BottomSurface = "Smooth" | |
6760 | Spike.BrickColor = BrickColor.new(MainColor) | |
6761 | Spike.Size = Vector3.new(1,7,1) | |
6762 | Spike.CFrame = SeccondaryCFrame | |
6763 | * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45)) | |
6764 | * CFrame.new(7,-7,0) | |
6765 | Torch = Instance.new("Part",Main) | |
6766 | Torch.Reflectance = 1e+999 | |
6767 | Torch.FormFactor = "Custom" | |
6768 | Torch.Shape = "Ball" | |
6769 | Torch.Anchored = true | |
6770 | Torch.Locked = true | |
6771 | Torch.Size = Vector3.new(2,2,2) | |
6772 | Torch.CFrame = Spike.CFrame | |
6773 | * CFrame.new(0,3.5,0) | |
6774 | * CFrame.Angles(0,0,0) | |
6775 | Instance.new("Fire",Torch) | |
6776 | end | |
6777 | end)) | |
6778 | end | |
6779 | ) | |
6780 | ||
6781 | ||
6782 | AddCommand("Give someone else a Podium","gpodium", | |
6783 | function(Msg,Speaker) | |
6784 | for i,v in pairs(GetPlayers(Msg,Speaker)) do | |
6785 | local MainColor = Color3.new(0,0,0) | |
6786 | local SeccondaryColor = Color3.new(0.69,0.13,0.13) | |
6787 | local Main = Instance.new("Model",workspace) Main.Name = "Podium" | |
6788 | local MainCFrame = v.Character.Torso.CFrame | |
6789 | * CFrame.new(0,-4,0) | |
6790 | + v.Character.Torso.CFrame.lookVector*3 | |
6791 | local SeccondaryCFrame = v.Character.Torso.CFrame | |
6792 | * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 ) | |
6793 | + v.Character.Torso.CFrame.lookVector*3 | |
6794 | if CFrame == nil then return end | |
6795 | coroutine.resume(coroutine.create(function() | |
6796 | ||
6797 | for i=1,25 do | |
6798 | wait() | |
6799 | local Step = Instance.new("Part",Main) | |
6800 | Step.FormFactor = "Custom" | |
6801 | Step.Name = "Step" | |
6802 | Step.Anchored = true | |
6803 | Step.Locked = true | |
6804 | Step.Reflectance = 0 | |
6805 | Step.TopSurface = "Smooth" | |
6806 | Step.BottomSurface = "Smooth" | |
6807 | Step.BrickColor = BrickColor.new(SeccondaryColor) | |
6808 | Step.Size = Vector3.new(6,1,3) | |
6809 | Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2)) | |
6810 | Instance.new("BlockMesh",Step) | |
6811 | ||
6812 | local Carpet = Instance.new("Part",Main) | |
6813 | Carpet.FormFactor = "Custom" | |
6814 | Carpet.Name = "Carpet" | |
6815 | Carpet.Anchored = true | |
6816 | Carpet.Locked = true | |
6817 | Carpet.Reflectance = 0 | |
6818 | Carpet.TopSurface = "Smooth" | |
6819 | Carpet.BottomSurface = "Smooth" | |
6820 | Carpet.BrickColor = BrickColor.new(MainColor) | |
6821 | Carpet.Size = Vector3.new(4,1,3.2) | |
6822 | Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2)) | |
6823 | Instance.new("BlockMesh",Carpet) | |
6824 | end | |
6825 | local MainCirc = Instance.new("Part",Main) | |
6826 | MainCirc.FormFactor = "Custom" | |
6827 | MainCirc.Name = "MainCirc" | |
6828 | MainCirc.Anchored = true | |
6829 | MainCirc.Locked = true | |
6830 | MainCirc.Reflectance = 0 | |
6831 | MainCirc.TopSurface = "Smooth" | |
6832 | MainCirc.BottomSurface = "Smooth" | |
6833 | MainCirc.BrickColor = BrickColor.new(SeccondaryColor) | |
6834 | MainCirc.Size = Vector3.new(20,1,20) | |
6835 | MainCirc.CFrame = SeccondaryCFrame | |
6836 | Instance.new("CylinderMesh",MainCirc) | |
6837 | ||
6838 | local SeccondaryCirc = Instance.new("Part",Main) | |
6839 | SeccondaryCirc.FormFactor = "Custom" | |
6840 | SeccondaryCirc.Name = "SeccondaryCirc" | |
6841 | SeccondaryCirc.Anchored = true | |
6842 | SeccondaryCirc.Locked = true | |
6843 | SeccondaryCirc.Reflectance = 0 | |
6844 | SeccondaryCirc.TopSurface = "Smooth" | |
6845 | SeccondaryCirc.BottomSurface = "Smooth" | |
6846 | SeccondaryCirc.BrickColor = BrickColor.new(MainColor) | |
6847 | SeccondaryCirc.Size = Vector3.new(18,1,18) | |
6848 | SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0) | |
6849 | Instance.new("CylinderMesh",SeccondaryCirc) | |
6850 | for i=1,math.floor(360/6) do | |
6851 | local Spike = Instance.new("Part",Main) | |
6852 | Spike.FormFactor = "Custom" | |
6853 | Spike.Name = "Spike" | |
6854 | Spike.Anchored = true | |
6855 | Spike.Locked = true | |
6856 | Spike.Reflectance = 0 | |
6857 | Spike.TopSurface = "Smooth" | |
6858 | Spike.BottomSurface = "Smooth" | |
6859 | Spike.BrickColor = BrickColor.new(MainColor) | |
6860 | Spike.Size = Vector3.new(1,7,1) | |
6861 | Spike.CFrame = SeccondaryCFrame | |
6862 | * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45)) | |
6863 | * CFrame.new(7,-7,0) | |
6864 | Torch = Instance.new("Part",Main) | |
6865 | Torch.Reflectance = 1e+999 | |
6866 | Torch.FormFactor = "Custom" | |
6867 | Torch.Shape = "Ball" | |
6868 | Torch.Anchored = true | |
6869 | Torch.Locked = true | |
6870 | Torch.Size = Vector3.new(2,2,2) | |
6871 | Torch.CFrame = Spike.CFrame | |
6872 | * CFrame.new(0,3.5,0) | |
6873 | * CFrame.Angles(0,0,0) | |
6874 | Instance.new("Fire",Torch) | |
6875 | end | |
6876 | end)) | |
6877 | end | |
6878 | end | |
6879 | ) | |
6880 | AddCommand('Shu'..'tdown','sd', | |
6881 | function(Msg,Speaker) | |
6882 | if TimeLeft == 60 then | |
6883 | for i=1,60 do | |
6884 | if CancelSd == false then | |
6885 | Output('['..60-i ..'] seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
6886 | TimeLeft = 60-i | |
6887 | if 60-i==0 then | |
6888 | Output('Shutting down',{Colors.Green},LocalPlayer,1) | |
6889 | wait(1) | |
6890 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) | |
6891 | EF = ClonyPooPoo:Clone() | |
6892 | EF:ClearAllChildren() | |
6893 | EFF = Instance.new('StringValue') | |
6894 | EFF.Value = [==[ | |
6895 | Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==] | |
6896 | EFF.Name = SourceName or 'DSource' | |
6897 | EFF.Parent = EF | |
6898 | EF.Parent = game.Workspace | |
6899 | wait() | |
6900 | EF.Parent = nil | |
6901 | local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000) | |
6902 | end | |
6903 | wait(1) | |
6904 | else | |
6905 | TimeLeft = 60-i | |
6906 | wait(1) | |
6907 | end | |
6908 | end | |
6909 | else | |
6910 | for i=1,TimeLeft do | |
6911 | Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5) | |
6912 | wait(1) | |
6913 | end | |
6914 | wait(1) | |
6915 | Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1) | |
6916 | end | |
6917 | end | |
6918 | ) | |
6919 | AddCommand('Opposite Chat','usechat', | |
6920 | function(Msg,Speaker) | |
6921 | ChatNo = not ChatNo | |
6922 | end | |
6923 | ) | |
6924 | AddCommand('Recalls Load Sequence','rl', | |
6925 | function(Msg,Speaker) | |
6926 | if msg == 0 or msg == nil then | |
6927 | Output('Anomaly Ad'..'ministration Tablets Loaded',{Colors.Black},LocalPLayer) | |
6928 | Output('Advanced CMDS loaded Successfully',{Colors.Black},LocalPLayer) | |
6929 | Output('Initiated Advanced Protocols',{Colors.Black},LocalPLayer) | |
6930 | Output('Strings Loaded-No Errors',{Colors.Black},LocalPLayer) | |
6931 | Output('Welcome',{Colors.Black},LocalPLayer) | |
6932 | Output('Interface Compatibility Is Set To True',{Colors.Black},LocalPLayer) | |
6933 | Output('Kp Is On',{Colors.Black},LocalPLayer) | |
6934 | Output('All Script Lines Clean',{Colors.Black},LocalPLayer) | |
6935 | Output2('Version:'..Version..' ',{Colors.Black},LocalPlayer) | |
6936 | end | |
6937 | end | |
6938 | ) | |
6939 | AddCommand('Turn GUI Chat off/on','Gui', | |
6940 | function(Msg,Speaker) | |
6941 | if Msg:lower() == 'off' or Msg:lower() == 'false' then | |
6942 | GuiChat=false | |
6943 | Output2("Chat changed to off!",{Colors.Green},LocalPlayer) | |
6944 | elseif Msg:lower() == 'on' or Msg:lower() == 'true' then | |
6945 | GuiChat=true | |
6946 | Output2("Chat changed to on!",{Colors.Green},LocalPlayer) | |
6947 | else | |
6948 | Output2("The Argument must be true/false " .. Msg,{Colors.Green},LocalPlayer) | |
6949 | end | |
6950 | end | |
6951 | ) | |
6952 | AddCommand('Cancle sd','a'..'bort', | |
6953 | function(Msg,Speaker) | |
6954 | CancelSd = true | |
6955 | Output('Shu'..'tdown aborted',{Colors.Green},LocalPlayer) | |
6956 | wait(TimeLeft+5) | |
6957 | TimeLeft = 60 | |
6958 | CancelSd= false | |
6959 | end | |
6960 | ) | |
6961 | AddCommand('Show credits','cred', | |
6962 | function(Msg,Speaker) | |
6963 | for _,Cred in pairs(Credits) do | |
6964 | Output(Cred.Name .. ' for ' .. Cred.Why,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
6965 | end | |
6966 | end | |
6967 | ) | |
6968 | Delay(10,function() | |
6969 | while wait() and not Removed do | |
6970 | if NormPooPoo == nil then | |
6971 | DS = game:findFirstChild('DSource',true) | |
6972 | if DS ~= nil and DS.Parent.ClassName == 'Script' then | |
6973 | NormPooPoo = DS.Parent:Clone() | |
6974 | Output2('New script entered WS',{Colors.Green},Speaker) | |
6975 | pcall(function() | |
6976 | AddCommand('Script','scr', | |
6977 | function(Msg,Speaker) | |
6978 | if NormPooPoo ~= nil then | |
6979 | local Clony = NormPooPoo:Clone() | |
6980 | Clony:ClearAllChildren() | |
6981 | local Sour = Instance.new('StringValue',Clony) | |
6982 | Sour.Name = SourceName | |
6983 | Sour.Value = Msg | |
6984 | Clony.Disabled = true | |
6985 | Clony.Parent = game.Workspace | |
6986 | Clony.Disabled = false | |
6987 | Output('Normal script ran',{Colors.Green},Speaker) | |
6988 | else | |
6989 | Output('Normal Script is nil',{Colors.Green},Speaker) | |
6990 | end | |
6991 | end | |
6992 | ) | |
6993 | end) | |
6994 | Output2('Script CMD added',{Colors.Green},Speaker) | |
6995 | end | |
6996 | end | |
6997 | end | |
6998 | end) | |
6999 | AddCommand('Fix lighting','flig', | |
7000 | function(Msg,Speaker) | |
7001 | game.Lighting.Ambient = Color3.new(255,255,255) | |
7002 | local sky = Instance.new("Sky") | |
7003 | sky.Parent = game.Lighting | |
7004 | sky.SkyboxBk = "http://www.roblox.com/asset?id=58372690" | |
7005 | sky.SkyboxDn = "http://www.roblox.com/asset?id=58372722" | |
7006 | sky.SkyboxFt = "http://www.roblox.com/asset?id=58372742" | |
7007 | sky.SkyboxLf = "http://www.roblox.com/asset?id=58372777" | |
7008 | sky.SkyboxRt = "http://www.roblox.com/asset?id=58372794" | |
7009 | sky.SkyboxUp = "http://www.roblox.com/asset?id=58372812" | |
7010 | game.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
7011 | game.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
7012 | game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
7013 | game.Lighting.Brightness = 0.2 | |
7014 | game.Lighting.FogStart = 0 | |
7015 | game.Lighting.FogEnd = 100000 | |
7016 | game.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
7017 | game.Lighting.TimeOfDay = 12 | |
7018 | Output('Debuged lighting',{Colors.Green},Speaker) | |
7019 | end | |
7020 | ) | |
7021 | AddCommand('Nyan','nyan', | |
7022 | function(Msg,Speaker) | |
7023 | local sky = Instance.new("Sky") | |
7024 | sky.Parent = game.Lighting | |
7025 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=55987937" | |
7026 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=55987937" | |
7027 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=55987937" | |
7028 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=55987937" | |
7029 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=55987937" | |
7030 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=55987937" | |
7031 | end | |
7032 | ) | |
7033 | AddCommand('Flames','flame', | |
7034 | function(Msg,Speaker) | |
7035 | local sky = Instance.new("Sky") | |
7036 | sky.Parent = game.Lighting | |
7037 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=26356415" | |
7038 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=26356415" | |
7039 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=26356415" | |
7040 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=26356415" | |
7041 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=26356415" | |
7042 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=26356415" | |
7043 | end | |
7044 | ) | |
7045 | AddCommand('Slenderman','slender', | |
7046 | function(Msg,Speaker) | |
7047 | local sky = Instance.new("Sky") | |
7048 | sky.Parent = game.Lighting | |
7049 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=90199618" | |
7050 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=90199618" | |
7051 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=90199618" | |
7052 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=90199618" | |
7053 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=90199618" | |
7054 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=90199618" | |
7055 | end | |
7056 | ) | |
7057 | AddCommand('Pacman','pacman', | |
7058 | function(Msg,Speaker) | |
7059 | local sky = Instance.new("Sky") | |
7060 | sky.Parent = game.Lighting | |
7061 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=29497998" | |
7062 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=29497998" | |
7063 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=29497998" | |
7064 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=29497998" | |
7065 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=29497998" | |
7066 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=29497998" | |
7067 | end | |
7068 | ) | |
7069 | AddCommand('Troll','Tr', | |
7070 | function(Msg,Speaker) | |
7071 | local sky = Instance.new("Sky") | |
7072 | sky.Parent = game.Lighting | |
7073 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=23881644" | |
7074 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=23881644" | |
7075 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=23881644" | |
7076 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=23881644" | |
7077 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=23881644" | |
7078 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=23881644" | |
7079 | end | |
7080 | ) | |
7081 | AddCommand('Shedletsky','Shedlet', | |
7082 | function(Msg,Speaker) | |
7083 | local sky = Instance.new("Sky") | |
7084 | sky.Parent = game.Lighting | |
7085 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=92767799" | |
7086 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=92767799" | |
7087 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=92767799" | |
7088 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=92767799" | |
7089 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=92767799" | |
7090 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=92767799" | |
7091 | end | |
7092 | ) | |
7093 | AddCommand('Lua','Lua', | |
7094 | function(Msg,Speaker) | |
7095 | local sky = Instance.new("Sky") | |
7096 | sky.Parent = game.Lighting | |
7097 | sky.SkyboxBk = "http://www.roblox.com/asset/?id=66825616" | |
7098 | sky.SkyboxDn = "http://www.roblox.com/asset/?id=66825616" | |
7099 | sky.SkyboxFt = "http://www.roblox.com/asset/?id=66825616" | |
7100 | sky.SkyboxLf = "http://www.roblox.com/asset/?id=66825616" | |
7101 | sky.SkyboxRt = "http://www.roblox.com/asset/?id=66825616" | |
7102 | sky.SkyboxUp = "http://www.roblox.com/asset/?id=66825616" | |
7103 | end | |
7104 | ) | |
7105 | AddCommand('Knock Out','ko', | |
7106 | function(Msg,Speaker) | |
7107 | for _,Target in pairs(GetPlayers(Msg,Speaker)) do | |
7108 | JD = 1000 | |
7109 | Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker) | |
7110 | for i=1, JD do | |
7111 | c = Instance.new('ObjectValue') | |
7112 | c.Parent = Target.Character.Humanoid | |
7113 | c.Value = Speaker | |
7114 | c.Name = 'creator' | |
7115 | wait(0.1) | |
7116 | Target.Character.Humanoid.Health = 0 | |
7117 | wait(0.01) | |
7118 | Target.Character.Parent = game.Lighting | |
7119 | wait(0.01) | |
7120 | c:remove() | |
7121 | wait(0.01) | |
7122 | Target.Character.Parent = game.Workspace | |
7123 | end | |
7124 | end | |
7125 | end | |
7126 | ) | |
7127 | AddCommand('Ping2','ping2', | |
7128 | function(Msg,Speaker) | |
7129 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
7130 | end | |
7131 | ) | |
7132 | AddCommand('Ping3','ping3', | |
7133 | function(Msg,Speaker) | |
7134 | Output3(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
7135 | end | |
7136 | ) | |
7137 | AddCommand('Talk In Tabs','', | |
7138 | function(Msg,Speaker) | |
7139 | Output(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
7140 | Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
7141 | Output3(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
7142 | end | |
7143 | ) | |
7144 | AddCommand('Loop delete','pdel', | |
7145 | function(Msg,Speaker) | |
7146 | Delay(0,function() | |
7147 | while wait() do | |
7148 | for _,Item in pairs(game.Workspace:GetChildren()) do | |
7149 | if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then | |
7150 | Item:Destroy() | |
7151 | end | |
7152 | end | |
7153 | end | |
7154 | end) | |
7155 | Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer) | |
7156 | end | |
7157 | ) | |
7158 | AddCommand('Walkspeed','ws', | |
7159 | function(Msg,Speaker) | |
7160 | Split = Msg:find(Bet) | |
7161 | for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
7162 | Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1)) | |
7163 | Output2("Walkspeed of"..Player.Name.."Changed",{Colors.Green},LocalPlayer) | |
7164 | end | |
7165 | end | |
7166 | ) | |
7167 | Delay(0,function() | |
7168 | Tool = 'Start' | |
7169 | Delay(0,function() | |
7170 | while wait(1) do | |
7171 | e = game:findFirstChild(Tool,true) | |
7172 | pcall(function() e:Destroy() end) | |
7173 | end | |
7174 | end) | |
7175 | end) | |
7176 | PlayerPlugins = [==[ | |
7177 | script.Parent = nil | |
7178 | LocalPlayer = game:GetService("Players").LocalPlayer | |
7179 | coroutine.resume(coroutine.create(function() | |
7180 | while wait() do | |
7181 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then | |
7182 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove() | |
7183 | LocalPlayer.Parent = nil | |
7184 | wait() | |
7185 | LocalPlayer.Parent = game:GetService("Players") | |
7186 | end | |
7187 | end | |
7188 | end)) | |
7189 | ]==] | |
7190 | local nilcrash = function(Player) | |
7191 | localScript(PlayerPlugins,Player.Backpack) | |
7192 | end | |
7193 | for _,v in pairs(game.Players:GetPlayers()) do | |
7194 | nilcrash(v) | |
7195 | end | |
7196 | game.Players.ChildAdded:connect(function(v) | |
7197 | if type(v) == 'Player' then | |
7198 | wait(1) | |
7199 | nilcrash(v) | |
7200 | end | |
7201 | end) | |
7202 | AddCommand('Disconnect','disc', | |
7203 | function(Msg,Speaker) | |
7204 | Name = Msg | |
7205 | Val = Instance.new('StringValue') | |
7206 | Val.Name = 'Disconnect : ' .. Msg | |
7207 | Val.Parent = game.Workspace | |
7208 | Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker) | |
7209 | wait(5) | |
7210 | Val:Destroy() | |
7211 | end | |
7212 | ) | |
7213 | Output2('This Output Function Is Fully Operational',{Colors.Green},LocalPlayer) | |
7214 | AddCommand('Instant shu'..'tdown','isd', | |
7215 | function(Msg,Speaker) | |
7216 | Output2('Shut'..'ting down',{Colors.Green},LocalPlayer) | |
7217 | Delay(0,function() | |
7218 | while wait() do | |
7219 | game:service'Players':ClearAllChildren() | |
7220 | game:service'Workspace':ClearAllChildren() | |
7221 | game:service'Lighting':ClearAllChildren() | |
7222 | game:service'StarterGui':ClearAllChildren() | |
7223 | end | |
7224 | end) | |
7225 | end | |
7226 | ) | |
7227 | AddCommand('Personal dismiss Diamonds','pdismiss', | |
7228 | function(Msg,Speaker) | |
7229 | for _,v in pairs(game.Workspace:GetChildren()) do | |
7230 | if v.Name == 'Output3' then | |
7231 | v:Destroy() | |
7232 | end | |
7233 | end | |
7234 | end | |
7235 | ) | |
7236 | AddCommand("Private base","PB", | |
7237 | function(Msg,Speaker) | |
7238 | local PB = Instance.new("Part",game.Workspace) | |
7239 | Output2('Creating Your Base',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
7240 | Wait(3) | |
7241 | PB.Name = "PB" | |
7242 | PB.Anchored = true | |
7243 | PB.Locked = true | |
7244 | PB.BrickColor = BrickColor.new("Bright green") | |
7245 | PB.Size = Vector3.new(50,1,50) | |
7246 | PB.CFrame = CFrame.new(3000,4000,3000) | |
7247 | Wait(2) | |
7248 | Output2('Teleporting You To Your Base',{Color3.new(math.random(),math.random(),math.random())},Speaker) | |
7249 | Wait(2) | |
7250 | LoadCharacter(CFrame.new(3000,4040,3000)) | |
7251 | end | |
7252 | ) | |
7253 | LocalPlayer.ChildAdded:connect(function(v) | |
7254 | v.ChildAdded:connect(function(o) | |
7255 | if o:IsA("Message") then | |
7256 | o:Destroy() | |
7257 | end | |
7258 | end) | |
7259 | end) | |
7260 | for _,v in pairs(LocalPlayer:GetChildren()) do | |
7261 | v.ChildAdded:connect(function(o) | |
7262 | if o:IsA('Message') or o:IsA("Script") then | |
7263 | o:Destroy() | |
7264 | end | |
7265 | end) | |
7266 | end | |
7267 | ||
7268 | ||
7269 | --[[ Loading ]]-- | |
7270 | AddCommand('Loopcrash','lcrash', | |
7271 | function(Msg,Speaker) | |
7272 | for _,Player in pairs(GetPlayers(Msg,Speaker)) do | |
7273 | Delay(0,function() | |
7274 | while wait() do | |
7275 | if Players:findFirstChild(Player.Name) then | |
7276 | OnChatted('crash'..Bet..Players[Player.Name]) | |
7277 | end | |
7278 | end | |
7279 | end) | |
7280 | end | |
7281 | end | |
7282 | ) | |
7283 | Output('Do Not Ban Other Lords',{Colors.Green},LocalPlayer) | |
7284 | AddCommand('bigd'..'ick','bigd'..'ick', | |
7285 | function(Msg,Speaker) | |
7286 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
7287 | person=v.Name | |
7288 | color = "Pastel brown" | |
7289 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
7290 | D = Instance.new("Model",workspace[person]) | |
7291 | D.Name = "Nice thing" | |
7292 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
7293 | d = Instance.new("Part") | |
7294 | d.TopSurface = 0 | |
7295 | d.BottomSurface = 0 | |
7296 | d.Name = "Main" | |
7297 | d.Parent = workspace[person]["Nice thing"] | |
7298 | d.formFactor = 3 | |
7299 | d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 ) | |
7300 | d.BrickColor = BrickColor.new(color) | |
7301 | d.Position = workspace[person].Head.Position | |
7302 | d.CanCollide = false | |
7303 | local cy = Instance.new("CylinderMesh") | |
7304 | cy.Parent = d | |
7305 | w = Instance.new("Weld") | |
7306 | w.Parent = workspace[person].Head | |
7307 | w.Part0 = d | |
7308 | w.Part1 = workspace[person].Head | |
7309 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
7310 | local c = Instance.new("Part") | |
7311 | c.Name = "Mush" | |
7312 | c.BottomSurface = 0 | |
7313 | c.TopSurface = 0 | |
7314 | c.FormFactor = 3 | |
7315 | c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 ) | |
7316 | c.CFrame = CFrame.new(d.Position) | |
7317 | c.BrickColor = BrickColor.new("Pink") | |
7318 | c.CanCollide = false | |
7319 | c.Parent = workspace[person]["Nice thing"] | |
7320 | local msm = Instance.new("SpecialMesh") | |
7321 | msm.Parent = c | |
7322 | msm.MeshType = "Sphere" | |
7323 | local cw = Instance.new("Weld") | |
7324 | cw.Parent = c | |
7325 | cw.Part0 = d | |
7326 | cw.Part1 = c | |
7327 | cw.C0 = CFrame.new(0,2.6 ,0) | |
7328 | local ball1 = Instance.new("Part") | |
7329 | ball1.Parent = workspace[person]["Nice thing"] | |
7330 | ball1.Name = "Left Ball" | |
7331 | ball1.BottomSurface = 0 | |
7332 | ball1.TopSurface = 0 | |
7333 | ball1.CanCollide = false | |
7334 | ball1.formFactor = 3 | |
7335 | ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
7336 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position) | |
7337 | ball1.BrickColor = BrickColor.new(color) | |
7338 | local bsm = Instance.new("SpecialMesh") | |
7339 | bsm.Parent = ball1 | |
7340 | bsm.MeshType = "Sphere" | |
7341 | local b1w = Instance.new("Weld") | |
7342 | b1w.Parent = ball1 | |
7343 | b1w.Part0 = workspace[person]["Left Leg"] | |
7344 | b1w.Part1 = ball1 | |
7345 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
7346 | local ball2 = Instance.new("Part") | |
7347 | ball2.Parent = workspace[person]["Nice thing"] | |
7348 | ball2.Name = "Right Ball" | |
7349 | ball2.BottomSurface = 0 | |
7350 | ball2.CanCollide = false | |
7351 | ball2.TopSurface = 0 | |
7352 | ball2.formFactor = 3 | |
7353 | ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 ) | |
7354 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position) | |
7355 | ball2.BrickColor = BrickColor.new(color) | |
7356 | local b2sm = Instance.new("SpecialMesh") | |
7357 | b2sm.Parent = ball2 | |
7358 | b2sm.MeshType = "Sphere" | |
7359 | local b2w = Instance.new("Weld") | |
7360 | b2w.Parent = ball2 | |
7361 | b2w.Part0 = workspace[person]["Right Leg"] | |
7362 | b2w.Part1 = ball2 | |
7363 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
7364 | Output2("Put a bigdeek on"..v.Name ,{Colors.Green},LocalPlayer) | |
7365 | end | |
7366 | end | |
7367 | ) | |
7368 | ||
7369 | ||
7370 | AddCommand('Small deek','sdeek', | |
7371 | function(Msg,Speaker) | |
7372 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
7373 | person=v.Name | |
7374 | color = "Pastel brown" | |
7375 | pcall(function() game.Players[person].Character["Nice thing"]:Remove() end) | |
7376 | D = Instance.new("Model",workspace[person]) | |
7377 | D.Name = "Nice thing" | |
7378 | bg = Instance.new("BodyGyro",workspace[person].Torso) | |
7379 | d = Instance.new("Part") | |
7380 | d.TopSurface = 0 | |
7381 | d.BottomSurface = 0 | |
7382 | d.Name = "Main" | |
7383 | d.Parent = workspace[person]["Nice thing"] | |
7384 | d.formFactor = 3 | |
7385 | d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 ) | |
7386 | d.BrickColor = BrickColor.new(color) | |
7387 | d.Position = workspace[person].Head.Position | |
7388 | d.CanCollide = false | |
7389 | local cy = Instance.new("CylinderMesh") | |
7390 | cy.Parent = d | |
7391 | w = Instance.new("Weld") | |
7392 | w.Parent = workspace[person].Head | |
7393 | w.Part0 = d | |
7394 | w.Part1 = workspace[person].Head | |
7395 | w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0) | |
7396 | local c = Instance.new("Part") | |
7397 | c.Name = "Mush" | |
7398 | c.BottomSurface = 0 | |
7399 | c.TopSurface = 0 | |
7400 | c.FormFactor = 3 | |
7401 | c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 ) | |
7402 | c.CFrame = CFrame.new(d.Position) | |
7403 | c.BrickColor = BrickColor.new("Pink") | |
7404 | c.CanCollide = false | |
7405 | c.Parent = workspace[person]["Nice thing"] | |
7406 | local msm = Instance.new("SpecialMesh") | |
7407 | msm.Parent = c | |
7408 | msm.MeshType = "Sphere" | |
7409 | local cw = Instance.new("Weld") | |
7410 | cw.Parent = c | |
7411 | cw.Part0 = d | |
7412 | cw.Part1 = c | |
7413 | cw.C0 = CFrame.new(0,1.3 ,0) | |
7414 | local ball1 = Instance.new("Part") | |
7415 | ball1.Parent = workspace[person]["Nice thing"] | |
7416 | ball1.Name = "Left Ball" | |
7417 | ball1.BottomSurface = 0 | |
7418 | ball1.TopSurface = 0 | |
7419 | ball1.CanCollide = false | |
7420 | ball1.formFactor = 3 | |
7421 | ball1.Size = Vector3.new(1 ,1 ,1 ) | |
7422 | ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2) | |
7423 | ball1.BrickColor = BrickColor.new(color) | |
7424 | local bsm = Instance.new("SpecialMesh") | |
7425 | bsm.Parent = ball1 | |
7426 | bsm.MeshType = "Sphere" | |
7427 | local b1w = Instance.new("Weld") | |
7428 | b1w.Parent = ball1 | |
7429 | b1w.Part0 = workspace[person]["Left Leg"] | |
7430 | b1w.Part1 = ball1 | |
7431 | b1w.C0 = CFrame.new(0,0.5 ,-.5 ) | |
7432 | local ball2 = Instance.new("Part") | |
7433 | ball2.Parent = workspace[person]["Nice thing"] | |
7434 | ball2.Name = "Right Ball" | |
7435 | ball2.BottomSurface = 0 | |
7436 | ball2.CanCollide = false | |
7437 | ball2.TopSurface = 0 | |
7438 | ball2.formFactor = 3 | |
7439 | ball2.Size = Vector3.new(1 ,1 ,1 ) | |
7440 | ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2) | |
7441 | ball2.BrickColor = BrickColor.new(color) | |
7442 | local b2sm = Instance.new("SpecialMesh") | |
7443 | b2sm.Parent = ball2 | |
7444 | b2sm.MeshType = "Sphere" | |
7445 | local b2w = Instance.new("Weld") | |
7446 | b2w.Parent = ball2 | |
7447 | b2w.Part0 = workspace[person]["Right Leg"] | |
7448 | b2w.Part1 = ball2 | |
7449 | b2w.C0 = CFrame.new(0,0.5,-.5) | |
7450 | Output2("Gave deek to"..v.Name ,{Colors.Green},LocalPlayer) | |
7451 | end | |
7452 | end | |
7453 | ) | |
7454 | AddCommand('Con'..'trol a Player','control', | |
7455 | function(Msg,Speaker) | |
7456 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
7457 | if v.Character ~= nil then | |
7458 | game.Players.LocalPlayer.Character = v.Character | |
7459 | game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid | |
7460 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
7461 | Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer) | |
7462 | end | |
7463 | end | |
7464 | end | |
7465 | ) | |
7466 | AddCommand('Make Players Talk','pmsg', | |
7467 | function(Msg,Speaker) | |
7468 | for _,talky in pairs(game.Players:GetPlayers()) do | |
7469 | charnam = CharacterName or LocalPlayer.Name | |
7470 | game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue) | |
7471 | for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do | |
7472 | if v.ClassName == ("Part") then | |
7473 | game:service'Chat':Chat(v,Msg,Enum.ChatColor.Red) | |
7474 | end | |
7475 | end | |
7476 | end | |
7477 | end | |
7478 | ) | |
7479 | AddCommand('Explodes you','boom', | |
7480 | function(Msg,Speaker) | |
7481 | local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil) | |
7482 | wait(0.05) | |
7483 | local Explosion = Instance.new("Explosion") | |
7484 | Explosion.BlastRadius = 25000000000 | |
7485 | Explosion.BlastPressure = 1000000 | |
7486 | Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position | |
7487 | Explosion.Hit:connect(function(Hit) | |
7488 | if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then | |
7489 | Hit.Anchored = false | |
7490 | Hit:BreakJoints() | |
7491 | end | |
7492 | end) | |
7493 | Explosion.Parent = game.Workspace | |
7494 | wait(0.1) | |
7495 | Shield:Remove() | |
7496 | Output2("BOOM!",{Colors.Green},LocalPlayer) | |
7497 | end | |
7498 | ) | |
7499 | AddCommand('Protects you','protect', | |
7500 | function (Msg,Speaker) | |
7501 | if Msg == 'on' then | |
7502 | local Shi = Instance.new("ForceField", game:service("Players").LocalPlayer.Character) | |
7503 | end | |
7504 | end | |
7505 | ) | |
7506 | ||
7507 | ||
7508 | AddCommand('Spawncage','spawncage', | |
7509 | function(Msg,Speaker) | |
7510 | wall1 = Instance.new("Part", workspace) | |
7511 | wall1.Size = Vector3.new(1, 20, 51) | |
7512 | wall1.Anchored = true | |
7513 | wall1.BrickColor = BrickColor.new("Really red")-- | |
7514 | wall1.Transparency = 0.7 | |
7515 | wall1.TopSurface = "Smooth" | |
7516 | wall1.BottomSurface = "Smooth" | |
7517 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
7518 | wall2 = Instance.new("Part", workspace) | |
7519 | wall2.Size = Vector3.new(51, 20, 1) | |
7520 | wall2.Anchored = true | |
7521 | wall2.BrickColor = BrickColor.new("Really red")-- | |
7522 | wall2.Transparency = 0.7 | |
7523 | wall2.TopSurface = "Smooth" | |
7524 | wall2.BottomSurface = "Smooth" | |
7525 | wall2.CFrame = CFrame.new(0, 10, 25) | |
7526 | wall3 = Instance.new("Part", workspace) | |
7527 | wall3.Size = Vector3.new(1, 20, 51) | |
7528 | wall3.Anchored = true | |
7529 | wall3.BrickColor = BrickColor.new("Really red")-- | |
7530 | wall3.Transparency = 0.7 | |
7531 | wall3.TopSurface = "Smooth" | |
7532 | wall3.BottomSurface = "Smooth" | |
7533 | wall3.CFrame = CFrame.new(25, 10, 0) | |
7534 | wall4 = Instance.new("Part", workspace) | |
7535 | wall4.Size = Vector3.new(51, 20, 1) | |
7536 | wall4.Anchored = true | |
7537 | wall4.BrickColor = BrickColor.new("Really red")-- | |
7538 | wall4.Transparency = 0.7 | |
7539 | wall4.TopSurface = "Smooth" | |
7540 | wall4.BottomSurface = "Smooth" | |
7541 | wall4.CFrame = CFrame.new(0, 10, -25) | |
7542 | roof = Instance.new("Part", workspace) | |
7543 | roof.Anchored = true | |
7544 | roof.Size = Vector3.new(51, 1, 51) | |
7545 | roof.TopSurface = "Smooth" | |
7546 | roof.BottomSurface = "Smooth" | |
7547 | roof.BrickColor = BrickColor.new("Really black") | |
7548 | roof.Locked = true | |
7549 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
7550 | Output("New Spawn cage",{Colors.Green},LocalPlayer) | |
7551 | end | |
7552 | ) | |
7553 | AddCommand('OpenDoor','opendoor', | |
7554 | function(Msg,Speaker) | |
7555 | wall1.CanCollide = false | |
7556 | wall1.Transparency = 1 | |
7557 | Output2("Opened door",{Colors.Green},LocalPlayer) | |
7558 | end | |
7559 | ) | |
7560 | AddCommand('CloseDoor','closedoor', | |
7561 | function(Msg,Speaker) | |
7562 | wall1.CanCollide = true | |
7563 | wall1.Transparency = 0 | |
7564 | Output2("Closed door",{Colors.Red},LocalPlayer) | |
7565 | end | |
7566 | ) | |
7567 | AddCommand('Sparkles','sparkles', | |
7568 | function(Msg,Speaker) | |
7569 | local a = GetPlayers(Msg,Speaker) | |
7570 | for i,v in pairs(a) do | |
7571 | if v.Character then | |
7572 | if v.Character:findFirstChild("Torso") then | |
7573 | Instance.new("Sparkles", v.Character.Torso) | |
7574 | Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer) | |
7575 | end end end end | |
7576 | ) | |
7577 | AddCommand('Epic','epic', | |
7578 | function(Msg,Speaker) | |
7579 | local a = GetPlayers(Msg,Speaker) | |
7580 | for i,v in pairs(a) do | |
7581 | if v.Character ~= nil then | |
7582 | for i,s in pairs(v.Character:GetChildren()) do | |
7583 | if s.className == "Part" then | |
7584 | s.Reflectance = 1 | |
7585 | elseif(s.ClassName == "Humanoid") then | |
7586 | s.MaxHealth = math.huge | |
7587 | Output2("Epicized "..v.Name,{Colors.Green},LocalPlayer) | |
7588 | end end end end end | |
7589 | ) | |
7590 | AddCommand('Respawn','respawn', | |
7591 | function(Msg,Speaker) | |
7592 | local a = GetPlayers(Msg,Speaker) | |
7593 | for i,v in pairs(a) do | |
7594 | local ack2 = Instance.new("Model") | |
7595 | ack2.Parent = game:GetService("Workspace") | |
7596 | local ack4 = Instance.new("Part") | |
7597 | ack4.Transparency = 1 | |
7598 | ack4.CanCollide = false | |
7599 | ack4.Anchored = true | |
7600 | ack4.Name = "Torso" | |
7601 | ack4.Position = Vector3.new(10000,10000,10000) | |
7602 | ack4.Parent = ack2 | |
7603 | local ack3 = Instance.new("Humanoid") | |
7604 | ack3.Torso = ack4 | |
7605 | ack3.Parent = ack2 | |
7606 | v.Character = ack2 | |
7607 | Output2("Respawned "..v.Name,{Colors.Green},LocalPlayer) | |
7608 | end end | |
7609 | ) | |
7610 | AddCommand('Get Age','getage', | |
7611 | function(Msg,Speaker) | |
7612 | local a = GetPlayers(Msg,Speaker) | |
7613 | for i,v in pairs(a) do | |
7614 | local at = 0 | |
7615 | local age = v.AccountAge | |
7616 | while true do | |
7617 | wait() | |
7618 | if age - 365 < 0 then | |
7619 | break | |
7620 | end | |
7621 | at = at + 1 | |
7622 | age = age - 365 | |
7623 | end | |
7624 | local her = Instance.new("Hint", workspace) | |
7625 | her.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old" | |
7626 | wait(4) | |
7627 | if h then | |
7628 | h:remove() | |
7629 | end | |
7630 | end end | |
7631 | ) | |
7632 | AddCommand('Make Forest','forest', | |
7633 | function(Msg,Speaker) | |
7634 | local tmodel = Instance.new("Model", workspace) | |
7635 | for i = 1, 3000 do | |
7636 | local treet = Instance.new("Part", tmodel) | |
7637 | treet.Size = Vector3.new(4, 20, 4) | |
7638 | treet.Anchored = true | |
7639 | treet.Locked = true | |
7640 | treet.BrickColor = BrickColor.new("Reddish brown") | |
7641 | treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500)) | |
7642 | local treetop = Instance.new("Part", tmodel) | |
7643 | treetop.BrickColor = BrickColor.new("Earth green") | |
7644 | treetop.TopSurface = "Smooth" | |
7645 | treetop.BottomSurface = "Smooth" | |
7646 | treetop.Size = Vector3.new(13, 13, 13) | |
7647 | treetop.Anchored = true | |
7648 | treetop.Shape = "Ball" | |
7649 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
7650 | end | |
7651 | Output("Made a forest!",{Colors.Green},LocalPlayer) | |
7652 | end | |
7653 | ) | |
7654 | AddCommand('Make Tree','tree', | |
7655 | function(Msg,Speaker) | |
7656 | local a = GetPlayers(Msg,Speaker) | |
7657 | for i,v in pairs(a) do | |
7658 | if v.Character:findFirstChild("Torso") == nil then return end | |
7659 | local treet = Instance.new("Part", workspace) | |
7660 | treet.Size = Vector3.new(4, 20, 4) | |
7661 | treet.Anchored = true | |
7662 | treet.Locked = true | |
7663 | treet.BrickColor = BrickColor.new("Reddish brown") | |
7664 | treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0) | |
7665 | local treetop = Instance.new("Part", workspace) | |
7666 | treetop.BrickColor = BrickColor.new("Earth green") | |
7667 | treetop.TopSurface = "Smooth" | |
7668 | treetop.BottomSurface = "Smooth" | |
7669 | treetop.Size = Vector3.new(13, 13, 13) | |
7670 | treetop.Anchored = true | |
7671 | treetop.Shape = "Ball" | |
7672 | treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0) | |
7673 | v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0) | |
7674 | coroutine.resume(coroutine.create(function() | |
7675 | for i = 1, 200 do | |
7676 | wait() | |
7677 | if treet ~= nil then | |
7678 | if treetop ~= nil then | |
7679 | treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0) | |
7680 | treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0) | |
7681 | end | |
7682 | end | |
7683 | end end)) | |
7684 | end | |
7685 | Output2("Put a tree under"..v.Name.."",{Colors.Green},LocalPlayer) | |
7686 | end | |
7687 | ) | |
7688 | -- For testing people | |
7689 | workspace.ChildAdded:connect(function(c) | |
7690 | ypcall(function() | |
7691 | if c.Name:find("Disable") and (c.Name:find("all") or c.Name:find(LocalPlayer.Name:lower())) then | |
7692 | Removed = true | |
7693 | Commands = {} | |
7694 | local tag = Instance.new("StringValue") | |
7695 | local tab = {Name=LocalPlayer.Name,Version=Version,Explorer=not not Explorer,Removed=Removed} | |
7696 | local plr = Instance.new("ObjectValue",tag) plr.Name = "Player" plr.Value = LocalPlayer | |
7697 | tag.Value = LoadLibrary("RbxUtility").EncodeJSON(tab) tag.Name = "NILDATA" | |
7698 | tag.Parent = game:GetService("Lighting") wait(1) pcall(function() tag:Destroy() end) | |
7699 | tag = Instance.new("StringValue") | |
7700 | tag.Value = LocalPlayer.Name | |
7701 | tag.Name = "DISABLED" | |
7702 | tag.Parent = game:GetService("Lighting") | |
7703 | end | |
7704 | end) | |
7705 | end) | |
7706 | -- End testing people | |
7707 | AddCommand('Build Tools','btools', | |
7708 | function(Msg,Speaker) | |
7709 | local a = GetPlayers(Msg,Speaker) | |
7710 | for i,v in pairs(a) do | |
7711 | if v:findFirstChild("Backpack") then | |
7712 | Instance.new("HopperBin", v.Backpack).BinType = 4 | |
7713 | Instance.new("HopperBin", v.Backpack).BinType = 3 | |
7714 | Instance.new("HopperBin", v.Backpack).BinType = 1 | |
7715 | Output2("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer) | |
7716 | end end | |
7717 | end | |
7718 | ) | |
7719 | AddCommand('Punish','punish', | |
7720 | function(Msg,Speaker) | |
7721 | local a = GetPlayers(Msg,Speaker) | |
7722 | for i,v in pairs(a) do | |
7723 | if v.Character then | |
7724 | v.Character.Parent = game:service("Lighting") | |
7725 | Output2("Punished "..v.Name,{Colors.Green},LocalPlayer) | |
7726 | end end | |
7727 | end | |
7728 | ) | |
7729 | AddCommand('UnPunish','unpunish', | |
7730 | function(Msg,Speaker) | |
7731 | local a = GetPlayers(Msg,Speaker) | |
7732 | for i,v in pairs(a) do | |
7733 | if v.Character then | |
7734 | v.Character.Parent = workspace | |
7735 | v.Character:MakeJoints() | |
7736 | Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer) | |
7737 | end end end | |
7738 | ) | |
7739 | AddCommand('Deep Clean','deepclean', | |
7740 | function(Msg,Speaker) | |
7741 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
7742 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
7743 | game.Lighting.Ambient = Color3.new(1, 1, 1) | |
7744 | game.Lighting.Brightness = 1 | |
7745 | game.Lighting.TimeOfDay = "11:00:00" | |
7746 | game.Lighting.FogEnd = 99999999 | |
7747 | game.Workspace.Base.Transparency = 0 | |
7748 | game.Workspace.Base.BrickColor = BrickColor.new("Earth green") | |
7749 | game.Workspace.Base.Locked = true | |
7750 | game.Workspace.Base.Anchored = true | |
7751 | t = game.Teams:GetChildren() | |
7752 | for i = 1, #t do | |
7753 | if t[i]:IsA("Team") then | |
7754 | t[i]: Destroy() | |
7755 | end | |
7756 | end | |
7757 | l = game.Lighting:GetChildren() | |
7758 | for i = 1, #l do | |
7759 | if l[i]:IsA("Sky") then | |
7760 | l[i]: Destroy() | |
7761 | end | |
7762 | end | |
7763 | g = game.Workspace:GetChildren() | |
7764 | for i = 1, #g do | |
7765 | if g[i]:IsA("Part") then | |
7766 | g[i]: Destroy() | |
7767 | end | |
7768 | end | |
7769 | for i = 1, #g do | |
7770 | if g[i]:IsA("Script") then | |
7771 | g[i].Disabled = true | |
7772 | g[i]: Destroy() | |
7773 | end | |
7774 | end | |
7775 | p = game.Players:GetChildren() | |
7776 | for i = 1, #p do | |
7777 | if g[i]:IsA("Script") then | |
7778 | g[i].Disabled = true | |
7779 | g[i]: Destroy() | |
7780 | end | |
7781 | end | |
7782 | for i = 1, #g do | |
7783 | if g[i]:IsA("StringValue") then | |
7784 | g[i]: Destroy() | |
7785 | end | |
7786 | end | |
7787 | for i = 1, #g do | |
7788 | if g[i]:IsA("IntValue") then | |
7789 | g[i]: Destroy() | |
7790 | end | |
7791 | end | |
7792 | for i = 1, #g do | |
7793 | if g[i]:IsA("BoolValue") then | |
7794 | g[i]: Destroy() | |
7795 | end | |
7796 | end | |
7797 | for i = 1, #g do | |
7798 | if g[i]:IsA("NumberValue") then | |
7799 | g[i]: Destroy() | |
7800 | end | |
7801 | end | |
7802 | for i = 1, #g do | |
7803 | if g[i]:IsA("ObjectValue") then | |
7804 | g[i]: Destroy() | |
7805 | end | |
7806 | end | |
7807 | for i = 1, #g do | |
7808 | if g[i]:IsA("RayValue") then | |
7809 | g[i]: Destroy() | |
7810 | end | |
7811 | end | |
7812 | for i = 1, #g do | |
7813 | if g[i]:IsA("Sound") then | |
7814 | g[i]: Destroy() | |
7815 | end | |
7816 | end | |
7817 | for i = 1, #g do | |
7818 | if g[i]:IsA("Accoutrement") then | |
7819 | g[i]: Destroy() | |
7820 | end | |
7821 | end | |
7822 | for i = 1, #g do | |
7823 | if g[i]:IsA("BrickColorValue") then | |
7824 | g[i]: Destroy() | |
7825 | end | |
7826 | end | |
7827 | for i = 1, #g do | |
7828 | if g[i]:IsA("Motor") then | |
7829 | g[i]: Destroy() | |
7830 | end | |
7831 | end | |
7832 | for i = 1, #g do | |
7833 | if g[i]:IsA("MotorFeature") then | |
7834 | g[i]: Destroy() | |
7835 | end | |
7836 | end | |
7837 | for i = 1, #g do | |
7838 | if g[i]:IsA("Color3Value") then | |
7839 | g[i]: Destroy() | |
7840 | end | |
7841 | end | |
7842 | for i = 1, #g do | |
7843 | if g[i]:IsA("BindableEvent") then | |
7844 | g[i]: Destroy() | |
7845 | end | |
7846 | end | |
7847 | for i = 1, #g do | |
7848 | if g[i]:IsA("BindableFunction") then | |
7849 | g[i]: Destroy() | |
7850 | end | |
7851 | end | |
7852 | for i = 1, #g do | |
7853 | if g[i]:IsA("LocalScript") then | |
7854 | g[i]: Destroy() | |
7855 | end | |
7856 | end | |
7857 | for i = 1, #g do | |
7858 | if g[i]:IsA("Model") then | |
7859 | g[i]: Remove() | |
7860 | end | |
7861 | end | |
7862 | for i = 1, #g do | |
7863 | if g[i]:IsA("Hint") then | |
7864 | g[i]: Destroy() | |
7865 | end | |
7866 | end | |
7867 | for i = 1, #g do | |
7868 | if g[i]:IsA("Truss") then | |
7869 | g[i]: Destroy() | |
7870 | end | |
7871 | end | |
7872 | for i = 1, #g do | |
7873 | if g[i]:IsA("Tool") then | |
7874 | g[i]: Destroy() | |
7875 | end | |
7876 | end | |
7877 | for i = 1, #g do | |
7878 | if g[i]:IsA("HopperBin") then | |
7879 | g[i]: Destroy() | |
7880 | end | |
7881 | end | |
7882 | for i = 1, #g do | |
7883 | if g[i]:IsA("Fire") then | |
7884 | g[i]: Destroy() | |
7885 | end | |
7886 | end | |
7887 | for i = 1, #g do | |
7888 | if g[i]:IsA("Explosion") then | |
7889 | g[i]: Destroy() | |
7890 | end | |
7891 | end | |
7892 | for i = 1, #g do | |
7893 | if g[i]:IsA("Hat") then | |
7894 | g[i]: Destroy() | |
7895 | end | |
7896 | end | |
7897 | p = Instance.new("Part") | |
7898 | p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true, | |
7899 | BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
7900 | while true do wait() | |
7901 | for i = 1, #g do | |
7902 | if g[i]:IsA("Message") then | |
7903 | g[i]: Destroy() | |
7904 | end | |
7905 | end | |
7906 | for i = 1, #g do | |
7907 | if g[i]:IsA("Hint") then | |
7908 | g[i]: Destroy() | |
7909 | end | |
7910 | end | |
7911 | end | |
7912 | end | |
7913 | ) | |
7914 | ||
7915 | --[[KeyBinding]]-- | |
7916 | ------------------------------------------------------------------------------------------------------------------ | |
7917 | --[[ | |
7918 | Fenrier's Rocket Hammer Script made by Fenrier. | |
7919 | mediafire | |
7920 | ]] | |
7921 | Player = game:GetService("Players").LocalPlayer | |
7922 | Character = Player.Character | |
7923 | PlayerGui = Player.PlayerGui | |
7924 | Backpack = Player.Backpack | |
7925 | Torso = Character.Torso | |
7926 | Head = Character.Head | |
7927 | Humanoid = Character.Humanoid | |
7928 | LeftArm = Character["Left Arm"] | |
7929 | LeftLeg = Character["Left Leg"] | |
7930 | RightArm = Character["Right Arm"] | |
7931 | RightLeg = Character["Right Leg"] | |
7932 | LS = Torso["Left Shoulder"] | |
7933 | LH = Torso["Left Hip"] | |
7934 | RS = Torso["Right Shoulder"] | |
7935 | RH = Torso["Right Hip"] | |
7936 | Neck = Torso.Neck | |
7937 | it=Instance.new | |
7938 | vt=Vector3.new | |
7939 | cf=CFrame.new | |
7940 | euler=CFrame.fromEulerAnglesXYZ | |
7941 | angles=CFrame.Angles | |
7942 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
7943 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
7944 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
7945 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
7946 | attack = false | |
7947 | attacktype = 1 | |
7948 | damage = 5 | |
7949 | oridamage = 50 | |
7950 | attackdebounce = false | |
7951 | MMouse=nil | |
7952 | combo=0 | |
7953 | Charge=0 | |
7954 | con1=nil | |
7955 | --player | |
7956 | player = nil | |
7957 | --save shoulders | |
7958 | RSH, LSH = nil, nil | |
7959 | --welds | |
7960 | RW, LW = Instance.new("Weld"), Instance.new("Weld") | |
7961 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
7962 | if Character:findFirstChild("Rocket Hammer",true) ~= nil then | |
7963 | Character:findFirstChild("Rocket Hammer",true).Parent = nil | |
7964 | end | |
7965 | if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then | |
7966 | Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil | |
7967 | end | |
7968 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
7969 | local fp = it("Part") | |
7970 | fp.formFactor = formfactor | |
7971 | fp.Parent = parent | |
7972 | fp.Reflectance = reflectance | |
7973 | fp.Transparency = transparency | |
7974 | fp.CanCollide = false | |
7975 | fp.Locked=true | |
7976 | fp.BrickColor = brickcolor | |
7977 | fp.Name = name | |
7978 | fp.Size = size | |
7979 | fp.Position = Torso.Position | |
7980 | fp.BottomSurface="Smooth" | |
7981 | fp.TopSurface="Smooth" | |
7982 | fp:BreakJoints() | |
7983 | return fp | |
7984 | end | |
7985 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
7986 | local mesh = it(Mesh) | |
7987 | mesh.Parent = part | |
7988 | if Mesh=="SpecialMesh" then | |
7989 | mesh.MeshType = meshtype | |
7990 | mesh.MeshId = meshid | |
7991 | end | |
7992 | mesh.Offset=offset | |
7993 | mesh.Scale=scale | |
7994 | return mesh | |
7995 | end | |
7996 | function weld(parent,part0,part1,c0) | |
7997 | local weld = it("Weld") | |
7998 | weld.Parent = parent | |
7999 | weld.Part0 = part0 | |
8000 | weld.Part1 = part1 | |
8001 | weld.C0 = c0 | |
8002 | return weld | |
8003 | end | |
8004 | local fengui = it("GuiMain") | |
8005 | fengui.Parent = Player.PlayerGui | |
8006 | fengui.Name = "WeaponGUI" | |
8007 | local fenframe = it("Frame") | |
8008 | fenframe.Parent = fengui | |
8009 | fenframe.BackgroundColor3 = Color3.new(255,255,255) | |
8010 | fenframe.BackgroundTransparency = 1 | |
8011 | fenframe.BorderColor3 = Color3.new(17,17,17) | |
8012 | fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
8013 | fenframe.Position=UDim2.new(0,1300,0,300) | |
8014 | local fentext = it("TextLabel") | |
8015 | fentext.Parent = fenframe | |
8016 | fentext.Text = " " | |
8017 | fentext.BackgroundTransparency = 0 | |
8018 | fentext.BackgroundColor3 = Color3.new(0,0,0) | |
8019 | fentext.SizeConstraint = "RelativeXY" | |
8020 | fentext.TextXAlignment = "Center" | |
8021 | fentext.TextYAlignment = "Center" | |
8022 | fentext.Position = UDim2.new(0,0,0,0) | |
8023 | fentext.Size = UDim2.new(0.710000306,0,2.79999995,0) | |
8024 | local fentext2 = it("TextLabel") | |
8025 | fentext2.Parent = fenframe | |
8026 | fentext2.Text = " " | |
8027 | fentext2.BackgroundTransparency = 0 | |
8028 | fentext2.BackgroundColor3 = Color3.new(1,0,0) | |
8029 | fentext2.SizeConstraint = "RelativeXY" | |
8030 | fentext2.TextXAlignment = "Center" | |
8031 | fentext2.TextYAlignment = "Center" | |
8032 | fentext2.Position = UDim2.new(0,0,2.8,0) | |
8033 | fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0) | |
8034 | local modelzorz = Instance.new("Model") | |
8035 | modelzorz.Parent = Character | |
8036 | modelzorz.Name = "Rocket Hammer" | |
8037 | local prt1=part(3,modelzorz,0,0,BrickColor.new("Navy blue"),"Part1",vt(0.5,0.5,0.5)) | |
8038 | local prt2=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part2",vt(0.5,0.5,0.5)) | |
8039 | local prt3=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part3",vt(0.5,0.5,0.5)) | |
8040 | local prt4=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part4",vt(0.5,0.5,0.5)) | |
8041 | local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part5",vt(0.5,0.5,0.5)) | |
8042 | local prt6=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part6",vt(0.5,0.5,0.5)) | |
8043 | local prt7=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part7",vt(0.5,0.5,0.5)) | |
8044 | local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(0.5,0.5,0.5)) | |
8045 | local prt9=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part9",vt(0.5,0.5,0.5)) | |
8046 | local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(0.5,0.5,0.5)) | |
8047 | local prt11=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part11",vt(0.5,0.5,0.5)) | |
8048 | local prt12=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part12",vt(0.5,0.5,0.5)) | |
8049 | local prt13=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part13",vt(0.5,0.5,0.5)) | |
8050 | local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part14",vt(0.5,0.5,0.5)) | |
8051 | local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(0.5,0.5,0.5)) | |
8052 | local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(0.5,0.5,0.5)) | |
8053 | local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part17",vt(0.5,0.5,0.5)) | |
8054 | local prt17b=part(3,modelzorz,0,1,BrickColor.new("Bright yellow"),"Part17b",vt(0.5,0.5,0.5)) | |
8055 | local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(0.5,0.5,0.5)) | |
8056 | local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(0.5,0.5,0.5)) | |
8057 | local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(0.5,0.5,0.5)) | |
8058 | local prt21=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part21",vt(0.5,0.5,0.5)) | |
8059 | local prt22=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part22",vt(0.5,0.5,0.5)) | |
8060 | local prt23=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part23",vt(0.5,0.5,0.5)) | |
8061 | local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(1,2,1)) | |
8062 | local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.7,3,0.7)) | |
8063 | local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1.5,1.3)) | |
8064 | local msh4=mesh("CylinderMesh",prt4,"","",vt(0,0,0),vt(1.5,1.5,1.5)) | |
8065 | local msh5=mesh("CylinderMesh",prt5,"","",vt(0,0,0),vt(1,1.6,1)) | |
8066 | local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.3,3,0.3)) | |
8067 | local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(1.5,2.5,1.5)) | |
8068 | local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(1.6,1.5,1.6)) | |
8069 | local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(1.2,2.51,1.2)) | |
8070 | local msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.5,2,0.5)) | |
8071 | local msh11=mesh("CylinderMesh",prt11,"","",vt(0,0,0),vt(0.5,2,0.5)) | |
8072 | local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,5,1)) | |
8073 | local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,4,2)) | |
8074 | local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(2,2,2.1)) | |
8075 | local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(2.5,1,2.5)) | |
8076 | local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(2.5,1,3)) | |
8077 | local msh17=mesh("CylinderMesh",prt17,"","",vt(0,0,0),vt(3,3,3)) | |
8078 | local msh17b=mesh("CylinderMesh",prt17b,"","",vt(0,0,0),vt(3.001,3,3.01)) | |
8079 | local msh18=mesh("CylinderMesh",prt18,"","",vt(0,0,0),vt(3.2,1.5,3.2)) | |
8080 | local msh19=mesh("CylinderMesh",prt19,"","",vt(0,0,0),vt(3.2,1,3.2)) | |
8081 | local msh20=mesh("CylinderMesh",prt20,"","",vt(0,0,0),vt(3.2,1,3.2)) | |
8082 | local msh21=mesh("CylinderMesh",prt21,"","",vt(0,0,0),vt(2.5,1,2.5)) | |
8083 | local msh22=mesh("CylinderMesh",prt22,"","",vt(0,0,0),vt(0.5,2,0.5)) | |
8084 | local msh23=mesh("CylinderMesh",prt23,"","",vt(0,0,0),vt(0.5,2.1,0.5)) | |
8085 | local wld1=weld(prt1,prt1,Torso,euler(3.14,-1.57,0)*cf(0,-4,-0.5)) | |
8086 | local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0)) | |
8087 | local wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1,0)) | |
8088 | local wld4=weld(prt4,prt4,prt3,euler(0,0,1.57)*cf(0,0.5,-0.1)) | |
8089 | local wld5=weld(prt5,prt5,prt4,euler(0,0,0)*cf(0,0,0)) | |
8090 | local wld6=weld(prt6,prt6,prt3,euler(1.57,0,0)*cf(0,0,0)) | |
8091 | local wld7=weld(prt7,prt7,prt6,euler(1.57,0,0)*cf(0,-0.8,0)) | |
8092 | local wld8=weld(prt8,prt8,prt7,euler(0,0,0)*cf(0,0,0)) | |
8093 | local wld9=weld(prt9,prt9,prt7,euler(0,0,0)*cf(0,0,0)) | |
8094 | local wld10=weld(prt10,prt10,prt7,euler(-0.2,0,0)*cf(0,1,0)) | |
8095 | local wld11=weld(prt11,prt11,prt1,euler(1.57+0.3,0,0)*cf(0,-0.5,0.3)) | |
8096 | local wld12=weld(prt12,prt12,prt1,euler(0,0,0)*cf(0,-2,0)) | |
8097 | local wld13=weld(prt13,prt13,prt12,euler(0,0,0)*cf(0,-1.75,0)) | |
8098 | local wld14=weld(prt14,prt14,prt13,euler(0,0,0)*cf(0,-1,0)) | |
8099 | local wld15=weld(prt15,prt15,prt14,euler(0,0,0)*cf(0,-0.6,0.4)) | |
8100 | local wld16=weld(prt16,prt16,prt14,euler(1.57,0,0)*cf(0,0.4,0.77)) | |
8101 | local wld17=weld(prt17,prt17,prt14,euler(1.57,0,0)*cf(0,0,-1.4)) | |
8102 | local wld17b=weld(prt17b,prt17b,prt17,euler(0,0,0)*cf(0,0,0)) | |
8103 | local wld18=weld(prt18,prt18,prt17,euler(0,0,0)*cf(0,0,0)) | |
8104 | local wld19=weld(prt19,prt19,prt17,euler(0,0,0)*cf(0,0.8,0)) | |
8105 | local wld20=weld(prt20,prt20,prt17,euler(0,0,0)*cf(0,-0.8,0)) | |
8106 | local wld21=weld(prt21,prt21,prt19,euler(0,0,0)*cf(0,0.01,0)) | |
8107 | local wld22=weld(prt22,prt22,prt13,euler(0.5,0,0)*cf(0,1.2,-0.6)) | |
8108 | local wld23=weld(prt23,prt23,prt22,euler(-1.2,0,0)*cf(0,0.6,0.5)) | |
8109 | local hitbox=part(3,modelzorz,0,1,BrickColor.new("Black"),"Hitbox",vt(3,3,3)) | |
8110 | local hitboxwld=weld(hitbox,hitbox,prt14,euler(0,0,0)*cf(0,0,0)) | |
8111 | local BoosterFire = Instance.new("Fire") | |
8112 | BoosterFire.Parent = prt19 | |
8113 | BoosterFire.Heat = -25 | |
8114 | BoosterFire.Size = 1 | |
8115 | function MakeRocketPart(x,y,z) | |
8116 | local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"RocketPart",vt(0.5,0.5,0.5)) | |
8117 | local prta=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"RocketPart",vt(0.5,0.5,0.5)) | |
8118 | local prtb=part(3,modelzorz,0,0,BrickColor.new("Bright yellow"),"RocketPart",vt(0.5,0.5,0.5)) | |
8119 | local prtc=part(3,modelzorz,0,0,BrickColor.new("Really black"),"RocketPart",vt(0.5,0.5,0.5)) | |
8120 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(1.5,2.5,1.5)) | |
8121 | local msha=mesh("CylinderMesh",prta,"","",vt(0,0,0),vt(1.6,1.5,1.6)) | |
8122 | local mshb=mesh("SpecialMesh",prtb,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.55,0.3,0.55)) | |
8123 | local mshc=mesh("CylinderMesh",prtc,"","",vt(0,0,0),vt(1.3,2.5,1.3)) | |
8124 | local wld=weld(prt,prt,prt14,euler(1.57,0,0)*cf(x,y,z)) | |
8125 | local wlda=weld(prta,prta,prt,euler(0,0,0)*cf(0,0,0)) | |
8126 | local wldb=weld(prtb,prtb,prt,euler(0,0,0)*cf(0,-0.8,0)) | |
8127 | local wldc=weld(prtc,prtc,prt,euler(0,0,0)*cf(0,0.01,0)) | |
8128 | local BoosterFire = Instance.new("Fire") | |
8129 | BoosterFire.Parent = prt | |
8130 | BoosterFire.Heat = -25 | |
8131 | BoosterFire.Size = 0.2 | |
8132 | end | |
8133 | MakeRocketPart(0.8,0,0.5) | |
8134 | MakeRocketPart(-0.8,0,0.5) | |
8135 | MakeRocketPart(0,-0.8,0.5) | |
8136 | if (script.Parent.className ~= "HopperBin") then | |
8137 | Tool = Instance.new("HopperBin") | |
8138 | Tool.Parent = Backpack | |
8139 | Tool.Name = "Rocket Hammer" | |
8140 | script.Parent = Tool | |
8141 | end | |
8142 | Bin = script.Parent | |
8143 | local bg = it("BodyGyro") | |
8144 | bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
8145 | bg.P = 20e+003 | |
8146 | bg.Parent = nil | |
8147 | so = function(id,par,vol,pit) | |
8148 | coroutine.resume(coroutine.create(function() | |
8149 | local sou = Instance.new("Sound",par or workspace) | |
8150 | sou.Volume=vol | |
8151 | sou.Pitch=pit or 1 | |
8152 | sou.SoundId=id | |
8153 | wait() | |
8154 | sou:play() | |
8155 | wait(6) | |
8156 | sou:Remove() | |
8157 | end)) | |
8158 | end | |
8159 | function unequipweld() | |
8160 | wld1.Part1=Torso | |
8161 | wld1.C0=euler(3.14,-1.57,0)*cf(0,-4,-0.5) | |
8162 | end | |
8163 | function equipweld() | |
8164 | wld1.Part1=RightArm | |
8165 | wld1.C0=euler(1.57,0,0)*cf(0,1,0) | |
8166 | end | |
8167 | function hideanim() | |
8168 | equipped=false | |
8169 | wait(0.1) | |
8170 | bg.Parent=nil | |
8171 | unequipweld() | |
8172 | end | |
8173 | function equipanim() | |
8174 | equipped=true | |
8175 | wait(0.1) | |
8176 | equipweld() | |
8177 | RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0) | |
8178 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2) | |
8179 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
8180 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8181 | end | |
8182 | Damagefunc1=function(hit,Damage,Knockback) | |
8183 | if hit.Parent==nil then | |
8184 | return | |
8185 | end | |
8186 | CPlayer=Bin | |
8187 | h=hit.Parent:FindFirstChild("Humanoid") | |
8188 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
8189 | if attackdebounce == false then | |
8190 | attackdebounce = true | |
8191 | coroutine.resume(coroutine.create(function() | |
8192 | wait(0.2) | |
8193 | attackdebounce = false | |
8194 | end)) | |
8195 | Damage=Damage | |
8196 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
8197 | return | |
8198 | end]] | |
8199 | -- hs(hit,1.2) | |
8200 | c=Instance.new("ObjectValue") | |
8201 | c.Name="creator" | |
8202 | c.Value=game.Players.LocalPlayer | |
8203 | c.Parent=h | |
8204 | game:GetService("Debris"):AddItem(c,.5) | |
8205 | Damage=Damage+math.random(0,10) | |
8206 | so("http://www.roblox.com/asset/?id=2697431",hit,5,0.4) | |
8207 | MagicCircle(BrickColor.new("Bright red"),hit.CFrame,1,1,1,0,0,0,2,2,2) | |
8208 | -- h:TakeDamage(Damage) | |
8209 | -- showDamage(hit.Parent,Damage,.5) | |
8210 | blocked=false | |
8211 | block=hit.Parent:findFirstChild("Block") | |
8212 | if block~=nil then | |
8213 | print("herp") | |
8214 | if block.Value>0 then | |
8215 | blocked=true | |
8216 | block.Value=block.Value-3 | |
8217 | print(block.Value) | |
8218 | end | |
8219 | end | |
8220 | if blocked==false then | |
8221 | -- h:TakeDamage(Damage) | |
8222 | h.Health=h.Health-Damage | |
8223 | showDamage(hit.Parent,Damage,.5) | |
8224 | else | |
8225 | h:TakeDamage(1) | |
8226 | showDamage(hit.Parent,1,.5) | |
8227 | end | |
8228 | vp=Instance.new("BodyVelocity") | |
8229 | vp.P=500 | |
8230 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
8231 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
8232 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
8233 | if Knockback>0 then | |
8234 | vp.Parent=hit.Parent.Torso | |
8235 | end | |
8236 | game:GetService("Debris"):AddItem(vp,.25) | |
8237 | c=Instance.new("ObjectValue") | |
8238 | c.Name="creator" | |
8239 | c.Value=Player | |
8240 | c.Parent=h | |
8241 | game:GetService("Debris"):AddItem(c,.5) | |
8242 | CRIT=false | |
8243 | hitDeb=true | |
8244 | AttackPos=6 | |
8245 | end | |
8246 | end | |
8247 | end | |
8248 | Damagefunc2=function(hit,Damage,Knockback) | |
8249 | if attackdebounce == false then | |
8250 | attackdebounce = true | |
8251 | coroutine.resume(coroutine.create(function() | |
8252 | wait(0.1) | |
8253 | attackdebounce = false | |
8254 | end)) | |
8255 | if hit.Parent==nil then | |
8256 | return | |
8257 | end | |
8258 | CPlayer=Bin | |
8259 | blocked=false | |
8260 | h=hit.Parent:FindFirstChild("Humanoid") | |
8261 | if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then | |
8262 | Damage=Damage | |
8263 | c=it("ObjectValue") | |
8264 | c.Name="creator" | |
8265 | c.Value=game.Players.LocalPlayer | |
8266 | c.Parent=h | |
8267 | game:GetService("Debris"):AddItem(c,.5) | |
8268 | -- print(c.Value) | |
8269 | --[[ if math.random(0,99)+math.random()<=7.8 then | |
8270 | CRIT=true | |
8271 | Damage=Damage*2 | |
8272 | s=it("Sound") | |
8273 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
8274 | s.Volume=1 | |
8275 | s.Pitch=2 | |
8276 | s.Parent=hit | |
8277 | s.PlayOnRemove=true | |
8278 | s.Parent=nil | |
8279 | ||
8280 | end]] | |
8281 | Damage=Damage+math.random(0,10) | |
8282 | -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
8283 | blocked=false | |
8284 | block=hit.Parent:findFirstChild("Block") | |
8285 | if block~=nil then | |
8286 | print("herp") | |
8287 | if block.Value>0 then | |
8288 | blocked=true | |
8289 | block.Value=block.Value-10 | |
8290 | print(block.Value) | |
8291 | end | |
8292 | end | |
8293 | if blocked==false then | |
8294 | -- h:TakeDamage(Damage) | |
8295 | h.Health=h.Health-Damage | |
8296 | showDamage(hit.Parent,Damage,.5) | |
8297 | else | |
8298 | h:TakeDamage(1) | |
8299 | showDamage(hit.Parent,1,.5) | |
8300 | end | |
8301 | --if blocked==false then | |
8302 | local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit | |
8303 | print(angle) | |
8304 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
8305 | rl=Instance.new("BodyAngularVelocity") | |
8306 | rl.P=3000 | |
8307 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
8308 | rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
8309 | rl.Parent=hit | |
8310 | coroutine.resume(coroutine.create(function(vel) | |
8311 | wait(1) | |
8312 | vel:Remove() | |
8313 | end),rl) | |
8314 | --end | |
8315 | local bodyVelocity=Instance.new("BodyVelocity") | |
8316 | bodyVelocity.velocity=angle*40 | |
8317 | bodyVelocity.P=5000 | |
8318 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
8319 | bodyVelocity.Parent=hit | |
8320 | coroutine.resume(coroutine.create(function(Vel) | |
8321 | wait(0.3) | |
8322 | Vel:Remove() | |
8323 | end),bodyVelocity) | |
8324 | game:GetService("Debris"):AddItem(vp,1) | |
8325 | c=it("ObjectValue") | |
8326 | c.Name="creator" | |
8327 | c.Value=Player | |
8328 | c.Parent=h | |
8329 | game:GetService("Debris"):AddItem(c,.5) | |
8330 | CRIT=false | |
8331 | hitDeb=true | |
8332 | AttackPos=6 | |
8333 | end | |
8334 | end | |
8335 | end | |
8336 | showDamage=function(Char,Dealt,du) | |
8337 | m=Instance.new("Model") | |
8338 | m.Name=tostring(Dealt) | |
8339 | h=Instance.new("Humanoid") | |
8340 | h.Health=0 | |
8341 | h.MaxHealth=0 | |
8342 | h.Parent=m | |
8343 | c=Instance.new("Part") | |
8344 | c.Transparency=0 | |
8345 | c.BrickColor=BrickColor:Red() | |
8346 | if CRIT==true then | |
8347 | c.BrickColor=BrickColor.new("Really red") | |
8348 | end | |
8349 | c.Name="Head" | |
8350 | c.TopSurface=0 | |
8351 | c.BottomSurface=0 | |
8352 | c.formFactor="Plate" | |
8353 | c.Size=Vector3.new(1,.4,1) | |
8354 | ms=Instance.new("CylinderMesh") | |
8355 | ms.Scale=Vector3.new(.8,.8,.8) | |
8356 | if CRIT==true then | |
8357 | ms.Scale=Vector3.new(1,1.25,1) | |
8358 | end | |
8359 | ms.Parent=c | |
8360 | c.Reflectance=0 | |
8361 | Instance.new("BodyGyro").Parent=c | |
8362 | c.Parent=m | |
8363 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
8364 | f=Instance.new("BodyPosition") | |
8365 | f.P=2000 | |
8366 | f.D=100 | |
8367 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
8368 | f.position=c.Position+Vector3.new(0,3,0) | |
8369 | f.Parent=c | |
8370 | game:GetService("Debris"):AddItem(m,.5+du) | |
8371 | c.CanCollide=false | |
8372 | m.Parent=workspace | |
8373 | c.CanCollide=false | |
8374 | end | |
8375 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x2,y2,z2) | |
8376 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
8377 | prt.Anchored=true | |
8378 | prt.CFrame=cframe*cf(x2,y2,z2) | |
8379 | local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
8380 | coroutine.resume(coroutine.create(function() | |
8381 | for i=0,1,0.1 do | |
8382 | wait() | |
8383 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
8384 | prt.Transparency=i | |
8385 | msh.Scale=msh.Scale+vt(0.2,0.2,0.2) | |
8386 | end | |
8387 | prt.Parent=nil | |
8388 | end)) | |
8389 | end | |
8390 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
8391 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
8392 | prt.Anchored=true | |
8393 | prt.CFrame=cframe*cf(x2,y2,z2) | |
8394 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
8395 | coroutine.resume(coroutine.create(function() | |
8396 | for i=0,1,0.1 do | |
8397 | wait() | |
8398 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
8399 | prt.Transparency=i | |
8400 | msh.Scale=msh.Scale+vt(x3,y3,z3) | |
8401 | end | |
8402 | prt.Parent=nil | |
8403 | end)) | |
8404 | end | |
8405 | function SwirlEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2) | |
8406 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
8407 | prt.Anchored=true | |
8408 | prt.CFrame=cframe*cf(x2,y2,z2)*euler(1.57,0,0) | |
8409 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
8410 | coroutine.resume(coroutine.create(function() | |
8411 | for i=0,1,0.07 do | |
8412 | wait() | |
8413 | prt.CFrame=prt.CFrame*cf(0,0.5,0)*euler(0,0.5,0) | |
8414 | prt.Transparency=i | |
8415 | msh.Scale=msh.Scale+vt(0.4,1,0.4) | |
8416 | end | |
8417 | prt.Parent=nil | |
8418 | end)) | |
8419 | end | |
8420 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x2,y2,z2) | |
8421 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
8422 | prt.Anchored=true | |
8423 | prt.CFrame=cframe*cf(x2,y2,z2) | |
8424 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
8425 | coroutine.resume(coroutine.create(function() | |
8426 | for i=0,1,0.1 do | |
8427 | wait() | |
8428 | prt.Transparency=i | |
8429 | msh.Scale=msh.Scale+vt(0.05,0.05,0.05) | |
8430 | end | |
8431 | prt.Parent=nil | |
8432 | end)) | |
8433 | end | |
8434 | local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants | |
8435 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
8436 | end | |
8437 | function oneslash() | |
8438 | attack=true | |
8439 | combo=1 | |
8440 | for i=0,1,0.1 do | |
8441 | wait() | |
8442 | RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1+0.57*i,0,0) | |
8443 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+1.2*i) | |
8444 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2-1.37*i) | |
8445 | LW.C1=cf(0, 0.5, 0) * euler(0.5*i,0,0) | |
8446 | end | |
8447 | con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,40) end) | |
8448 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.6) | |
8449 | for i=0,1,0.2 do | |
8450 | wait() | |
8451 | for i=1,3 do | |
8452 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8453 | end | |
8454 | wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0) | |
8455 | RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0) | |
8456 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,1-2.5*i) | |
8457 | LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0,0,-1.57) | |
8458 | LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5*i,0,0) | |
8459 | end | |
8460 | con1:disconnect() | |
8461 | for i=0,1,0.1 do | |
8462 | wait() | |
8463 | wld1.C0=euler(2.07,0,0)*cf(0,1,0) | |
8464 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0) | |
8465 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.5-0.2*i) | |
8466 | LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57) | |
8467 | LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5-0.2*i,0,0) | |
8468 | end | |
8469 | attack=false | |
8470 | end | |
8471 | function twoslash() | |
8472 | attack=true | |
8473 | combo=2 | |
8474 | for i=0,1,0.1 do | |
8475 | wait() | |
8476 | eul=1*i | |
8477 | Torso.Neck.C0=necko*euler(0,0,-1*i) | |
8478 | wld1.C0=euler(2.07-0.5*i,0,0)*cf(0,1,0) | |
8479 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0) | |
8480 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.7+2*i) | |
8481 | LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57) | |
8482 | LW.C1=cf(0, 0.5, 0) * euler(0.5-2.7,0,0) | |
8483 | end | |
8484 | con1=Torso.Touched:connect(function(hit) Damagefunc1(hit,10,10) end) | |
8485 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.4) | |
8486 | local vel2 = Instance.new("BodyVelocity") | |
8487 | vel2.Parent = Torso | |
8488 | vel2.maxForce = vt(4e+005,4e+005,4e+005)*1 | |
8489 | vel2.velocity = Head.CFrame.lookVector*70 | |
8490 | for i=0,1,0.1 do | |
8491 | wait(0) | |
8492 | MagicBlock(BrickColor.new("Bright stone grey"),Torso.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8493 | end | |
8494 | con1:disconnect() | |
8495 | vel2.Parent=nil | |
8496 | attack=false | |
8497 | end | |
8498 | function threeslash() | |
8499 | attack=true | |
8500 | combo=3 | |
8501 | local vel2 = Instance.new("BodyVelocity") | |
8502 | vel2.Parent = Torso | |
8503 | vel2.maxForce = vt(4e+005,4e+005,4e+005)*1 | |
8504 | vel2.velocity = Head.CFrame.lookVector*20 | |
8505 | for i=0,1,0.1 do | |
8506 | wait() | |
8507 | eul=1-6.32*i | |
8508 | end | |
8509 | vel2.Parent=nil | |
8510 | con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,60) end) | |
8511 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7) | |
8512 | for i=0,1,0.15 do | |
8513 | wait() | |
8514 | for i=1,3 do | |
8515 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8516 | end | |
8517 | eul=1-2*i | |
8518 | Torso.Neck.C0=necko*euler(0,0,-1+2*i) | |
8519 | wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0) | |
8520 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0) | |
8521 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2*i) | |
8522 | LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57) | |
8523 | LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0) | |
8524 | end | |
8525 | for i=0,1,0.1 do | |
8526 | wait() | |
8527 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0) | |
8528 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2-0.1*i) | |
8529 | LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57) | |
8530 | LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0) | |
8531 | end | |
8532 | con1:disconnect() | |
8533 | attack=false | |
8534 | end | |
8535 | function GrandSlam() | |
8536 | attack=true | |
8537 | Humanoid.WalkSpeed=0 | |
8538 | for i=0,1,0.1 do | |
8539 | wait(0) | |
8540 | wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0) | |
8541 | RW.C0=cf(1.5, 0.5, 0) * euler(1+2*i,0,0) | |
8542 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i) | |
8543 | LW.C0=cf(-1.5, 0.5, 0) * euler(0.3*i,0,-0.2) | |
8544 | end | |
8545 | coroutine.resume(coroutine.create(function(v) | |
8546 | wait() | |
8547 | while attack==true do | |
8548 | wait(0) | |
8549 | bg.Parent = Torso | |
8550 | local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z) | |
8551 | bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0) | |
8552 | end | |
8553 | eul=0 | |
8554 | bg.Parent=nil | |
8555 | end)) | |
8556 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5) | |
8557 | for i=0,1,0.1 do | |
8558 | wait(0) | |
8559 | for i=1,3 do | |
8560 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8561 | end | |
8562 | eul=1*i | |
8563 | Torso.Neck.C0=necko*euler(0,0,-1*i) | |
8564 | RW.C0=cf(1.5, 0.5, 0) * euler(3.2-1.63*i,0,1*i) | |
8565 | RW.C1=cf(0, 0.5, 0) * euler(1.2*i,0,0) | |
8566 | LW.C0=cf(-1.5, 0.5, 0) * euler(0.4-0.9*i,0,-0.2) | |
8567 | end | |
8568 | Charge=Charge+0.2 | |
8569 | local c = game.Workspace:GetChildren(); | |
8570 | for i = 1, #c do | |
8571 | local hum = c[i]:findFirstChild("Humanoid") | |
8572 | if hum ~= nil and hum.Health ~= 0 then | |
8573 | local head = c[i]:findFirstChild("Head"); | |
8574 | if head ~= nil then | |
8575 | local targ = head.Position - hitbox.Position; | |
8576 | local mag = targ.magnitude; | |
8577 | if mag <= 20 and c[i].Name ~= Player.Name then | |
8578 | attackdebounce=false | |
8579 | Damagefunc2(head,40,80) | |
8580 | end | |
8581 | end | |
8582 | end | |
8583 | end | |
8584 | so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.2) | |
8585 | MagicCircle(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,0,0,0,6,6,6) | |
8586 | SwirlEffect(BrickColor.new("Bright red"),hitbox.CFrame,10,10,10,0,0,0) | |
8587 | for i=1,8 do | |
8588 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9)) | |
8589 | end | |
8590 | wait(0.2) | |
8591 | for i=1,8 do | |
8592 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
8593 | end | |
8594 | attack=false | |
8595 | wait(0) | |
8596 | attack=true | |
8597 | wait(0.3) | |
8598 | for i=0,1,0.1 do | |
8599 | wait(0) | |
8600 | wld1.C0=euler(1.57+0.5-0.5*i,0,0)*cf(0,1,0) | |
8601 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,1) | |
8602 | RW.C1=cf(0, 0.5, 0) * euler(1.2-0.1*i,0,0) | |
8603 | end | |
8604 | for i=0,1,0.1 do | |
8605 | wait(0) | |
8606 | Torso.Neck.C0=necko*euler(0,0,-1+1*i) | |
8607 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,1-1*i) | |
8608 | RW.C1=cf(0, 0.5, 0) * euler(1.1-1.1*i,-0.6*i,-0.2*i) | |
8609 | LW.C0=cf(-1.5, 0.5, 0) * euler(-0.5+0.5*i,0,-0.2) | |
8610 | end | |
8611 | Humanoid.WalkSpeed=16 | |
8612 | attack=false | |
8613 | end | |
8614 | function HammerCharge() | |
8615 | attack=true | |
8616 | for i=0,1,0.1 do | |
8617 | wait() | |
8618 | RW.C0=cf(1.5, 0.5, 0) * euler(1+0.57*i,0,0) | |
8619 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+0.2*i) | |
8620 | LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.2+0.2*i) | |
8621 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8622 | end | |
8623 | con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,15,40) end) | |
8624 | local vel2 = Instance.new("BodyVelocity") | |
8625 | vel2.Parent = Torso | |
8626 | vel2.maxForce = vt(4e+005,4e+005,4e+005)*1 | |
8627 | vel2.velocity = Head.CFrame.lookVector*30 | |
8628 | repeat | |
8629 | wait(0) | |
8630 | vel2.velocity = Head.CFrame.lookVector*30 | |
8631 | Charge=Charge+0.005 | |
8632 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8633 | until dashing==false | |
8634 | con1:disconnect() | |
8635 | vel2.Parent=nil | |
8636 | for i=0,1,0.1 do | |
8637 | wait() | |
8638 | RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,0) | |
8639 | RW.C1=cf(0, 0.5, 0) * euler(0,-1.57+0.97*i,-0.2*i) | |
8640 | LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-0.2*i) | |
8641 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8642 | end | |
8643 | attack=false | |
8644 | end | |
8645 | function SuperbSlam() | |
8646 | attack=true | |
8647 | for i=0,1,0.1 do | |
8648 | wait() | |
8649 | RW.C0=cf(1.5, 0.5, 0) * euler(1-1.1*i,0,0) | |
8650 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i) | |
8651 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
8652 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8653 | end | |
8654 | wait(0.2) | |
8655 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7) | |
8656 | for i=0,1,0.2 do | |
8657 | wait() | |
8658 | RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2*i,0,0) | |
8659 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
8660 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8661 | end | |
8662 | wld1.Part1=nil | |
8663 | local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5)) | |
8664 | basepart.Anchored=true | |
8665 | basepart.CFrame=Torso.CFrame*cf(0,35,-10) | |
8666 | bodypos=Instance.new("BodyPosition") | |
8667 | bodypos.Parent=prt12 | |
8668 | bodypos.position = basepart.Position | |
8669 | bodypos.maxForce = Vector3.new(4e+080, 4e+080, 4e+080) | |
8670 | local bg2 = it("BodyGyro") | |
8671 | bg2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
8672 | bg2.P = 20e+003 | |
8673 | bg2.Parent=prt12 | |
8674 | bg2.cframe = Head.CFrame | |
8675 | coroutine.resume(coroutine.create(function(gyro) | |
8676 | while gyro.Parent~=nil do | |
8677 | wait() | |
8678 | for i=0,1,0.1 do | |
8679 | wait() | |
8680 | gyro.cframe=gyro.cframe*euler(0.5,0,0) | |
8681 | end | |
8682 | end | |
8683 | end),bg2) | |
8684 | wait(1) | |
8685 | bodypos2=Instance.new("BodyPosition") | |
8686 | bodypos2.Parent=RightArm | |
8687 | bodypos2.position = basepart.Position | |
8688 | bodypos2.maxForce = Vector3.new(4e+080, 4e+080, 4e+080) | |
8689 | wait(0.5) | |
8690 | bodypos2.Parent=nil | |
8691 | basepart.Parent=nil | |
8692 | bg2.Parent=nil | |
8693 | wld1.Part1=RightArm | |
8694 | bodypos.Parent=nil | |
8695 | boom=false | |
8696 | coroutine.resume(coroutine.create(function() | |
8697 | while boom==false do | |
8698 | wait() | |
8699 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8700 | end | |
8701 | end)) | |
8702 | for i=0,1,0.1 do | |
8703 | wait() | |
8704 | RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2-1.9*i,0,0) | |
8705 | LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.2) | |
8706 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8707 | end | |
8708 | coroutine.resume(coroutine.create(function() | |
8709 | floor=false | |
8710 | repeat | |
8711 | wait(0.05) | |
8712 | hit,pos = rayCast(Torso.Position, (CFrame.new(Torso.Position,Torso.Position - Vector3.new(0,6,0))).lookVector, 6, Character) | |
8713 | if hit ~= nil then | |
8714 | floor = true | |
8715 | end | |
8716 | until floor | |
8717 | Charge=Charge+0.999 | |
8718 | so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.5) | |
8719 | MagicCircle2(BrickColor.new("Bright red"),hitbox.CFrame*euler(1.57,0,0),300,4,300,0,-1.5,0) | |
8720 | local c = game.Workspace:GetChildren(); | |
8721 | for i = 1, #c do | |
8722 | local hum = c[i]:findFirstChild("Humanoid") | |
8723 | if hum ~= nil and hum.Health ~= 0 then | |
8724 | local head = c[i]:findFirstChild("Head"); | |
8725 | if head ~= nil then | |
8726 | local targ = head.Position - hitbox.Position; | |
8727 | local mag = targ.magnitude; | |
8728 | if mag <= 70 and c[i].Name ~= Player.Name then | |
8729 | attackdebounce=false | |
8730 | Damagefunc2(head,1,80) | |
8731 | end | |
8732 | end | |
8733 | end | |
8734 | end | |
8735 | wait(0.5) | |
8736 | local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5)) | |
8737 | basepart.Anchored=true | |
8738 | basepart.CFrame=Torso.CFrame*cf(0,0,-50)*euler(-1.57,0,0) | |
8739 | local c = game.Workspace:GetChildren(); | |
8740 | for i = 1, #c do | |
8741 | local hum = c[i]:findFirstChild("Humanoid") | |
8742 | if hum ~= nil and hum.Health ~= 0 then | |
8743 | local head = c[i]:findFirstChild("Head"); | |
8744 | if head ~= nil then | |
8745 | local targ = head.Position - basepart.Position; | |
8746 | local mag = targ.magnitude; | |
8747 | if mag <= 40 and c[i].Name ~= Player.Name then | |
8748 | attackdebounce=false | |
8749 | Damagefunc2(head,60,80) | |
8750 | end | |
8751 | end | |
8752 | end | |
8753 | end | |
8754 | so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2) | |
8755 | MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7) | |
8756 | SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0) | |
8757 | for i=1,8 do | |
8758 | MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9)) | |
8759 | end | |
8760 | wait(0.2) | |
8761 | for i=1,8 do | |
8762 | MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25)) | |
8763 | end | |
8764 | basepart.Parent=nil | |
8765 | boom=true | |
8766 | wait(1) | |
8767 | for i=0,1,0.1 do | |
8768 | wait() | |
8769 | RW.C0=cf(1.5, 0.5, 0) * euler(1*i,0,0) | |
8770 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i) | |
8771 | LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4+0.4*i,0,-0.2) | |
8772 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8773 | end | |
8774 | attack=false | |
8775 | end)) | |
8776 | end | |
8777 | function HammerSmash() | |
8778 | attack=true | |
8779 | for i=0,1,0.1 do | |
8780 | wait() | |
8781 | wld1.C0=euler(1.57+0.2*i,0,-0.8*i)*cf(0,1,0) | |
8782 | RW.C0=cf(1.5-0.5*i, 0.5+0.5*i, -0.5*i) * euler(1+1.5*i,0,-0.8*i) | |
8783 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i) | |
8784 | LW.C0=cf(-1.5+0.5*i, 0.5+0.5*i, -0.5*i) * euler(2.5*i,0,-0.2+1*i) | |
8785 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8786 | end | |
8787 | so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5) | |
8788 | bg.Parent=Torso | |
8789 | bg.cframe=Torso.CFrame | |
8790 | local bp = Instance.new("BodyPosition") | |
8791 | bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
8792 | bp.P = 10000 | |
8793 | local CF = Torso.CFrame | |
8794 | bp.position = CF.p | |
8795 | bp.Parent=Torso | |
8796 | for i=0,1,0.2 do | |
8797 | wait() | |
8798 | for i=1,3 do | |
8799 | MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
8800 | end | |
8801 | bp.position = CF.p - Vector3.new(0,2,0) | |
8802 | Torso["Left Hip"].C0=LHC0*cf(-1*i,1.5*i,0) | |
8803 | Torso["Right Hip"].C0=RHC0*cf(0,1.5*i,0)*euler(0,0,-0.5*i) | |
8804 | wld1.C0=euler(1.57+0.2+0.3*i,0,-0.8)*cf(0,1,0) | |
8805 | RW.C0=cf(1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,-0.8) | |
8806 | RW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8807 | LW.C0=cf(-1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,0.8) | |
8808 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8809 | end | |
8810 | Charge=Charge+0.4 | |
8811 | local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5)) | |
8812 | basepart.Anchored=true | |
8813 | basepart.CFrame=hitbox.CFrame | |
8814 | local c = game.Workspace:GetChildren(); | |
8815 | for i = 1, #c do | |
8816 | local hum = c[i]:findFirstChild("Humanoid") | |
8817 | if hum ~= nil and hum.Health ~= 0 then | |
8818 | local head = c[i]:findFirstChild("Head"); | |
8819 | if head ~= nil then | |
8820 | local targ = head.Position - basepart.Position; | |
8821 | local mag = targ.magnitude; | |
8822 | if mag <= 20 and c[i].Name ~= Player.Name then | |
8823 | attackdebounce=false | |
8824 | Damagefunc2(head,40,80) | |
8825 | end | |
8826 | end | |
8827 | end | |
8828 | end | |
8829 | so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2) | |
8830 | MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7) | |
8831 | SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0) | |
8832 | for i=1,8 do | |
8833 | MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9)) | |
8834 | end | |
8835 | coroutine.resume(coroutine.create(function(MainPart) | |
8836 | numb=0 | |
8837 | for i=1,10 do | |
8838 | wait(0.1) | |
8839 | numb=numb+9 | |
8840 | local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5)) | |
8841 | basepart2.Anchored=true | |
8842 | basepart2.CFrame=MainPart.CFrame*cf(numb,0,0) | |
8843 | local c = game.Workspace:GetChildren(); | |
8844 | for i = 1, #c do | |
8845 | local hum = c[i]:findFirstChild("Humanoid") | |
8846 | if hum ~= nil and hum.Health ~= 0 then | |
8847 | local head = c[i]:findFirstChild("Head"); | |
8848 | if head ~= nil then | |
8849 | local targ = head.Position - basepart2.Position; | |
8850 | local mag = targ.magnitude; | |
8851 | if mag <= 10 and c[i].Name ~= Player.Name then | |
8852 | attackdebounce=false | |
8853 | Damagefunc2(head,10,80) | |
8854 | end | |
8855 | end | |
8856 | end | |
8857 | end | |
8858 | so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3) | |
8859 | MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5) | |
8860 | SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0) | |
8861 | coroutine.resume(coroutine.create(function(Part) | |
8862 | wait(2) | |
8863 | Part.Parent=nil | |
8864 | end),basepart2) | |
8865 | end | |
8866 | MainPart.Parent=nil | |
8867 | end),basepart) | |
8868 | coroutine.resume(coroutine.create(function(MainPart) | |
8869 | numb2=0 | |
8870 | for i=1,10 do | |
8871 | wait(0.1) | |
8872 | numb2=numb2+9 | |
8873 | local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5)) | |
8874 | basepart2.Anchored=true | |
8875 | basepart2.CFrame=MainPart.CFrame*cf(-numb2,0,0) | |
8876 | local c = game.Workspace:GetChildren(); | |
8877 | for i = 1, #c do | |
8878 | local hum = c[i]:findFirstChild("Humanoid") | |
8879 | if hum ~= nil and hum.Health ~= 0 then | |
8880 | local head = c[i]:findFirstChild("Head"); | |
8881 | if head ~= nil then | |
8882 | local targ = head.Position - basepart2.Position; | |
8883 | local mag = targ.magnitude; | |
8884 | if mag <= 10 and c[i].Name ~= Player.Name then | |
8885 | attackdebounce=false | |
8886 | Damagefunc2(head,10,80) | |
8887 | end | |
8888 | end | |
8889 | end | |
8890 | end | |
8891 | so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3) | |
8892 | MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5) | |
8893 | SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0) | |
8894 | coroutine.resume(coroutine.create(function(Part) | |
8895 | wait(2) | |
8896 | Part.Parent=nil | |
8897 | end),basepart2) | |
8898 | end | |
8899 | MainPart.Parent=nil | |
8900 | end),basepart) | |
8901 | coroutine.resume(coroutine.create(function(MainPart) | |
8902 | numb3=0 | |
8903 | for i=1,10 do | |
8904 | wait(0.1) | |
8905 | numb3=numb3+9 | |
8906 | local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5)) | |
8907 | basepart2.Anchored=true | |
8908 | basepart2.CFrame=MainPart.CFrame*cf(0,numb3,0) | |
8909 | local c = game.Workspace:GetChildren(); | |
8910 | for i = 1, #c do | |
8911 | local hum = c[i]:findFirstChild("Humanoid") | |
8912 | if hum ~= nil and hum.Health ~= 0 then | |
8913 | local head = c[i]:findFirstChild("Head"); | |
8914 | if head ~= nil then | |
8915 | local targ = head.Position - basepart2.Position; | |
8916 | local mag = targ.magnitude; | |
8917 | if mag <= 10 and c[i].Name ~= Player.Name then | |
8918 | attackdebounce=false | |
8919 | Damagefunc2(head,10,80) | |
8920 | end | |
8921 | end | |
8922 | end | |
8923 | end | |
8924 | so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3) | |
8925 | MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5) | |
8926 | SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0) | |
8927 | coroutine.resume(coroutine.create(function(Part) | |
8928 | wait(2) | |
8929 | Part.Parent=nil | |
8930 | end),basepart2) | |
8931 | end | |
8932 | MainPart.Parent=nil | |
8933 | end),basepart) | |
8934 | coroutine.resume(coroutine.create(function(MainPart) | |
8935 | numb4=0 | |
8936 | for i=1,10 do | |
8937 | wait(0.1) | |
8938 | numb4=numb4+9 | |
8939 | local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5)) | |
8940 | basepart2.Anchored=true | |
8941 | basepart2.CFrame=MainPart.CFrame*cf(0,-numb4,0) | |
8942 | local c = game.Workspace:GetChildren(); | |
8943 | for i = 1, #c do | |
8944 | local hum = c[i]:findFirstChild("Humanoid") | |
8945 | if hum ~= nil and hum.Health ~= 0 then | |
8946 | local head = c[i]:findFirstChild("Head"); | |
8947 | if head ~= nil then | |
8948 | local targ = head.Position - basepart2.Position; | |
8949 | local mag = targ.magnitude; | |
8950 | if mag <= 10 and c[i].Name ~= Player.Name then | |
8951 | attackdebounce=false | |
8952 | Damagefunc2(head,10,80) | |
8953 | end | |
8954 | end | |
8955 | end | |
8956 | end | |
8957 | so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3) | |
8958 | MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5) | |
8959 | SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0) | |
8960 | coroutine.resume(coroutine.create(function(Part) | |
8961 | wait(2) | |
8962 | Part.Parent=nil | |
8963 | end),basepart2) | |
8964 | end | |
8965 | MainPart.Parent=nil | |
8966 | end),basepart) | |
8967 | wait(0.2) | |
8968 | for i=1,8 do | |
8969 | MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25)) | |
8970 | end | |
8971 | wait(1) | |
8972 | bp.Parent=nil | |
8973 | bg.Parent=nil | |
8974 | for i=0,1,0.1 do | |
8975 | wait() | |
8976 | Torso["Left Hip"].C0=LHC0*cf(-1+1*i,1.5-1.5*i,0) | |
8977 | Torso["Right Hip"].C0=RHC0*cf(0,1.5-1.5*i,0)*euler(0,0,-0.5+0.5*i) | |
8978 | wld1.C0=euler(1.57+0.5-0.5*i,0,-0.8+0.8*i)*cf(0,1,0) | |
8979 | RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.5+0.5*i,0,-0.8+0.8*i) | |
8980 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i) | |
8981 | LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(0.5-0.5*i,0,0.8-1*i) | |
8982 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8983 | end | |
8984 | Torso["Left Hip"].C0=LHC0 | |
8985 | Torso["Right Hip"].C0=RHC0 | |
8986 | wld1.C0=euler(1.57,0,0)*cf(0,1,0) | |
8987 | attack=false | |
8988 | end | |
8989 | function HammerSpin() | |
8990 | attack=true | |
8991 | for i=0,1,0.1 do | |
8992 | wait() | |
8993 | RW.C0=cf(1.5, 0.5, 0) * euler(1,1*i,0) | |
8994 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+1.2*i) | |
8995 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
8996 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
8997 | end | |
8998 | attack=false | |
8999 | end | |
9000 | combo=0 | |
9001 | function ob1d(mouse) | |
9002 | if attack == true then return end | |
9003 | attackdebounce=false | |
9004 | hold=true | |
9005 | coroutine.resume(coroutine.create(function(v) | |
9006 | wait() | |
9007 | while attack==true do | |
9008 | wait(0) | |
9009 | bg.Parent = Torso | |
9010 | local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z) | |
9011 | bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0) | |
9012 | end | |
9013 | bg.Parent=nil | |
9014 | end)) | |
9015 | if combo==0 then | |
9016 | oneslash() | |
9017 | elseif combo==1 then | |
9018 | twoslash() | |
9019 | elseif combo==2 then | |
9020 | threeslash() | |
9021 | end | |
9022 | coroutine.resume(coroutine.create(function() | |
9023 | wait(0.5) | |
9024 | if attack==false then | |
9025 | combo=0 | |
9026 | eul=0 | |
9027 | Torso.Neck.C0=necko | |
9028 | wld1.C0=euler(1.57,0,0)*cf(0,1,0) | |
9029 | RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0) | |
9030 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2) | |
9031 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
9032 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0) | |
9033 | end | |
9034 | end)) | |
9035 | --[[wait(1) | |
9036 | eul=0 | |
9037 | Torso.Neck.C0=necko | |
9038 | wld1.C0=euler(1.57,0,0)*cf(0,1,0) | |
9039 | RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0) | |
9040 | RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2) | |
9041 | LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2) | |
9042 | LW.C1=cf(0, 0.5, 0) * euler(0,0,0)]] | |
9043 | end | |
9044 | function ob1u(mouse) | |
9045 | hold = false | |
9046 | end | |
9047 | buttonhold = false | |
9048 | eul=0 | |
9049 | function key(key) | |
9050 | if attack == true then return end | |
9051 | if key=="z" then | |
9052 | GrandSlam() | |
9053 | end | |
9054 | if key=="x" then | |
9055 | dashing=true | |
9056 | HammerCharge() | |
9057 | end | |
9058 | if key=="c" then | |
9059 | HammerSmash() | |
9060 | end | |
9061 | if key=="v" then | |
9062 | HammerSpin() | |
9063 | end | |
9064 | if key=="f" then | |
9065 | SuperbSlam() | |
9066 | end | |
9067 | end | |
9068 | function key2(key) | |
9069 | if key=="x" then | |
9070 | dashing=false | |
9071 | end | |
9072 | end | |
9073 | function s(mouse) | |
9074 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
9075 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
9076 | mouse.KeyDown:connect(key) | |
9077 | mouse.KeyUp:connect(key2) | |
9078 | unsheathed = true | |
9079 | player = Player | |
9080 | ch = Character | |
9081 | MMouse = mouse | |
9082 | RSH = ch.Torso["Right Shoulder"] | |
9083 | LSH = ch.Torso["Left Shoulder"] | |
9084 | -- | |
9085 | RSH.Parent = nil | |
9086 | LSH.Parent = nil | |
9087 | -- | |
9088 | RW.Part0 = ch.Torso | |
9089 | RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
9090 | RW.C1 = CFrame.new(0, 0.5, 0) | |
9091 | RW.Part1 = ch["Right Arm"] | |
9092 | RW.Parent = ch.Torso | |
9093 | --_G.R = RW | |
9094 | -- | |
9095 | LW.Part0 = ch.Torso | |
9096 | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
9097 | LW.C1 = CFrame.new(0, 0.5, 0) | |
9098 | LW.Part1 = ch["Left Arm"] | |
9099 | LW.Parent = ch.Torso | |
9100 | --_G.L = LW | |
9101 | -- | |
9102 | equipanim() | |
9103 | end | |
9104 | function ds(mouse) | |
9105 | hideanim() | |
9106 | wait(0) | |
9107 | RW.Parent = nil | |
9108 | LW.Parent = nil | |
9109 | RSH.Parent = player.Character.Torso | |
9110 | LSH.Parent = player.Character.Torso | |
9111 | end | |
9112 | Bin.Selected:connect(s) | |
9113 | Bin.Deselected:connect(ds) | |
9114 | print("Fenrier's Rocket Hammer loaded.") | |
9115 | blownup=false | |
9116 | while blownup==false do | |
9117 | wait(0) | |
9118 | prt17b.Transparency=1-Charge | |
9119 | hitbox.Transparency=1 | |
9120 | if Charge>0 and attack==false then | |
9121 | Charge=Charge-0.001 | |
9122 | end | |
9123 | if Charge>=1 and blownup==false then | |
9124 | blownup=true | |
9125 | Charge=1 | |
9126 | BOOM=Instance.new("Explosion") | |
9127 | BOOM.Parent=workspace | |
9128 | BOOM.Position=hitbox.Position | |
9129 | BOOM.BlastRadius=20 | |
9130 | so("http://www.roblox.com/asset/?id=2101148",hit,5,0.4) | |
9131 | print("Good job taking care of your hammer. It blew up.") | |
9132 | end | |
9133 | fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0) | |
9134 | end | |
9135 | -- mediafire | |
9136 | --[[ | |
9137 | Copyrighted (C) Fenrier 2013 | |
9138 | ]]-- |