SHOW:
|
|
- or go back to the newest paste.
1 | - | local Name=game.Players.LocalPlayer.Romania12x |
1 | + | local Name=game.Players.LocalPlayer.ericthefabulous |
2 | ||
3 | - | local player=game.Players[Romania12x] |
3 | + | local player=game.Players[ericthefabulous] |
4 | ||
5 | local char=player.Character | |
6 | ||
7 | local Suit=false | |
8 | ||
9 | local Tag=Instance.new("ObjectValue") | |
10 | ||
11 | Tag.Name="creator" | |
12 | ||
13 | Tag.Value=player | |
14 | ||
15 | local Welds={} | |
16 | ||
17 | ||
18 | ||
19 | if script.Parent.className~="HopperBin" then | |
20 | ||
21 | local h=Instance.new("HopperBin") | |
22 | ||
23 | h.Name="Gold rush" | |
24 | ||
25 | h.Parent=player.Backpack | |
26 | ||
27 | script.Parent=h | |
28 | ||
29 | end | |
30 | ||
31 | pcall(function() char.Sword:remove() end) | |
32 | ||
33 | pcall(function() char.Sheath:remove() end) | |
34 | ||
35 | pcall(function() char.Suit:remove() end) | |
36 | ||
37 | local m=Instance.new("Model") | |
38 | ||
39 | m.Name="Sword" | |
40 | ||
41 | m.Parent=char | |
42 | ||
43 | local otherm=Instance.new("Model") | |
44 | ||
45 | otherm.Name="Sheath" | |
46 | ||
47 | otherm.Parent=char | |
48 | ||
49 | ||
50 | ||
51 | --SWORD-- | |
52 | ||
53 | local p=Instance.new("Part") | |
54 | ||
55 | p.Size=Vector3.new(1,3,1) | |
56 | ||
57 | p.BrickColor = BrickColor.new("Gold") | |
58 | ||
59 | p.Reflectance=0.4 | |
60 | ||
61 | p.CanCollide=false | |
62 | ||
63 | p.Parent=m | |
64 | ||
65 | local mes=Instance.new("BlockMesh") | |
66 | ||
67 | mes.Parent=p | |
68 | ||
69 | mes.Scale=Vector3.new(0.4,1.2,0.2) | |
70 | ||
71 | local w=Instance.new("Weld") | |
72 | ||
73 | w.Parent=p | |
74 | ||
75 | w.Part1=p | |
76 | ||
77 | w.Part0=char.Torso | |
78 | ||
79 | w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150)) | |
80 | ||
81 | w.C1=CFrame.new(0,0.25,0) | |
82 | ||
83 | local HoldWeld=w | |
84 | ||
85 | local Blade=p | |
86 | ||
87 | Welds["MAIN"]=HoldWeld | |
88 | ||
89 | local p=Instance.new("Part") | |
90 | ||
91 | p.Size=Vector3.new(1,3,1) | |
92 | ||
93 | p.BrickColor = BrickColor.new("Silver") | |
94 | ||
95 | p.Parent=m | |
96 | ||
97 | local mes=Instance.new("BlockMesh") | |
98 | ||
99 | mes.Parent=p | |
100 | ||
101 | mes.Scale=Vector3.new(0.02,1,0.21) | |
102 | ||
103 | local w=Instance.new("Weld") | |
104 | ||
105 | w.Parent=p | |
106 | ||
107 | w.Part1=p | |
108 | ||
109 | w.Part0=Blade | |
110 | ||
111 | w.C0=CFrame.new(0,-.2,0) | |
112 | ||
113 | local p=Instance.new("Part") | |
114 | ||
115 | p.Size=Vector3.new(1,1,1) | |
116 | ||
117 | p.BrickColor=BrickColor.new("Silver") | |
118 | ||
119 | p.Parent=m | |
120 | ||
121 | p.Reflectance=0.4 | |
122 | ||
123 | local mes=Instance.new("BlockMesh") | |
124 | ||
125 | mes.Parent=p | |
126 | ||
127 | mes.Scale=Vector3.new(0.6,.2,.3) | |
128 | ||
129 | local w=Instance.new("Weld") | |
130 | ||
131 | w.Parent=p | |
132 | ||
133 | w.Part1=p | |
134 | ||
135 | w.Part0=Blade | |
136 | ||
137 | w.C0=CFrame.new(0,-1.45,0) | |
138 | ||
139 | local p=Instance.new("Part") | |
140 | ||
141 | p.Size=Vector3.new(1,1,1) | |
142 | ||
143 | p.BrickColor=BrickColor.new("Silver") | |
144 | ||
145 | p.Parent=m | |
146 | ||
147 | p.Reflectance=0.4 | |
148 | ||
149 | local mes=Instance.new("BlockMesh") | |
150 | ||
151 | mes.Parent=p | |
152 | ||
153 | mes.Scale=Vector3.new(0.4,.2,.3) | |
154 | ||
155 | local w=Instance.new("Weld") | |
156 | ||
157 | w.Parent=p | |
158 | ||
159 | w.Part1=p | |
160 | ||
161 | w.Part0=Blade | |
162 | ||
163 | w.C0=CFrame.new(0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(30)) | |
164 | ||
165 | local p=Instance.new("Part") | |
166 | ||
167 | p.Size=Vector3.new(1,1,1) | |
168 | ||
169 | p.BrickColor=BrickColor.new("Silver") | |
170 | ||
171 | p.Parent=m | |
172 | ||
173 | p.Reflectance=0.4 | |
174 | ||
175 | local mes=Instance.new("BlockMesh") | |
176 | ||
177 | mes.Parent=p | |
178 | ||
179 | mes.Scale=Vector3.new(0.4,.2,.3) | |
180 | ||
181 | local w=Instance.new("Weld") | |
182 | ||
183 | w.Parent=p | |
184 | ||
185 | w.Part1=p | |
186 | ||
187 | w.Part0=Blade | |
188 | ||
189 | w.C0=CFrame.new(-0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(-30)) | |
190 | ||
191 | local p=Instance.new("Part") | |
192 | ||
193 | p.Size=Vector3.new(1,1,1) | |
194 | ||
195 | p.BrickColor=BrickColor.new("Gold") | |
196 | ||
197 | p.Parent=m | |
198 | ||
199 | local mes=Instance.new("CylinderMesh") | |
200 | ||
201 | mes.Parent=p | |
202 | ||
203 | mes.Scale=Vector3.new(.2,1.25,.2) | |
204 | ||
205 | local w=Instance.new("Weld") | |
206 | ||
207 | w.Parent=p | |
208 | ||
209 | w.Part1=p | |
210 | ||
211 | w.Part0=Blade | |
212 | ||
213 | w.C0=CFrame.new(0,-2,0) | |
214 | ||
215 | local p=Instance.new("Part") | |
216 | ||
217 | p.Size=Vector3.new(1,1,1) | |
218 | ||
219 | p.BrickColor = BrickColor.new("Silver") | |
220 | ||
221 | p.Parent=m | |
222 | ||
223 | p.Reflectance=0.4 | |
224 | ||
225 | local mes=Instance.new("CylinderMesh") | |
226 | ||
227 | mes.Parent=p | |
228 | ||
229 | mes.Scale=Vector3.new(.21,.1,.21) | |
230 | ||
231 | local w=Instance.new("Weld") | |
232 | ||
233 | w.Parent=p | |
234 | ||
235 | w.Part1=p | |
236 | ||
237 | w.Part0=Blade | |
238 | ||
239 | w.C0=CFrame.new(0,-2.75,0) | |
240 | ||
241 | for i=1,10 do | |
242 | ||
243 | local p=Instance.new("Part") | |
244 | ||
245 | p.Size=Vector3.new(1,1,1) | |
246 | ||
247 | p.BrickColor = BrickColor.new("Silver") | |
248 | ||
249 | p.Parent=m | |
250 | ||
251 | local mes=Instance.new("CylinderMesh") | |
252 | ||
253 | mes.Parent=p | |
254 | ||
255 | mes.Scale=Vector3.new(.21,.05,.21) | |
256 | ||
257 | local w=Instance.new("Weld") | |
258 | ||
259 | w.Parent=p | |
260 | ||
261 | w.Part1=p | |
262 | ||
263 | w.Part0=Blade | |
264 | ||
265 | w.C0=CFrame.new(0,-2.7+.9*(i/9),0) | |
266 | ||
267 | end | |
268 | ||
269 | local p=Instance.new("Part") | |
270 | ||
271 | p.Size=Vector3.new(1,1,1) | |
272 | ||
273 | p.BrickColor = BrickColor.new("Gold") | |
274 | ||
275 | p.Parent=m | |
276 | ||
277 | p.Reflectance=0.4 | |
278 | ||
279 | local mes=Instance.new("BlockMesh") | |
280 | ||
281 | mes.Parent=p | |
282 | ||
283 | mes.Scale=Vector3.new(.28,.24,.205) | |
284 | ||
285 | local w=Instance.new("Weld") | |
286 | ||
287 | w.Parent=p | |
288 | ||
289 | w.Part1=p | |
290 | ||
291 | w.Part0=Blade | |
292 | ||
293 | w.C0=CFrame.new(0,1.45,0)*CFrame.Angles(0,0,math.rad(-45)) | |
294 | ||
295 | local Tip=p | |
296 | ||
297 | --/SWORD-- | |
298 | ||
299 | ||
300 | ||
301 | --SHEATH-- | |
302 | ||
303 | local p=Instance.new("Part") | |
304 | ||
305 | p.Size=Vector3.new(1,3,1) | |
306 | ||
307 | p.Reflectance=0.0 | |
308 | ||
309 | p.BrickColor = BrickColor.new("Silver") | |
310 | ||
311 | p.Parent=otherm | |
312 | ||
313 | local mes=Instance.new("BlockMesh") | |
314 | ||
315 | mes.Parent=p | |
316 | ||
317 | mes.Scale=Vector3.new(0.6,1.2,0.3) | |
318 | ||
319 | local w=Instance.new("Weld") | |
320 | ||
321 | w.Parent=p | |
322 | ||
323 | w.Part1=p | |
324 | ||
325 | w.Part0=char.Torso | |
326 | ||
327 | w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(-30)) | |
328 | ||
329 | local Back=p | |
330 | ||
331 | local p=Instance.new("Part") | |
332 | ||
333 | p.Size=Vector3.new(1,1,1) | |
334 | ||
335 | p.BrickColor = BrickColor.new("Gold") | |
336 | ||
337 | p.Parent=otherm | |
338 | ||
339 | local mes=Instance.new("BlockMesh") | |
340 | ||
341 | mes.Parent=p | |
342 | ||
343 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
344 | ||
345 | local w=Instance.new("Weld") | |
346 | ||
347 | w.Parent=p | |
348 | ||
349 | w.Part1=p | |
350 | ||
351 | w.Part0=Back | |
352 | ||
353 | w.C0=CFrame.new(-0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(45)) | |
354 | ||
355 | local p=Instance.new("Part") | |
356 | ||
357 | p.Size=Vector3.new(1,1,1) | |
358 | ||
359 | p.BrickColor = BrickColor.new("Gold") | |
360 | ||
361 | p.Parent=otherm | |
362 | ||
363 | local mes=Instance.new("BlockMesh") | |
364 | ||
365 | mes.Parent=p | |
366 | ||
367 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
368 | ||
369 | local w=Instance.new("Weld") | |
370 | ||
371 | w.Parent=p | |
372 | ||
373 | w.Part1=p | |
374 | ||
375 | w.Part0=Back | |
376 | ||
377 | w.C0=CFrame.new(0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(-45)) | |
378 | ||
379 | local p=Instance.new("Part") | |
380 | ||
381 | p.Size=Vector3.new(1,1,1) | |
382 | ||
383 | p.BrickColor = BrickColor.new("Gold") | |
384 | ||
385 | p.Parent=otherm | |
386 | ||
387 | local mes=Instance.new("BlockMesh") | |
388 | ||
389 | mes.Parent=p | |
390 | ||
391 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
392 | ||
393 | local w=Instance.new("Weld") | |
394 | ||
395 | w.Parent=p | |
396 | ||
397 | w.Part1=p | |
398 | ||
399 | w.Part0=Back | |
400 | ||
401 | w.C0=CFrame.new(-0.1,1.29,0)*CFrame.Angles(0,0,math.rad(-45)) | |
402 | ||
403 | local p=Instance.new("Part") | |
404 | ||
405 | p.Size=Vector3.new(1,1,1) | |
406 | ||
407 | p.BrickColor = BrickColor.new("Gold") | |
408 | ||
409 | p.Parent=otherm | |
410 | ||
411 | local mes=Instance.new("BlockMesh") | |
412 | ||
413 | mes.Parent=p | |
414 | ||
415 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
416 | ||
417 | local w=Instance.new("Weld") | |
418 | ||
419 | w.Parent=p | |
420 | ||
421 | w.Part1=p | |
422 | ||
423 | w.Part0=Back | |
424 | ||
425 | w.C0=CFrame.new(0.1,1.29,0)*CFrame.Angles(0,0,math.rad(45)) | |
426 | ||
427 | local p=Instance.new("Part") | |
428 | ||
429 | p.Size=Vector3.new(1,3,1) | |
430 | ||
431 | p.BrickColor = BrickColor.new("Gold") | |
432 | ||
433 | p.Parent=otherm | |
434 | ||
435 | local mes=Instance.new("BlockMesh") | |
436 | ||
437 | mes.Parent=p | |
438 | ||
439 | mes.Scale=Vector3.new(0.1,1.25,0.32) | |
440 | ||
441 | local w=Instance.new("Weld") | |
442 | ||
443 | w.Parent=p | |
444 | ||
445 | w.Part1=p | |
446 | ||
447 | w.Part0=Back | |
448 | ||
449 | w.C0=CFrame.new(0,-0.25/2.5,0) | |
450 | ||
451 | local p=Instance.new("Part") | |
452 | ||
453 | p.Size=Vector3.new(1,3,1) | |
454 | ||
455 | p.BrickColor = BrickColor.new("Gold") | |
456 | ||
457 | p.Parent=otherm | |
458 | ||
459 | local mes=Instance.new("BlockMesh") | |
460 | ||
461 | mes.Parent=p | |
462 | ||
463 | mes.Scale=Vector3.new(0.02,1.12,0.325) | |
464 | ||
465 | local w=Instance.new("Weld") | |
466 | ||
467 | w.Parent=p | |
468 | ||
469 | w.Part1=p | |
470 | ||
471 | w.Part0=Back | |
472 | ||
473 | w.C0=CFrame.new(0,0,0) | |
474 | ||
475 | local p=Instance.new("Part") | |
476 | ||
477 | p.Size=Vector3.new(1,1,1) | |
478 | ||
479 | p.BrickColor = BrickColor.new("Gold") | |
480 | ||
481 | p.Parent=otherm | |
482 | ||
483 | local mes=Instance.new("BlockMesh") | |
484 | ||
485 | mes.Parent=p | |
486 | ||
487 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
488 | ||
489 | local w=Instance.new("Weld") | |
490 | ||
491 | w.Parent=p | |
492 | ||
493 | w.Part1=p | |
494 | ||
495 | w.Part0=Back | |
496 | ||
497 | w.C0=CFrame.new(0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(45)) | |
498 | ||
499 | local p=Instance.new("Part") | |
500 | ||
501 | p.Size=Vector3.new(1,1,1) | |
502 | ||
503 | p.BrickColor = BrickColor.new("Gold") | |
504 | ||
505 | p.Parent=otherm | |
506 | ||
507 | local mes=Instance.new("BlockMesh") | |
508 | ||
509 | mes.Parent=p | |
510 | ||
511 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
512 | ||
513 | local w=Instance.new("Weld") | |
514 | ||
515 | w.Parent=p | |
516 | ||
517 | w.Part1=p | |
518 | ||
519 | w.Part0=Back | |
520 | ||
521 | w.C0=CFrame.new(-0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(-45)) | |
522 | ||
523 | local p=Instance.new("Part") | |
524 | ||
525 | p.Size=Vector3.new(1,1,1) | |
526 | ||
527 | p.BrickColor = BrickColor.new("Gold") | |
528 | ||
529 | p.Parent=otherm | |
530 | ||
531 | local mes=Instance.new("BlockMesh") | |
532 | ||
533 | mes.Parent=p | |
534 | ||
535 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
536 | ||
537 | local w=Instance.new("Weld") | |
538 | ||
539 | w.Parent=p | |
540 | ||
541 | w.Part1=p | |
542 | ||
543 | w.Part0=Back | |
544 | ||
545 | w.C0=CFrame.new(0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(-45)) | |
546 | ||
547 | local p=Instance.new("Part") | |
548 | ||
549 | p.Size=Vector3.new(1,1,1) | |
550 | ||
551 | p.BrickColor = BrickColor.new("Gold") | |
552 | ||
553 | p.Parent=otherm | |
554 | ||
555 | local mes=Instance.new("BlockMesh") | |
556 | ||
557 | mes.Parent=p | |
558 | ||
559 | mes.Scale=Vector3.new(0.1,.25,0.31) | |
560 | ||
561 | local w=Instance.new("Weld") | |
562 | ||
563 | w.Parent=p | |
564 | ||
565 | w.Part1=p | |
566 | ||
567 | w.Part0=Back | |
568 | ||
569 | w.C0=CFrame.new(-0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(45)) | |
570 | ||
571 | local p=Instance.new("Part") | |
572 | ||
573 | p.Size=Vector3.new(1,3,1) | |
574 | ||
575 | p.BrickColor = BrickColor.new("Silver") | |
576 | ||
577 | p.Parent=otherm | |
578 | ||
579 | local mes=Instance.new("BlockMesh") | |
580 | ||
581 | mes.Parent=p | |
582 | ||
583 | mes.Scale=Vector3.new(0.55,.5,0.25) | |
584 | ||
585 | local w=Instance.new("Weld") | |
586 | ||
587 | w.Parent=p | |
588 | ||
589 | w.Part1=p | |
590 | ||
591 | w.Part0=Back | |
592 | ||
593 | w.C0=CFrame.new(0,.85,0) | |
594 | ||
595 | local p=Instance.new("Part") | |
596 | ||
597 | p.Size=Vector3.new(1,1,1) | |
598 | ||
599 | p.BrickColor = BrickColor.new("Gold") | |
600 | ||
601 | p.Parent=m | |
602 | ||
603 | p.Reflectance=0.4 | |
604 | ||
605 | local mes=Instance.new("BlockMesh") | |
606 | ||
607 | mes.Parent=p | |
608 | ||
609 | mes.Scale=Vector3.new(.42,.35,.305) | |
610 | ||
611 | local w=Instance.new("Weld") | |
612 | ||
613 | w.Parent=p | |
614 | ||
615 | w.Part1=p | |
616 | ||
617 | w.Part0=Back | |
618 | ||
619 | w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45)) | |
620 | ||
621 | for _,v in pairs(otherm:children()) do | |
622 | ||
623 | v.CanCollide=false | |
624 | ||
625 | v.Locked=true | |
626 | ||
627 | end | |
628 | ||
629 | --/SHEATH-- | |
630 | ||
631 | ||
632 | ||
633 | b=Instance.new("IntValue") | |
634 | ||
635 | b.Value=0 | |
636 | ||
637 | b.Parent=char.Sword | |
638 | ||
639 | function Click() | |
640 | ||
641 | if b.Value~=0 then | |
642 | ||
643 | pcall(function() DCLICK:disconnect() end) | |
644 | ||
645 | wait(0.25) | |
646 | ||
647 | Button() | |
648 | ||
649 | wait() | |
650 | ||
651 | DCLICK=b.Changed:connect(Click) | |
652 | ||
653 | end | |
654 | ||
655 | end | |
656 | ||
657 | DCLICK=b.Changed:connect(Click) | |
658 | ||
659 | ||
660 | ||
661 | Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]} | |
662 | ||
663 | ||
664 | ||
665 | function Button(mouse) | |
666 | ||
667 | if b.Value==1 then | |
668 | ||
669 | local rw=Welds["rw"] | |
670 | ||
671 | for i=0,0.7,0.1 do | |
672 | ||
673 | wait() | |
674 | ||
675 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(-6),0) | |
676 | ||
677 | rw.C0 = CFrame.new(0, 0.5, 0) | |
678 | ||
679 | end | |
680 | ||
681 | wait() | |
682 | ||
683 | for i=0,0.4,0.1 do | |
684 | ||
685 | wait() | |
686 | ||
687 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0) | |
688 | ||
689 | rw.C0 = rw.C0*CFrame.new(0, 0.1, 0) | |
690 | ||
691 | end | |
692 | ||
693 | wait() | |
694 | ||
695 | for i=0,0.4,0.1 do | |
696 | ||
697 | wait() | |
698 | ||
699 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0) | |
700 | ||
701 | rw.C0 = rw.C0*CFrame.new(0, -0.1, 0) | |
702 | ||
703 | end | |
704 | ||
705 | for i=0,0.9,0.1 do | |
706 | ||
707 | wait() | |
708 | ||
709 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-4.5), math.rad(6),0) | |
710 | ||
711 | rw.C0 = CFrame.new(0, 0.5, 0) | |
712 | ||
713 | end | |
714 | ||
715 | rw.C0=OrgR0 | |
716 | ||
717 | rw.C1=OrgR1 | |
718 | ||
719 | b.Value=0 | |
720 | ||
721 | else | |
722 | ||
723 | local rw=Welds["rw"] | |
724 | ||
725 | for i=0,0.3,0.1 do | |
726 | ||
727 | wait() | |
728 | ||
729 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0) | |
730 | ||
731 | rw.C0 = CFrame.new(0, 0.5, 0) | |
732 | ||
733 | end | |
734 | ||
735 | wait() | |
736 | ||
737 | for i=0,1,0.5 do | |
738 | ||
739 | wait() | |
740 | ||
741 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0) | |
742 | ||
743 | rw.C0 = CFrame.new(0, 0.5, 0) | |
744 | ||
745 | end | |
746 | ||
747 | for i=0,1,0.1 do | |
748 | ||
749 | wait() | |
750 | ||
751 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10), 0,0) | |
752 | ||
753 | rw.C0 = CFrame.new(0, 0.5, 0) | |
754 | ||
755 | end | |
756 | ||
757 | for i=0,0.3,0.1 do | |
758 | ||
759 | wait() | |
760 | ||
761 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10), 0,0) | |
762 | ||
763 | rw.C0 = CFrame.new(0, 0.5, 0) | |
764 | ||
765 | end | |
766 | ||
767 | wait() | |
768 | ||
769 | for i=0,0.3,0.1 do | |
770 | ||
771 | wait() | |
772 | ||
773 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0) | |
774 | ||
775 | rw.C0 = CFrame.new(0, 0.5, 0) | |
776 | ||
777 | end | |
778 | ||
779 | rw.C0=OrgR0 | |
780 | ||
781 | rw.C1=OrgR1 | |
782 | ||
783 | b.Value=0 | |
784 | ||
785 | end | |
786 | ||
787 | end | |
788 | ||
789 | ||
790 | ||
791 | function Charge() | |
792 | ||
793 | local rw=Welds["rw"] | |
794 | ||
795 | for i=0,1.2,0.1 do | |
796 | ||
797 | wait() | |
798 | ||
799 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(6),math.rad(2)) | |
800 | ||
801 | rw.C0 = CFrame.new(0, 0.5, 0) | |
802 | ||
803 | end | |
804 | ||
805 | wait() | |
806 | ||
807 | for i=1,6 do | |
808 | ||
809 | wait() | |
810 | ||
811 | local Laz=Instance.new("Part") | |
812 | ||
813 | Laz.Anchored=false | |
814 | ||
815 | Laz.BrickColor = BrickColor.new("Gold") | |
816 | ||
817 | Laz.Reflectance=0 | |
818 | ||
819 | Laz.Shape="Ball" | |
820 | ||
821 | Laz.Transparency=1-i/9 | |
822 | ||
823 | Laz.TopSurface="Smooth" | |
824 | ||
825 | Laz.BottomSurface="Smooth" | |
826 | ||
827 | Laz.CanCollide=false | |
828 | ||
829 | Laz.Size=Vector3.new(1,1,1) | |
830 | ||
831 | Laz.Parent=char.Sword | |
832 | ||
833 | w=Instance.new("Weld") | |
834 | ||
835 | w.Part1=Laz | |
836 | ||
837 | w.Part0=Blade | |
838 | ||
839 | w.Parent=Laz | |
840 | ||
841 | local Me=Instance.new("SpecialMesh") | |
842 | ||
843 | Me.MeshType="Sphere" | |
844 | ||
845 | Me.Parent=Laz | |
846 | ||
847 | for i=1,7,0.75 do | |
848 | ||
849 | Me.Scale = Vector3.new(i/2.5,i,i/2.5) | |
850 | ||
851 | wait() | |
852 | ||
853 | end | |
854 | ||
855 | Laz:remove() | |
856 | ||
857 | end | |
858 | ||
859 | end | |
860 | ||
861 | ||
862 | ||
863 | function SHOCK() | |
864 | ||
865 | Charge() | |
866 | ||
867 | wait() | |
868 | ||
869 | for i=0,0.7,0.1 do | |
870 | ||
871 | wait() | |
872 | ||
873 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0) | |
874 | ||
875 | rw.C0 = rw.C0*CFrame.new(0, 0, 0) | |
876 | ||
877 | end | |
878 | ||
879 | for i=1,35 do | |
880 | ||
881 | p=Instance.new("Part") | |
882 | ||
883 | p.Size=Vector3.new(1,9,7) | |
884 | ||
885 | p.Transparency=0.2 | |
886 | ||
887 | p.BrickColor = BrickColor.new("Gold") | |
888 | ||
889 | p.Reflectance=0.1 | |
890 | ||
891 | p.CanCollide=true | |
892 | ||
893 | p.Velocity=Vector3.new(9000,300,0) | |
894 | ||
895 | p.Touched:connect(function(h) | |
896 | ||
897 | if h.Parent~=char and h.Parent.Parent~=char then | |
898 | ||
899 | h.Anchored=false | |
900 | ||
901 | h:BreakJoints() | |
902 | ||
903 | h.Velocity=(h.Position-char.Torso.Position).unit*-500 | |
904 | ||
905 | end | |
906 | ||
907 | end) | |
908 | ||
909 | p.TopSurface="Smooth" | |
910 | ||
911 | p.BottomSurface="Smooth" | |
912 | ||
913 | p.Anchored=true | |
914 | ||
915 | p.Parent=char | |
916 | ||
917 | p.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(6+i,0,0) | |
918 | ||
919 | Delay(0,function() | |
920 | ||
921 | local p=p | |
922 | ||
923 | for i=3,10 do | |
924 | ||
925 | p.Transparency=i/10 | |
926 | ||
927 | wait() | |
928 | ||
929 | end | |
930 | ||
931 | p:remove() | |
932 | ||
933 | end) | |
934 | ||
935 | wait() | |
936 | ||
937 | end | |
938 | ||
939 | for i=0,0.7,0.1 do | |
940 | ||
941 | wait() | |
942 | ||
943 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0) | |
944 | ||
945 | rw.C0 = rw.C0*CFrame.new(0, 0, 0) | |
946 | ||
947 | end | |
948 | ||
949 | wait() | |
950 | ||
951 | for i=0,1.2,0.1 do | |
952 | ||
953 | wait() | |
954 | ||
955 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2)) | |
956 | ||
957 | rw.C0 = CFrame.new(0, 0.5, 0) | |
958 | ||
959 | end | |
960 | ||
961 | rw.C0=OrgR0 | |
962 | ||
963 | rw.C1=OrgR1 | |
964 | ||
965 | end | |
966 | ||
967 | ||
968 | ||
969 | function GATE() | |
970 | ||
971 | local rw=Welds["rw"] | |
972 | ||
973 | for i=0,0.3,0.1 do | |
974 | ||
975 | wait(0.06) | |
976 | ||
977 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0) | |
978 | ||
979 | rw.C0 = CFrame.new(0, 0.5, 0) | |
980 | ||
981 | end | |
982 | ||
983 | wait() | |
984 | ||
985 | for i=0,2,0.5 do | |
986 | ||
987 | wait(0.06) | |
988 | ||
989 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0) | |
990 | ||
991 | rw.C0 = CFrame.new(0, 0.5, 0) | |
992 | ||
993 | end | |
994 | ||
995 | wait() | |
996 | ||
997 | local b=Instance.new("BodyPosition") | |
998 | ||
999 | b.position=char.Torso.Position+Vector3.new(0,30,0) | |
1000 | ||
1001 | b.maxForce=Vector3.new(200,999999999,200) | |
1002 | ||
1003 | b.Parent=char.Torso | |
1004 | ||
1005 | wait(0.75) | |
1006 | ||
1007 | for i=0,2,0.5 do | |
1008 | ||
1009 | wait(0.05) | |
1010 | ||
1011 | local p=Blade:Clone() | |
1012 | ||
1013 | p.Transparency=0.5 | |
1014 | ||
1015 | p.Reflectance=0 | |
1016 | ||
1017 | p.BrickColor = BrickColor.new("Gold") | |
1018 | ||
1019 | p.Anchored=true | |
1020 | ||
1021 | p.CanCollide=false | |
1022 | ||
1023 | p.Parent=char | |
1024 | ||
1025 | Delay(0.75,function() p:remove() end) | |
1026 | ||
1027 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0) | |
1028 | ||
1029 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1030 | ||
1031 | end | |
1032 | ||
1033 | b:remove() | |
1034 | ||
1035 | function Check(d) | |
1036 | ||
1037 | for _,v in pairs(game.Players:getPlayers()) do | |
1038 | ||
1039 | if v.Name~=Name and v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Star.Position).magnitude<d then | |
1040 | ||
1041 | v.Character.Humanoid:TakeDamage(5) | |
1042 | ||
1043 | v.Character.Humanoid.PlatformStand=true | |
1044 | ||
1045 | v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120 | |
1046 | ||
1047 | end | |
1048 | ||
1049 | end | |
1050 | ||
1051 | end | |
1052 | ||
1053 | wait(0.5) | |
1054 | ||
1055 | Tor=Instance.new("Part") | |
1056 | ||
1057 | Tor.Size=Vector3.new(1,1,1) | |
1058 | ||
1059 | Tor.BrickColor = BrickColor.new("Gold") | |
1060 | ||
1061 | Tor.Reflectance=0 | |
1062 | ||
1063 | Tor.Anchored=true | |
1064 | ||
1065 | Tor.Transparency=1 | |
1066 | ||
1067 | Tor.CanCollide=false | |
1068 | ||
1069 | Tor.Parent=char | |
1070 | ||
1071 | Tor.TopSurface="Weld" | |
1072 | ||
1073 | Star=Tor | |
1074 | ||
1075 | Mesh=Instance.new("CylinderMesh") | |
1076 | ||
1077 | Mesh.Parent=Tor | |
1078 | ||
1079 | Mesh.Scale=Vector3.new(3,1.2,3) | |
1080 | ||
1081 | Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z) | |
1082 | ||
1083 | Delay(0.1,function() | |
1084 | ||
1085 | for i=1,40 do | |
1086 | ||
1087 | wait() | |
1088 | ||
1089 | Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1) | |
1090 | ||
1091 | Star.Transparency=i/50 | |
1092 | ||
1093 | Dist=Mesh.Scale.x/2 | |
1094 | ||
1095 | Check(Dist) | |
1096 | ||
1097 | end | |
1098 | ||
1099 | Tor:remove() | |
1100 | ||
1101 | end) | |
1102 | ||
1103 | for i=0,0.3,0.1 do | |
1104 | ||
1105 | wait(0.06) | |
1106 | ||
1107 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0) | |
1108 | ||
1109 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1110 | ||
1111 | end | |
1112 | ||
1113 | rw.C0=OrgR0 | |
1114 | ||
1115 | rw.C1=OrgR1 | |
1116 | ||
1117 | end | |
1118 | ||
1119 | ||
1120 | ||
1121 | function GHOST() | |
1122 | ||
1123 | --Use animation for the bustersword shooting projectile | |
1124 | ||
1125 | --When landed, become minor blackhole, sucking people in w/ minor damage | |
1126 | ||
1127 | --when done, explode into spikey explosion =D Massive damage | |
1128 | ||
1129 | end | |
1130 | ||
1131 | ||
1132 | ||
1133 | ||
1134 | ||
1135 | function PORT(mouse) | |
1136 | ||
1137 | local mouset=mouse.Target | |
1138 | ||
1139 | local mouseh=mouse.Hit | |
1140 | ||
1141 | if mouset then | |
1142 | ||
1143 | local Laz=Instance.new("Part") | |
1144 | ||
1145 | Laz.Anchored=false | |
1146 | ||
1147 | Laz.BrickColor = BrickColor.new("Gold") | |
1148 | ||
1149 | Laz.Reflectance=0 | |
1150 | ||
1151 | Laz.Transparency=1 | |
1152 | ||
1153 | Laz.Shape="Ball" | |
1154 | ||
1155 | Laz.TopSurface="Smooth" | |
1156 | ||
1157 | Laz.BottomSurface="Smooth" | |
1158 | ||
1159 | Laz.CanCollide=false | |
1160 | ||
1161 | Laz.Size=Vector3.new(1,1,1) | |
1162 | ||
1163 | Laz.CFrame=char.Torso.CFrame | |
1164 | ||
1165 | Laz.Parent=char.Torso | |
1166 | ||
1167 | Laz.Transparency=1 | |
1168 | ||
1169 | w = Instance.new("Weld") | |
1170 | ||
1171 | w.Parent = Laz | |
1172 | ||
1173 | w.Part0 = w.Parent | |
1174 | ||
1175 | w.Part1 = char.Torso | |
1176 | ||
1177 | w.C0 = CFrame.new(0,0,0) | |
1178 | ||
1179 | local Me=Instance.new("SpecialMesh") | |
1180 | ||
1181 | Me.MeshType="Sphere" | |
1182 | ||
1183 | Me.Scale=Vector3.new(15,15,15) | |
1184 | ||
1185 | Me.Parent=Laz | |
1186 | ||
1187 | for i=1,20 do | |
1188 | ||
1189 | Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5) | |
1190 | ||
1191 | Laz.Transparency=Laz.Transparency-1/20 | |
1192 | ||
1193 | wait() | |
1194 | ||
1195 | end | |
1196 | ||
1197 | char.Torso.CFrame=mouseh*CFrame.new(0,5,0) | |
1198 | ||
1199 | for i=1,20 do | |
1200 | ||
1201 | Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5) | |
1202 | ||
1203 | Laz.Transparency=i/20 | |
1204 | ||
1205 | wait() | |
1206 | ||
1207 | end | |
1208 | ||
1209 | Laz:remove() | |
1210 | ||
1211 | end | |
1212 | ||
1213 | end | |
1214 | ||
1215 | ||
1216 | ||
1217 | ||
1218 | ||
1219 | function RUSH() | |
1220 | ||
1221 | local rw=Welds["rw"] | |
1222 | ||
1223 | for i=0,0.3,0.1 do | |
1224 | ||
1225 | wait(0.06) | |
1226 | ||
1227 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0) | |
1228 | ||
1229 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1230 | ||
1231 | end | |
1232 | ||
1233 | wait() | |
1234 | ||
1235 | for i=0,0.9,0.05 do | |
1236 | ||
1237 | wait() | |
1238 | ||
1239 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*(i/1), 0,0) | |
1240 | ||
1241 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1242 | ||
1243 | end | |
1244 | ||
1245 | wait() | |
1246 | ||
1247 | local p=Instance.new("Part") | |
1248 | ||
1249 | p.Locked=true | |
1250 | ||
1251 | p.BrickColor = BrickColor.new("Gold") | |
1252 | ||
1253 | p.Name="Lan" | |
1254 | ||
1255 | p.CanCollide=false | |
1256 | ||
1257 | p.Touched:connect(function(h) | |
1258 | ||
1259 | if h.Parent~=char and h.Parent.Parent~=char and h.Name~="Base" then | |
1260 | ||
1261 | h.Anchored=false | |
1262 | ||
1263 | h:BreakJoints() | |
1264 | ||
1265 | h.Velocity=(h.Position-char.Torso.Position).unit*500 | |
1266 | ||
1267 | end | |
1268 | ||
1269 | end) | |
1270 | ||
1271 | p.Size=Vector3.new(1,6,1) | |
1272 | ||
1273 | Mesh=Instance.new("SpecialMesh") | |
1274 | ||
1275 | Mesh.MeshType="FileMesh" | |
1276 | ||
1277 | Mesh.Scale=Vector3.new(0.7,7.3,0.7) | |
1278 | ||
1279 | Mesh.MeshId="http://roblox.com/asset/?id=1033714" | |
1280 | ||
1281 | Mesh.Parent=p | |
1282 | ||
1283 | p.Parent=char | |
1284 | ||
1285 | w=Instance.new("Weld") | |
1286 | ||
1287 | w.Part1=Blade | |
1288 | ||
1289 | w.Part0=p | |
1290 | ||
1291 | w.Parent=p | |
1292 | ||
1293 | w.C0=CFrame.new(0,1,0) | |
1294 | ||
1295 | local b=Instance.new("BodyVelocity") | |
1296 | ||
1297 | b.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1298 | ||
1299 | b.velocity=char.Torso.CFrame.lookVector*65 | |
1300 | ||
1301 | b.Parent=char.Torso | |
1302 | ||
1303 | for i=1,20 do | |
1304 | ||
1305 | b.velocity=char.Torso.CFrame.lookVector*65 | |
1306 | ||
1307 | local Blue=p:clone() | |
1308 | ||
1309 | Blue.CanCollide=false | |
1310 | ||
1311 | Blue.Anchored=true | |
1312 | ||
1313 | Blue.CFrame=p.CFrame | |
1314 | ||
1315 | Blue.BrickColor = BrickColor.new("Gold") | |
1316 | ||
1317 | Blue.Parent=char | |
1318 | ||
1319 | Delay(0,function() | |
1320 | ||
1321 | local Blue=Blue | |
1322 | ||
1323 | for i=1,5 do | |
1324 | ||
1325 | Blue.Transparency=Blue.Transparency+1/20 | |
1326 | ||
1327 | wait() | |
1328 | ||
1329 | end | |
1330 | ||
1331 | Blue:remove() | |
1332 | ||
1333 | end) | |
1334 | ||
1335 | wait() | |
1336 | ||
1337 | end | |
1338 | ||
1339 | wait(0.05) | |
1340 | ||
1341 | p:remove() | |
1342 | ||
1343 | b:remove() | |
1344 | ||
1345 | wait() | |
1346 | ||
1347 | for i=0,0.2,0.05 do | |
1348 | ||
1349 | wait() | |
1350 | ||
1351 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*(i/1), 0,0) | |
1352 | ||
1353 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1354 | ||
1355 | end | |
1356 | ||
1357 | for i=0,0.3,0.1 do | |
1358 | ||
1359 | wait(0.06) | |
1360 | ||
1361 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0) | |
1362 | ||
1363 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1364 | ||
1365 | end | |
1366 | ||
1367 | rw.C0=OrgR0 | |
1368 | ||
1369 | rw.C1=OrgR1 | |
1370 | ||
1371 | end | |
1372 | ||
1373 | ||
1374 | ||
1375 | function NUKE() | |
1376 | ||
1377 | Charge() | |
1378 | ||
1379 | for i=0,0.7,0.1 do | |
1380 | ||
1381 | wait() | |
1382 | ||
1383 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0) | |
1384 | ||
1385 | rw.C0 = rw.C0*CFrame.new(0, 0, 0) | |
1386 | ||
1387 | end | |
1388 | ||
1389 | local Laz=Instance.new("Part") | |
1390 | ||
1391 | Laz.Anchored=false | |
1392 | ||
1393 | Laz.BrickColor=BrickColor:Blue() | |
1394 | ||
1395 | Laz.Reflectance=0 | |
1396 | ||
1397 | Laz.Transparency=1 | |
1398 | ||
1399 | Laz.Shape="Ball" | |
1400 | ||
1401 | Laz.TopSurface="Smooth" | |
1402 | ||
1403 | Laz.BottomSurface="Smooth" | |
1404 | ||
1405 | Laz.CanCollide=false | |
1406 | ||
1407 | Laz.Size=Vector3.new(1,1,1) | |
1408 | ||
1409 | Laz.CFrame=char.Torso.CFrame | |
1410 | ||
1411 | Laz.Parent=char.Torso | |
1412 | ||
1413 | Laz.Transparency=1 | |
1414 | ||
1415 | w = Instance.new("Weld") | |
1416 | ||
1417 | w.Parent = Laz | |
1418 | ||
1419 | w.Part0 = w.Parent | |
1420 | ||
1421 | w.Part1 = char.Torso | |
1422 | ||
1423 | w.C0 = CFrame.new(0,0,0) | |
1424 | ||
1425 | local Me=Instance.new("SpecialMesh") | |
1426 | ||
1427 | Me.MeshType="Sphere" | |
1428 | ||
1429 | Me.Scale=Vector3.new(25,25,25) | |
1430 | ||
1431 | Me.Parent=Laz | |
1432 | ||
1433 | for i=1,35 do | |
1434 | ||
1435 | Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5) | |
1436 | ||
1437 | Laz.Transparency=Laz.Transparency-1/35 | |
1438 | ||
1439 | wait() | |
1440 | ||
1441 | end | |
1442 | ||
1443 | Laz:remove() | |
1444 | ||
1445 | local e=Instance.new("Explosion") | |
1446 | ||
1447 | e.BlastRadius=22 | |
1448 | ||
1449 | e.BlastPressure=0 | |
1450 | ||
1451 | e.Position=char.Torso.Position | |
1452 | ||
1453 | e.Hit:connect(function(p) | |
1454 | ||
1455 | if p.Parent~=char and p.Parent.Parent~=char then | |
1456 | ||
1457 | p.Anchored=false | |
1458 | ||
1459 | p:BreakJoints() | |
1460 | ||
1461 | p.Velocity=(p.Position-e.Position).unit*200 | |
1462 | ||
1463 | end | |
1464 | ||
1465 | end) | |
1466 | ||
1467 | e.Parent=char | |
1468 | ||
1469 | for i=0,0.7,0.1 do | |
1470 | ||
1471 | wait() | |
1472 | ||
1473 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0) | |
1474 | ||
1475 | rw.C0 = rw.C0*CFrame.new(0, 0, 0) | |
1476 | ||
1477 | end | |
1478 | ||
1479 | wait() | |
1480 | ||
1481 | for i=0,1.2,0.1 do | |
1482 | ||
1483 | wait() | |
1484 | ||
1485 | rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2)) | |
1486 | ||
1487 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1488 | ||
1489 | end | |
1490 | ||
1491 | rw.C0=OrgR0 | |
1492 | ||
1493 | rw.C1=OrgR1 | |
1494 | ||
1495 | end | |
1496 | ||
1497 | ||
1498 | ||
1499 | De=0 | |
1500 | ||
1501 | Equip=false | |
1502 | ||
1503 | function EQUIP(mouse) | |
1504 | ||
1505 | if De==0 then | |
1506 | ||
1507 | Equip=true | |
1508 | ||
1509 | De=1 | |
1510 | ||
1511 | --pcall(function() game["LocalBackpack"]:children()[1]:remove() end) | |
1512 | ||
1513 | rs=char.Torso["Right Shoulder"] | |
1514 | ||
1515 | p1=rs.Part1 | |
1516 | ||
1517 | p0=rs.Part0 | |
1518 | ||
1519 | rs.Part0=nil | |
1520 | ||
1521 | rw=Instance.new("Weld") | |
1522 | ||
1523 | rw.Parent=char | |
1524 | ||
1525 | rw.Part1=char.Torso | |
1526 | ||
1527 | rw.Part0=char["Right Arm"] | |
1528 | ||
1529 | rw.C1=CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0) | |
1530 | ||
1531 | R1=rw.C1 | |
1532 | ||
1533 | R0=rw.C0 | |
1534 | ||
1535 | Arms["rw"]=rw | |
1536 | ||
1537 | Welds["rw"]=rw | |
1538 | ||
1539 | Weld=Welds["MAIN"] | |
1540 | ||
1541 | for i=0,1,0.1 do | |
1542 | ||
1543 | wait(0.05) | |
1544 | ||
1545 | rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(270)*i, i,-i) | |
1546 | ||
1547 | rw.C0 = CFrame.new(0, 0.5, 0) | |
1548 | ||
1549 | end | |
1550 | ||
1551 | pcall(function() Weld.Part0=char["Right Arm"] | |
1552 | ||
1553 | Weld.C0=CFrame.new(0,-1.1,-2.35)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180)) | |
1554 | ||
1555 | Connec=Blade.Touched:connect(function(h) | |
1556 | ||
1557 | if h.Parent and h.Parent:findFirstChild("Humanoid") and not h.Parent:findFirstChild("Ice") and h.Parent.Name~=Name then | |
1558 | ||
1559 | Tag:clone().Parent=h.Parent.Humanoid | |
1560 | ||
1561 | h.Parent.Torso.Name="Ice" | |
1562 | ||
1563 | h.Parent.Ice.Anchored=true | |
1564 | ||
1565 | local i=Instance.new("Part") | |
1566 | ||
1567 | i.Parent=h.Parent | |
1568 | ||
1569 | i.Size=Vector3.new(5,7,5) | |
1570 | ||
1571 | i.TopSurface="Smooth" | |
1572 | ||
1573 | i.BottomSurface="Smooth" | |
1574 | ||
1575 | i.Anchored=true | |
1576 | ||
1577 | i.CFrame=h.Parent.Ice.CFrame | |
1578 | ||
1579 | i.BrickColor=BrickColor:Blue() | |
1580 | ||
1581 | i.Reflectance=0.4 | |
1582 | ||
1583 | i.Transparency=0.5 | |
1584 | ||
1585 | end | |
1586 | ||
1587 | end) | |
1588 | ||
1589 | end) | |
1590 | ||
1591 | for i=0,1,0.5 do | |
1592 | ||
1593 | wait(0.05) | |
1594 | ||
1595 | rw.C1 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i)) | |
1596 | ||
1597 | rw.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1598 | ||
1599 | end | |
1600 | ||
1601 | wait() | |
1602 | ||
1603 | for i=0,1,0.25 do | |
1604 | ||
1605 | rw.C1=rw.C1*CFrame.Angles(math.rad(-3.5),math.rad(-2),math.rad(-6)) | |
1606 | ||
1607 | wait(0.05) | |
1608 | ||
1609 | end | |
1610 | ||
1611 | Delay(0,function() | |
1612 | ||
1613 | while Equip==true do | |
1614 | ||
1615 | wait(0.08) | |
1616 | ||
1617 | local p=Instance.new("Part") | |
1618 | ||
1619 | p.Size=Vector3.new(1,1,1) | |
1620 | ||
1621 | p.Reflectance=0.3 | |
1622 | ||
1623 | p.BrickColor=BrickColor:Blue() | |
1624 | ||
1625 | p.Anchored=true | |
1626 | ||
1627 | p.CanCollide=false | |
1628 | ||
1629 | p.Parent=char | |
1630 | ||
1631 | p.CFrame=Blade.CFrame*CFrame.new(math.random(-1,1)*math.random(),math.random(-2,2)*math.random(),math.random(-1,1)*math.random())*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1632 | ||
1633 | local m=Instance.new("BlockMesh") | |
1634 | ||
1635 | m.Scale=Vector3.new(0.15,0.15,0.15) | |
1636 | ||
1637 | m.Parent=p | |
1638 | ||
1639 | Delay(0,function() | |
1640 | ||
1641 | local p=p | |
1642 | ||
1643 | for i=1,3 do | |
1644 | ||
1645 | wait(0.05) | |
1646 | ||
1647 | p.Transparency=i/3 | |
1648 | ||
1649 | end | |
1650 | ||
1651 | p:remove() | |
1652 | ||
1653 | end) | |
1654 | ||
1655 | end | |
1656 | ||
1657 | end) | |
1658 | ||
1659 | OrgR0=rw.C0 | |
1660 | ||
1661 | OrgR1=rw.C1 | |
1662 | ||
1663 | local rw=rw | |
1664 | ||
1665 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
1666 | ||
1667 | mouse.Button1Down:connect(function() b.Value=b.Value+1 end) | |
1668 | ||
1669 | Attack=false | |
1670 | ||
1671 | mouse.KeyDown:connect(function(key) | |
1672 | ||
1673 | if Attack==false then | |
1674 | ||
1675 | if key=="q" then | |
1676 | ||
1677 | Attack=true | |
1678 | ||
1679 | SHOCK() | |
1680 | ||
1681 | Attack=false | |
1682 | ||
1683 | elseif key=="e" then | |
1684 | ||
1685 | Attack=true | |
1686 | ||
1687 | GATE() | |
1688 | ||
1689 | Attack=false | |
1690 | ||
1691 | elseif key=="r" then | |
1692 | ||
1693 | Attack=true | |
1694 | ||
1695 | RUSH() | |
1696 | ||
1697 | Attack=false | |
1698 | ||
1699 | elseif key=="t" then | |
1700 | ||
1701 | Attack=true | |
1702 | ||
1703 | GHOST() | |
1704 | ||
1705 | Attack=false | |
1706 | ||
1707 | elseif key=="y" then | |
1708 | ||
1709 | Attack=true | |
1710 | ||
1711 | PORT(mouse) | |
1712 | ||
1713 | Attack=false | |
1714 | ||
1715 | elseif key=="u" then | |
1716 | ||
1717 | Attack=true | |
1718 | ||
1719 | NUKE() | |
1720 | ||
1721 | Attack=false | |
1722 | ||
1723 | end | |
1724 | ||
1725 | end | |
1726 | ||
1727 | end) | |
1728 | ||
1729 | wait() | |
1730 | ||
1731 | De=0 | |
1732 | ||
1733 | end | |
1734 | ||
1735 | end | |
1736 | ||
1737 | --setfenv(EQUIP,getfenv(0)) | |
1738 | ||
1739 | script.Parent.Selected:connect(function(mouse) | |
1740 | ||
1741 | EQUIP(mouse) | |
1742 | ||
1743 | end) | |
1744 | ||
1745 | script.Parent.Deselected:connect(function() | |
1746 | ||
1747 | if Equip == false then | |
1748 | ||
1749 | return | |
1750 | ||
1751 | end | |
1752 | ||
1753 | Equip=false | |
1754 | ||
1755 | for i=0,1,0.1 do | |
1756 | ||
1757 | rw.C1=rw.C1*CFrame.Angles(math.rad(17),math.rad(8),math.rad(4)) | |
1758 | ||
1759 | wait(0.04) | |
1760 | ||
1761 | end | |
1762 | ||
1763 | Welds["MAIN"].Part0=char.Torso | |
1764 | ||
1765 | Welds["MAIN"].C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150)) | |
1766 | ||
1767 | Welds["MAIN"].C1=CFrame.new(0,0.25,0) | |
1768 | ||
1769 | Connec:disconnect() | |
1770 | ||
1771 | for i=0,1,0.1 do | |
1772 | ||
1773 | rw.C1=rw.C1*CFrame.Angles(math.rad(-19),math.rad(-3),math.rad(-6)) | |
1774 | ||
1775 | wait() | |
1776 | ||
1777 | end | |
1778 | ||
1779 | pcall(function() | |
1780 | ||
1781 | rs.Part0=p0 | |
1782 | ||
1783 | rs.Part1=p1 | |
1784 | ||
1785 | rs.Parent=char.Torso | |
1786 | ||
1787 | rw:remove() | |
1788 | ||
1789 | end) | |
1790 | ||
1791 | end) | |
1792 | ||
1793 | --Suit-- | |
1794 | ||
1795 | if Suit then | |
1796 | ||
1797 | color=BrickColor:Blue() | |
1798 | ||
1799 | color2=BrickColor.new("Gold") | |
1800 | ||
1801 | pcall(function() char.Suit:remove() end) | |
1802 | ||
1803 | model = Instance.new("Model") | |
1804 | ||
1805 | model.Parent = char | |
1806 | ||
1807 | model.Name = "Suit" | |
1808 | ||
1809 | Tors=Instance.new("Part") | |
1810 | ||
1811 | Tors.Size=char.Torso.Size | |
1812 | ||
1813 | Tors.BrickColor=color | |
1814 | ||
1815 | Tors.Reflectance=0.75 | |
1816 | ||
1817 | Tors.CanCollide=false | |
1818 | ||
1819 | Tors.Parent=model | |
1820 | ||
1821 | Mesh=Instance.new("BlockMesh") | |
1822 | ||
1823 | Mesh.Parent=Tors | |
1824 | ||
1825 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
1826 | ||
1827 | w = Instance.new("Weld") | |
1828 | ||
1829 | w.Parent = char.Torso | |
1830 | ||
1831 | w.Part0 = w.Parent | |
1832 | ||
1833 | w.Part1 = Tors | |
1834 | ||
1835 | w.C0 = CFrame.new(0,0,0) | |
1836 | ||
1837 | for _,v in pairs(char:children()) do | |
1838 | ||
1839 | if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then | |
1840 | ||
1841 | Tor=Instance.new("Part") | |
1842 | ||
1843 | Tor.Size=v.Size | |
1844 | ||
1845 | Tor.BrickColor=color | |
1846 | ||
1847 | Tor.Reflectance=0.75 | |
1848 | ||
1849 | Tor.CanCollide=false | |
1850 | ||
1851 | Tor.Parent=model | |
1852 | ||
1853 | Mesh=Instance.new("BlockMesh") | |
1854 | ||
1855 | Mesh.Parent=Tor | |
1856 | ||
1857 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
1858 | ||
1859 | w = Instance.new("Weld") | |
1860 | ||
1861 | w.Parent = v | |
1862 | ||
1863 | w.Part0 = w.Parent | |
1864 | ||
1865 | w.Part1 = Tor | |
1866 | ||
1867 | w.C0 = CFrame.new(0,0,0) | |
1868 | ||
1869 | Tor=Instance.new("Part") | |
1870 | ||
1871 | Tor.Size=Vector3.new(1,1,1) | |
1872 | ||
1873 | Tor.BrickColor=color | |
1874 | ||
1875 | Tor.Reflectance=0.1 | |
1876 | ||
1877 | Tor.Locked=true | |
1878 | ||
1879 | Tor.CanCollide=true | |
1880 | ||
1881 | Tor.Parent=model | |
1882 | ||
1883 | Tor.TopSurface="Smooth" | |
1884 | ||
1885 | Tor.BottomSurface="Smooth" | |
1886 | ||
1887 | Mesh=Instance.new("BlockMesh") | |
1888 | ||
1889 | Mesh.Bevel=0.05 | |
1890 | ||
1891 | Mesh.Parent=Tor | |
1892 | ||
1893 | Mesh.Scale=Vector3.new(1.1,0.4,1.1) | |
1894 | ||
1895 | w = Instance.new("Weld") | |
1896 | ||
1897 | w.Parent = v | |
1898 | ||
1899 | w.Part0 = w.Parent | |
1900 | ||
1901 | w.Part1 = Tor | |
1902 | ||
1903 | w.C0 = CFrame.new(0,-0.6,0) | |
1904 | ||
1905 | end | |
1906 | ||
1907 | end | |
1908 | ||
1909 | Tor=Instance.new("Part") | |
1910 | ||
1911 | Tor.Size=Vector3.new(1,1,1) | |
1912 | ||
1913 | Tor.BrickColor=color2 | |
1914 | ||
1915 | Tor.CanCollide=false | |
1916 | ||
1917 | Tor.Parent=model | |
1918 | ||
1919 | Mesh=Instance.new("BlockMesh") | |
1920 | ||
1921 | Mesh.Parent=Tor | |
1922 | ||
1923 | Mesh.Scale=Vector3.new(.4,0.4,0.01) | |
1924 | ||
1925 | w = Instance.new("Weld") | |
1926 | ||
1927 | w.Parent = char.Torso | |
1928 | ||
1929 | w.Part0 = w.Parent | |
1930 | ||
1931 | w.Part1 = Tor | |
1932 | ||
1933 | w.C0 = CFrame.new(0,0,-0.51) | |
1934 | ||
1935 | Tor=Instance.new("Part") | |
1936 | ||
1937 | Tor.Size=Vector3.new(1,1,1) | |
1938 | ||
1939 | Tor.BrickColor=color2 | |
1940 | ||
1941 | Tor.CanCollide=false | |
1942 | ||
1943 | Tor.Parent=model | |
1944 | ||
1945 | Mesh=Instance.new("CylinderMesh") | |
1946 | ||
1947 | Mesh.Parent=Tor | |
1948 | ||
1949 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1950 | ||
1951 | w = Instance.new("Weld") | |
1952 | ||
1953 | w.Parent = char.Torso | |
1954 | ||
1955 | w.Part0 = w.Parent | |
1956 | ||
1957 | w.Part1 = Tor | |
1958 | ||
1959 | w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
1960 | ||
1961 | Tor=Instance.new("Part") | |
1962 | ||
1963 | Tor.Size=Vector3.new(1,1,1) | |
1964 | ||
1965 | Tor.BrickColor=color2 | |
1966 | ||
1967 | Tor.CanCollide=false | |
1968 | ||
1969 | Tor.Parent=model | |
1970 | ||
1971 | Mesh=Instance.new("CylinderMesh") | |
1972 | ||
1973 | Mesh.Parent=Tor | |
1974 | ||
1975 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1976 | ||
1977 | w = Instance.new("Weld") | |
1978 | ||
1979 | w.Parent = char.Torso | |
1980 | ||
1981 | w.Part0 = w.Parent | |
1982 | ||
1983 | w.Part1 = Tor | |
1984 | ||
1985 | w.C0 = CFrame.new(0,0,-0.49) | |
1986 | ||
1987 | Tor=Instance.new("Part") | |
1988 | ||
1989 | Tor.Size=Vector3.new(1,1,1) | |
1990 | ||
1991 | Tor.BrickColor=color | |
1992 | ||
1993 | Tor.CanCollide=false | |
1994 | ||
1995 | Tor.Parent=model | |
1996 | ||
1997 | Mesh=Instance.new("SpecialMesh") | |
1998 | ||
1999 | Mesh.MeshType="Sphere" | |
2000 | ||
2001 | Mesh.Parent=Tor | |
2002 | ||
2003 | Mesh.Scale=Vector3.new(.25,.25,.25) | |
2004 | ||
2005 | w = Instance.new("Weld") | |
2006 | ||
2007 | w.Parent = char.Torso | |
2008 | ||
2009 | w.Part0 = w.Parent | |
2010 | ||
2011 | w.Part1 = Tor | |
2012 | ||
2013 | w.C0 = CFrame.new(0,0,-0.49) | |
2014 | ||
2015 | Tor=Instance.new("Part") | |
2016 | ||
2017 | Tor.Size=Vector3.new(1,1,1) | |
2018 | ||
2019 | Tor.BrickColor=color2 | |
2020 | ||
2021 | Tor.CanCollide=false | |
2022 | ||
2023 | Tor.Parent=model | |
2024 | ||
2025 | Mesh=Instance.new("CylinderMesh") | |
2026 | ||
2027 | Mesh.Parent=Tor | |
2028 | ||
2029 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
2030 | ||
2031 | w = Instance.new("Weld") | |
2032 | ||
2033 | w.Parent = char.Torso | |
2034 | ||
2035 | w.Part0 = w.Parent | |
2036 | ||
2037 | w.Part1 = Tor | |
2038 | ||
2039 | w.C0 = CFrame.new(0.27,0,-0.49) | |
2040 | ||
2041 | Tor=Instance.new("Part") | |
2042 | ||
2043 | Tor.Size=Vector3.new(1,1,1) | |
2044 | ||
2045 | Tor.BrickColor=color2 | |
2046 | ||
2047 | Tor.CanCollide=false | |
2048 | ||
2049 | Tor.Parent=model | |
2050 | ||
2051 | Mesh=Instance.new("CylinderMesh") | |
2052 | ||
2053 | Mesh.Parent=Tor | |
2054 | ||
2055 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
2056 | ||
2057 | w = Instance.new("Weld") | |
2058 | ||
2059 | w.Parent = char.Torso | |
2060 | ||
2061 | w.Part0 = w.Parent | |
2062 | ||
2063 | w.Part1 = Tor | |
2064 | ||
2065 | w.C0 = CFrame.new(-0.27,0,-0.49) | |
2066 | ||
2067 | Tor=Instance.new("Part") | |
2068 | ||
2069 | Tor.Size=Vector3.new(1,1,1) | |
2070 | ||
2071 | Tor.BrickColor=color2 | |
2072 | ||
2073 | Tor.CanCollide=false | |
2074 | ||
2075 | Tor.Parent=model | |
2076 | ||
2077 | Mesh=Instance.new("CylinderMesh") | |
2078 | ||
2079 | Mesh.Parent=Tor | |
2080 | ||
2081 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
2082 | ||
2083 | w = Instance.new("Weld") | |
2084 | ||
2085 | w.Parent = char.Torso | |
2086 | ||
2087 | w.Part0 = w.Parent | |
2088 | ||
2089 | w.Part1 = Tor | |
2090 | ||
2091 | w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
2092 | ||
2093 | Tor=Instance.new("Part") | |
2094 | ||
2095 | Tor.Size=Vector3.new(1,1,1) | |
2096 | ||
2097 | Tor.BrickColor=color2 | |
2098 | ||
2099 | Tor.CanCollide=false | |
2100 | ||
2101 | Tor.Parent=model | |
2102 | ||
2103 | Mesh=Instance.new("CylinderMesh") | |
2104 | ||
2105 | Mesh.Parent=Tor | |
2106 | ||
2107 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
2108 | ||
2109 | w = Instance.new("Weld") | |
2110 | ||
2111 | w.Parent = char.Torso | |
2112 | ||
2113 | w.Part0 = w.Parent | |
2114 | ||
2115 | w.Part1 = Tor | |
2116 | ||
2117 | w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
2118 | ||
2119 | end | |
2120 | ||
2121 | --/Suit-- | |
2122 | ||
2123 | ||
2124 | ||
2125 | --MediaFire |