SHOW:
|
|
- or go back to the newest paste.
1 | - | --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: JUST RUN |
1 | + | |
2 | ||
3 | Player = script.Parent.Parent | |
4 | ||
5 | Character = Player.thesuperfireguy9000 | |
6 | - | Character = Player.Character |
6 | + | |
7 | PlayerGui = Player.PlayerGui | |
8 | ||
9 | Backpack = Player.Backpack | |
10 | ||
11 | Torso = Character.Torso | |
12 | ||
13 | Head = Character.Head | |
14 | ||
15 | LeftArm = Character["Left Arm"] | |
16 | ||
17 | LeftLeg = Character["Left Leg"] | |
18 | ||
19 | RightArm = Character["Right Arm"] | |
20 | ||
21 | RightLeg = Character["Right Leg"] | |
22 | ||
23 | LS = Torso["Left Shoulder"] | |
24 | ||
25 | LH = Torso["Left Hip"] | |
26 | ||
27 | RS = Torso["Right Shoulder"] | |
28 | ||
29 | RH = Torso["Right Hip"] | |
30 | ||
31 | attack = false | |
32 | ||
33 | attackdebounce = false | |
34 | ||
35 | combo = 0 | |
36 | ||
37 | mana = 400 | |
38 | ||
39 | necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
40 | ||
41 | lightning = false | |
42 | ||
43 | restoring = false | |
44 | ||
45 | --player | |
46 | ||
47 | player = nil | |
48 | ||
49 | --save shoulders | |
50 | ||
51 | RSH, LSH = nil, nil | |
52 | ||
53 | --welds | |
54 | ||
55 | RW, LW = Instance.new("Weld"), Instance.new("Weld") | |
56 | ||
57 | --what anim | |
58 | ||
59 | anim = "none" | |
60 | ||
61 | ||
62 | ||
63 | if Character:findFirstChild("Katana",true) ~= nil then | |
64 | ||
65 | Character:findFirstChild("Katana",true).Parent = nil | |
66 | ||
67 | end | |
68 | ||
69 | if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then | |
70 | ||
71 | Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil | |
72 | ||
73 | end | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | local modelzorz = Instance.new("Model") | |
80 | ||
81 | modelzorz.Name = "Katana" | |
82 | ||
83 | modelzorz.Parent = Character | |
84 | ||
85 | ||
86 | ||
87 | local prt1 = Instance.new("Part") | |
88 | ||
89 | prt1.formFactor = 1 | |
90 | ||
91 | prt1.Parent = modelzorz | |
92 | ||
93 | prt1.CanCollide = false | |
94 | ||
95 | prt1.BrickColor = BrickColor.new("Really red") | |
96 | ||
97 | prt1.Name = "Handle" | |
98 | ||
99 | prt1.Transparency = 0 | |
100 | ||
101 | prt1.Size = Vector3.new(1,1,1) | |
102 | ||
103 | prt1.CFrame = Torso.CFrame | |
104 | ||
105 | local prt2 = Instance.new("Part") | |
106 | ||
107 | prt2.formFactor = 1 | |
108 | ||
109 | prt2.Parent = modelzorz | |
110 | ||
111 | prt2.CanCollide = false | |
112 | ||
113 | prt2.BrickColor = BrickColor.new("Really black") | |
114 | ||
115 | prt2.Name = "Handle2" | |
116 | ||
117 | prt2.Transparency = 0 | |
118 | ||
119 | prt2.Size = Vector3.new(1,1,1) | |
120 | ||
121 | prt2.CFrame = Torso.CFrame | |
122 | ||
123 | local prt3 = Instance.new("Part") | |
124 | ||
125 | prt3.formFactor = 1 | |
126 | ||
127 | prt3.Parent = modelzorz | |
128 | ||
129 | prt3.CanCollide = false | |
130 | ||
131 | prt3.BrickColor = BrickColor.new("Dark grey") | |
132 | ||
133 | prt3.Name = "Handle3" | |
134 | ||
135 | prt3.Transparency = 0 | |
136 | ||
137 | prt3.Size = Vector3.new(1,1,1) | |
138 | ||
139 | prt3.CFrame = Torso.CFrame | |
140 | ||
141 | local prt4 = Instance.new("Part") | |
142 | ||
143 | prt4.formFactor = 1 | |
144 | ||
145 | prt4.Parent = modelzorz | |
146 | ||
147 | prt4.CanCollide = false | |
148 | ||
149 | prt4.BrickColor = BrickColor.new("Really black") | |
150 | ||
151 | prt4.Name = "Blade1" | |
152 | ||
153 | prt4.Reflectance = 0.4 | |
154 | ||
155 | prt4.Transparency = 0 | |
156 | ||
157 | prt4.Size = Vector3.new(1,3,1) | |
158 | ||
159 | prt4.CFrame = Torso.CFrame | |
160 | ||
161 | local prt5 = Instance.new("Part") | |
162 | ||
163 | prt5.formFactor = 1 | |
164 | ||
165 | prt5.Parent = modelzorz | |
166 | ||
167 | prt5.CanCollide = false | |
168 | ||
169 | prt5.BrickColor = BrickColor.new("Really black") | |
170 | ||
171 | prt5.Name = "Blade2" | |
172 | ||
173 | prt5.Transparency = 0 | |
174 | ||
175 | prt5.Size = Vector3.new(1,1,1) | |
176 | ||
177 | prt5.CFrame = Torso.CFrame | |
178 | ||
179 | local prt6 = Instance.new("Part") | |
180 | ||
181 | prt6.formFactor = 1 | |
182 | ||
183 | prt6.Parent = modelzorz | |
184 | ||
185 | prt6.CanCollide = false | |
186 | ||
187 | prt6.BrickColor = BrickColor.new("Really black") | |
188 | ||
189 | prt6.Name = "Blade3" | |
190 | ||
191 | prt6.Reflectance = 0.4 | |
192 | ||
193 | prt6.Transparency = 0 | |
194 | ||
195 | prt6.Size = Vector3.new(1,1,1) | |
196 | ||
197 | prt6.CFrame = Torso.CFrame | |
198 | ||
199 | local prt7 = Instance.new("Part") | |
200 | ||
201 | prt7.formFactor = 1 | |
202 | ||
203 | prt7.Parent = modelzorz | |
204 | ||
205 | prt7.CanCollide = false | |
206 | ||
207 | prt7.BrickColor = BrickColor.new("Really red") | |
208 | ||
209 | prt7.Name = "Handle3" | |
210 | ||
211 | prt7.Transparency = 0 | |
212 | ||
213 | prt7.Size = Vector3.new(1,1,1) | |
214 | ||
215 | prt7.CFrame = Torso.CFrame | |
216 | ||
217 | local prt8 = Instance.new("Part") | |
218 | ||
219 | prt8.formFactor = 1 | |
220 | ||
221 | prt8.Parent = modelzorz | |
222 | ||
223 | prt8.CanCollide = false | |
224 | ||
225 | prt8.BrickColor = BrickColor.new("Really black") | |
226 | ||
227 | prt8.Name = "Handle4" | |
228 | ||
229 | prt8.Transparency = 0 | |
230 | ||
231 | prt8.Size = Vector3.new(1,1,1) | |
232 | ||
233 | prt8.CFrame = Torso.CFrame | |
234 | ||
235 | local prt9 = Instance.new("Part") | |
236 | ||
237 | prt9.formFactor = 1 | |
238 | ||
239 | prt9.Parent = modelzorz | |
240 | ||
241 | prt9.CanCollide = false | |
242 | ||
243 | prt9.BrickColor = BrickColor.new("Really black") | |
244 | ||
245 | prt9.Name = "Handle5" | |
246 | ||
247 | prt9.Transparency = 0 | |
248 | ||
249 | prt9.Size = Vector3.new(1,1,1) | |
250 | ||
251 | prt9.CFrame = Torso.CFrame | |
252 | ||
253 | local prt10 = Instance.new("Part") | |
254 | ||
255 | prt10.formFactor = 1 | |
256 | ||
257 | prt10.Parent = modelzorz | |
258 | ||
259 | prt10.CanCollide = false | |
260 | ||
261 | prt10.BrickColor = BrickColor.new("Really red") | |
262 | ||
263 | prt10.Name = "Handle6" | |
264 | ||
265 | prt10.Transparency = 0 | |
266 | ||
267 | prt10.Size = Vector3.new(1,1,1) | |
268 | ||
269 | prt10.CFrame = Torso.CFrame | |
270 | ||
271 | local prt11 = Instance.new("Part") | |
272 | ||
273 | prt11.formFactor = 1 | |
274 | ||
275 | prt11.Parent = modelzorz | |
276 | ||
277 | prt11.CanCollide = false | |
278 | ||
279 | prt11.BrickColor = BrickColor.new("Really red") | |
280 | ||
281 | prt11.Name = "Handle7" | |
282 | ||
283 | prt11.Transparency = 0 | |
284 | ||
285 | prt11.Size = Vector3.new(1,1,1) | |
286 | ||
287 | prt11.CFrame = Torso.CFrame | |
288 | ||
289 | local prt12 = Instance.new("Part") | |
290 | ||
291 | prt12.formFactor = 1 | |
292 | ||
293 | prt12.Parent = modelzorz | |
294 | ||
295 | prt12.CanCollide = false | |
296 | ||
297 | prt12.BrickColor = BrickColor.new("Dark grey") | |
298 | ||
299 | prt12.Name = "Handle8" | |
300 | ||
301 | prt12.Transparency = 0 | |
302 | ||
303 | prt12.Size = Vector3.new(1,1,1) | |
304 | ||
305 | prt12.CFrame = Torso.CFrame | |
306 | ||
307 | local prt13 = Instance.new("Part") | |
308 | ||
309 | prt13.formFactor = 1 | |
310 | ||
311 | prt13.Parent = modelzorz | |
312 | ||
313 | prt13.CanCollide = false | |
314 | ||
315 | prt13.BrickColor = BrickColor.new("Really black") | |
316 | ||
317 | prt13.Name = "Blade4" | |
318 | ||
319 | prt13.Reflectance = 0.4 | |
320 | ||
321 | prt13.Transparency = 0 | |
322 | ||
323 | prt13.Size = Vector3.new(1,1,1) | |
324 | ||
325 | prt13.CFrame = Torso.CFrame | |
326 | ||
327 | local prt14 = Instance.new("Part") | |
328 | ||
329 | prt14.formFactor = 1 | |
330 | ||
331 | prt14.Parent = modelzorz | |
332 | ||
333 | prt14.CanCollide = false | |
334 | ||
335 | prt14.BrickColor = BrickColor.new("Really black") | |
336 | ||
337 | prt14.Name = "Blade5" | |
338 | ||
339 | prt14.Reflectance = 0.4 | |
340 | ||
341 | prt14.Transparency = 0 | |
342 | ||
343 | prt14.Size = Vector3.new(1,1,1) | |
344 | ||
345 | prt14.CFrame = Torso.CFrame | |
346 | ||
347 | local prt15 = Instance.new("Part") | |
348 | ||
349 | prt15.formFactor = 1 | |
350 | ||
351 | prt15.Parent = modelzorz | |
352 | ||
353 | prt15.CanCollide = false | |
354 | ||
355 | prt15.BrickColor = BrickColor.new("Really black") | |
356 | ||
357 | prt15.Name = "Blade6" | |
358 | ||
359 | prt15.Reflectance = 0.4 | |
360 | ||
361 | prt15.Transparency = 0 | |
362 | ||
363 | prt15.Size = Vector3.new(1,1,1) | |
364 | ||
365 | prt15.CFrame = Torso.CFrame | |
366 | ||
367 | local prt16 = Instance.new("Part") | |
368 | ||
369 | prt16.formFactor = 1 | |
370 | ||
371 | prt16.Parent = modelzorz | |
372 | ||
373 | prt16.CanCollide = false | |
374 | ||
375 | prt16.BrickColor = BrickColor.new("Really black") | |
376 | ||
377 | prt16.Name = "Blade7" | |
378 | ||
379 | prt16.Reflectance = 0.4 | |
380 | ||
381 | prt16.Transparency = 0 | |
382 | ||
383 | prt16.Size = Vector3.new(1,1,1) | |
384 | ||
385 | prt16.CFrame = Torso.CFrame | |
386 | ||
387 | modelzorz:BreakJoints() | |
388 | ||
389 | ||
390 | ||
391 | local msh1 = Instance.new("CylinderMesh") | |
392 | ||
393 | msh1.Parent = prt1 | |
394 | ||
395 | msh1.Scale = Vector3.new(0.3,1,0.5) | |
396 | ||
397 | local msh2 = Instance.new("CylinderMesh") | |
398 | ||
399 | msh2.Parent = prt2 | |
400 | ||
401 | msh2.Scale = Vector3.new(0.3,0.1,0.5) | |
402 | ||
403 | local msh3 = Instance.new("BlockMesh") | |
404 | ||
405 | msh3.Parent = prt3 | |
406 | ||
407 | msh3.Scale = Vector3.new(0.4,0.3,0.4) | |
408 | ||
409 | local msh4 = Instance.new("BlockMesh") | |
410 | ||
411 | msh4.Parent = prt4 | |
412 | ||
413 | msh4.Scale = Vector3.new(0.1,1,0.3) | |
414 | ||
415 | local msh5 = Instance.new("CylinderMesh") | |
416 | ||
417 | msh5.Parent = prt5 | |
418 | ||
419 | msh5.Scale = Vector3.new(0.2,1,0.5) | |
420 | ||
421 | local msh6 = Instance.new("SpecialMesh") | |
422 | ||
423 | msh6.Parent = prt6 | |
424 | ||
425 | msh6.MeshType = "Wedge" | |
426 | ||
427 | msh6.Scale = Vector3.new(0.1,0.7,0.3) | |
428 | ||
429 | local msh7 = Instance.new("CylinderMesh") | |
430 | ||
431 | msh7.Parent = prt7 | |
432 | ||
433 | msh7.Scale = Vector3.new(0.2,0.1,0.5) | |
434 | ||
435 | local msh8 = Instance.new("CylinderMesh") | |
436 | ||
437 | msh8.Parent = prt8 | |
438 | ||
439 | msh8.Scale = Vector3.new(0.2,0.1,0.5) | |
440 | ||
441 | local msh9 = Instance.new("CylinderMesh") | |
442 | ||
443 | msh9.Parent = prt9 | |
444 | ||
445 | msh9.Scale = Vector3.new(0.2,0.1,0.5) | |
446 | ||
447 | local msh10 = Instance.new("CylinderMesh") | |
448 | ||
449 | msh10.Parent = prt10 | |
450 | ||
451 | msh10.Scale = Vector3.new(0.2,0.1,0.5) | |
452 | ||
453 | local msh11 = Instance.new("CylinderMesh") | |
454 | ||
455 | msh11.Parent = prt11 | |
456 | ||
457 | msh11.Scale = Vector3.new(0.2,0.1,0.5) | |
458 | ||
459 | local msh12 = Instance.new("BlockMesh") | |
460 | ||
461 | msh12.Parent = prt12 | |
462 | ||
463 | msh12.Scale = Vector3.new(0.2,0.2,0.3) | |
464 | ||
465 | local msh13 = Instance.new("BlockMesh") | |
466 | ||
467 | msh13.Parent = prt13 | |
468 | ||
469 | msh13.Scale = Vector3.new(0.1,0.5,0.3) | |
470 | ||
471 | local msh14 = Instance.new("BlockMesh") | |
472 | ||
473 | msh14.Parent = prt14 | |
474 | ||
475 | msh14.Scale = Vector3.new(0.1,0.1,0.1) | |
476 | ||
477 | local msh15 = Instance.new("BlockMesh") | |
478 | ||
479 | msh15.Parent = prt15 | |
480 | ||
481 | msh15.Scale = Vector3.new(0.1,0.3,0.3) | |
482 | ||
483 | local msh16 = Instance.new("SpecialMesh") | |
484 | ||
485 | msh16.Parent = prt16 | |
486 | ||
487 | msh16.MeshType = "Wedge" | |
488 | ||
489 | msh16.Scale = Vector3.new(0.1,0.5,0.3) | |
490 | ||
491 | ||
492 | ||
493 | local wld1 = Instance.new("Weld") | |
494 | ||
495 | wld1.Parent = prt1 | |
496 | ||
497 | wld1.Part0 = prt1 | |
498 | ||
499 | wld1.Part1 = Torso | |
500 | ||
501 | wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5) | |
502 | ||
503 | wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
504 | ||
505 | local wld2 = Instance.new("Weld") | |
506 | ||
507 | wld2.Parent = prt2 | |
508 | ||
509 | wld2.Part0 = prt2 | |
510 | ||
511 | wld2.Part1 = prt1 | |
512 | ||
513 | wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.66,0) | |
514 | ||
515 | wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
516 | ||
517 | local wld3 = Instance.new("Weld") | |
518 | ||
519 | wld3.Parent = prt3 | |
520 | ||
521 | wld3.Part0 = prt3 | |
522 | ||
523 | wld3.Part1 = prt1 | |
524 | ||
525 | wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.78,0) | |
526 | ||
527 | wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
528 | ||
529 | local wld4 = Instance.new("Weld") | |
530 | ||
531 | wld4.Parent = prt4 | |
532 | ||
533 | wld4.Part0 = prt4 | |
534 | ||
535 | wld4.Part1 = prt3 | |
536 | ||
537 | wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.35,0) | |
538 | ||
539 | wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
540 | ||
541 | local wld5 = Instance.new("Weld") | |
542 | ||
543 | wld5.Parent = prt5 | |
544 | ||
545 | wld5.Part0 = prt5 | |
546 | ||
547 | wld5.Part1 = prt3 | |
548 | ||
549 | wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.77,0) | |
550 | ||
551 | wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
552 | ||
553 | local wld6 = Instance.new("Weld") | |
554 | ||
555 | wld6.Parent = prt6 | |
556 | ||
557 | wld6.Part0 = prt6 | |
558 | ||
559 | wld6.Part1 = prt4 | |
560 | ||
561 | wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.61,0) | |
562 | ||
563 | wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
564 | ||
565 | local wld7 = Instance.new("Weld") | |
566 | ||
567 | wld7.Parent = prt7 | |
568 | ||
569 | wld7.Part0 = prt7 | |
570 | ||
571 | wld7.Part1 = Torso | |
572 | ||
573 | wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6) | |
574 | ||
575 | wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
576 | ||
577 | local wld8 = Instance.new("Weld") | |
578 | ||
579 | wld8.Parent = prt8 | |
580 | ||
581 | wld8.Part0 = prt8 | |
582 | ||
583 | wld8.Part1 = prt7 | |
584 | ||
585 | wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.12,0) | |
586 | ||
587 | wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
588 | ||
589 | local wld9 = Instance.new("Weld") | |
590 | ||
591 | wld9.Parent = prt9 | |
592 | ||
593 | wld9.Part0 = prt9 | |
594 | ||
595 | wld9.Part1 = prt7 | |
596 | ||
597 | wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.12,0) | |
598 | ||
599 | wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
600 | ||
601 | local wld10 = Instance.new("Weld") | |
602 | ||
603 | wld10.Parent = prt10 | |
604 | ||
605 | wld10.Part0 = prt10 | |
606 | ||
607 | wld10.Part1 = prt7 | |
608 | ||
609 | wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,0) | |
610 | ||
611 | wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
612 | ||
613 | local wld11 = Instance.new("Weld") | |
614 | ||
615 | wld11.Parent = prt11 | |
616 | ||
617 | wld11.Part0 = prt11 | |
618 | ||
619 | wld11.Part1 = prt7 | |
620 | ||
621 | wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.24,0) | |
622 | ||
623 | wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
624 | ||
625 | local wld12 = Instance.new("Weld") | |
626 | ||
627 | wld12.Parent = prt12 | |
628 | ||
629 | wld12.Part0 = prt12 | |
630 | ||
631 | wld12.Part1 = prt7 | |
632 | ||
633 | wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.4,0) | |
634 | ||
635 | wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
636 | ||
637 | local wld13 = Instance.new("Weld") | |
638 | ||
639 | wld13.Parent = prt13 | |
640 | ||
641 | wld13.Part0 = prt13 | |
642 | ||
643 | wld13.Part1 = prt12 | |
644 | ||
645 | wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.42,0) | |
646 | ||
647 | wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
648 | ||
649 | local wld14 = Instance.new("Weld") | |
650 | ||
651 | wld14.Parent = prt14 | |
652 | ||
653 | wld14.Part0 = prt14 | |
654 | ||
655 | wld14.Part1 = prt13 | |
656 | ||
657 | wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0.1) | |
658 | ||
659 | wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
660 | ||
661 | local wld15 = Instance.new("Weld") | |
662 | ||
663 | wld15.Parent = prt15 | |
664 | ||
665 | wld15.Part0 = prt15 | |
666 | ||
667 | wld15.Part1 = prt14 | |
668 | ||
669 | wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,-0.1) | |
670 | ||
671 | wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
672 | ||
673 | local wld16 = Instance.new("Weld") | |
674 | ||
675 | wld16.Parent = prt16 | |
676 | ||
677 | wld16.Part0 = prt16 | |
678 | ||
679 | wld16.Part1 = prt15 | |
680 | ||
681 | wld16.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,0.48,0) | |
682 | ||
683 | wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
684 | ||
685 | ||
686 | ||
687 | local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL | |
688 | ||
689 | --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
690 | ||
691 | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
692 | ||
693 | SlashSound.Parent = modelzorz | |
694 | ||
695 | SlashSound.Volume = .7 | |
696 | ||
697 | SlashSound.Pitch = 1 | |
698 | ||
699 | local SlashSound = Instance.new("Sound") | |
700 | ||
701 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
702 | ||
703 | SlashSound.Parent = modelzorz | |
704 | ||
705 | SlashSound.Volume = .5 | |
706 | ||
707 | SlashSound.Pitch = 1 | |
708 | ||
709 | local SlashSound = Instance.new("Sound") | |
710 | ||
711 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" | |
712 | ||
713 | SlashSound.Parent = modelzorz | |
714 | ||
715 | SlashSound.Volume = .7 | |
716 | ||
717 | SlashSound.Pitch = 1 | |
718 | ||
719 | local SlashSound = Instance.new("Sound") | |
720 | ||
721 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
722 | ||
723 | SlashSound.Parent = modelzorz | |
724 | ||
725 | SlashSound.Volume = .7 | |
726 | ||
727 | SlashSound.Pitch = 1 | |
728 | ||
729 | ||
730 | ||
731 | local fengui = Instance.new("GuiMain") | |
732 | ||
733 | fengui.Parent = Player.PlayerGui | |
734 | ||
735 | fengui.Name = "manaGUI" | |
736 | ||
737 | local fenframe = Instance.new("Frame") | |
738 | ||
739 | fenframe.Parent = fengui | |
740 | ||
741 | fenframe.BackgroundColor3 = Color3.new(255,255,255) | |
742 | ||
743 | fenframe.BackgroundTransparency = 1 | |
744 | ||
745 | fenframe.BorderColor3 = Color3.new(17,17,17) | |
746 | ||
747 | fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
748 | ||
749 | local fentext = Instance.new("TextLabel") | |
750 | ||
751 | fentext.Parent = fenframe | |
752 | ||
753 | fentext.Text = "Mana("..mana..")" | |
754 | ||
755 | fentext.BackgroundTransparency = 1 | |
756 | ||
757 | fentext.SizeConstraint = "RelativeXY" | |
758 | ||
759 | fentext.TextXAlignment = "Center" | |
760 | ||
761 | fentext.TextYAlignment = "Center" | |
762 | ||
763 | fentext.Position = UDim2.new(0,80,1,200) | |
764 | ||
765 | local fentext2 = Instance.new("TextLabel") | |
766 | ||
767 | fentext2.Parent = fenframe | |
768 | ||
769 | fentext2.Text = " " | |
770 | ||
771 | fentext2.BackgroundTransparency = 0 | |
772 | ||
773 | fentext2.BackgroundColor3 = Color3.new(0,0,0) | |
774 | ||
775 | fentext2.SizeConstraint = "RelativeXY" | |
776 | ||
777 | fentext2.TextXAlignment = "Center" | |
778 | ||
779 | fentext2.TextYAlignment = "Center" | |
780 | ||
781 | fentext2.Position = UDim2.new(0,10,1,170) | |
782 | ||
783 | fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0) | |
784 | ||
785 | local fentext3 = Instance.new("TextLabel") | |
786 | ||
787 | fentext3.Parent = fenframe | |
788 | ||
789 | fentext3.Text = " " | |
790 | ||
791 | fentext3.BackgroundTransparency = 0 | |
792 | ||
793 | fentext3.BackgroundColor3 = Color3.new(1,1,0) | |
794 | ||
795 | fentext3.SizeConstraint = "RelativeXY" | |
796 | ||
797 | fentext3.TextXAlignment = "Center" | |
798 | ||
799 | fentext3.TextYAlignment = "Center" | |
800 | ||
801 | fentext3.Position = UDim2.new(0,10,1,170) | |
802 | ||
803 | fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0) | |
804 | ||
805 | --2.9000001, 0}, {0.450000018, 0} | |
806 | ||
807 | local gairo = Instance.new("BodyGyro") | |
808 | ||
809 | gairo.Parent = nil | |
810 | ||
811 | gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge | |
812 | ||
813 | gairo.P = 20e+003 | |
814 | ||
815 | ||
816 | ||
817 | if (script.Parent.className ~= "HopperBin") then | |
818 | ||
819 | Tool = Instance.new("HopperBin") | |
820 | ||
821 | Tool.Parent = Backpack | |
822 | ||
823 | Tool.Name = "Katana" | |
824 | ||
825 | script.Parent = Tool | |
826 | ||
827 | end | |
828 | ||
829 | Bin = script.Parent | |
830 | ||
831 | ||
832 | ||
833 | function hideanim() | |
834 | ||
835 | for i = 0,1,0.1 do | |
836 | ||
837 | wait() | |
838 | ||
839 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i) | |
840 | ||
841 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i) | |
842 | ||
843 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0) | |
844 | ||
845 | RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i) | |
846 | ||
847 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14*i,0) | |
848 | ||
849 | end | |
850 | ||
851 | wld1.Part1 = Torso | |
852 | ||
853 | wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5) | |
854 | ||
855 | wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
856 | ||
857 | wld7.Part1 = Torso | |
858 | ||
859 | wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6) | |
860 | ||
861 | wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
862 | ||
863 | for i = 0,1,0.1 do | |
864 | ||
865 | wait() | |
866 | ||
867 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0.4-0.4*i) | |
868 | ||
869 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i) | |
870 | ||
871 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0) | |
872 | ||
873 | RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+1*i) | |
874 | ||
875 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14+3.14*i,0) | |
876 | ||
877 | end | |
878 | ||
879 | end | |
880 | ||
881 | ||
882 | ||
883 | function equipanim() | |
884 | ||
885 | for i = 0,1,0.1 do | |
886 | ||
887 | wait() | |
888 | ||
889 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i) | |
890 | ||
891 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
892 | ||
893 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
894 | ||
895 | RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i) | |
896 | ||
897 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14*i,0) | |
898 | ||
899 | end | |
900 | ||
901 | wld1.Part1 = RightArm | |
902 | ||
903 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
904 | ||
905 | wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
906 | ||
907 | for i = 0,1,0.2 do | |
908 | ||
909 | wait() | |
910 | ||
911 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6*i,0,0.4-0.4*i) | |
912 | ||
913 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
914 | ||
915 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
916 | ||
917 | RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+2.77*i) | |
918 | ||
919 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14+4.14*i,0) | |
920 | ||
921 | end | |
922 | ||
923 | wait(0.2) | |
924 | ||
925 | for i = 0,1,0.1 do | |
926 | ||
927 | wait() | |
928 | ||
929 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6+0.1*i,0,0) | |
930 | ||
931 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i) | |
932 | ||
933 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0) | |
934 | ||
935 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,1.77-1.77*i) | |
936 | ||
937 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,7.28-7.28*i,0) | |
938 | ||
939 | end | |
940 | ||
941 | wld7.Part1 = LeftArm | |
942 | ||
943 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
944 | ||
945 | wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
946 | ||
947 | for i = 0,1,0.1 do | |
948 | ||
949 | wait() | |
950 | ||
951 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i) | |
952 | ||
953 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0) | |
954 | ||
955 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
956 | ||
957 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
958 | ||
959 | end | |
960 | ||
961 | Torso.Neck.C0=necko | |
962 | ||
963 | end | |
964 | ||
965 | ||
966 | ||
967 | function onehit() | |
968 | ||
969 | attack = true | |
970 | ||
971 | for i = 0,1,0.1 do | |
972 | ||
973 | wait() | |
974 | ||
975 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
976 | ||
977 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
978 | ||
979 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i) | |
980 | ||
981 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0) | |
982 | ||
983 | end | |
984 | ||
985 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end) | |
986 | ||
987 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end) | |
988 | ||
989 | ss(1) | |
990 | ||
991 | for i = 0,1,0.2 do | |
992 | ||
993 | wait() | |
994 | ||
995 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0) | |
996 | ||
997 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
998 | ||
999 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
1000 | ||
1001 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1002 | ||
1003 | RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i) | |
1004 | ||
1005 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1,0) | |
1006 | ||
1007 | end | |
1008 | ||
1009 | con1:disconnect() | |
1010 | ||
1011 | con2:disconnect() | |
1012 | ||
1013 | attack = false | |
1014 | ||
1015 | end | |
1016 | ||
1017 | ||
1018 | ||
1019 | function twohit() | |
1020 | ||
1021 | attack = true | |
1022 | ||
1023 | for i = 0,1,0.1 do | |
1024 | ||
1025 | wait() | |
1026 | ||
1027 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5*i,0,0) | |
1028 | ||
1029 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1030 | ||
1031 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
1032 | ||
1033 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1034 | ||
1035 | RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1+1.5*i,0,1-2+1*i) | |
1036 | ||
1037 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0) | |
1038 | ||
1039 | end | |
1040 | ||
1041 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end) | |
1042 | ||
1043 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end) | |
1044 | ||
1045 | ss(1.2) | |
1046 | ||
1047 | for i = 0,1,0.2 do | |
1048 | ||
1049 | wait() | |
1050 | ||
1051 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5+0.5*i,0,0) | |
1052 | ||
1053 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1054 | ||
1055 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
1056 | ||
1057 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1058 | ||
1059 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1+1.5-2*i,0,0) | |
1060 | ||
1061 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1062 | ||
1063 | end | |
1064 | ||
1065 | con1:disconnect() | |
1066 | ||
1067 | con2:disconnect() | |
1068 | ||
1069 | attack = false | |
1070 | ||
1071 | end | |
1072 | ||
1073 | ||
1074 | ||
1075 | function threehit() | |
1076 | ||
1077 | attack = true | |
1078 | ||
1079 | for i = 0,1,0.1 do | |
1080 | ||
1081 | wait() | |
1082 | ||
1083 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.3*i,0,0) | |
1084 | ||
1085 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1086 | ||
1087 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
1088 | ||
1089 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1090 | ||
1091 | RW.C0 = CFrame.new(1.5-0.5*i,0.5+0.4*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-1.57*i) | |
1092 | ||
1093 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0) | |
1094 | ||
1095 | end | |
1096 | ||
1097 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end) | |
1098 | ||
1099 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end) | |
1100 | ||
1101 | ss(0.9) | |
1102 | ||
1103 | for i = 0,1,0.2 do | |
1104 | ||
1105 | wait() | |
1106 | ||
1107 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1108 | ||
1109 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
1110 | ||
1111 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1112 | ||
1113 | RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5+0.4-0.4*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07,0,-1.57+3.14*i) | |
1114 | ||
1115 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57,0) | |
1116 | ||
1117 | end | |
1118 | ||
1119 | con1:disconnect() | |
1120 | ||
1121 | con2:disconnect() | |
1122 | ||
1123 | attack = false | |
1124 | ||
1125 | end | |
1126 | ||
1127 | ||
1128 | ||
1129 | function fourhit() | |
1130 | ||
1131 | attack = true | |
1132 | ||
1133 | gairo.Parent = Head | |
1134 | ||
1135 | gairo.cframe = Head.CFrame | |
1136 | ||
1137 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end) | |
1138 | ||
1139 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end) | |
1140 | ||
1141 | ss(0.6) | |
1142 | ||
1143 | for i = 0,1,0.2 do | |
1144 | ||
1145 | wait() | |
1146 | ||
1147 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4*i) | |
1148 | ||
1149 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90),0,0) * CFrame.new(0,1,0) | |
1150 | ||
1151 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,-0.5*i) | |
1152 | ||
1153 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1154 | ||
1155 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.2*i) | |
1156 | ||
1157 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0) | |
1158 | ||
1159 | end | |
1160 | ||
1161 | wait(0.1) | |
1162 | ||
1163 | con1:disconnect() | |
1164 | ||
1165 | con2:disconnect() | |
1166 | ||
1167 | attack = false | |
1168 | ||
1169 | end | |
1170 | ||
1171 | ||
1172 | ||
1173 | function fivehit() | |
1174 | ||
1175 | attack = true | |
1176 | ||
1177 | for i = 0,1,0.1 do | |
1178 | ||
1179 | wait() | |
1180 | ||
1181 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8*i) | |
1182 | ||
1183 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1184 | ||
1185 | LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.5+1.5*i) | |
1186 | ||
1187 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0) | |
1188 | ||
1189 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.07*i,0,0.37-0.37*i) | |
1190 | ||
1191 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1192 | ||
1193 | end | |
1194 | ||
1195 | con1=prt14.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
1196 | ||
1197 | con2=prt15.Touched:connect(function(hit) Damagefunc1(hit,25,10) end) | |
1198 | ||
1199 | con3=prt16.Touched:connect(function(hit) Damagefunc1(hit,25,10) end) | |
1200 | ||
1201 | ss(1.4) | |
1202 | ||
1203 | for i = 0,1,0.2 do | |
1204 | ||
1205 | wait() | |
1206 | ||
1207 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8-0.4*i) | |
1208 | ||
1209 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90),0,0) * CFrame.new(0,1,0) | |
1210 | ||
1211 | LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,1-2.57*i) | |
1212 | ||
1213 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,0) | |
1214 | ||
1215 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
1216 | ||
1217 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1218 | ||
1219 | end | |
1220 | ||
1221 | wait(0.2) | |
1222 | ||
1223 | con1:disconnect() | |
1224 | ||
1225 | con2:disconnect() | |
1226 | ||
1227 | con3:disconnect() | |
1228 | ||
1229 | gairo.Parent = nil | |
1230 | ||
1231 | Torso.Neck.C0=necko | |
1232 | ||
1233 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1234 | ||
1235 | attack = false | |
1236 | ||
1237 | end | |
1238 | ||
1239 | ||
1240 | ||
1241 | function WindCharge() | |
1242 | ||
1243 | if mana >= 20 then | |
1244 | ||
1245 | attack = true | |
1246 | ||
1247 | gairo.Parent = Head | |
1248 | ||
1249 | gairo.cframe = Head.CFrame | |
1250 | ||
1251 | efect() | |
1252 | ||
1253 | for i = 0,1,0.1 do | |
1254 | ||
1255 | wait() | |
1256 | ||
1257 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1258 | ||
1259 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1260 | ||
1261 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1262 | ||
1263 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1264 | ||
1265 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,1*i) | |
1266 | ||
1267 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1268 | ||
1269 | end | |
1270 | ||
1271 | mana = mana - 0 | |
1272 | ||
1273 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,10) end) | |
1274 | ||
1275 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,10) end) | |
1276 | ||
1277 | ss(1) | |
1278 | ||
1279 | lightning = true | |
1280 | ||
1281 | coroutine.resume(coroutine.create(function() | |
1282 | ||
1283 | Stun2(prt4,10,25,10) | |
1284 | ||
1285 | --Stun2(prt4,10,25,10) | |
1286 | ||
1287 | end)) | |
1288 | ||
1289 | for i = 0,1,0.2 do | |
1290 | ||
1291 | wait() | |
1292 | ||
1293 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1294 | ||
1295 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5*i) | |
1296 | ||
1297 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i) | |
1298 | ||
1299 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1300 | ||
1301 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1-0.5*i) | |
1302 | ||
1303 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1304 | ||
1305 | end | |
1306 | ||
1307 | wait() | |
1308 | ||
1309 | local vel = Instance.new("BodyVelocity") | |
1310 | ||
1311 | vel.Parent = Player.Character.Torso | |
1312 | ||
1313 | vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
1314 | ||
1315 | vel.velocity = Player.Character.Head.CFrame.lookVector * 100 | |
1316 | ||
1317 | wait(0.5) | |
1318 | ||
1319 | vel.Parent = nil | |
1320 | ||
1321 | lightning = false | |
1322 | ||
1323 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1324 | ||
1325 | Torso.Neck.C0=necko | |
1326 | ||
1327 | con1:disconnect() | |
1328 | ||
1329 | con2:disconnect() | |
1330 | ||
1331 | gairo.Parent = nil | |
1332 | ||
1333 | attack = false | |
1334 | ||
1335 | end | |
1336 | ||
1337 | end | |
1338 | ||
1339 | ||
1340 | ||
1341 | function Restore() | |
1342 | ||
1343 | attack = true | |
1344 | ||
1345 | for i = 0,1,0.1 do | |
1346 | ||
1347 | wait() | |
1348 | ||
1349 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1*i,0,0) * CFrame.new(0,1,0) | |
1350 | ||
1351 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,0) | |
1352 | ||
1353 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
1354 | ||
1355 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1356 | ||
1357 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0) | |
1358 | ||
1359 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1360 | ||
1361 | end | |
1362 | ||
1363 | local lol = Instance.new("Part") | |
1364 | ||
1365 | lol.Parent = modelzorz | |
1366 | ||
1367 | lol.Shape = "Ball" | |
1368 | ||
1369 | lol.Position = Torso.Position | |
1370 | ||
1371 | lol.Anchored = false | |
1372 | ||
1373 | lol.Transparency = 0.5 | |
1374 | ||
1375 | lol.CanCollide = false | |
1376 | ||
1377 | lol.Size = Vector3.new(1,1,1) | |
1378 | ||
1379 | lol.BrickColor = BrickColor.new("Really red") | |
1380 | ||
1381 | lol.CFrame = Torso.CFrame | |
1382 | ||
1383 | local lolmesh = Instance.new("SpecialMesh") | |
1384 | ||
1385 | lolmesh.Parent = lol | |
1386 | ||
1387 | lolmesh.Scale = Vector3.new(0.5,0.5,0.5) | |
1388 | ||
1389 | lolmesh.MeshType = "Sphere" | |
1390 | ||
1391 | local lolweld = Instance.new("Weld") | |
1392 | ||
1393 | lolweld.Parent = lol | |
1394 | ||
1395 | lolweld.Part0 = lol | |
1396 | ||
1397 | lolweld.Part1 = prt6 | |
1398 | ||
1399 | wait(0) | |
1400 | ||
1401 | coroutine.resume(coroutine.create(function() | |
1402 | ||
1403 | for i = 0, 1, 0.05 do | |
1404 | ||
1405 | wait(0) | |
1406 | ||
1407 | lolmesh.Scale = lolmesh.Scale + Vector3.new(0.15,0.15,0.15) | |
1408 | ||
1409 | end | |
1410 | ||
1411 | end)) | |
1412 | ||
1413 | while restoring == true do | |
1414 | ||
1415 | wait(0.15) | |
1416 | ||
1417 | lolweld.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1418 | ||
1419 | MMMAGIC(lol,2,2,2,0,0,0,BrickColor.new("Really red")) | |
1420 | ||
1421 | DifferentEffect() | |
1422 | ||
1423 | if mana >= 400 then | |
1424 | ||
1425 | mana = 400 | |
1426 | ||
1427 | else | |
1428 | ||
1429 | Character.Humanoid.Health = Character.Humanoid.Health + 0.05 | |
1430 | ||
1431 | mana = mana + 5 | |
1432 | ||
1433 | end | |
1434 | ||
1435 | end | |
1436 | ||
1437 | for i = 0, 1, 0.05 do | |
1438 | ||
1439 | wait(0) | |
1440 | ||
1441 | lol.Transparency = lol.Transparency + 0.03 | |
1442 | ||
1443 | lolmesh.Scale = lolmesh.Scale - Vector3.new(0.2,0.2,0.2) | |
1444 | ||
1445 | end | |
1446 | ||
1447 | for i = 0,1,0.1 do | |
1448 | ||
1449 | wait() | |
1450 | ||
1451 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1-1*i,0,0) * CFrame.new(0,1,0) | |
1452 | ||
1453 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,0) | |
1454 | ||
1455 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
1456 | ||
1457 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1458 | ||
1459 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,0) | |
1460 | ||
1461 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1462 | ||
1463 | end | |
1464 | ||
1465 | lol.Parent = nil | |
1466 | ||
1467 | attack = false | |
1468 | ||
1469 | end | |
1470 | ||
1471 | ||
1472 | ||
1473 | function JetStream() | |
1474 | ||
1475 | if mana >= 1 then | |
1476 | ||
1477 | attack = true | |
1478 | ||
1479 | charging = true | |
1480 | ||
1481 | for i = 0,1,0.1 do | |
1482 | ||
1483 | wait() | |
1484 | ||
1485 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+0.3*i,0,0) * CFrame.new(0,1,0) | |
1486 | ||
1487 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,-0.5*i) | |
1488 | ||
1489 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1490 | ||
1491 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i) | |
1492 | ||
1493 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1494 | ||
1495 | RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i) | |
1496 | ||
1497 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0) | |
1498 | ||
1499 | end | |
1500 | ||
1501 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,35,20) end) | |
1502 | ||
1503 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,45,20) end) | |
1504 | ||
1505 | local vel = Instance.new("BodyVelocity") | |
1506 | ||
1507 | vel.Parent = Player.Character.Torso | |
1508 | ||
1509 | vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
1510 | ||
1511 | vel.velocity = Player.Character.Head.CFrame.lookVector * 100 | |
1512 | ||
1513 | while charging == true and mana >= 1 do | |
1514 | ||
1515 | wait(0) | |
1516 | ||
1517 | mana = mana - 0 | |
1518 | ||
1519 | vel.velocity = Player.Character.Head.CFrame.lookVector * 100 | |
1520 | ||
1521 | MMMAGIC(prt2,1,1,1,0,0,0,BrickColor.new("Really red")) | |
1522 | ||
1523 | MOREMAGIX(prt2,0,1,1,1,BrickColor.new("Really red")) | |
1524 | ||
1525 | end | |
1526 | ||
1527 | wait(0.1) | |
1528 | ||
1529 | con1:disconnect() | |
1530 | ||
1531 | con2:disconnect() | |
1532 | ||
1533 | vel.Parent = nil | |
1534 | ||
1535 | gairo.Parent = nil | |
1536 | ||
1537 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1538 | ||
1539 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1540 | ||
1541 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1542 | ||
1543 | attack = false | |
1544 | ||
1545 | end | |
1546 | ||
1547 | end | |
1548 | ||
1549 | ||
1550 | ||
1551 | function Stab() | |
1552 | ||
1553 | attack = true | |
1554 | ||
1555 | gairo.Parent = Head | |
1556 | ||
1557 | gairo.cframe = Head.CFrame | |
1558 | ||
1559 | ss(1.2) | |
1560 | ||
1561 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,20) end) | |
1562 | ||
1563 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,20) end) | |
1564 | ||
1565 | for i = 0,1,0.2 do | |
1566 | ||
1567 | wait() | |
1568 | ||
1569 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1570 | ||
1571 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3*i) | |
1572 | ||
1573 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2*i,0,-0.2*i) | |
1574 | ||
1575 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1576 | ||
1577 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,0.5*i) | |
1578 | ||
1579 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1580 | ||
1581 | end | |
1582 | ||
1583 | wait(0.1) | |
1584 | ||
1585 | con1:disconnect() | |
1586 | ||
1587 | con2:disconnect() | |
1588 | ||
1589 | for i = 0,1,0.2 do | |
1590 | ||
1591 | wait() | |
1592 | ||
1593 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0) | |
1594 | ||
1595 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3+0.3*i) | |
1596 | ||
1597 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2+0.2*i,0,-0.2+0.2*i) | |
1598 | ||
1599 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1600 | ||
1601 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,0.5-0.5*i) | |
1602 | ||
1603 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1604 | ||
1605 | end | |
1606 | ||
1607 | gairo.Parent = nil | |
1608 | ||
1609 | Torso.Neck.C0=necko | |
1610 | ||
1611 | attack = false | |
1612 | ||
1613 | end | |
1614 | ||
1615 | ||
1616 | ||
1617 | function WindKatanaWheelSpin() | |
1618 | ||
1619 | if mana >= 20 then | |
1620 | ||
1621 | attack = true | |
1622 | ||
1623 | for i = 0,1,0.1 do | |
1624 | ||
1625 | wait() | |
1626 | ||
1627 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0) | |
1628 | ||
1629 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0) | |
1630 | ||
1631 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1632 | ||
1633 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) | |
1634 | ||
1635 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1636 | ||
1637 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) | |
1638 | ||
1639 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1640 | ||
1641 | end | |
1642 | ||
1643 | mana = mana - 0 | |
1644 | ||
1645 | lightning = true | |
1646 | ||
1647 | coroutine.resume(coroutine.create(function() | |
1648 | ||
1649 | Stun2(prt6,1,1,1) | |
1650 | ||
1651 | end)) | |
1652 | ||
1653 | con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,30,20) end) | |
1654 | ||
1655 | con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,40,20) end) | |
1656 | ||
1657 | con3=prt14.Touched:connect(function(hit) Damagefunc1(hit,25,10) end) | |
1658 | ||
1659 | con4=prt15.Touched:connect(function(hit) Damagefunc1(hit,35,10) end) | |
1660 | ||
1661 | con5=prt16.Touched:connect(function(hit) Damagefunc1(hit,35,10) end) | |
1662 | ||
1663 | cf = Head.CFrame | |
1664 | ||
1665 | gairo.Parent = Head | |
1666 | ||
1667 | gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1668 | ||
1669 | for i = 0,1,0.03 do | |
1670 | ||
1671 | wait() | |
1672 | ||
1673 | ss(1.1) | |
1674 | ||
1675 | gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.8,0) | |
1676 | ||
1677 | end | |
1678 | ||
1679 | gairo.cframe = cf | |
1680 | ||
1681 | con1:disconnect() | |
1682 | ||
1683 | con2:disconnect() | |
1684 | ||
1685 | con3:disconnect() | |
1686 | ||
1687 | con4:disconnect() | |
1688 | ||
1689 | con5:disconnect() | |
1690 | ||
1691 | lightning = false | |
1692 | ||
1693 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90),math.rad(90),0) * CFrame.new(0,1,0) | |
1694 | ||
1695 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90),math.rad(90),0) * CFrame.new(0,1,0) | |
1696 | ||
1697 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1698 | ||
1699 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57-0.5) | |
1700 | ||
1701 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1702 | ||
1703 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57+0.5) | |
1704 | ||
1705 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1706 | ||
1707 | wait(3) | |
1708 | ||
1709 | gairo.Parent = nil | |
1710 | ||
1711 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1712 | ||
1713 | wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1714 | ||
1715 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1716 | ||
1717 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1718 | ||
1719 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1720 | ||
1721 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1722 | ||
1723 | attack = false | |
1724 | ||
1725 | end | |
1726 | ||
1727 | end | |
1728 | ||
1729 | ||
1730 | ||
1731 | function SlashShockwave() | |
1732 | ||
1733 | if mana >= 20 then | |
1734 | ||
1735 | attack = true | |
1736 | ||
1737 | for i = 0,1,0.1 do | |
1738 | ||
1739 | wait() | |
1740 | ||
1741 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57*i,0,0) * CFrame.new(0,1,0) | |
1742 | ||
1743 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0) | |
1744 | ||
1745 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
1746 | ||
1747 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1748 | ||
1749 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i,0,0) | |
1750 | ||
1751 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1752 | ||
1753 | end | |
1754 | ||
1755 | wait(0.1) | |
1756 | ||
1757 | ss(1) | |
1758 | ||
1759 | mana = mana - 20 | |
1760 | ||
1761 | local slash = Instance.new("Part") | |
1762 | ||
1763 | slash.Parent = modelzorz | |
1764 | ||
1765 | slash.Position = Torso.Position | |
1766 | ||
1767 | slash.Anchored = true | |
1768 | ||
1769 | slash.Transparency = 0.2 | |
1770 | ||
1771 | slash.CanCollide = false | |
1772 | ||
1773 | slash.Size = Vector3.new(1,1,1) | |
1774 | ||
1775 | slash.BrickColor = BrickColor.new("Really red") | |
1776 | ||
1777 | slash.CFrame = Torso.CFrame * CFrame.new(1.5,-3,-4) | |
1778 | ||
1779 | local testbrick = Instance.new("Part") | |
1780 | ||
1781 | testbrick.Parent = modelzorz | |
1782 | ||
1783 | testbrick.Anchored = true | |
1784 | ||
1785 | testbrick.Transparency = 1 | |
1786 | ||
1787 | testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-4) | |
1788 | ||
1789 | coroutine.resume(coroutine.create(function() | |
1790 | ||
1791 | local c = game.Workspace:GetChildren(); | |
1792 | ||
1793 | for i = 1, #c do | |
1794 | ||
1795 | local hum = c[i]:findFirstChild("Humanoid") | |
1796 | ||
1797 | if hum ~= nil and hum.Health ~= 0 then | |
1798 | ||
1799 | local head = c[i]:findFirstChild("Head"); | |
1800 | ||
1801 | if head ~= nil then | |
1802 | ||
1803 | local targ = head.Position - testbrick.Position; | |
1804 | ||
1805 | local mag = targ.magnitude; | |
1806 | ||
1807 | if mag <= 3 and c[i].Name ~= Player.Name then | |
1808 | ||
1809 | Damagefunc1(head,20,20) | |
1810 | ||
1811 | end | |
1812 | ||
1813 | end | |
1814 | ||
1815 | end | |
1816 | ||
1817 | end | |
1818 | ||
1819 | testbrick.Parent = nil | |
1820 | ||
1821 | end)) | |
1822 | ||
1823 | local lolmesh = Instance.new("SpecialMesh") | |
1824 | ||
1825 | lolmesh.Parent = slash | |
1826 | ||
1827 | lolmesh.Scale = Vector3.new(0.6,1,0.6) | |
1828 | ||
1829 | lolmesh.MeshType = "Sphere" | |
1830 | ||
1831 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1832 | ||
1833 | for i = 0, 1, 0.2 do | |
1834 | ||
1835 | wait(0) | |
1836 | ||
1837 | Mesh.Scale = Mesh.Scale + Vector3.new(0,0.7,0) | |
1838 | ||
1839 | end | |
1840 | ||
1841 | wait(0.5) | |
1842 | ||
1843 | for i = 0,1,0.1 do | |
1844 | ||
1845 | wait() | |
1846 | ||
1847 | Part.Transparency = Part.Transparency + 0.1 | |
1848 | ||
1849 | end | |
1850 | ||
1851 | Part.Parent = nil | |
1852 | ||
1853 | end),slash,lolmesh) | |
1854 | ||
1855 | coroutine.resume(coroutine.create(function() | |
1856 | ||
1857 | CF = -4 | |
1858 | ||
1859 | scale = 0.6 | |
1860 | ||
1861 | scale2 = 0.7 | |
1862 | ||
1863 | for i = 0,10 do | |
1864 | ||
1865 | wait(0.1) | |
1866 | ||
1867 | CF = CF * 1.2 | |
1868 | ||
1869 | scale = scale + 0.1 | |
1870 | ||
1871 | scale2 = scale2 + 0.2 | |
1872 | ||
1873 | ss(math.random()+math.random()) | |
1874 | ||
1875 | local slash = Instance.new("Part") | |
1876 | ||
1877 | slash.Parent = modelzorz | |
1878 | ||
1879 | slash.Position = Torso.Position | |
1880 | ||
1881 | slash.Anchored = true | |
1882 | ||
1883 | slash.Transparency = 0.2 | |
1884 | ||
1885 | slash.CanCollide = false | |
1886 | ||
1887 | slash.Size = Vector3.new(1,1,1) | |
1888 | ||
1889 | slash.BrickColor = BrickColor.new("Really red") | |
1890 | ||
1891 | slash.CFrame = Torso.CFrame * CFrame.new(1+math.random(),-3,CF) | |
1892 | ||
1893 | local testbrick = Instance.new("Part") | |
1894 | ||
1895 | testbrick.Parent = modelzorz | |
1896 | ||
1897 | testbrick.Anchored = true | |
1898 | ||
1899 | testbrick.Transparency = 1 | |
1900 | ||
1901 | testbrick.CFrame = Torso.CFrame * CFrame.new(1+math.random(),0,CF) | |
1902 | ||
1903 | coroutine.resume(coroutine.create(function() | |
1904 | ||
1905 | local c = game.Workspace:GetChildren(); | |
1906 | ||
1907 | for i = 1, #c do | |
1908 | ||
1909 | local hum = c[i]:findFirstChild("Humanoid") | |
1910 | ||
1911 | if hum ~= nil and hum.Health ~= 0 then | |
1912 | ||
1913 | local head = c[i]:findFirstChild("Head"); | |
1914 | ||
1915 | if head ~= nil then | |
1916 | ||
1917 | local targ = head.Position - testbrick.Position; | |
1918 | ||
1919 | local mag = targ.magnitude; | |
1920 | ||
1921 | if mag <= 3 and c[i].Name ~= Player.Name then | |
1922 | ||
1923 | Damagefunc1(head,20,20) | |
1924 | ||
1925 | end | |
1926 | ||
1927 | end | |
1928 | ||
1929 | end | |
1930 | ||
1931 | end | |
1932 | ||
1933 | testbrick.Parent = nil | |
1934 | ||
1935 | end)) | |
1936 | ||
1937 | local lolmesh = Instance.new("SpecialMesh") | |
1938 | ||
1939 | lolmesh.Parent = slash | |
1940 | ||
1941 | lolmesh.Scale = Vector3.new(scale,1,scale) | |
1942 | ||
1943 | lolmesh.MeshType = "Sphere" | |
1944 | ||
1945 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1946 | ||
1947 | Part.CFrame = Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1948 | ||
1949 | for i = 0, 1, 0.2 do | |
1950 | ||
1951 | wait(0) | |
1952 | ||
1953 | Mesh.Scale = Mesh.Scale + Vector3.new(0,scale2,0) | |
1954 | ||
1955 | end | |
1956 | ||
1957 | wait(0.5) | |
1958 | ||
1959 | for i = 0,1,0.1 do | |
1960 | ||
1961 | wait() | |
1962 | ||
1963 | Part.Transparency = Part.Transparency + 0.1 | |
1964 | ||
1965 | end | |
1966 | ||
1967 | Part.Parent = nil | |
1968 | ||
1969 | end),slash,lolmesh) | |
1970 | ||
1971 | end | |
1972 | ||
1973 | end)) | |
1974 | ||
1975 | for i = 0,1,0.2 do | |
1976 | ||
1977 | wait() | |
1978 | ||
1979 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57-1.57*i,0,0) * CFrame.new(0,1,0) | |
1980 | ||
1981 | Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.6*i,0,0) | |
1982 | ||
1983 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0) | |
1984 | ||
1985 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1986 | ||
1987 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0) | |
1988 | ||
1989 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1990 | ||
1991 | end | |
1992 | ||
1993 | attack = false | |
1994 | ||
1995 | end | |
1996 | ||
1997 | end | |
1998 | ||
1999 | ||
2000 | ||
2001 | function efect() | |
2002 | ||
2003 | local lol = Instance.new("Part") | |
2004 | ||
2005 | lol.Parent = Character | |
2006 | ||
2007 | lol.Shape = "Ball" | |
2008 | ||
2009 | lol.Position = Torso.Position | |
2010 | ||
2011 | lol.Anchored = true | |
2012 | ||
2013 | lol.CanCollide = false | |
2014 | ||
2015 | lol.Size = Vector3.new(1,1,1) | |
2016 | ||
2017 | lol.BrickColor = BrickColor.new("Really red") | |
2018 | ||
2019 | lol.Reflectance = 1 | |
2020 | ||
2021 | lol.CFrame = Torso.CFrame | |
2022 | ||
2023 | local lolmesh = Instance.new("SpecialMesh") | |
2024 | ||
2025 | lolmesh.Parent = lol | |
2026 | ||
2027 | lolmesh.Scale = Vector3.new(0.5,0.5,0.5) | |
2028 | ||
2029 | lolmesh.MeshType = "Sphere" | |
2030 | ||
2031 | wait(0) | |
2032 | ||
2033 | coroutine.resume(coroutine.create(function() | |
2034 | ||
2035 | for i = 0, 1, 0.05 do | |
2036 | ||
2037 | wait(0) | |
2038 | ||
2039 | lolmesh.Scale = lolmesh.Scale + Vector3.new(9,9,9) | |
2040 | ||
2041 | lol.Transparency = lol.Transparency + 0.20 | |
2042 | ||
2043 | lol.Reflectance = lol.Reflectance - 0.25 | |
2044 | ||
2045 | lol.CFrame = Torso.CFrame | |
2046 | ||
2047 | end | |
2048 | ||
2049 | lol:Remove() | |
2050 | ||
2051 | end)) | |
2052 | ||
2053 | end | |
2054 | ||
2055 | ||
2056 | ||
2057 | Stun2=function(Feh,x,y,z) | |
2058 | ||
2059 | coroutine.resume(coroutine.create(function(part) | |
2060 | ||
2061 | --[[ if part.Parent:FindFirstChild("Torso")==nil then | |
2062 | ||
2063 | return | |
2064 | ||
2065 | end]] | |
2066 | ||
2067 | Torsoh2=part | |
2068 | ||
2069 | End2=Torsoh2.CFrame+Vector3.new(math.random(-20,20)/10,math.random(-30,30)/10,math.random(-20,20)/10) | |
2070 | ||
2071 | ST2=Torsoh2.Position | |
2072 | ||
2073 | --[[ p=Instance.new("BodyPosition") | |
2074 | ||
2075 | p.P=3000 | |
2076 | ||
2077 | p.D=100 | |
2078 | ||
2079 | p.maxForce=Vector3.new(math.huge,0,math.huge) | |
2080 | ||
2081 | p.position=Torsoh2.Position | |
2082 | ||
2083 | p.Parent=Torsoh2]] | |
2084 | ||
2085 | while part.Parent ~= nil and lightning == true do | |
2086 | ||
2087 | -- f1:Play() | |
2088 | ||
2089 | -- p.position=ST2+Vector3.new(math.random(-50,50)/50,0,math.random(-50,50)/50) | |
2090 | ||
2091 | Start2=End2 | |
2092 | ||
2093 | End2=Torsoh2.CFrame*CFrame.new(math.random(-x,x)/10,math.random(-y,y)/10,math.random(-z,z)/10) | |
2094 | ||
2095 | e=Instance.new("Part") | |
2096 | ||
2097 | e.TopSurface=0 | |
2098 | ||
2099 | e.BottomSurface=0 | |
2100 | ||
2101 | e.CanCollide=false | |
2102 | ||
2103 | e.Anchored=true | |
2104 | ||
2105 | e.formFactor="Symmetric" | |
2106 | ||
2107 | e.Size=Vector3.new(1,1,1) | |
2108 | ||
2109 | Look2=(End2.p-Start2.p).unit | |
2110 | ||
2111 | m=Instance.new("BlockMesh") | |
2112 | ||
2113 | m.Scale=Vector3.new(.2,.2,(Start2.p-End2.p).magnitude) | |
2114 | ||
2115 | m.Parent=e | |
2116 | ||
2117 | e.CFrame=CFrame.new(Start2.p+Look2*(m.Scale.z/2),Start2.p+Look2*99) | |
2118 | ||
2119 | e.Reflectance=.3 | |
2120 | ||
2121 | e.Name="Zap" | |
2122 | ||
2123 | e.BrickColor=BrickColor.new("Really red") | |
2124 | ||
2125 | e.Parent=part.Parent | |
2126 | ||
2127 | coroutine.resume(coroutine.create(function(PAR) for i=1, 25 do PAR.Transparency=i/25 wait() end PAR.Parent=nil end),e) | |
2128 | ||
2129 | wait() | |
2130 | ||
2131 | end | |
2132 | ||
2133 | wait(.25) | |
2134 | ||
2135 | -- p.Parent=nil | |
2136 | ||
2137 | end),Feh) | |
2138 | ||
2139 | end | |
2140 | ||
2141 | ||
2142 | ||
2143 | function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
2144 | ||
2145 | local msh1 = Instance.new("BlockMesh") | |
2146 | ||
2147 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
2148 | ||
2149 | S=Instance.new("Part") | |
2150 | ||
2151 | S.Name="Effect" | |
2152 | ||
2153 | S.formFactor=0 | |
2154 | ||
2155 | S.Size=Vector3.new(x1,y1,z1) | |
2156 | ||
2157 | S.BrickColor=color | |
2158 | ||
2159 | S.Reflectance = 0 | |
2160 | ||
2161 | S.TopSurface=0 | |
2162 | ||
2163 | S.BottomSurface=0 | |
2164 | ||
2165 | S.Transparency=0 | |
2166 | ||
2167 | S.Anchored=true | |
2168 | ||
2169 | S.CanCollide=false | |
2170 | ||
2171 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2172 | ||
2173 | S.Parent=Character | |
2174 | ||
2175 | msh1.Parent = S | |
2176 | ||
2177 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2178 | ||
2179 | end | |
2180 | ||
2181 | ||
2182 | ||
2183 | function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) | |
2184 | ||
2185 | local msh1 = Instance.new("BlockMesh") | |
2186 | ||
2187 | msh1.Scale = Vector3.new(x1,y1,z1) | |
2188 | ||
2189 | S=Instance.new("Part") | |
2190 | ||
2191 | S.Name="Effect" | |
2192 | ||
2193 | S.formFactor=0 | |
2194 | ||
2195 | S.Size=Vector3.new(1,1,1) | |
2196 | ||
2197 | S.BrickColor=color | |
2198 | ||
2199 | S.Reflectance = 0 | |
2200 | ||
2201 | S.TopSurface=0 | |
2202 | ||
2203 | S.BottomSurface=0 | |
2204 | ||
2205 | S.Transparency=0 | |
2206 | ||
2207 | S.Anchored=true | |
2208 | ||
2209 | S.CanCollide=false | |
2210 | ||
2211 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2212 | ||
2213 | S.Parent=Character | |
2214 | ||
2215 | msh1.Parent = S | |
2216 | ||
2217 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2218 | ||
2219 | end | |
2220 | ||
2221 | ||
2222 | ||
2223 | function MOREMAGIX(part,cframe,x,y,z,color) | |
2224 | ||
2225 | p2=Instance.new("Part") | |
2226 | ||
2227 | p2.Name="Blast" | |
2228 | ||
2229 | p2.TopSurface=0 | |
2230 | ||
2231 | p2.BottomSurface=0 | |
2232 | ||
2233 | p2.CanCollide=false | |
2234 | ||
2235 | p2.Anchored=true | |
2236 | ||
2237 | p2.BrickColor=color | |
2238 | ||
2239 | p2.Size=Vector3.new(x,y,z) | |
2240 | ||
2241 | p2.formFactor="Symmetric" | |
2242 | ||
2243 | p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) | |
2244 | ||
2245 | p2.Parent=workspace | |
2246 | ||
2247 | m=Instance.new("BlockMesh") | |
2248 | ||
2249 | m.Parent=p2 | |
2250 | ||
2251 | m.Name="BlastMesh" | |
2252 | ||
2253 | coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) | |
2254 | ||
2255 | end | |
2256 | ||
2257 | ||
2258 | ||
2259 | function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
2260 | ||
2261 | local msh1 = Instance.new("SpecialMesh") | |
2262 | ||
2263 | msh1.Scale = Vector3.new(0.5,0.5,0.5) | |
2264 | ||
2265 | msh1.MeshType = "Sphere" | |
2266 | ||
2267 | S=Instance.new("Part") | |
2268 | ||
2269 | S.Name="Effect" | |
2270 | ||
2271 | S.formFactor=0 | |
2272 | ||
2273 | S.Size=Vector3.new(x1,y1,z1) | |
2274 | ||
2275 | S.BrickColor=color | |
2276 | ||
2277 | S.Reflectance = 0 | |
2278 | ||
2279 | S.TopSurface=0 | |
2280 | ||
2281 | S.BottomSurface=0 | |
2282 | ||
2283 | S.Transparency=0 | |
2284 | ||
2285 | S.Anchored=true | |
2286 | ||
2287 | S.CanCollide=false | |
2288 | ||
2289 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
2290 | ||
2291 | S.Parent=Character | |
2292 | ||
2293 | msh1.Parent = S | |
2294 | ||
2295 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2296 | ||
2297 | end | |
2298 | ||
2299 | ||
2300 | ||
2301 | function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
2302 | ||
2303 | local msh1 = Instance.new("SpecialMesh") | |
2304 | ||
2305 | msh1.Scale = Vector3.new(x1,y1,z1) | |
2306 | ||
2307 | msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2308 | ||
2309 | S=Instance.new("Part") | |
2310 | ||
2311 | S.Name="Effect" | |
2312 | ||
2313 | S.formFactor=0 | |
2314 | ||
2315 | S.Size=Vector3.new(1,1,1) | |
2316 | ||
2317 | S.BrickColor=color | |
2318 | ||
2319 | S.Reflectance = 0 | |
2320 | ||
2321 | S.TopSurface=0 | |
2322 | ||
2323 | S.BottomSurface=0 | |
2324 | ||
2325 | S.Transparency=0 | |
2326 | ||
2327 | S.Anchored=true | |
2328 | ||
2329 | S.CanCollide=false | |
2330 | ||
2331 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
2332 | ||
2333 | S.Parent=Character | |
2334 | ||
2335 | msh1.Parent = S | |
2336 | ||
2337 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2338 | ||
2339 | end | |
2340 | ||
2341 | ||
2342 | ||
2343 | function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) | |
2344 | ||
2345 | local msh1 = Instance.new("SpecialMesh") | |
2346 | ||
2347 | msh1.Scale = Vector3.new(x1,y1,z1) | |
2348 | ||
2349 | msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
2350 | ||
2351 | S=Instance.new("Part") | |
2352 | ||
2353 | S.Name="Effect" | |
2354 | ||
2355 | S.formFactor=0 | |
2356 | ||
2357 | S.Size=Vector3.new(1,1,1) | |
2358 | ||
2359 | S.BrickColor=color | |
2360 | ||
2361 | S.Reflectance = 0 | |
2362 | ||
2363 | S.TopSurface=0 | |
2364 | ||
2365 | S.BottomSurface=0 | |
2366 | ||
2367 | S.Transparency=0 | |
2368 | ||
2369 | S.Anchored=true | |
2370 | ||
2371 | S.CanCollide=false | |
2372 | ||
2373 | S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) | |
2374 | ||
2375 | S.Parent=Character | |
2376 | ||
2377 | msh1.Parent = S | |
2378 | ||
2379 | coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) | |
2380 | ||
2381 | end | |
2382 | ||
2383 | ||
2384 | ||
2385 | function DifferentEffect() | |
2386 | ||
2387 | p=Instance.new("Part") | |
2388 | ||
2389 | p.Name="FlameEm" | |
2390 | ||
2391 | p.Shape=0 | |
2392 | ||
2393 | p.TopSurface=0 | |
2394 | ||
2395 | p.BottomSurface=0 | |
2396 | ||
2397 | p.BrickColor=BrickColor.new("Really red") | |
2398 | ||
2399 | p.Anchored=true | |
2400 | ||
2401 | p.CanCollide=false | |
2402 | ||
2403 | p.Size=Vector3.new(1,1,1) | |
2404 | ||
2405 | p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/3,0,math.random(-10,10)/3) | |
2406 | ||
2407 | p.Parent=workspace | |
2408 | ||
2409 | m=Instance.new("SpecialMesh") | |
2410 | ||
2411 | m.MeshType="Sphere" | |
2412 | ||
2413 | m.Parent=p | |
2414 | ||
2415 | m.Scale=Vector3.new(1,1,1) | |
2416 | ||
2417 | coroutine.resume(coroutine.create(function(p) for i=1, 9 do p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0,1.5,0) p.Transparency=p.Transparency+1/9 wait(0) end p.Parent=nil end),p) | |
2418 | ||
2419 | end | |
2420 | ||
2421 | ||
2422 | ||
2423 | function ss(pitch) | |
2424 | ||
2425 | ||
2426 | ||
2427 | local SlashSound = Instance.new("Sound") | |
2428 | ||
2429 | --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" | |
2430 | ||
2431 | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
2432 | ||
2433 | SlashSound.Parent = workspace | |
2434 | ||
2435 | SlashSound.Volume = .7 | |
2436 | ||
2437 | SlashSound.Pitch = pitch | |
2438 | ||
2439 | SlashSound.PlayOnRemove = true | |
2440 | ||
2441 | coroutine.resume(coroutine.create(function() | |
2442 | ||
2443 | wait(0) | |
2444 | ||
2445 | SlashSound.Parent = nil | |
2446 | ||
2447 | end)) | |
2448 | ||
2449 | end | |
2450 | ||
2451 | function magicsound(pitch) | |
2452 | ||
2453 | ||
2454 | ||
2455 | local SlashSound = Instance.new("Sound") | |
2456 | ||
2457 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
2458 | ||
2459 | SlashSound.Parent = workspace | |
2460 | ||
2461 | SlashSound.Volume = .5 | |
2462 | ||
2463 | SlashSound.Pitch = pitch | |
2464 | ||
2465 | SlashSound.PlayOnRemove = true | |
2466 | ||
2467 | coroutine.resume(coroutine.create(function() | |
2468 | ||
2469 | wait(0) | |
2470 | ||
2471 | SlashSound.Parent = nil | |
2472 | ||
2473 | end)) | |
2474 | ||
2475 | end | |
2476 | ||
2477 | function critsound(pitch) | |
2478 | ||
2479 | ||
2480 | ||
2481 | local SlashSound = Instance.new("Sound") | |
2482 | ||
2483 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" | |
2484 | ||
2485 | SlashSound.Parent = workspace | |
2486 | ||
2487 | SlashSound.Volume = .7 | |
2488 | ||
2489 | SlashSound.Pitch = pitch | |
2490 | ||
2491 | SlashSound.PlayOnRemove = true | |
2492 | ||
2493 | coroutine.resume(coroutine.create(function() | |
2494 | ||
2495 | wait(0) | |
2496 | ||
2497 | SlashSound.Parent = nil | |
2498 | ||
2499 | end)) | |
2500 | ||
2501 | end | |
2502 | ||
2503 | function spikesound(pitch) | |
2504 | ||
2505 | ||
2506 | ||
2507 | local SlashSound = Instance.new("Sound") | |
2508 | ||
2509 | SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
2510 | ||
2511 | SlashSound.Parent = workspace | |
2512 | ||
2513 | SlashSound.Volume = .7 | |
2514 | ||
2515 | SlashSound.Pitch = pitch | |
2516 | ||
2517 | SlashSound.PlayOnRemove = true | |
2518 | ||
2519 | coroutine.resume(coroutine.create(function() | |
2520 | ||
2521 | wait(0) | |
2522 | ||
2523 | SlashSound.Parent = nil | |
2524 | ||
2525 | end)) | |
2526 | ||
2527 | end | |
2528 | ||
2529 | ||
2530 | ||
2531 | Damagefunc1=function(hit,Damage,Knockback) | |
2532 | ||
2533 | if attackdebounce == false then | |
2534 | ||
2535 | attackdebounce = true | |
2536 | ||
2537 | coroutine.resume(coroutine.create(function() | |
2538 | ||
2539 | wait(0.1) | |
2540 | ||
2541 | attackdebounce = false | |
2542 | ||
2543 | end)) | |
2544 | ||
2545 | if hit.Parent==nil then | |
2546 | ||
2547 | return | |
2548 | ||
2549 | end | |
2550 | ||
2551 | CPlayer=Bin | |
2552 | ||
2553 | h=hit.Parent:FindFirstChild("Humanoid") | |
2554 | ||
2555 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2556 | ||
2557 | if mana < 400 then | |
2558 | ||
2559 | mana = mana + math.random(5,15) | |
2560 | ||
2561 | end | |
2562 | ||
2563 | if mana > 400 then | |
2564 | ||
2565 | mana = 400 | |
2566 | ||
2567 | end | |
2568 | ||
2569 | Damage=Damage | |
2570 | ||
2571 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2572 | ||
2573 | return | |
2574 | ||
2575 | end]] | |
2576 | ||
2577 | c=Instance.new("ObjectValue") | |
2578 | ||
2579 | c.Name="creator" | |
2580 | ||
2581 | c.Value=game.Players.LocalPlayer | |
2582 | ||
2583 | c.Parent=h | |
2584 | ||
2585 | game:GetService("Debris"):AddItem(c,.5) | |
2586 | ||
2587 | -- print(c.Value) | |
2588 | ||
2589 | if math.random(0,99)+math.random()<=10 then | |
2590 | ||
2591 | CRIT=true | |
2592 | ||
2593 | Damage=Damage*1.5 | |
2594 | ||
2595 | --[[ Knockback=Knockback*2 | |
2596 | ||
2597 | r=Instance.new("BodyAngularVelocity") | |
2598 | ||
2599 | r.P=3000 | |
2600 | ||
2601 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
2602 | ||
2603 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2604 | ||
2605 | r.Parent=hit.Parent.Torso]] | |
2606 | ||
2607 | critsound(2) | |
2608 | ||
2609 | ||
2610 | ||
2611 | end | |
2612 | ||
2613 | Damage=Damage+math.random(0,10) | |
2614 | ||
2615 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
2616 | ||
2617 | h:TakeDamage(Damage) | |
2618 | ||
2619 | showDamage(hit.Parent,Damage,.5) | |
2620 | ||
2621 | vp=Instance.new("BodyVelocity") | |
2622 | ||
2623 | vp.P=500 | |
2624 | ||
2625 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2626 | ||
2627 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2628 | ||
2629 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
2630 | ||
2631 | if Knockback>0 then | |
2632 | ||
2633 | vp.Parent=hit.Parent.Torso | |
2634 | ||
2635 | end | |
2636 | ||
2637 | game:GetService("Debris"):AddItem(vp,.25) | |
2638 | ||
2639 | --[[ r=Instance.new("BodyAngularVelocity") | |
2640 | ||
2641 | r.P=3000 | |
2642 | ||
2643 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
2644 | ||
2645 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2646 | ||
2647 | r.Parent=hit.Parent.Torso]] | |
2648 | ||
2649 | game:GetService("Debris"):AddItem(r,.5) | |
2650 | ||
2651 | c=Instance.new("ObjectValue") | |
2652 | ||
2653 | c.Name="creator" | |
2654 | ||
2655 | c.Value=Player | |
2656 | ||
2657 | c.Parent=h | |
2658 | ||
2659 | game:GetService("Debris"):AddItem(c,.5) | |
2660 | ||
2661 | CRIT=false | |
2662 | ||
2663 | hitDeb=true | |
2664 | ||
2665 | AttackPos=6 | |
2666 | ||
2667 | end | |
2668 | ||
2669 | end | |
2670 | ||
2671 | end | |
2672 | ||
2673 | ||
2674 | ||
2675 | showDamage=function(Char,Dealt,du) | |
2676 | ||
2677 | m=Instance.new("Model") | |
2678 | ||
2679 | m.Name=tostring(Dealt) | |
2680 | ||
2681 | h=Instance.new("Humanoid") | |
2682 | ||
2683 | h.Health=0 | |
2684 | ||
2685 | h.MaxHealth=0 | |
2686 | ||
2687 | h.Parent=m | |
2688 | ||
2689 | c=Instance.new("Part") | |
2690 | ||
2691 | c.Transparency=0 | |
2692 | ||
2693 | c.BrickColor=BrickColor:Red() | |
2694 | ||
2695 | if CRIT==true then | |
2696 | ||
2697 | c.BrickColor=BrickColor.new("Really red") | |
2698 | ||
2699 | end | |
2700 | ||
2701 | c.Name="Head" | |
2702 | ||
2703 | c.TopSurface=0 | |
2704 | ||
2705 | c.BottomSurface=0 | |
2706 | ||
2707 | c.formFactor="Plate" | |
2708 | ||
2709 | c.Size=Vector3.new(1,.4,1) | |
2710 | ||
2711 | ms=Instance.new("CylinderMesh") | |
2712 | ||
2713 | ms.Bevel=.1 | |
2714 | ||
2715 | ms.Scale=Vector3.new(.8,.8,.8) | |
2716 | ||
2717 | if CRIT==true then | |
2718 | ||
2719 | ms.Scale=Vector3.new(1.25,1.5,1.25) | |
2720 | ||
2721 | ms.Bevel=.2 | |
2722 | ||
2723 | end | |
2724 | ||
2725 | ms.Parent=c | |
2726 | ||
2727 | c.Reflectance=0 | |
2728 | ||
2729 | Instance.new("BodyGyro").Parent=c | |
2730 | ||
2731 | c.Parent=m | |
2732 | ||
2733 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2734 | ||
2735 | f=Instance.new("BodyPosition") | |
2736 | ||
2737 | f.P=2000 | |
2738 | ||
2739 | f.D=100 | |
2740 | ||
2741 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2742 | ||
2743 | f.position=c.Position+Vector3.new(0,3,0) | |
2744 | ||
2745 | f.Parent=c | |
2746 | ||
2747 | game:GetService("Debris"):AddItem(m,.5+du) | |
2748 | ||
2749 | c.CanCollide=false | |
2750 | ||
2751 | m.Parent=workspace | |
2752 | ||
2753 | c.CanCollide=false | |
2754 | ||
2755 | end | |
2756 | ||
2757 | ||
2758 | ||
2759 | ||
2760 | ||
2761 | hold = false | |
2762 | ||
2763 | ||
2764 | ||
2765 | function ob1d(mouse) | |
2766 | ||
2767 | if attack == true then return end | |
2768 | ||
2769 | hold = true | |
2770 | ||
2771 | if combo == 0 then | |
2772 | ||
2773 | combo = 1 | |
2774 | ||
2775 | onehit() | |
2776 | ||
2777 | coroutine.resume(coroutine.create(function() | |
2778 | ||
2779 | wait(0.5) | |
2780 | ||
2781 | if attack == false then | |
2782 | ||
2783 | combo = 0 | |
2784 | ||
2785 | gairo.Parent = nil | |
2786 | ||
2787 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
2788 | ||
2789 | Torso.Neck.C0=necko | |
2790 | ||
2791 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2792 | ||
2793 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2794 | ||
2795 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2796 | ||
2797 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2798 | ||
2799 | end | |
2800 | ||
2801 | end)) | |
2802 | ||
2803 | elseif combo == 1 then | |
2804 | ||
2805 | combo = 2 | |
2806 | ||
2807 | twohit() | |
2808 | ||
2809 | coroutine.resume(coroutine.create(function() | |
2810 | ||
2811 | wait(0.5) | |
2812 | ||
2813 | if attack == false then | |
2814 | ||
2815 | combo = 0 | |
2816 | ||
2817 | gairo.Parent = nil | |
2818 | ||
2819 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
2820 | ||
2821 | Torso.Neck.C0=necko | |
2822 | ||
2823 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2824 | ||
2825 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2826 | ||
2827 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2828 | ||
2829 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2830 | ||
2831 | end | |
2832 | ||
2833 | end)) | |
2834 | ||
2835 | elseif combo == 2 then | |
2836 | ||
2837 | combo = 3 | |
2838 | ||
2839 | threehit() | |
2840 | ||
2841 | coroutine.resume(coroutine.create(function() | |
2842 | ||
2843 | wait(0.5) | |
2844 | ||
2845 | if attack == false then | |
2846 | ||
2847 | combo = 0 | |
2848 | ||
2849 | gairo.Parent = nil | |
2850 | ||
2851 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
2852 | ||
2853 | Torso.Neck.C0=necko | |
2854 | ||
2855 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2856 | ||
2857 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2858 | ||
2859 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2860 | ||
2861 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2862 | ||
2863 | end | |
2864 | ||
2865 | end)) | |
2866 | ||
2867 | elseif combo == 3 then | |
2868 | ||
2869 | combo = 4 | |
2870 | ||
2871 | fourhit() | |
2872 | ||
2873 | coroutine.resume(coroutine.create(function() | |
2874 | ||
2875 | wait(0.5) | |
2876 | ||
2877 | if attack == false then | |
2878 | ||
2879 | combo = 0 | |
2880 | ||
2881 | gairo.Parent = nil | |
2882 | ||
2883 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
2884 | ||
2885 | Torso.Neck.C0=necko | |
2886 | ||
2887 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2888 | ||
2889 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2890 | ||
2891 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2892 | ||
2893 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2894 | ||
2895 | end | |
2896 | ||
2897 | end)) | |
2898 | ||
2899 | elseif combo == 4 then | |
2900 | ||
2901 | combo = 5 | |
2902 | ||
2903 | fivehit() | |
2904 | ||
2905 | combo = 0 | |
2906 | ||
2907 | coroutine.resume(coroutine.create(function() | |
2908 | ||
2909 | wait(0.5) | |
2910 | ||
2911 | if attack == false then | |
2912 | ||
2913 | combo = 0 | |
2914 | ||
2915 | gairo.Parent = nil | |
2916 | ||
2917 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
2918 | ||
2919 | Torso.Neck.C0=necko | |
2920 | ||
2921 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2922 | ||
2923 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2924 | ||
2925 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2926 | ||
2927 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2928 | ||
2929 | end | |
2930 | ||
2931 | end)) | |
2932 | ||
2933 | end | |
2934 | ||
2935 | --[[onehit() | |
2936 | ||
2937 | twohit() | |
2938 | ||
2939 | threehit() | |
2940 | ||
2941 | fourhit() | |
2942 | ||
2943 | fivehit() ]] | |
2944 | ||
2945 | end | |
2946 | ||
2947 | ||
2948 | ||
2949 | function ob1u(mouse) | |
2950 | ||
2951 | hold = false | |
2952 | ||
2953 | end | |
2954 | ||
2955 | ||
2956 | ||
2957 | buttonhold = false | |
2958 | ||
2959 | ||
2960 | ||
2961 | function key(key) | |
2962 | ||
2963 | if attack == true then return end | |
2964 | ||
2965 | if key == "f" then | |
2966 | ||
2967 | WindCharge() | |
2968 | ||
2969 | end | |
2970 | ||
2971 | if key == "g" then | |
2972 | ||
2973 | restoring = true | |
2974 | ||
2975 | Restore() | |
2976 | ||
2977 | end | |
2978 | ||
2979 | if key == "z" then | |
2980 | ||
2981 | JetStream() | |
2982 | ||
2983 | end | |
2984 | ||
2985 | if key == "x" then | |
2986 | ||
2987 | Stab() | |
2988 | ||
2989 | end | |
2990 | ||
2991 | if key == "r" then | |
2992 | ||
2993 | WindKatanaWheelSpin() | |
2994 | ||
2995 | end | |
2996 | ||
2997 | if key == "t" then | |
2998 | ||
2999 | SlashShockwave() | |
3000 | ||
3001 | end | |
3002 | ||
3003 | end | |
3004 | ||
3005 | ||
3006 | ||
3007 | function key2(key) | |
3008 | ||
3009 | if key == "g"then | |
3010 | ||
3011 | restoring = false | |
3012 | ||
3013 | end | |
3014 | ||
3015 | if key == "z" then | |
3016 | ||
3017 | charging = false | |
3018 | ||
3019 | end | |
3020 | ||
3021 | end | |
3022 | ||
3023 | ||
3024 | ||
3025 | function s(mouse) | |
3026 | ||
3027 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
3028 | ||
3029 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
3030 | ||
3031 | mouse.KeyDown:connect(key) | |
3032 | ||
3033 | mouse.KeyUp:connect(key2) | |
3034 | ||
3035 | player = Player | |
3036 | ||
3037 | ch = Character | |
3038 | ||
3039 | RSH = ch.Torso["Right Shoulder"] | |
3040 | ||
3041 | LSH = ch.Torso["Left Shoulder"] | |
3042 | ||
3043 | -- | |
3044 | ||
3045 | RW.Part0 = ch.Torso | |
3046 | ||
3047 | RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
3048 | ||
3049 | RW.C1 = CFrame.new(0, 0.5, 0) | |
3050 | ||
3051 | RW.Part1 = ch["Right Arm"] | |
3052 | ||
3053 | RW.Parent = ch.Torso | |
3054 | ||
3055 | --_G.R = RW | |
3056 | ||
3057 | -- | |
3058 | ||
3059 | LW.Part0 = ch.Torso | |
3060 | ||
3061 | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
3062 | ||
3063 | LW.C1 = CFrame.new(0, 0.5, 0) | |
3064 | ||
3065 | LW.Part1 = ch["Left Arm"] | |
3066 | ||
3067 | LW.Parent = ch.Torso | |
3068 | ||
3069 | --_G.L = LW | |
3070 | ||
3071 | -- | |
3072 | ||
3073 | equipanim() | |
3074 | ||
3075 | end | |
3076 | ||
3077 | ||
3078 | ||
3079 | function ds(mouse) | |
3080 | ||
3081 | hideanim() | |
3082 | ||
3083 | RW.Parent = nil | |
3084 | ||
3085 | LW.Parent = nil | |
3086 | ||
3087 | RSH.Parent = player.Character.Torso | |
3088 | ||
3089 | LSH.Parent = player.Character.Torso | |
3090 | ||
3091 | end | |
3092 | ||
3093 | ||
3094 | ||
3095 | Bin.Selected:connect(s) | |
3096 | ||
3097 | Bin.Deselected:connect(ds) | |
3098 | ||
3099 | ||
3100 | ||
3101 | function onRunning(speed) | |
3102 | ||
3103 | if attack == true then return end | |
3104 | ||
3105 | if speed>0 then | |
3106 | ||
3107 | walking = true | |
3108 | ||
3109 | for i = 0,1,0.1 do | |
3110 | ||
3111 | wait() | |
3112 | ||
3113 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
3114 | ||
3115 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
3116 | ||
3117 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
3118 | ||
3119 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
3120 | ||
3121 | end | |
3122 | ||
3123 | else | |
3124 | ||
3125 | walking = false | |
3126 | ||
3127 | for i = 0,1,0.1 do | |
3128 | ||
3129 | wait() | |
3130 | ||
3131 | LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
3132 | ||
3133 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
3134 | ||
3135 | RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) | |
3136 | ||
3137 | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
3138 | ||
3139 | end | |
3140 | ||
3141 | ||
3142 | ||
3143 | end | |
3144 | ||
3145 | end | |
3146 | ||
3147 | Character.Humanoid.Running:connect(onRunning) | |
3148 | ||
3149 | ||
3150 | ||
3151 | while true do | |
3152 | ||
3153 | wait(0) | |
3154 | ||
3155 | fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0) | |
3156 | ||
3157 | fentext.Text = "Mana("..mana..")" | |
3158 | ||
3159 | fentext3.BackgroundColor3 = Color3.new(1,1,1) | |
3160 | ||
3161 | end | |
3162 | ||
3163 | ||
3164 | ||
3165 | -- lego This acts as a chat filter. Don't ask why I do it. I just do >.> | |
3166 | ||
3167 | --[[ | |
3168 | ||
3169 | Copyrighted (C) Fenrier/DrFlame 2011 | |
3170 | ||
3171 | This script is copyrighted for Fenrier. Any use of this script is breaking | |
3172 | ||
3173 | this copyright. | |
3174 | ||
3175 | All Rights Reserved. | |
3176 | ||
3177 | ]] |