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