Advertisement
cuepointthekid

Untitled

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