memberhero

Untitled

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