Advertisement
memberhero

Katana Script

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