Advertisement
MewGod

Untitled

Feb 21st, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410
  2. --REGULAR SCRIPT: Go to line 5 and put your name where it says "YOUR NAME HERE"
  3.  
  4.  
  5. Player = game:GetService("Players").jaffri207
  6. Character = Player.Character
  7. PlayerGui = Player.PlayerGui
  8. Backpack = Player.Backpack
  9. Torso = Character.Torso
  10. Head = Character.Head
  11. LeftArm = Character["Left Arm"]
  12. LeftLeg = Character["Left Leg"]
  13. RightArm = Character["Right Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19. bladecolor = BrickColor.new("Bright violet")
  20. attack = false
  21. attackdebounce = false
  22. combo = 0
  23. guarding = false
  24. bashing = false
  25. holddash = false
  26. Modes = {"Normal", "Attack"}
  27. Number = 1
  28. mode = Modes[Number]
  29. mana = 1000
  30. element = "Light"
  31. Style = "Normal"
  32. hitbox = nil
  33. target = nil
  34. original = Head.CFrame
  35. idleanimdelay = false
  36. SwordRaging = false
  37. barragehold = false
  38. regening = false
  39. --player
  40. player = nil
  41. --save shoulders
  42. RSH, LSH = nil, nil
  43. --welds
  44. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  45. --what anim
  46. anim = "none"
  47.  
  48. if Character:findFirstChild("ArmataeModel",true) ~= nil then
  49. Character:findFirstChild("ArmataeModel",true).Parent = nil
  50. end
  51. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  52. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  53. end
  54.  
  55. local modelzorz = Instance.new("Model")
  56. modelzorz.Name = "ArmataeModel"
  57. modelzorz.Parent = Character
  58.  
  59. local prt1 = Instance.new("Part")
  60. prt1.formFactor = 1
  61. prt1.Parent = modelzorz
  62. prt1.CanCollide = false
  63. prt1.BrickColor = BrickColor.new("Really black")
  64. prt1.Name = "ArmataeShield1"
  65. prt1.Size = Vector3.new(2,2,1)
  66. prt1.Position = Torso.Position
  67. local prt2 = Instance.new("Part")
  68. prt2.formFactor = 1
  69. prt2.Parent = modelzorz
  70. prt2.CanCollide = false
  71. prt2.BrickColor = BrickColor.new("Really black")
  72. prt2.Name = "ArmataeShield2"
  73. prt2.Size = Vector3.new(1,1,1)
  74. prt2.Position = Torso.Position
  75. local prt3 = Instance.new("Part")
  76. prt3.formFactor = 1
  77. prt3.Parent = modelzorz
  78. prt3.CanCollide = false
  79. prt3.BrickColor = BrickColor.new("Really black")
  80. prt3.Name = "ArmataeShield3"
  81. prt3.Size = Vector3.new(1,1,1)
  82. prt3.Position = Torso.Position
  83. local prt4 = Instance.new("Part")
  84. prt4.formFactor = 1
  85. prt4.Parent = modelzorz
  86. prt4.CanCollide = false
  87. prt4.BrickColor = BrickColor.new("Really black")
  88. prt4.Name = "ArmataeShield4"
  89. prt4.Size = Vector3.new(1,1,1)
  90. prt4.Position = Torso.Position
  91. local prt5 = Instance.new("Part")
  92. prt5.formFactor = 1
  93. prt5.Parent = modelzorz
  94. prt5.CanCollide = false
  95. prt5.BrickColor = BrickColor.new("Really black")
  96. prt5.Name = "ArmataeShield5"
  97. prt5.Size = Vector3.new(1,1,1)
  98. prt5.Position = Torso.Position
  99. local prt6 = Instance.new("Part")
  100. prt6.formFactor = 1
  101. prt6.Parent = modelzorz
  102. prt6.CanCollide = false
  103. prt6.BrickColor = BrickColor.new("White")
  104. prt6.Name = "ArmataeShield6"
  105. prt6.Size = Vector3.new(2,2,1)
  106. prt6.Position = Torso.Position
  107. local prt7 = Instance.new("Part")
  108. prt7.formFactor = 1
  109. prt7.Parent = modelzorz
  110. prt7.CanCollide = false
  111. prt7.BrickColor = BrickColor.new("White")
  112. prt7.Name = "ArmataeShield7"
  113. prt7.Size = Vector3.new(1,1,1)
  114. prt7.Position = Torso.Position
  115. local prt8 = Instance.new("Part")
  116. prt8.formFactor = 1
  117. prt8.Parent = modelzorz
  118. prt8.CanCollide = false
  119. prt8.BrickColor = BrickColor.new("White")
  120. prt8.Name = "ArmataeShield8"
  121. prt8.Size = Vector3.new(1,1,1)
  122. prt8.Position = Torso.Position
  123. local prt9 = Instance.new("Part")
  124. prt9.formFactor = 1
  125. prt9.Parent = modelzorz
  126. prt9.CanCollide = false
  127. prt9.BrickColor = BrickColor.new("White")
  128. prt9.Name = "ArmataeShield9"
  129. prt9.Size = Vector3.new(1,1,1)
  130. prt9.Position = Torso.Position
  131. local prt10 = Instance.new("Part")
  132. prt10.formFactor = 1
  133. prt10.Parent = modelzorz
  134. prt10.CanCollide = false
  135. prt10.BrickColor = BrickColor.new("White")
  136. prt10.Name = "ArmataeShield10"
  137. prt10.Size = Vector3.new(1,1,1)
  138. prt10.Position = Torso.Position
  139. local prt11 = Instance.new("Part")
  140. prt11.formFactor = 1
  141. prt11.Reflectance = 0.1
  142. prt11.Parent = modelzorz
  143. prt11.CanCollide = false
  144. prt11.BrickColor = BrickColor.new("Bright violet")
  145. prt11.Name = "ArmataeShield11"
  146. prt11.Size = Vector3.new(2,2,1)
  147. prt11.Position = Torso.Position
  148. local prt12 = Instance.new("Part")
  149. prt12.formFactor = 1
  150. prt12.Reflectance = 0.1
  151. prt12.Parent = modelzorz
  152. prt12.CanCollide = false
  153. prt12.BrickColor = BrickColor.new("Bright violet")
  154. prt12.Name = "ArmataeShield12"
  155. prt12.Size = Vector3.new(1,1,1)
  156. prt12.Position = Torso.Position
  157. local prt13 = Instance.new("Part")
  158. prt13.formFactor = 1
  159. prt13.Reflectance = 0.1
  160. prt13.Parent = modelzorz
  161. prt13.CanCollide = false
  162. prt13.BrickColor = BrickColor.new("Bright violet")
  163. prt13.Name = "ArmataeShield13"
  164. prt13.Size = Vector3.new(1,1,1)
  165. prt13.Position = Torso.Position
  166. local prt14 = Instance.new("Part")
  167. prt14.formFactor = 1
  168. prt14.Reflectance = 0.1
  169. prt14.Parent = modelzorz
  170. prt14.CanCollide = false
  171. prt14.BrickColor = BrickColor.new("Bright violet")
  172. prt14.Name = "ArmataeShield14"
  173. prt14.Size = Vector3.new(1,1,1)
  174. prt14.Position = Torso.Position
  175. local prt15 = Instance.new("Part")
  176. prt15.formFactor = 1
  177. prt15.Reflectance = 0.1
  178. prt15.Parent = modelzorz
  179. prt15.CanCollide = false
  180. prt15.BrickColor = BrickColor.new("Bright violet")
  181. prt15.Name = "ArmataeShield15"
  182. prt15.Size = Vector3.new(1,1,1)
  183. prt15.Position = Torso.Position
  184. local prt16 = Instance.new("Part")
  185. prt16.formFactor = 1
  186. prt16.Reflectance = 0.2
  187. prt16.Parent = modelzorz
  188. prt16.CanCollide = false
  189. --prt16.BrickColor = BrickColor.new("Bright violet")
  190. prt16.BrickColor = BrickColor.new("White")
  191. prt16.Name = "ArmataeShield16"
  192. prt16.Size = Vector3.new(1,1,1)
  193. prt16.Position = Torso.Position
  194. local prt17 = Instance.new("Part")
  195. prt17.formFactor = 1
  196. prt17.Reflectance = 0.1
  197. prt17.Parent = modelzorz
  198. prt17.CanCollide = false
  199. prt17.BrickColor = BrickColor.new("Really black")
  200. prt17.Name = "ArmataeShield17"
  201. prt17.Size = Vector3.new(1,1,1)
  202. prt17.Position = Torso.Position
  203. local prt18 = Instance.new("Part")
  204. prt18.formFactor = 1
  205. prt18.Reflectance = 0.1
  206. prt18.Parent = modelzorz
  207. prt18.CanCollide = false
  208. prt18.BrickColor = BrickColor.new("Really black")
  209. prt18.Name = "ArmataeShield18"
  210. prt18.Size = Vector3.new(1,1,1)
  211. prt18.Position = Torso.Position
  212. local prt19 = Instance.new("Part")
  213. prt19.formFactor = 1
  214. prt19.Reflectance = 0.1
  215. prt19.Parent = modelzorz
  216. prt19.CanCollide = false
  217. prt19.BrickColor = BrickColor.new("Really black")
  218. prt19.Name = "ArmataeShield19"
  219. prt19.Size = Vector3.new(1,1,1)
  220. prt19.Position = Torso.Position
  221.  
  222. local part1 = Instance.new("Part")
  223. part1.formFactor = 1
  224. part1.Parent = modelzorz
  225. part1.CanCollide = false
  226. part1.BrickColor = BrickColor.new("Bright violet")
  227. part1.Name = "Handle1"
  228. part1.Size = Vector3.new(1,1,1)
  229. part1.Position = Torso.Position
  230. local part2 = Instance.new("Part")
  231. part2.formFactor = 1
  232. part2.Parent = modelzorz
  233. part2.CanCollide = false
  234. part2.BrickColor = BrickColor.new("Bright violet")
  235. part2.Name = "Handle2"
  236. part2.Size = Vector3.new(1,1,1)
  237. part2.Position = Torso.Position
  238. local part3 = Instance.new("Part")
  239. part3.formFactor = 1
  240. part3.Parent = modelzorz
  241. part3.CanCollide = false
  242. part3.BrickColor = BrickColor.new("Bright violet")
  243. part3.Name = "Handle3"
  244. part3.Size = Vector3.new(1,1,1)
  245. part3.Position = Torso.Position
  246. local part4 = Instance.new("Part")
  247. part4.formFactor = 1
  248. part4.Parent = modelzorz
  249. part4.CanCollide = false
  250. part4.BrickColor = BrickColor.new("Really black")
  251. part4.Name = "Handle4"
  252. part4.Size = Vector3.new(1,3,1)
  253. part4.Position = Torso.Position
  254. local part5 = Instance.new("Part")
  255. part5.formFactor = 1
  256. part5.Parent = modelzorz
  257. part5.CanCollide = false
  258. part5.BrickColor = BrickColor.new("Really black")
  259. part5.Name = "Handle5"
  260. part5.Size = Vector3.new(1,1,1)
  261. part5.Position = Torso.Position
  262. local part6 = Instance.new("Part")
  263. part6.formFactor = 1
  264. part6.Parent = modelzorz
  265. part6.CanCollide = false
  266. part6.BrickColor = BrickColor.new("Really black")
  267. part6.Name = "Handle6"
  268. part6.Size = Vector3.new(1,1,1)
  269. part6.Position = Torso.Position
  270. local part7 = Instance.new("Part")
  271. part7.formFactor = 1
  272. part7.Parent = modelzorz
  273. part7.CanCollide = false
  274. part7.BrickColor = BrickColor.new("Really black")
  275. part7.Name = "Handle7"
  276. part7.Size = Vector3.new(1,1,1)
  277. part7.Position = Torso.Position
  278. local part8 = Instance.new("Part")
  279. part8.formFactor = 1
  280. part8.Parent = modelzorz
  281. part8.CanCollide = false
  282. part8.BrickColor = BrickColor.new("Really black")
  283. part8.Name = "Handle8"
  284. part8.Size = Vector3.new(1,1,1)
  285. part8.Position = Torso.Position
  286. local part9 = Instance.new("Part")
  287. part9.formFactor = 1
  288. part9.Parent = modelzorz
  289. part9.CanCollide = false
  290. part9.BrickColor = BrickColor.new("Really black")
  291. part9.Name = "Handle9"
  292. part9.Size = Vector3.new(1,1,1)
  293. part9.Position = Torso.Position
  294. local part10 = Instance.new("Part")
  295. part10.formFactor = 1
  296. part10.Parent = modelzorz
  297. part10.CanCollide = false
  298. part10.BrickColor = BrickColor.new("Really black")
  299. part10.Name = "Handle10"
  300. part10.Size = Vector3.new(1,1,1)
  301. part10.Position = Torso.Position
  302. local part11 = Instance.new("Part")
  303. part11.formFactor = 1
  304. part11.Parent = modelzorz
  305. part11.CanCollide = false
  306. part11.BrickColor = BrickColor.new("Really black")
  307. part11.Name = "Handle11"
  308. part11.Size = Vector3.new(1,1,1)
  309. part11.Position = Torso.Position
  310. local part12 = Instance.new("Part")
  311. part12.formFactor = 1
  312. part12.Parent = modelzorz
  313. part12.CanCollide = false
  314. part12.BrickColor = BrickColor.new("Really black")
  315. part12.Name = "Handle12"
  316. part12.Size = Vector3.new(1,1,1)
  317. part12.Position = Torso.Position
  318. local part13 = Instance.new("Part")
  319. part13.formFactor = 1
  320. part13.Parent = modelzorz
  321. part13.CanCollide = false
  322. part13.Reflectance = 0.5
  323. part13.BrickColor = bladecolor
  324. part13.Name = "Blade1"
  325. part13.Size = Vector3.new(2,1,1)
  326. part13.Position = Torso.Position
  327. local part14 = Instance.new("Part")
  328. part14.formFactor = 1
  329. part14.Parent = modelzorz
  330. part14.CanCollide = false
  331. part14.Reflectance = 0.5
  332. part14.BrickColor = bladecolor
  333. part14.Name = "Blade2"
  334. part14.Size = Vector3.new(1,1,1)
  335. part14.Position = Torso.Position
  336. local part15 = Instance.new("Part")
  337. part15.formFactor = 1
  338. part15.Parent = modelzorz
  339. part15.CanCollide = false
  340. part15.Reflectance = 0
  341. part15.BrickColor = BrickColor.new("Black")
  342. part15.Name = "Blade3"
  343. part15.Size = Vector3.new(1,2,1)
  344. part15.Position = Torso.Position
  345.  
  346. local msh1 = Instance.new("BlockMesh")
  347. msh1.Parent = prt1
  348. msh1.Scale = Vector3.new(1,1,0.5)
  349. local msh2 = Instance.new("SpecialMesh")
  350. msh2.Parent = prt2
  351. msh2.MeshType = "Wedge"
  352. msh2.Scale = Vector3.new(0.5,0.7,1)
  353. local msh3 = Instance.new("SpecialMesh")
  354. msh3.Parent = prt3
  355. msh3.MeshType = "Wedge"
  356. msh3.Scale = Vector3.new(0.5,0.7,1)
  357. local msh4 = Instance.new("BlockMesh")
  358. msh4.Parent = prt4
  359. msh4.Scale = Vector3.new(0.9,0.9,0.5)
  360. local msh5 = Instance.new("BlockMesh")
  361. msh5.Parent = prt5
  362. msh5.Scale = Vector3.new(0.9,0.9,0.5)
  363. local msh6 = Instance.new("BlockMesh")
  364. msh6.Parent = prt6
  365. msh6.Scale = Vector3.new(0.8,0.8,0.5)
  366. local msh7 = Instance.new("SpecialMesh")
  367. msh7.Parent = prt7
  368. msh7.MeshType = "Wedge"
  369. msh7.Scale = Vector3.new(0.5,0.5,0.8)
  370. local msh8 = Instance.new("SpecialMesh")
  371. msh8.Parent = prt8
  372. msh8.MeshType = "Wedge"
  373. msh8.Scale = Vector3.new(0.5,0.5,0.8)
  374. local msh9 = Instance.new("BlockMesh")
  375. msh9.Parent = prt9
  376. msh9.Scale = Vector3.new(0.7,0.7,0.5)
  377. local msh10 = Instance.new("BlockMesh")
  378. msh10.Parent = prt10
  379. msh10.Scale = Vector3.new(0.7,0.7,0.5)
  380. local msh11 = Instance.new("BlockMesh")
  381. msh11.Parent = prt11
  382. msh11.Scale = Vector3.new(0.7,0.7,0.5)
  383. local msh12 = Instance.new("SpecialMesh")
  384. msh12.Parent = prt12
  385. msh12.MeshType = "Wedge"
  386. msh12.Scale = Vector3.new(0.4,0.5,0.7)
  387. local msh13 = Instance.new("SpecialMesh")
  388. msh13.Parent = prt13
  389. msh13.MeshType = "Wedge"
  390. msh13.Scale = Vector3.new(0.4,0.5,0.7)
  391. local msh14 = Instance.new("BlockMesh")
  392. msh14.Parent = prt14
  393. msh14.Scale = Vector3.new(0.5,0.5,0.5)
  394. local msh15 = Instance.new("BlockMesh")
  395. msh15.Parent = prt15
  396. msh15.Scale = Vector3.new(0.5,0.5,0.5)
  397. local msh16 = Instance.new("SpecialMesh")
  398. msh16.Parent = prt16
  399. msh16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  400. msh16.Scale = Vector3.new(0.6,0.6,0.6)
  401. local msh17 = Instance.new("SpecialMesh")
  402. msh17.Parent = prt17
  403. msh17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  404. msh17.Scale = Vector3.new(0.8,0.8,0.3)
  405. local msh18 = Instance.new("CylinderMesh")
  406. msh18.Parent = prt18
  407. msh18.Scale = Vector3.new(0.3,0.2,0.5)
  408. local msh19 = Instance.new("CylinderMesh")
  409. msh19.Parent = prt19
  410. msh19.Scale = Vector3.new(0.3,0.2,0.5)
  411.  
  412. local mesh1 = Instance.new("CylinderMesh")
  413. mesh1.Parent = part1
  414. mesh1.Scale = Vector3.new(0.31,0.1,0.31)
  415. local mesh2 = Instance.new("CylinderMesh")
  416. mesh2.Parent = part2
  417. mesh2.Scale = Vector3.new(0.31,0.1,0.31)
  418. local mesh3 = Instance.new("CylinderMesh")
  419. mesh3.Parent = part3
  420. mesh3.Scale = Vector3.new(0.31,0.1,0.31)
  421. local mesh4 = Instance.new("CylinderMesh")
  422. mesh4.Parent = part4
  423. mesh4.Scale = Vector3.new(0.3,0.4,0.3)
  424. local mesh5 = Instance.new("SpecialMesh")
  425. mesh5.Parent = part5
  426. mesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  427. mesh5.Scale = Vector3.new(0.6,0.6,0.6)
  428. local mesh6 = Instance.new("BlockMesh")
  429. mesh6.Parent = part6
  430. mesh6.Scale = Vector3.new(0.2,0.4,0.2)
  431. local mesh7 = Instance.new("BlockMesh")
  432. mesh7.Parent = part7
  433. mesh7.Scale = Vector3.new(0.2,0.4,0.2)
  434. local mesh8 = Instance.new("BlockMesh")
  435. mesh8.Parent = part8
  436. mesh8.Scale = Vector3.new(0.3,0.9,0.3)
  437. local mesh9 = Instance.new("BlockMesh")
  438. mesh9.Parent = part9
  439. mesh9.Scale = Vector3.new(0.2, 0.5, 0.2)
  440. local mesh10 = Instance.new("BlockMesh")
  441. mesh10.Parent = part10
  442. mesh10.Scale = Vector3.new(0.2, 0.5, 0.2)
  443. local mesh11 = Instance.new("BlockMesh")
  444. mesh11.Parent = part11
  445. mesh11.Scale = Vector3.new(0.2, 0.5, 0.2)
  446. local mesh12 = Instance.new("BlockMesh")
  447. mesh12.Parent = part12
  448. mesh12.Scale = Vector3.new(0.2, 0.5, 0.2)
  449. local mesh13 = Instance.new("BlockMesh")
  450. mesh13.Parent = part13
  451. mesh13.Scale = Vector3.new(1.3, 0.6, 0.2)
  452. local mesh14 = Instance.new("SpecialMesh")
  453. mesh14.Parent = part14
  454. mesh14.MeshType = "Wedge"
  455. mesh14.Scale = Vector3.new(0.2,0.4,0.5)
  456. local mesh15 = Instance.new("CylinderMesh")
  457. mesh15.Parent = part15
  458. mesh15.Scale = Vector3.new(2.3,0.8,0.3)
  459.  
  460. local wld1 = Instance.new("Weld")
  461. wld1.Parent = prt1
  462. wld1.Part0 = prt1
  463. wld1.Part1 = Torso
  464. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
  465. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  466. local wld2 = Instance.new("Weld")
  467. wld2.Parent = prt2
  468. wld2.Part0 = prt2
  469. wld2.Part1 = prt1
  470. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)) * CFrame.new(0.5,1.6,0)
  471. wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  472. local wld3 = Instance.new("Weld")
  473. wld3.Parent = prt3
  474. wld3.Part0 = prt3
  475. wld3.Part1 = prt1
  476. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),math.rad(180)) * CFrame.new(-0.5,1.6,0)
  477. wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  478. local wld4 = Instance.new("Weld")
  479. wld4.Parent = prt4
  480. wld4.Part0 = prt4
  481. wld4.Part1 = prt1
  482. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.2) * CFrame.new(0.6,-0.9,0)
  483. wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  484. local wld5 = Instance.new("Weld")
  485. wld5.Parent = prt5
  486. wld5.Part0 = prt5
  487. wld5.Part1 = prt1
  488. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1.2) * CFrame.new(-0.6,-0.9,0)
  489. wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  490. local wld6 = Instance.new("Weld")
  491. wld6.Parent = prt6
  492. wld6.Part0 = prt6
  493. wld6.Part1 = prt1
  494. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.15,-0.05)
  495. wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  496. local wld7 = Instance.new("Weld")
  497. wld7.Parent = prt7
  498. wld7.Part0 = prt7
  499. wld7.Part1 = prt2
  500. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.05,0.2,-0.1)
  501. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  502. local wld8 = Instance.new("Weld")
  503. wld8.Parent = prt8
  504. wld8.Part0 = prt8
  505. wld8.Part1 = prt3
  506. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.05,0.2,-0.1)
  507. wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  508. local wld9 = Instance.new("Weld")
  509. wld9.Parent = prt9
  510. wld9.Part0 = prt9
  511. wld9.Part1 = prt4
  512. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.1,-0.05,-0.05)
  513. wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  514. local wld10 = Instance.new("Weld")
  515. wld10.Parent = prt10
  516. wld10.Part0 = prt10
  517. wld10.Part1 = prt5
  518. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.1,-0.05,-0.05)
  519. wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  520. local wld11 = Instance.new("Weld")
  521. wld11.Parent = prt11
  522. wld11.Part0 = prt11
  523. wld11.Part1 = prt6
  524. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  525. wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  526. local wld12 = Instance.new("Weld")
  527. wld12.Parent = prt12
  528. wld12.Part0 = prt12
  529. wld12.Part1 = prt7
  530. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.06,0.11,-0.06)
  531. wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  532. local wld13 = Instance.new("Weld")
  533. wld13.Parent = prt13
  534. wld13.Part0 = prt13
  535. wld13.Part1 = prt8
  536. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.06,0.11,-0.06)
  537. wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  538. local wld14 = Instance.new("Weld")
  539. wld14.Parent = prt14
  540. wld14.Part0 = prt14
  541. wld14.Part1 = prt9
  542. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  543. wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  544. local wld15 = Instance.new("Weld")
  545. wld15.Parent = prt15
  546. wld15.Part0 = prt15
  547. wld15.Part1 = prt10
  548. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  549. wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  550. local wld16 = Instance.new("Weld")
  551. wld16.Parent = prt16
  552. wld16.Part0 = prt16
  553. wld16.Part1 = prt11
  554. wld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
  555. wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  556. local wld17 = Instance.new("Weld")
  557. wld17.Parent = prt17
  558. wld17.Part0 = prt17
  559. wld17.Part1 = prt11
  560. wld17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
  561. wld17.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  562. local wld18 = Instance.new("Weld")
  563. wld18.Parent = prt18
  564. wld18.Part0 = prt18
  565. wld18.Part1 = prt14
  566. wld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(-0.1,0,-0.2)
  567. wld18.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  568. local wld19 = Instance.new("Weld")
  569. wld19.Parent = prt19
  570. wld19.Part0 = prt19
  571. wld19.Part1 = prt15
  572. wld19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0.1,0,-0.2)
  573. wld19.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  574.  
  575. local weld1 = Instance.new("Weld")
  576. weld1.Parent = part1
  577. weld1.Part0 = part1
  578. weld1.Part1 = prt1
  579. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  580. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  581. local weld2 = Instance.new("Weld")
  582. weld2.Parent = part2
  583. weld2.Part0 = part2
  584. weld2.Part1 = part1
  585. weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3,0)
  586. weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  587. local weld3 = Instance.new("Weld")
  588. weld3.Parent = part3
  589. weld3.Part0 = part3
  590. weld3.Part1 = part1
  591. weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.3,0)
  592. weld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  593. local weld4 = Instance.new("Weld")
  594. weld4.Parent = part4
  595. weld4.Part0 = part4
  596. weld4.Part1 = part1
  597. weld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  598. weld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  599. local weld5 = Instance.new("Weld")
  600. weld5.Parent = part5
  601. weld5.Part0 = part5
  602. weld5.Part1 = part1
  603. weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.8,0)
  604. weld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  605. local weld6 = Instance.new("Weld")
  606. weld6.Parent = part6
  607. weld6.Part0 = part6
  608. weld6.Part1 = part5
  609. weld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  610. weld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  611. local weld7 = Instance.new("Weld")
  612. weld7.Parent = part7
  613. weld7.Part0 = part7
  614. weld7.Part1 = part5
  615. weld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  616. weld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  617. local weld8 = Instance.new("Weld")
  618. weld8.Parent = part8
  619. weld8.Part0 = part8
  620. weld8.Part1 = part1
  621. weld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0.6,0)
  622. local weld9 = Instance.new("Weld")
  623. weld9.Parent = part9
  624. weld9.Part0 = part9
  625. weld9.Part1 = part8
  626. weld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
  627. local weld10 = Instance.new("Weld")
  628. weld10.Parent = part10
  629. weld10.Part0 = part10
  630. weld10.Part1 = part9
  631. weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  632. local weld11 = Instance.new("Weld")
  633. weld11.Parent = part11
  634. weld11.Part0 = part11
  635. weld11.Part1 = part8
  636. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0)
  637. local weld12 = Instance.new("Weld")
  638. weld12.Parent = part12
  639. weld12.Part0 = part12
  640. weld12.Part1 = part11
  641. weld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  642. local weld13 = Instance.new("Weld")
  643. weld13.Parent = part13
  644. weld13.Part0 = part13
  645. weld13.Part1 = part8
  646. weld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-1.4,0,0)
  647. local weld14 = Instance.new("Weld")
  648. weld14.Parent = part14
  649. weld14.Part0 = part14
  650. weld14.Part1 = part13
  651. weld14.C0 = CFrame.fromEulerAnglesXYZ(3.95,math.rad(90),0) * CFrame.new(-1.3,0,0)
  652. local weld15 = Instance.new("Weld")
  653. weld15.Parent = part15
  654. weld15.Part0 = part15
  655. weld15.Part1 = part13
  656. weld15.C0 = CFrame.fromEulerAnglesXYZ(4.7,math.rad(90),0) * CFrame.new(0,0,0)
  657.  
  658. local wingblade1 = Instance.new("Part")
  659. wingblade1.formFactor = 1
  660. wingblade1.Parent = nil
  661. wingblade1.Transparency = 0.4
  662. wingblade1.CanCollide = false
  663. wingblade1.Reflectance = 0
  664. wingblade1.BrickColor = BrickColor.new("White")
  665. wingblade1.Name = "Wingblade1"
  666. wingblade1.Size = Vector3.new(1,1,3)
  667. wingblade1.Position = Torso.Position
  668. local wingblade2 = Instance.new("Part")
  669. wingblade2.formFactor = 1
  670. wingblade2.Parent = nil
  671. wingblade2.Transparency = 0.4
  672. wingblade2.CanCollide = false
  673. wingblade2.Reflectance = 0
  674. wingblade2.BrickColor = BrickColor.new("White")
  675. wingblade2.Name = "Wingblade2"
  676. wingblade2.Size = Vector3.new(1,1,3)
  677. wingblade2.Position = Torso.Position
  678. local wingblade3 = Instance.new("Part")
  679. wingblade3.formFactor = 1
  680. wingblade3.Parent = nil
  681. wingblade3.Transparency = 0.4
  682. wingblade3.CanCollide = false
  683. wingblade3.Reflectance = 0
  684. wingblade3.BrickColor = BrickColor.new("White")
  685. wingblade3.Name = "Wingblade3"
  686. wingblade3.Size = Vector3.new(1,1,3)
  687. wingblade3.Position = Torso.Position
  688. local wingblade4 = Instance.new("Part")
  689. wingblade4.formFactor = 1
  690. wingblade4.Parent = nil
  691. wingblade4.Transparency = 0.4
  692. wingblade4.CanCollide = false
  693. wingblade4.Reflectance = 0
  694. wingblade4.BrickColor = BrickColor.new("White")
  695. wingblade4.Name = "Wingblade4"
  696. wingblade4.Size = Vector3.new(1,1,3)
  697. wingblade4.Position = Torso.Position
  698. local wingblade5 = Instance.new("Part")
  699. wingblade5.formFactor = 1
  700. wingblade5.Parent = nil
  701. wingblade5.Transparency = 0.4
  702. wingblade5.CanCollide = false
  703. wingblade5.Reflectance = 0
  704. wingblade5.BrickColor = BrickColor.new("White")
  705. wingblade5.Name = "Wingblade5"
  706. wingblade5.Size = Vector3.new(1,1,3)
  707. wingblade5.Position = Torso.Position
  708. local wingblade6 = Instance.new("Part")
  709. wingblade6.formFactor = 1
  710. wingblade6.Parent = nil
  711. wingblade6.Transparency = 0.4
  712. wingblade6.CanCollide = false
  713. wingblade6.Reflectance = 0
  714. wingblade6.BrickColor = BrickColor.new("White")
  715. wingblade6.Name = "Wingblade6"
  716. wingblade6.Size = Vector3.new(1,1,3)
  717. wingblade6.Position = Torso.Position
  718.  
  719. local wingmesh1 = Instance.new("SpecialMesh")
  720. wingmesh1.Parent = wingblade1
  721. wingmesh1.MeshId = "rbxasset://fonts/sword.mesh"
  722. wingmesh1.Scale = Vector3.new(1,1,1)
  723. local wingmesh2 = Instance.new("SpecialMesh")
  724. wingmesh2.Parent = wingblade2
  725. wingmesh2.MeshId = "rbxasset://fonts/sword.mesh"
  726. wingmesh2.Scale = Vector3.new(1,1,1)
  727. local wingmesh3 = Instance.new("SpecialMesh")
  728. wingmesh3.Parent = wingblade3
  729. wingmesh3.MeshId = "rbxasset://fonts/sword.mesh"
  730. wingmesh3.Scale = Vector3.new(1,1,1)
  731. local wingmesh4 = Instance.new("SpecialMesh")
  732. wingmesh4.Parent = wingblade4
  733. wingmesh4.MeshId = "rbxasset://fonts/sword.mesh"
  734. wingmesh4.Scale = Vector3.new(1,1,1)
  735. local wingmesh5 = Instance.new("SpecialMesh")
  736. wingmesh5.Parent = wingblade5
  737. wingmesh5.MeshId = "rbxasset://fonts/sword.mesh"
  738. wingmesh5.Scale = Vector3.new(1,1,1)
  739. local wingmesh6 = Instance.new("SpecialMesh")
  740. wingmesh6.Parent = wingblade6
  741. wingmesh6.MeshId = "rbxasset://fonts/sword.mesh"
  742. wingmesh6.Scale = Vector3.new(1,1,1)
  743.  
  744. local wingweld1 = Instance.new("Weld")
  745. wingweld1.Parent = wingblade1
  746. wingweld1.Part0 = wingblade1
  747. wingweld1.Part1 = Torso
  748. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(1,0,0)
  749. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  750. local wingweld2 = Instance.new("Weld")
  751. wingweld2.Parent = wingblade2
  752. wingweld2.Part0 = wingblade2
  753. wingweld2.Part1 = Torso
  754. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  755. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  756. local wingweld3 = Instance.new("Weld")
  757. wingweld3.Parent = wingblade3
  758. wingweld3.Part0 = wingblade3
  759. wingweld3.Part1 = Torso
  760. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  761. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  762. local wingweld4 = Instance.new("Weld")
  763. wingweld4.Parent = wingblade4
  764. wingweld4.Part0 = wingblade4
  765. wingweld4.Part1 = Torso
  766. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  767. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  768. local wingweld5 = Instance.new("Weld")
  769. wingweld5.Parent = wingblade5
  770. wingweld5.Part0 = wingblade5
  771. wingweld5.Part1 = Torso
  772. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  773. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  774. local wingweld6 = Instance.new("Weld")
  775. wingweld6.Parent = wingblade6
  776. wingweld6.Part0 = wingblade6
  777. wingweld6.Part1 = Torso
  778. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  779. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  780.  
  781. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  782. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  783. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  784. SlashSound.Parent = Character
  785. SlashSound.Volume = .7
  786. SlashSound.Pitch = 1
  787. local SlashSound = Instance.new("Sound")
  788. SlashSound.SoundId = "http://roblox.com/asset/?id=10209850"
  789. SlashSound.Parent = Character
  790. SlashSound.Volume = .7
  791. SlashSound.Pitch = 1
  792. local SlashSound = Instance.new("Sound")
  793. SlashSound.SoundId = "http://roblox.com/asset/?id=10209583"
  794. SlashSound.Parent = Character
  795. SlashSound.Volume = .7
  796. SlashSound.Pitch = 1
  797. local SlashSound = Instance.new("Sound")
  798. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  799. SlashSound.Parent = Character
  800. SlashSound.Volume = .5
  801. SlashSound.Pitch = 1
  802. local SlashSound = Instance.new("Sound")
  803. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
  804. SlashSound.Parent = Character
  805. SlashSound.Volume = 1
  806. SlashSound.Pitch = 1
  807. local SlashSound = Instance.new("Sound")
  808. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  809. SlashSound.Parent = Character
  810. SlashSound.Volume = 1
  811. SlashSound.Pitch = 1
  812. local SlashSound = Instance.new("Sound")
  813. SlashSound.SoundId = "http://www.roblox.com/asset/?id=13775494"
  814. SlashSound.Parent = Character
  815. SlashSound.Volume = 1
  816. SlashSound.Pitch = 0.1
  817. local SlashSound = Instance.new("Sound")
  818. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  819. SlashSound.Parent = Character
  820. SlashSound.Volume = 1
  821. SlashSound.Pitch = 0.2
  822. local SlashSound = Instance.new("Sound")
  823. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  824. SlashSound.Parent = Character
  825. SlashSound.Volume = 1
  826. SlashSound.Pitch = 0.05
  827. local SlashSound = Instance.new("Sound")
  828. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  829. SlashSound.Parent = Character
  830. SlashSound.Volume = 1
  831. SlashSound.Pitch = 0.05
  832. local SlashSound = Instance.new("Sound")
  833. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  834. SlashSound.Parent = Character
  835. SlashSound.Volume = 1
  836. SlashSound.Pitch = 0.7
  837. local SlashSound = Instance.new("Sound")
  838. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
  839. SlashSound.Parent = Character
  840. SlashSound.Volume = 1
  841. SlashSound.Pitch = 0.5
  842. local SlashSound = Instance.new("Sound")
  843. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
  844. SlashSound.Parent = Character
  845. SlashSound.Volume = 1
  846. SlashSound.Pitch = 0.3
  847.  
  848. local fengui = Instance.new("GuiMain")
  849. fengui.Parent = Player.PlayerGui
  850. fengui.Name = "manaGUI"
  851. local fenframe = Instance.new("Frame")
  852. fenframe.Parent = fengui
  853. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  854. fenframe.BackgroundTransparency = 1
  855. fenframe.BorderColor3 = Color3.new(17,17,17)
  856. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  857. local fentext = Instance.new("TextLabel")
  858. fentext.Parent = fenframe
  859. fentext.Text = "Mana("..mana..")"
  860. fentext.BackgroundTransparency = 1
  861. fentext.SizeConstraint = "RelativeXY"
  862. fentext.TextXAlignment = "Center"
  863. fentext.TextYAlignment = "Center"
  864. fentext.Position = UDim2.new(0,80,1,200)
  865. local fentext2 = Instance.new("TextLabel")
  866. fentext2.Parent = fenframe
  867. fentext2.Text = " "
  868. fentext2.BackgroundTransparency = 0
  869. fentext2.BackgroundColor3 = Color3.new(0,0,1)
  870. fentext2.SizeConstraint = "RelativeXY"
  871. fentext2.TextXAlignment = "Center"
  872. fentext2.TextYAlignment = "Center"
  873. fentext2.Position = UDim2.new(0,10,1,170)
  874. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  875. local fentext3 = Instance.new("TextLabel")
  876. fentext3.Parent = fenframe
  877. fentext3.Text = " "
  878. fentext3.BackgroundTransparency = 0
  879. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  880. fentext3.SizeConstraint = "RelativeXY"
  881. fentext3.TextXAlignment = "Center"
  882. fentext3.TextYAlignment = "Center"
  883. fentext3.Position = UDim2.new(0,10,1,170)
  884. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  885. --2.9000001, 0}, {0.450000018, 0}
  886. local gairo = Instance.new("BodyGyro")
  887. gairo.Parent = nil
  888. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  889. gairo.P = 20e+003
  890.  
  891. if (script.Parent.className ~= "HopperBin") then
  892. Tool = Instance.new("HopperBin")
  893. Tool.Parent = Backpack
  894. Tool.Name = "Armatae"
  895. script.Parent = Tool
  896. end
  897. Bin = script.Parent
  898.  
  899. function unequipweld()
  900. wait()
  901. wld1.Parent = prt1
  902. wld1.Part1 = Torso
  903. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
  904. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  905. if mode == "Attack" then
  906. sheath(2.25)
  907. weld1.Part0 = part1
  908. weld1.Part1 = prt1
  909. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  910. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  911. end
  912. end
  913.  
  914. function equipweld()
  915. wld1.Part1 = RightArm
  916. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  917. wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,0,0)
  918. if mode == "Attack" then
  919. sheath(2.25)
  920. weld1.Part0 = part1
  921. weld1.Part1 = LeftArm
  922. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
  923. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  924. end
  925. end
  926.  
  927. function hideanim()
  928. if Style ~= "WingBlade" then
  929. for i = 0 , 1 , 0.085 do
  930. wait(0)
  931. wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(180)+math.rad(180)*i,0,0) * CFrame.new(0,0,0)
  932. if mode == "Normal" then
  933. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  934. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  935. elseif mode == "Attack" then
  936. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4*i,-0.5*i,0.5*i)
  937. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  938. end
  939. RW.C0 = CFrame.new(1.5-0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,-1.2*i)
  940. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  941. end
  942. unequipweld()
  943. for i = 0 , 1 , 0.085 do
  944. wait(0)
  945. if mode == "Normal" then
  946. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  947. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  948. elseif mode == "Attack" then
  949. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-4*i,-0.5+0.5*i,0.5-0.5*i)
  950. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  951. end
  952. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57+2.57*i,0,-1.2+1.2*i)
  953. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  954. end
  955. end
  956. end
  957.  
  958. function equipanim()
  959. if Style ~= "WingBlade" then
  960. for i = 0 , 1 , 0.085 do
  961. wait(0)
  962. if mode == "Normal" then
  963. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  964. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  965. elseif mode == "Attack" then
  966. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4*i,-0.5*i,0.5*i)
  967. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  968. end
  969. RW.C0 = CFrame.new(1.5-0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,-1.2*i)
  970. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  971. end
  972. equipweld()
  973. for i = 0 , 1 , 0.085 do
  974. wait(0)
  975. wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(180)*i,0,0) * CFrame.new(0,0,0)
  976. if mode == "Normal" then
  977. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  978. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  979. elseif mode == "Attack" then
  980. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-4*i,-0.5+0.5*i,0.5-0.5*i)
  981. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  982. end
  983. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57+2.57*i,0,-1.2+1.2*i)
  984. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  985. end
  986. end
  987. end
  988.  
  989. function changeequipleft()
  990. if Number > 1 then
  991. Number = Number - 1
  992. mode = Modes[Number]
  993. print(mode)
  994. if Number == 1 then
  995. NormalMode()
  996. end
  997. end
  998. end
  999.  
  1000. function changeequipright()
  1001. if Number < #Modes then
  1002. Number = Number + 1
  1003. mode = Modes[Number]
  1004. print(mode)
  1005. if Number == 2 then
  1006. AttackMode()
  1007. end
  1008. end
  1009. end
  1010.  
  1011. function findNearestTorso(pos)
  1012. local list = game.Workspace:children()
  1013. local torso = nil
  1014. local dist = 150
  1015. local temp = nil
  1016. local human = nil
  1017. local temp2 = nil
  1018. for x = 1, #list do
  1019. temp2 = list[x]
  1020. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "outcast12345") then
  1021. temp = temp2:findFirstChild("Torso")
  1022. human = temp2:findFirstChild("Humanoid")
  1023. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1024. if (temp.Position - pos).magnitude < dist then
  1025. torso = temp
  1026. dist = (temp.Position - pos).magnitude
  1027. end
  1028. end
  1029. end
  1030. end
  1031. return torso
  1032. end
  1033.  
  1034. function ChangeElement()
  1035. attack = true
  1036. for i = 0,1,0.1 do
  1037. wait()
  1038. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1039. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0)
  1040. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1041. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1*i,0,0)
  1042. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1043. end
  1044. magicsound(1)
  1045. if element == "Light" then
  1046. element = "Dark"
  1047. WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("Black"))
  1048. elseif element == "Dark" then
  1049. element = "Light"
  1050. WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("White"))
  1051. end
  1052. for i = 0,1,0.2 do
  1053. wait()
  1054. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
  1055. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
  1056. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1057. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
  1058. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1059. end
  1060. wait(0.2)
  1061. for i = 0,1,0.1 do
  1062. wait()
  1063. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1064. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  1065. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1066. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  1067. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1068. end
  1069. attack = false
  1070. end
  1071.  
  1072. function NormalMode()
  1073. attack = true
  1074. for i = 0,1,0.1 do
  1075. wait()
  1076. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1077. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1078. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
  1079. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  1080. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  1081. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
  1082. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1083. end
  1084. sheath(2.25)
  1085. weld1.Part0 = part1
  1086. weld1.Part1 = prt1
  1087. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  1088. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1089. wait(0.2)
  1090. for i = 0,1,0.1 do
  1091. wait()
  1092. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1093. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1094. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
  1095. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  1096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  1097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
  1098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1099. end
  1100. attack = false
  1101. end
  1102.  
  1103. function AttackMode()
  1104. attack = true
  1105. for i = 0,1,0.1 do
  1106. wait()
  1107. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1108. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1109. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
  1110. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  1111. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  1112. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
  1113. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1114. end
  1115. sheath(2.25)
  1116. weld1.Part0 = part1
  1117. weld1.Part1 = LeftArm
  1118. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
  1119. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1120. wait(0.2)
  1121. for i = 0,1,0.1 do
  1122. wait()
  1123. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1124. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1125. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
  1126. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  1127. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  1128. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
  1129. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1130. end
  1131. attack = false
  1132. end
  1133.  
  1134. function onehit()
  1135. attack = true
  1136. combo = 1
  1137. ss(0.8)
  1138. con1=LeftArm.Touched:connect(function(hit) Damagefunc1(hit,10,5) end)
  1139. for i = 0,1,0.2 do
  1140. wait(0)
  1141. LW.C0 = CFrame.new(-1.5,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(1.3*i,1.57*i,0)
  1142. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1143. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
  1144. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1145. end
  1146. if mana >= 1 then
  1147. magicsound(2)
  1148. if element == "Light" then
  1149. MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("White"))
  1150. else
  1151. MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("Black"))
  1152. end
  1153. mana = mana - 1
  1154. end
  1155. wait(0.3)
  1156. con1:disconnect()
  1157. attack = false
  1158. end
  1159.  
  1160. function twohit()
  1161. attack = true
  1162. combo = 2
  1163. --con1=RightLeg.Touched:connect(function(hit) Damagefunc1(hit,10,5) end)
  1164. for i = 0,1,0.1 do
  1165. wait()
  1166. LW.C0 = CFrame.new(-1.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(1.3+1.7*i,1.57,0)
  1167. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1168. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1169. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1170. end
  1171. ss(0.8)
  1172. con1=RightArm.Touched:connect(function(hit) Damagefunc1(hit,10,5) end)
  1173. for i = 0,1,0.2 do
  1174. wait()
  1175. LW.C0 = CFrame.new(-1.5,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(3-2.5*i,1.57-1.57*i,0)
  1176. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1177. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1178. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1179. end
  1180. if mana >= 5 then
  1181. magicsound(2)
  1182. if element == "Light" then
  1183. EVENMOARMAGIX(Torso,1,4,1,-1.5,-2,-1.3,0,0,0,BrickColor.new("White"))
  1184. WaveEffect(Torso,0.5,2,0.5,-1.5,-2,-1.3,0,0,0,BrickColor.new("White"))
  1185. else
  1186. EVENMOARMAGIX(Torso,1,4,1,-1.5,-2,-1.3,0,0,0,BrickColor.new("Black"))
  1187. WaveEffect(Torso,0.5,2,0.5,-1.5,-2,-1.3,0,0,0,BrickColor.new("Black"))
  1188. end
  1189. mana = mana - 5
  1190. end
  1191. wait(0.2)
  1192. con1:disconnect()
  1193. attack = false
  1194. end
  1195.  
  1196. function threehit()
  1197. attack = true
  1198. combo = 3
  1199. for i = 0,1,0.2 do
  1200. wait()
  1201. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1202. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1203. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
  1204. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1*i,-1.57*i,0)
  1205. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  1206. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+0.2*i,1*i,0)
  1207. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1208. end
  1209. sheath(2.25)
  1210. weld1.Part0 = part1
  1211. weld1.Part1 = LeftArm
  1212. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
  1213. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1214. wait(0.2)
  1215. ss(1)
  1216. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1217. for i = 0,1,0.2 do
  1218. wait()
  1219. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1220. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1221. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
  1222. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
  1223. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+2.2*i,0,0)
  1224. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7-0.5*i,1-1*i,0)
  1225. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1226. end
  1227. con1:disconnect()
  1228. wait(0.1)
  1229. attack = false
  1230. end
  1231.  
  1232. function fourhit()
  1233. attack = true
  1234. combo = 4
  1235. for i = 0,1,0.1 do
  1236. wait()
  1237. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5+2*i,-1.57+1.57*i,0)
  1238. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,0,0)
  1239. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  1240. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1241. end
  1242. wait(0.2)
  1243. ss(1.2)
  1244. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1245. for i = 0,1,0.2 do
  1246. wait()
  1247. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5-4*i,0,0)
  1248. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1249. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  1250. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1251. end
  1252. wait(0.1)
  1253. for i = 0,1,0.1 do
  1254. wait()
  1255. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1256. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1257. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  1258. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1259. end
  1260. con1:disconnect()
  1261. wait(0.05)
  1262. attack = false
  1263. end
  1264.  
  1265. function fivehit()
  1266. attack = true
  1267. combo = 5
  1268. gairo.Parent = Head
  1269. gairo.cframe = Head.CFrame
  1270. for i = 0,1,0.1 do
  1271. wait()
  1272. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
  1273. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1274. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1275. RW.C0 = CFrame.new(1.5-0.7*i,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(0.2+1.37*i,0,-1*i)
  1276. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1277. end
  1278. wait(0.1)
  1279. ss(0.7)
  1280. --shieldbash(1)
  1281. con1=prt1.Touched:connect(function(hit) Bash(hit,40) end)
  1282. for i = 0,1,0.2 do
  1283. wait()
  1284. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
  1285. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1286. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1287. RW.C0 = CFrame.new(1.5-0.7+0.7*i,0.5,-0.7+0.7*i) * CFrame.fromEulerAnglesXYZ(0.2+1.37,0,-1+2*i)
  1288. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1289. end
  1290. con1:disconnect()
  1291. wait(0.3)
  1292. attack = false
  1293. end
  1294.  
  1295. function oneslash()
  1296. attack = true
  1297. combo = 1
  1298. ss(1)
  1299. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1300. for i = 0,1,0.2 do
  1301. wait(0)
  1302. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,0)
  1303. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1304. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
  1305. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1306. end
  1307. wait(0.1)
  1308. con1:disconnect()
  1309. attack = false
  1310. end
  1311.  
  1312. function twoslash()
  1313. attack = true
  1314. combo = 2
  1315. for i = 0,1,0.1 do
  1316. wait(0)
  1317. LW.C0 = CFrame.new(-1.5+1.1*i,0.5+0.5*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1.57*i)
  1318. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  1319. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1320. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1321. end
  1322. ss(1.2)
  1323. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1324. for i = 0,1,0.2 do
  1325. wait(0)
  1326. LW.C0 = CFrame.new(-1.5+1.1-1.1*i,0.5+0.5-0.5*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(3-1.43,0,1.57)
  1327. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i,1.57,0)
  1328. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1329. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1330. end
  1331. wait(0.1)
  1332. con1:disconnect()
  1333. attack = false
  1334. end
  1335.  
  1336. function threeslash()
  1337. attack = true
  1338. combo = 3
  1339. for i = 0,1,0.1 do
  1340. wait(0)
  1341. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57+2*i)
  1342. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3,1.57+2*i,0)
  1343. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1344. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1345. end
  1346. ss(0.8)
  1347. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1348. for i = 0,1,0.2 do
  1349. wait(0)
  1350. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)*i,0,math.rad(90)-math.rad(90)*i) * CFrame.new(0,1,0)
  1351. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5,0,1.57+2)
  1352. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3+1*i,1.57+2,0)
  1353. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1354. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1355. end
  1356. wait(0.1)
  1357. con1:disconnect()
  1358. attack = false
  1359. end
  1360.  
  1361. function fourslash()
  1362. attack = true
  1363. combo = 4
  1364. for i = 0,1,0.1 do
  1365. wait(0)
  1366. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)-math.rad(90)*i,0,math.rad(90)-math.rad(90)+math.rad(90)) * CFrame.new(0,1,0)
  1367. LW.C0 = CFrame.new(-1.5+0.5+0.6*i,0.5+0.5*i,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57+2-2*i)
  1368. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3+1-4*i,1.57+2-2*i,0)
  1369. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1370. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1371. end
  1372. local vel2 = Instance.new("BodyVelocity")
  1373. vel2.Parent = Player.Character.Torso
  1374. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1375. vel2.velocity = Player.Character.Head.CFrame.lookVector * 30
  1376. local vel = Instance.new("BodyGyro")
  1377. vel.Parent = Torso
  1378. vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1379. vel.P = 20e+003
  1380. CF = Torso.CFrame
  1381. ss(0.7)
  1382. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1383. for i = 0 , 1 , 0.1 do
  1384. wait(0)
  1385. LW.C0 = CFrame.new(-1.5+1.1-0.55*i,0.5+0.5-0.25*i,-0.5-0.3+0.15*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1386. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5*i,1.57,0)
  1387. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1388. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1389. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1390. end
  1391. ss(0.7)
  1392. for i = 0 , 1 , 0.1 do
  1393. wait(0)
  1394. LW.C0 = CFrame.new(-1.5+0.55-0.55*i,0.5+0.25-0.25*i,-0.5-0.15+0.15*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1395. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5+1.5*i,1.57,0)
  1396. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
  1397. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1398. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1399. end
  1400. vel.Parent = nil
  1401. vel2.Parent = nil
  1402. wait(0.2)
  1403. con1:disconnect()
  1404. attack = false
  1405. end
  1406.  
  1407. function castone()
  1408. if mana >= 10 then
  1409. attack = true
  1410. combo = 1
  1411. for i = 0,1,0.1 do
  1412. wait(0)
  1413. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
  1414. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1415. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,1*i)
  1416. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1417. end
  1418. ss(0.8)
  1419. local testbrick = Instance.new("Part")
  1420. testbrick.Parent = Character
  1421. testbrick.Anchored = true
  1422. testbrick.Transparency = 1
  1423. testbrick.CFrame = Torso.CFrame * CFrame.new(0,0,-3)
  1424. coroutine.resume(coroutine.create(function()
  1425. for i = 0,5 do
  1426. wait(0.1)
  1427. mana = mana - 2
  1428. local c = game.Workspace:GetChildren();
  1429. for i = 1, #c do
  1430. local hum = c[i]:findFirstChild("Humanoid")
  1431. if hum ~= nil and hum.Health ~= 0 then
  1432. local head = c[i]:findFirstChild("Head");
  1433. if head ~= nil then
  1434. local targ = head.Position - testbrick.Position;
  1435. local mag = targ.magnitude;
  1436. if mag <= 3 and c[i].Name ~= Player.Name then
  1437. Damagefunc1(head,5,1)
  1438. end
  1439. end
  1440. end
  1441. end
  1442. magicsound(1.5)
  1443. derp = math.random(1,2)
  1444. if derp == 1 then
  1445. MMMAGIC(Head,2,2,2,math.random()+math.random(),math.random()+math.random(),-3,BrickColor.new("White"))
  1446. else
  1447. MMMAGIC(Head,2,2,2,-math.random()-math.random(),-math.random()-math.random(),-3,BrickColor.new("White"))
  1448. end
  1449. end
  1450. testbrick.Parent = nil
  1451. end))
  1452. for i = 0,1,0.2 do
  1453. wait(0)
  1454. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i)
  1455. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1456. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,1-1.5*i)
  1457. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1458. end
  1459. wait(0.3)
  1460. attack = false
  1461. end
  1462. end
  1463.  
  1464. function casttwo()
  1465. if mana >= 5 then
  1466. attack = true
  1467. combo = 2
  1468. for i = 0,1,0.1 do
  1469. wait(0)
  1470. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,-1)
  1471. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1472. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+2*i,0,-0.5+0.5*i)
  1473. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1474. end
  1475. wait(0.2)
  1476. mana = mana - 5
  1477. local testbrick = Instance.new("Part")
  1478. testbrick.Parent = Character
  1479. testbrick.Anchored = true
  1480. testbrick.Transparency = 1
  1481. testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-3.6)
  1482. local c = game.Workspace:GetChildren();
  1483. for i = 1, #c do
  1484. local hum = c[i]:findFirstChild("Humanoid")
  1485. if hum ~= nil and hum.Health ~= 0 then
  1486. local head = c[i]:findFirstChild("Head");
  1487. if head ~= nil then
  1488. local targ = head.Position - testbrick.Position;
  1489. local mag = targ.magnitude;
  1490. if mag <= 3 and c[i].Name ~= Player.Name then
  1491. -- Damagefunc1(head,5,1)
  1492. UpBlast(head,math.random(10,20))
  1493. end
  1494. end
  1495. end
  1496. end
  1497. magicsound(1.3)
  1498. EVENMOARMAGIX(Torso,1,6,1,1.5,-3,-3.6,0,0,0,BrickColor.new("Black"))
  1499. WaveEffect(Torso,1.5,3,1.5,1.5,-2,-3.6,0,0,0,BrickColor.new("Black"))
  1500. for i = 0,1,0.2 do
  1501. wait(0)
  1502. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,-1+1*i)
  1503. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1504. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4.5*i,0,0)
  1505. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1506. end
  1507. wait(0.2)
  1508. testbrick.Parent = nil
  1509. attack = false
  1510. end
  1511. end
  1512.  
  1513. function castthree()
  1514. if mana >= 20 then
  1515. attack = true
  1516. combo = 3
  1517. for i = 0,1,0.1 do
  1518. wait(0)
  1519. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1+2.57*i,0,0.5*i)
  1520. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1521. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.5+3.07*i,0,-0.5*i)
  1522. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1523. end
  1524. local bawlofdewm1 = Instance.new("Part")
  1525. bawlofdewm1.formFactor = 1
  1526. bawlofdewm1.Parent = Character
  1527. bawlofdewm1.CanCollide = false
  1528. bawlofdewm1.BrickColor = BrickColor.new("White")
  1529. bawlofdewm1.Name = "Light Sphere"
  1530. bawlofdewm1.Size = Vector3.new(1,1,1)
  1531. bawlofdewm1.Position = Torso.Position
  1532. local bawlofdewm2 = Instance.new("Part")
  1533. bawlofdewm2.formFactor = 1
  1534. bawlofdewm2.Parent = Character
  1535. bawlofdewm2.CanCollide = false
  1536. bawlofdewm2.BrickColor = BrickColor.new("Black")
  1537. bawlofdewm2.Name = "Dark Sphere"
  1538. bawlofdewm2.Size = Vector3.new(1,1,1)
  1539. bawlofdewm2.Position = Torso.Position
  1540. local bawlmesh1 = Instance.new("SpecialMesh")
  1541. bawlmesh1.Parent = bawlofdewm1
  1542. bawlmesh1.MeshType = "Sphere"
  1543. bawlmesh1.Scale = Vector3.new(0.2,0,0.2)
  1544. local bawlmesh2 = Instance.new("SpecialMesh")
  1545. bawlmesh2.Parent = bawlofdewm2
  1546. bawlmesh2.MeshType = "Sphere"
  1547. bawlmesh2.Scale = Vector3.new(0.2,0,0.2)
  1548. local bawlweld1 = Instance.new("Weld")
  1549. bawlweld1.Parent = bawlofdewm1
  1550. bawlweld1.Part0 = bawlofdewm1
  1551. bawlweld1.Part1 = LeftArm
  1552. bawlweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.9) * CFrame.new(0,1,0)
  1553. bawlweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1554. local bawlweld2 = Instance.new("Weld")
  1555. bawlweld2.Parent = bawlofdewm2
  1556. bawlweld2.Part0 = bawlofdewm2
  1557. bawlweld2.Part1 = bawlofdewm1
  1558. bawlweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.2,0)
  1559. bawlweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1560. wait(0.5)
  1561. for i = 0,1,0.1 do
  1562. wait(0)
  1563. mana = mana - 2
  1564. bawlmesh1.Scale = bawlmesh1.Scale + Vector3.new(0.2,0.2,0.2)
  1565. bawlmesh2.Scale = bawlmesh2.Scale + Vector3.new(0.2,0.2,0.2)
  1566. end
  1567. abscond(0.8)
  1568. bawlweld1.Parent = nil
  1569. local vel2 = Instance.new("BodyVelocity")
  1570. vel2.Parent = bawlofdewm1
  1571. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1572. vel2.velocity = Player.Character.Head.CFrame.lookVector * 10
  1573. coroutine.resume(coroutine.create(function()
  1574. for i = 0,3,0.1 do
  1575. wait()
  1576. MMMAGIC(bawlofdewm1,2,2,2,0,0,0,BrickColor.new("White"))
  1577. MMMAGIC(bawlofdewm2,2,2,2,0,0,0,BrickColor.new("Black"))
  1578. end
  1579. local c = game.Workspace:GetChildren();
  1580. for i = 1, #c do
  1581. local hum = c[i]:findFirstChild("Humanoid")
  1582. if hum ~= nil and hum.Health ~= 0 then
  1583. local head = c[i]:findFirstChild("Head");
  1584. if head ~= nil then
  1585. local targ = head.Position - bawlofdewm1.Position;
  1586. local mag = targ.magnitude;
  1587. if mag <= 5 and c[i].Name ~= Player.Name then
  1588. -- Damagefunc1(head,5,1)
  1589. UpBlast(head,math.random(30,60))
  1590. end
  1591. end
  1592. end
  1593. end
  1594. magicsound(1)
  1595. EVENMOARMAGIX(bawlofdewm1,3,9,3,0,0,0,math.rad(90),0,0,BrickColor.new("Black"))
  1596. WaveEffect(bawlofdewm1,5,6,5,0,0,0,-math.rad(90),0,0,BrickColor.new("Black"))
  1597. BlastEffect(bawlofdewm1,5,9,5,0,0,0,-math.rad(90),0,0,BrickColor.new("White"))
  1598. bawlofdewm1.Parent = nil
  1599. bawlofdewm2.Parent = nil
  1600. end))
  1601. for i = 0,1,0.1 do
  1602. wait(0)
  1603. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.5-1.5*i)
  1604. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1605. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.5+1.5*i)
  1606. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1607. end
  1608. wait(1)
  1609. --[[bawlofdewm1.Parent = nil
  1610. bawlofdewm2.Parent = nil ]]
  1611. attack = false
  1612. end
  1613. end
  1614.  
  1615. function castfour()
  1616. if mana >= 5 then
  1617. attack = true
  1618. combo = "castfour"
  1619. for i = 0,1,0.1 do
  1620. wait(0)
  1621. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2.5*i,0,-1+1*i)
  1622. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1623. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,0.5)
  1624. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1625. end
  1626. mana = mana - 5
  1627. local testbrick = Instance.new("Part")
  1628. testbrick.Parent = Character
  1629. testbrick.Anchored = true
  1630. testbrick.Transparency = 1
  1631. testbrick.CFrame = Torso.CFrame * CFrame.new(-1.5,0,-3.6)
  1632. local c = game.Workspace:GetChildren();
  1633. for i = 1, #c do
  1634. local hum = c[i]:findFirstChild("Humanoid")
  1635. if hum ~= nil and hum.Health ~= 0 then
  1636. local head = c[i]:findFirstChild("Head");
  1637. if head ~= nil then
  1638. local targ = head.Position - testbrick.Position;
  1639. local mag = targ.magnitude;
  1640. if mag <= 3 and c[i].Name ~= Player.Name then
  1641. -- Damagefunc1(head,5,1)
  1642. UpBlast(head,math.random(10,20))
  1643. end
  1644. end
  1645. end
  1646. end
  1647. magicsound(1.3)
  1648. EVENMOARMAGIX(Torso,1,6,1,-1.5,-3,-3.6,0,0,0,BrickColor.new("White"))
  1649. WaveEffect(Torso,1.5,3,1.5,-1.5,-2,-3.6,0,0,0,BrickColor.new("White"))
  1650. for i = 0,1,0.2 do
  1651. wait(0)
  1652. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5-5*i,0,0)
  1653. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1654. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0.5-0.5*i)
  1655. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1656. end
  1657. wait(0.1)
  1658. testbrick.Parent = nil
  1659. attack = false
  1660. coroutine.resume(coroutine.create(function()
  1661. wait(0.5)
  1662. if attack == false then
  1663. combo = 0
  1664. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1665. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1666. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  1667. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1668. end
  1669. end))
  1670. end
  1671. end
  1672.  
  1673. function castfive()
  1674. attack = true
  1675. combo = "castfive"
  1676. for i = 0,1,0.1 do
  1677. wait(0)
  1678. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1-0.57*i)
  1679. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1680. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,0.5+1.07*i)
  1681. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1682. end
  1683. --[[local vel2 = Instance.new("BodyVelocity")
  1684. vel2.Parent = Player.Character.Torso
  1685. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1686. vel2.velocity = Player.Character.Head.CFrame.lookVector * 15 ]]
  1687. local vel = Instance.new("BodyGyro")
  1688. vel.Parent = Torso
  1689. vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1690. vel.P = 20e+003
  1691. CF = Torso.CFrame
  1692. for i = 0,1,0.1 do
  1693. wait(0.05)
  1694. magicsound(2)
  1695. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(720)*i,0)
  1696. --[[MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  1697. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Black")) ]]
  1698. EVENMOARMAGIX(LeftArm,3,3,3,0,-1,0,0,0,0,BrickColor.new("White"))
  1699. EVENMOARMAGIX(RightArm,3,3,3,0,-1,0,0,0,0,BrickColor.new("Black"))
  1700. end
  1701. vel.Parent = nil
  1702. --vel2.Parent = nil
  1703. wait(1)
  1704. combo = 0
  1705. attack = false
  1706. end
  1707.  
  1708. function wingbladeslashone()
  1709. attack = true
  1710. for i = 0,1,0.1 do
  1711. wait(0)
  1712. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-3*i)
  1713. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1714. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,3*i)
  1715. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1716. end
  1717. wingweld2.Parent = wingblade2
  1718. wingweld2.Part0 = wingblade2
  1719. wingweld2.Part1 = LeftArm
  1720. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1721. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1722. wingweld5.Parent = wingblade5
  1723. wingweld5.Part0 = wingblade5
  1724. wingweld5.Part1 = RightArm
  1725. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1726. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1727. con1=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1728. ss(1)
  1729. for i = 0,1,0.1 do
  1730. wait(0)
  1731. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,-3+2*i)
  1732. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1733. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.33*i,-1*i,3-5*i)
  1734. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1735. end
  1736. wait(0.1)
  1737. con1:disconnect()
  1738. con1=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1739. ss(1.2)
  1740. for i = 0,1,0.2 do
  1741. wait(0)
  1742. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1.57*i,-1+3*i)
  1743. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1744. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1*i,-1+1*i,-2+3*i)
  1745. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1746. end
  1747. wait(0.1)
  1748. con1:disconnect()
  1749. for i = 0,1,0.1 do
  1750. wait(0)
  1751. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2*i,1.57-1.57*i,2-1.5*i)
  1752. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1753. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2*i,0,1-1.5*i)
  1754. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1755. end
  1756. con1=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,40,10) end)
  1757. con2=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,40,10) end)
  1758. wait(0.1)
  1759. ss(0.8)
  1760. for i = 0,1,0.2 do
  1761. wait(0)
  1762. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4*i,0,0.5-1*i)
  1763. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1764. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4*i,0,-0.5+1*i)
  1765. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1766. end
  1767. con1:disconnect()
  1768. con2:disconnect()
  1769. WingBladeEffect(0,1,0,1,0,0)
  1770. wingblade2.Transparency = 1
  1771. wingblade5.Transparency = 1
  1772. wingweld2.Parent = wingblade2
  1773. wingweld2.Part0 = wingblade2
  1774. wingweld2.Part1 = Torso
  1775. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
  1776. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
  1777. wingweld5.Parent = wingblade5
  1778. wingweld5.Part0 = wingblade5
  1779. wingweld5.Part1 = Torso
  1780. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
  1781. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
  1782. attack = false
  1783. end
  1784.  
  1785. function wingbladeslashtwo()
  1786. attack = true
  1787. for i = 0,1,0.1 do
  1788. wait(0)
  1789. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5*i,0,-0.5+0.5*i)
  1790. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1791. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5*i,0,0.5-0.5*i)
  1792. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1793. end
  1794. wingweld3.Parent = wingblade3
  1795. wingweld3.Part0 = wingblade3
  1796. wingweld3.Part1 = LeftArm
  1797. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1798. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1799. wingweld6.Parent = wingblade6
  1800. wingweld6.Part0 = wingblade6
  1801. wingweld6.Part1 = RightArm
  1802. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1803. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1804.  
  1805. wait(0.1)
  1806. ss(1)
  1807. for i = 0,1,0.2 do
  1808. wait(0)
  1809. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,1*i)
  1810. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1811. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5,0,0)
  1812. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1813. end
  1814. wingweld3.Parent = nil
  1815. coroutine.resume(coroutine.create(function()
  1816. local wingvel = Instance.new("BodyGyro")
  1817. wingvel.Parent = wingblade3
  1818. wingvel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1819. wingvel.P = 20e+003
  1820. wingCF = wingblade3.CFrame
  1821. local wingvel2 = Instance.new("BodyVelocity")
  1822. wingvel2.Parent = wingblade3
  1823. wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1824. wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
  1825. con1=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,40,10) end)
  1826. for i = 0,1,0.05 do
  1827. wait()
  1828. wingvel.cframe = wingCF * CFrame.fromEulerAnglesXYZ(math.rad(360)*i,0,0)
  1829. end
  1830. con1:disconnect()
  1831. WingBladeEffect(0,0,1,0,0,0)
  1832. wingvel2.Parent = nil
  1833. wingblade3.Parent = nil
  1834. wingvel.Parent = nil
  1835. wingvel2.Parent = nil
  1836. wait(0.5)
  1837. wingblade3.Parent = modelzorz
  1838. wingblade3.Transparency = 1
  1839. wingweld3.Parent = wingblade3
  1840. wingweld3.Part0 = wingblade3
  1841. wingweld3.Part1 = Torso
  1842. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
  1843. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  1844. end))
  1845. wait(0.1)
  1846. ss(1)
  1847. for i = 0,1,0.2 do
  1848. wait(0)
  1849. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5-2.5*i,0,1-1*i)
  1850. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1851. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,-1*i)
  1852. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1853. end
  1854. wingweld6.Parent = nil
  1855. coroutine.resume(coroutine.create(function()
  1856. local wingvel = Instance.new("BodyGyro")
  1857. wingvel.Parent = wingblade6
  1858. wingvel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1859. wingvel.P = 20e+003
  1860. wingCF = wingblade6.CFrame
  1861. local wingvel2 = Instance.new("BodyVelocity")
  1862. wingvel2.Parent = wingblade6
  1863. wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1864. wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
  1865. con2=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,40,10) end)
  1866. for i = 0,1,0.05 do
  1867. wait()
  1868. wingvel.cframe = wingCF * CFrame.fromEulerAnglesXYZ(math.rad(360)*i,0,0)
  1869. end
  1870. con2:disconnect()
  1871. WingBladeEffect(0,0,0,0,0,1)
  1872. wingvel2.Parent = nil
  1873. wingblade6.Parent = nil
  1874. wingvel.Parent = nil
  1875. wingvel2.Parent = nil
  1876. wait(0.5)
  1877. wingblade6.Parent = modelzorz
  1878. wingblade6.Transparency = 1
  1879. wingweld6.Parent = wingblade6
  1880. wingweld6.Part0 = wingblade6
  1881. wingweld6.Part1 = Torso
  1882. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
  1883. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  1884. end))
  1885. wait(0.1)
  1886. attack = false
  1887. end
  1888.  
  1889. function wingbladeslashthree()
  1890. attack = true
  1891. for i = 0,1,0.1 do
  1892. wait(0)
  1893. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5-1.5*i,0,0)
  1894. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1895. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5-4*i,0,-1+1*i)
  1896. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1897. end
  1898. wingweld1.Parent = wingblade1
  1899. wingweld1.Part0 = wingblade1
  1900. wingweld1.Part1 = LeftArm
  1901. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1902. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1903. wingweld4.Parent = wingblade4
  1904. wingweld4.Part0 = wingblade4
  1905. wingweld4.Part1 = RightArm
  1906. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  1907. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1908. for i = 0,1,0.1 do
  1909. wait(0)
  1910. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57*i,0,1*i)
  1911. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1912. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57*i,0,-1*i)
  1913. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1914. end
  1915. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  1916. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  1917. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1918. con2=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1919. wait(0.1)
  1920. for i = 0,1,0.1 do
  1921. wait()
  1922. ss(1.5)
  1923. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57,0,1-3*i)
  1924. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1925. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57,0,-1+3*i)
  1926. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1927. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0) * CFrame.new(0,1,0)
  1928. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0) * CFrame.new(0,1,0)
  1929. end
  1930. con1:disconnect()
  1931. con2:disconnect()
  1932. wingblade1.Transparency = 1
  1933. wingblade4.Transparency = 1
  1934. WingBladeEffect(1,0,0,1,0,0)
  1935. wait(0.1)
  1936. wingweld1.Parent = wingblade1
  1937. wingweld1.Part0 = wingblade1
  1938. wingweld1.Part1 = Torso
  1939. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
  1940. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
  1941. wingweld4.Parent = wingblade4
  1942. wingweld4.Part0 = wingblade4
  1943. wingweld4.Part1 = Torso
  1944. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
  1945. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
  1946. attack = false
  1947. end
  1948.  
  1949. function wingbladeslashfour()
  1950. attack = true
  1951. for i = 0,1,0.1 do
  1952. wait()
  1953. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2+3*i)
  1954. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1955. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,2-0.43*i)
  1956. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1957. end
  1958. wingblade1.Transparency = 0.4
  1959. wingweld1.Parent = wingblade1
  1960. wingweld1.Part0 = wingblade1
  1961. wingweld1.Part1 = Torso
  1962. wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1963. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,0,0)
  1964. wingblade2.Transparency = 0.4
  1965. wingweld2.Parent = wingblade2
  1966. wingweld2.Part0 = wingblade2
  1967. wingweld2.Part1 = Torso
  1968. wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1969. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),1,0) * CFrame.new(0,0,0)
  1970. wingblade3.Transparency = 0.4
  1971. wingweld3.Parent = wingblade3
  1972. wingweld3.Part0 = wingblade3
  1973. wingweld3.Part1 = Torso
  1974. wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1975. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),2,0) * CFrame.new(0,0,0)
  1976. wingblade4.Transparency = 0.4
  1977. wingweld4.Parent = wingblade4
  1978. wingweld4.Part0 = wingblade4
  1979. wingweld4.Part1 = Torso
  1980. wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1981. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),3,0) * CFrame.new(0,0,0)
  1982. wingblade5.Transparency = 0.4
  1983. wingweld5.Parent = wingblade5
  1984. wingweld5.Part0 = wingblade5
  1985. wingweld5.Part1 = Torso
  1986. wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1987. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),4,0) * CFrame.new(0,0,0)
  1988. wingblade6.Transparency = 0.4
  1989. wingweld6.Parent = wingblade6
  1990. wingweld6.Part0 = wingblade6
  1991. wingweld6.Part1 = Torso
  1992. wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1993. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),5,0) * CFrame.new(0,0,0)
  1994. WingBladeEffect(1,1,1,1,1,1)
  1995. wait(0.2)
  1996. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  1997. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  1998. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  1999. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  2000. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  2001. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,10,15) end)
  2002. for i = 0,1,0.1 do
  2003. wait()
  2004. ss(1.2)
  2005. wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2006. wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2007. wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2008. wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2009. wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2010. wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  2011. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2+3-3*i)
  2012. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2013. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-2.43*i)
  2014. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2015. end
  2016. con1:disconnect()
  2017. con2:disconnect()
  2018. con3:disconnect()
  2019. con4:disconnect()
  2020. con5:disconnect()
  2021. con6:disconnect()
  2022. wait(0.3)
  2023. wingblade1.Transparency = 1
  2024. wingblade2.Transparency = 1
  2025. wingblade3.Transparency = 1
  2026. wingblade4.Transparency = 1
  2027. wingblade5.Transparency = 1
  2028. wingblade6.Transparency = 1
  2029. WingBladeEffect(1,1,1,1,1,1)
  2030. wingweld1.Parent = wingblade1
  2031. wingweld1.Part0 = wingblade1
  2032. wingweld1.Part1 = Torso
  2033. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
  2034. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
  2035. wingweld2.Parent = wingblade2
  2036. wingweld2.Part0 = wingblade2
  2037. wingweld2.Part1 = Torso
  2038. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
  2039. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
  2040. wingweld3.Parent = wingblade3
  2041. wingweld3.Part0 = wingblade3
  2042. wingweld3.Part1 = Torso
  2043. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
  2044. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  2045. wingweld4.Parent = wingblade4
  2046. wingweld4.Part0 = wingblade4
  2047. wingweld4.Part1 = Torso
  2048. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
  2049. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
  2050. wingweld5.Parent = wingblade5
  2051. wingweld5.Part0 = wingblade5
  2052. wingweld5.Part1 = Torso
  2053. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
  2054. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
  2055. wingweld6.Parent = wingblade6
  2056. wingweld6.Part0 = wingblade6
  2057. wingweld6.Part1 = Torso
  2058. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
  2059. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  2060. attack = false
  2061. end
  2062.  
  2063. function ArsSolum()
  2064. attack = true
  2065. ss(1)
  2066. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  2067. for i = 0,1,0.2 do
  2068. wait()
  2069. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2070. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2071. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
  2072. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
  2073. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+2.2*i,0,0)
  2074. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7-0.5*i,1-1*i,0)
  2075. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2076. end
  2077. con1:disconnect()
  2078. for i = 0,1,0.1 do
  2079. wait()
  2080. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2081. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2082. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2083. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5+3*i,-1.57+1.57*i,0)
  2084. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,0,0)
  2085. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2086. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2087. end
  2088. ss(0.9)
  2089. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  2090. for i = 0,1,0.2 do
  2091. wait()
  2092. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2093. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2094. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2095. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4.5-5*i,0,0)
  2096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2099. end
  2100. con1:disconnect()
  2101. for i = 0,1,0.1 do
  2102. wait()
  2103. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180)*i,0,math.rad(90)) * CFrame.new(0,1,0)
  2104. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2105. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2106. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2107. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4.5-5,0,-1*i)
  2108. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2109. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2110. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2111. end
  2112. ss(1.1)
  2113. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  2114. for i = 0,1,0.2 do
  2115. wait()
  2116. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180),0,math.rad(90)) * CFrame.new(0,1,0)
  2117. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2118. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2119. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2120. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+3.5*i,-1*i,-1+2.5*i)
  2121. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2122. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2123. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2124. end
  2125. con1:disconnect()
  2126. for i = 0,1,0.1 do
  2127. wait()
  2128. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180)-math.rad(180)*i,0,math.rad(90)) * CFrame.new(0,1,0)
  2129. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2130. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2131. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2132. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(3+1*i,-1+1*i,1.5-1.5*i)
  2133. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2134. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2135. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2136. end
  2137. ss(0.8)
  2138. con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  2139. for i = 0,1,0.2 do
  2140. wait()
  2141. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
  2142. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2143. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  2144. wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
  2145. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-5*i,0,0)
  2146. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2147. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  2148. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2149. end
  2150. con1:disconnect()
  2151. wait(0.5)
  2152. attack = false
  2153. end
  2154.  
  2155. function ShieldDash()
  2156. if mana >= 20 then
  2157. attack = true
  2158. gairo.Parent = Head
  2159. gairo.cframe = Head.CFrame
  2160. for i = 0,1,0.1 do
  2161. wait()
  2162. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
  2163. LW.C0 = CFrame.new(-1.5+0.7*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1*i)
  2164. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2165. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1.2*i)
  2166. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2167. end
  2168. mana = mana - 20
  2169. ss(0.5)
  2170. con1=prt1.Touched:connect(function(hit) Bash(hit,40) end)
  2171. local vel = Instance.new("BodyVelocity")
  2172. vel.Parent = Player.Character.Torso
  2173. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2174. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  2175. for i = 0,1,0.2 do
  2176. wait()
  2177. if element == "Light" then
  2178. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  2179. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  2180. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2181. else
  2182. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
  2183. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
  2184. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2185. end
  2186. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5) * CFrame.new(0,0,-0.5)
  2187. LW.C0 = CFrame.new(-1.5+0.7,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1.9,0,1-0.3*i)
  2188. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2189. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1+0.57,0,-1.2+0.3*i)
  2190. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2191. end
  2192. for i = 0,1,0.2 do
  2193. wait()
  2194. if element == "Light" then
  2195. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  2196. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  2197. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2198. else
  2199. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
  2200. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
  2201. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2202. end
  2203. end
  2204. vel.Parent = nil
  2205. for i = 0,1,0.2 do
  2206. wait()
  2207. if element == "Light" then
  2208. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  2209. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  2210. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2211. else
  2212. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
  2213. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
  2214. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2215. end
  2216. end
  2217. if mode == "Normal" then
  2218. wait(0.3)
  2219. for i = 0,1,0.1 do
  2220. wait()
  2221. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
  2222. LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
  2223. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2224. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
  2225. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2226. end
  2227. gairo.Parent = nil
  2228. wait(0.2)
  2229. con1:disconnect()
  2230. elseif mode == "Attack" then
  2231. if holddash == true and mana >= 20 then
  2232. con1:disconnect()
  2233. gairo.Parent = nil
  2234. wait(0.5)
  2235. gairo.Parent = Head
  2236. gairo.cframe = Head.CFrame
  2237. for i = 0,1,0.1 do
  2238. wait()
  2239. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
  2240. LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9,0,0.7-1.6*i)
  2241. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2242. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2*i)
  2243. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2244. end
  2245. ss(0.8)
  2246. con1=part13.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
  2247. mana = mana - 20
  2248. local vel = Instance.new("BodyVelocity")
  2249. vel.Parent = Player.Character.Torso
  2250. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2251. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  2252. for i = 0,1,0.2 do
  2253. wait()
  2254. if element == "Light" then
  2255. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
  2256. MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
  2257. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2258. else
  2259. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
  2260. MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
  2261. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2262. end
  2263. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)*i,0,math.rad(90)-math.rad(90)*i) * CFrame.new(0,1,0)
  2264. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1) * CFrame.new(0,0,-0.5)
  2265. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33*i,0,0.7-1.5+0.4*i)
  2266. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2267. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2)
  2268. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2269. end
  2270. for i = 0,1,0.2 do
  2271. wait()
  2272. if element == "Light" then
  2273. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
  2274. MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
  2275. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2276. else
  2277. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
  2278. MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
  2279. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2280. end
  2281. end
  2282. vel.Parent = nil
  2283. for i = 0,1,0.2 do
  2284. wait()
  2285. if element == "Light" then
  2286. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
  2287. MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
  2288. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  2289. else
  2290. MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
  2291. MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
  2292. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
  2293. end
  2294. end
  2295. wait(0.3)
  2296. con1:disconnect()
  2297. for i = 0,1,0.1 do
  2298. wait()
  2299. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)-math.rad(90)*i,0,math.rad(90)-math.rad(90)+math.rad(90)*i) * CFrame.new(0,1,0)
  2300. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
  2301. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
  2302. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2303. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1.1-1.1*i)
  2304. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2305. end
  2306. gairo.Parent = nil
  2307. else
  2308. wait(0.3)
  2309. for i = 0,1,0.1 do
  2310. wait()
  2311. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
  2312. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
  2313. --LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
  2314. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2315. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
  2316. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2317. end
  2318. gairo.Parent = nil
  2319. wait(0.2)
  2320. con1:disconnect()
  2321. end
  2322. end
  2323. attack = false
  2324. end
  2325. end
  2326.  
  2327. function guard()
  2328. attack = true
  2329. guarding = true
  2330. Character.Humanoid.WalkSpeed = 20
  2331. for i = 0,1,0.1 do
  2332. wait()
  2333. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2334. LW.C0 = CFrame.new(-1.5+0.8*i,0.5+0.2*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(2.07*i,0,1.4*i)
  2335. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2336. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87*i,0,-1.4*i)
  2337. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2338. end
  2339. humanoid = Character.Humanoid
  2340. lhh = humanoid.Health
  2341.  
  2342. while guarding == true do
  2343. wait()
  2344.  
  2345. if humanoid.Health < lhh then
  2346.  
  2347. print(lhh - humanoid.Health)
  2348. test = lhh - humanoid.Health
  2349. if mana < 400 then
  2350. mana = mana + math.random(test, test*50)
  2351. end
  2352. if mana > 400 then
  2353. mana = 400
  2354. end
  2355. if mode == "Normal" then
  2356. humanoid.Health = lhh - (test * 50)
  2357. elseif mode == "Attack" then
  2358. humanoid.Health = lhh - (test * 50)
  2359. end
  2360. lhh = humanoid.Health
  2361. shieldbash(1)
  2362. local vel = Instance.new("BodyVelocity")
  2363. vel.Parent = Player.Character.Torso
  2364. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1000
  2365. vel.velocity = Player.Character.Torso.CFrame.lookVector * -20
  2366. velo = -20
  2367. for i = 0,1,0.2 do
  2368. wait()
  2369. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5*i)
  2370. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2371. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5*i)
  2372. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2373. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2374. end
  2375. for i = 0,1,0.05 do
  2376. wait()
  2377. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5-0.5*i)
  2378. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2379. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5+0.5*i)
  2380. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2381. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2382. velo = velo + 0.5
  2383. vel.velocity = Player.Character.Torso.CFrame.lookVector * velo
  2384. end
  2385. vel.Parent = nil
  2386.  
  2387. end
  2388.  
  2389. wait(0.1)
  2390. end
  2391. Character.Humanoid.WalkSpeed = 16
  2392. if bashing == false then
  2393. for i = 0,1,0.1 do
  2394. wait()
  2395. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2396. LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,1.4-1.4*i)
  2397. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2398. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87-0.87*i,0,-1.4+1.4*i)
  2399. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2400. end
  2401. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2402. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2403. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2404. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7,0,0)
  2405. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2406. attack = false
  2407. end
  2408. end
  2409.  
  2410. function Bashem()
  2411. attack = true
  2412. bashing = true
  2413. guarding = false
  2414. if mode == "Normal" then
  2415. ss(0.7)
  2416. con1=prt1.Touched:connect(function(hit) Bash(hit,40) end)
  2417. for i = 0,1,0.2 do
  2418. wait()
  2419. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2420. LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4-3*i)
  2421. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2422. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4+3*i)
  2423. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2424. end
  2425. wait(0.15)
  2426. con1:disconnect()
  2427. for i = 0,1,0.1 do
  2428. wait()
  2429. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2430. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,-1.6+1.6*i)
  2431. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2432. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.87*i,0,1.6-1.6*i)
  2433. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2434. end
  2435. elseif mode == "Attack" then
  2436. for i = 0,1,0.1 do
  2437. wait()
  2438. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2439. LW.C0 = CFrame.new(-1.5+0.8+0.3*i,0.5+0.2+0.3*i,-0.8) * CFrame.fromEulerAnglesXYZ(2.07-0.5*i,0,1.4+0.17*i)
  2440. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  2441. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2*i)
  2442. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2443. end
  2444. con1=part13.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
  2445. ss(1.1)
  2446. for i = 0,1,0.2 do
  2447. wait()
  2448. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2449. LW.C0 = CFrame.new(-1.5+1.1-1.1*i,0.5+0.5-0.5*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-0.5,0,1.4+0.17)
  2450. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4*i,1.57,0)
  2451. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2)
  2452. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2453. end
  2454. wait(0.15)
  2455. con1:disconnect()
  2456. for i = 0,1,0.1 do
  2457. wait()
  2458. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2459. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-1.57*i)
  2460. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4-4*i,1.57-1.57*i,0)
  2461. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,-1.4+2-0.6*i)
  2462. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2463. end
  2464. end
  2465. bashing = false
  2466. attack = false
  2467. end
  2468.  
  2469. function WingBladeStance(seeing)
  2470. wingblade1.Parent = modelzorz
  2471. wingblade2.Parent = modelzorz
  2472. wingblade3.Parent = modelzorz
  2473. wingblade4.Parent = modelzorz
  2474. wingblade5.Parent = modelzorz
  2475. wingblade6.Parent = modelzorz
  2476. wingweld1.Parent = wingblade1
  2477. wingweld1.Part0 = wingblade1
  2478. wingweld1.Part1 = Torso
  2479. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
  2480. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
  2481. wingweld2.Parent = wingblade2
  2482. wingweld2.Part0 = wingblade2
  2483. wingweld2.Part1 = Torso
  2484. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
  2485. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
  2486. wingweld3.Parent = wingblade3
  2487. wingweld3.Part0 = wingblade3
  2488. wingweld3.Part1 = Torso
  2489. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
  2490. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  2491. wingweld4.Parent = wingblade4
  2492. wingweld4.Part0 = wingblade4
  2493. wingweld4.Part1 = Torso
  2494. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
  2495. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
  2496. wingweld5.Parent = wingblade5
  2497. wingweld5.Part0 = wingblade5
  2498. wingweld5.Part1 = Torso
  2499. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
  2500. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
  2501. wingweld6.Parent = wingblade6
  2502. wingweld6.Part0 = wingblade6
  2503. wingweld6.Part1 = Torso
  2504. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
  2505. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  2506. if seeing == true then
  2507. wingblade1.Transparency = 0.4
  2508. wingblade2.Transparency = 0.4
  2509. wingblade3.Transparency = 0.4
  2510. wingblade4.Transparency = 0.4
  2511. wingblade5.Transparency = 0.4
  2512. wingblade6.Transparency = 0.4
  2513. else
  2514. wingblade1.Transparency = 1
  2515. wingblade2.Transparency = 1
  2516. wingblade3.Transparency = 1
  2517. wingblade4.Transparency = 1
  2518. wingblade5.Transparency = 1
  2519. wingblade6.Transparency = 1
  2520. end
  2521. end
  2522.  
  2523. function StyleChange()
  2524. attack = true
  2525. if mode == "Normal" then
  2526. Character.Humanoid.WalkSpeed = 0
  2527. for i = 0,1,0.1 do
  2528. wait()
  2529. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2530. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
  2531. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2532. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2533. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2534. end
  2535. wait(0.2)
  2536. Style = "MagicMayhem"
  2537. coroutine.resume(coroutine.create(function()
  2538. while Style == "MagicMayhem" do
  2539. wait(0.1)
  2540. MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("White"))
  2541. MMMAGIC(RightArm,2,2,2,0,-1,0,BrickColor.new("Black"))
  2542. end
  2543. end))
  2544. magicsound(1)
  2545. BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
  2546. WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
  2547. for i = 0,1,0.2 do
  2548. wait()
  2549. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
  2550. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
  2551. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2552. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
  2553. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2554. end
  2555. wait(0.2)
  2556. for i = 0,1,0.1 do
  2557. wait()
  2558. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2559. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  2560. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2561. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  2562. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2563. end
  2564. Character.Humanoid.WalkSpeed = 16
  2565. elseif mode == "Attack" then
  2566. Character.Humanoid.WalkSpeed = 0
  2567. for i = 0,1,0.1 do
  2568. wait()
  2569. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2570. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
  2571. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2572. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2573. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2574. end
  2575. WingBladeStance(true)
  2576. magicsound(1)
  2577. if element == "Light" then
  2578. BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
  2579. WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
  2580. else
  2581. BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
  2582. WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
  2583. end
  2584. for i = 0,1,0.2 do
  2585. wait()
  2586. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
  2587. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
  2588. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2589. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
  2590. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2591. end
  2592. wait(0.2)
  2593. for i = 0,1,0.1 do
  2594. wait()
  2595. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2596. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  2597. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2598. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  2599. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2600. end
  2601. --[[for i = 0,1,0.2 do
  2602. wait()
  2603. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2604. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  2605. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  2606. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
  2607. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2608. end
  2609. sheath(2.25)
  2610. wait(0.05)
  2611. weld1.Part0 = part1
  2612. weld1.Part1 = prt1
  2613. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  2614. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  2615. wait(0.1)
  2616. for i = 0,1,0.1 do
  2617. wait()
  2618. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  2619. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  2620. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  2621. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
  2622. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2623. end ]]
  2624. hideanim()
  2625. Style = "WingBlade"
  2626. Character.Humanoid.WalkSpeed = 16
  2627. end
  2628. attack = false
  2629. end
  2630.  
  2631. function idleanim()
  2632. if attack == false then
  2633. --print("MOARDERP")
  2634. for i = 0,1,0.05 do
  2635. wait()
  2636. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3*i,-0.2,0) * CFrame.new(0,0,0)
  2637. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0.2*i,-0.2,0) * CFrame.new(0,0,0)
  2638. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1*i,-0.2,0) * CFrame.new(0,0,0)
  2639. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3*i,0.2,0) * CFrame.new(0,0,0)
  2640. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0.2*i,0.2,0) * CFrame.new(0,0,0)
  2641. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1*i,0.2,0) * CFrame.new(0,0,0)
  2642. end
  2643. wait(0.5)
  2644. for i = 0,1,0.05 do
  2645. wait()
  2646. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3-0.5*i,-0.2,0) * CFrame.new(0,0,0)
  2647. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0.2-0.3*i,-0.2,0) * CFrame.new(0,0,0)
  2648. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1-0.1*i,-0.2,0) * CFrame.new(0,0,0)
  2649. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3-0.5*i,0.2,0) * CFrame.new(0,0,0)
  2650. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0.2-0.3*i,0.2,0) * CFrame.new(0,0,0)
  2651. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1-0.1*i,0.2,0) * CFrame.new(0,0,0)
  2652. end
  2653. wait(0.1)
  2654. for i = 0,1,0.05 do
  2655. wait()
  2656. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5-0.2+0.2*i,-0.2,0) * CFrame.new(0,0,0)
  2657. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(-0.1+0.1*i,-0.2,0) * CFrame.new(0,0,0)
  2658. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  2659. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5-0.2+0.2*i,0.2,0) * CFrame.new(0,0,0)
  2660. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(-0.1+0.1*i,0.2,0) * CFrame.new(0,0,0)
  2661. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  2662. end
  2663. end
  2664. end
  2665.  
  2666. function MegaHit()
  2667. if mana >= 5 then
  2668. attack = true
  2669. gairo.Parent = Head
  2670. gairo.cframe = Head.CFrame
  2671. Charge(2)
  2672. for i = 0,1,0.1 do
  2673. wait()
  2674. if element == "Light" then
  2675. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2676. elseif element == "Dark" then
  2677. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
  2678. end
  2679. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5*i) * CFrame.new(0,0,-0.5)
  2680. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,-0.5*i)
  2681. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2682. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2683. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2684. end
  2685. for i = 0,1,0.2 do
  2686. wait()
  2687. if element == "Light" then
  2688. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2689. elseif element == "Dark" then
  2690. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
  2691. end
  2692. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5) * CFrame.new(0,0,-0.5)
  2693. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,-0.5)
  2694. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2695. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2696. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2697. end
  2698. mana = mana - 5
  2699. local testbrick = Instance.new("Part")
  2700. testbrick.Parent = modelzorz
  2701. testbrick.Anchored = true
  2702. testbrick.Transparency = 1
  2703. testbrick.CFrame = Torso.CFrame * CFrame.new(-3,0,-2)
  2704. coroutine.resume(coroutine.create(function()
  2705. local c = game.Workspace:GetChildren();
  2706. for i = 1, #c do
  2707. local hum = c[i]:findFirstChild("Humanoid")
  2708. if hum ~= nil and hum.Health ~= 0 then
  2709. local head = c[i]:findFirstChild("Head");
  2710. if head ~= nil then
  2711. local targ = head.Position - testbrick.Position;
  2712. local mag = targ.magnitude;
  2713. if mag <= 3 and c[i].Name ~= Player.Name then
  2714. UpBlast(head,math.random(20,30))
  2715. end
  2716. end
  2717. end
  2718. end
  2719. end))
  2720. magicsound(2)
  2721. if element == "Light" then
  2722. EVENMOARMAGIX(Torso,1,6,1,-3,-2,-2,0,0,0,BrickColor.new("White"))
  2723. WaveEffect(Torso,2.5,3,2.5,-3,-2,-2,0,0,0,BrickColor.new("White"))
  2724. else
  2725. EVENMOARMAGIX(Torso,2,5,2,-3,-2,-2,0,0,0,BrickColor.new("Black"))
  2726. WaveEffect(Torso,1.5,4,1.5,-3,-2,-2,0,0,0,BrickColor.new("Black"))
  2727. end
  2728. wait(0.2)
  2729. for i = 0,1,0.1 do
  2730. wait()
  2731. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
  2732. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,-0.5+0.5*i)
  2733. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2734. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2735. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2736. end
  2737. wait(0.2)
  2738. testbrick.Parent = nil
  2739. gairo.Parent = nil
  2740. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2741. attack = false
  2742. end
  2743. end
  2744.  
  2745. function SwordRaid()
  2746. if mana >= 20 then
  2747. attack = true
  2748. local UltimaPart = Instance.new("Part")
  2749. UltimaPart.Parent = modelzorz
  2750. UltimaPart.CanCollide = false
  2751. UltimaPart.Position = Torso.Position
  2752. UltimaPart.Transparency = 1
  2753. local UltimaWeld = Instance.new("Weld")
  2754. UltimaWeld.Parent = UltimaPart
  2755. UltimaWeld.Part0 = UltimaPart
  2756. UltimaWeld.Part1 = Torso
  2757. UltimaWeld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2758. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  2759. local wingvel2 = Instance.new("BodyVelocity")
  2760. wingvel2.Parent = UltimaPart
  2761. WingBladeEffect(1,1,1,1,1,1)
  2762. wingblade1.Transparency = 1
  2763. wingblade2.Transparency = 1
  2764. wingblade3.Transparency = 1
  2765. wingblade4.Transparency = 1
  2766. wingblade5.Transparency = 1
  2767. wingblade6.Transparency = 1
  2768. wait(0.4)
  2769. wingblade1.Transparency = 0.4
  2770. wingweld1.Parent = wingblade1
  2771. wingweld1.Part0 = wingblade1
  2772. wingweld1.Part1 = UltimaPart
  2773. wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2774. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0,0,0)
  2775. wingblade2.Transparency = 0.4
  2776. wingweld2.Parent = wingblade2
  2777. wingweld2.Part0 = wingblade2
  2778. wingweld2.Part1 = UltimaPart
  2779. wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2780. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1,math.rad(90),0) * CFrame.new(0,0,0)
  2781. wingblade3.Transparency = 0.4
  2782. wingweld3.Parent = wingblade3
  2783. wingweld3.Part0 = wingblade3
  2784. wingweld3.Part1 = UltimaPart
  2785. wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2786. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2,math.rad(90),0) * CFrame.new(0,0,0)
  2787. wingblade4.Transparency = 0.4
  2788. wingweld4.Parent = wingblade4
  2789. wingweld4.Part0 = wingblade4
  2790. wingweld4.Part1 = UltimaPart
  2791. wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2792. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3,math.rad(90),0) * CFrame.new(0,0,0)
  2793. wingblade5.Transparency = 0.4
  2794. wingweld5.Parent = wingblade5
  2795. wingweld5.Part0 = wingblade5
  2796. wingweld5.Part1 = UltimaPart
  2797. wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2798. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4,math.rad(90),0) * CFrame.new(0,0,0)
  2799. wingblade6.Transparency = 0.4
  2800. wingweld6.Parent = wingblade6
  2801. wingweld6.Part0 = wingblade6
  2802. wingweld6.Part1 = UltimaPart
  2803. wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2804. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5,math.rad(90),0) * CFrame.new(0,0,0)
  2805. WingBladeEffect(1,1,1,1,1,1)
  2806. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2807. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2808. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2809. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2810. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2811. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  2812. for i = 0,1,0.1 do
  2813. wait()
  2814. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i)
  2815. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2816. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1*i)
  2817. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2818. end
  2819. wait(0.1)
  2820. for i = 0,1,0.1 do
  2821. wait()
  2822. ss(1.2)
  2823. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2824. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2825. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2826. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2827. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2828. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2829. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
  2830. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2831. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
  2832. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2833. end
  2834. wait(0.2)
  2835. for i = 0,1,0.1 do
  2836. wait()
  2837. LW.C0 = CFrame.new(-1.5+0.3*i,0.5,-0.3*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+1.5*i)
  2838. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2839. RW.C0 = CFrame.new(1.5-0.5+0.2*i,0.5,-0.5+0.2*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+0.5*i)
  2840. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2841. end
  2842. mana = mana - 20
  2843. UltimaWeld.Parent = nil
  2844. wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2845. wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
  2846. coroutine.resume(coroutine.create(function()
  2847. for i = 0,3,0.1 do
  2848. wait()
  2849. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2850. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2851. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2852. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2853. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2854. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2855. ss(1.2)
  2856. end
  2857. wingvel2.Parent = nil
  2858. UltimaPart.Parent = nil
  2859. WingBladeEffect(1,1,1,1,1,1)
  2860. wingblade1.Transparency = 1
  2861. wingblade2.Transparency = 1
  2862. wingblade3.Transparency = 1
  2863. wingblade4.Transparency = 1
  2864. wingblade5.Transparency = 1
  2865. wingblade6.Transparency = 1
  2866. wait(0.4)
  2867. con1:disconnect()
  2868. con2:disconnect()
  2869. con3:disconnect()
  2870. con4:disconnect()
  2871. con5:disconnect()
  2872. con6:disconnect()
  2873. WingBladeStance(true)
  2874. WingBladeEffect(1,1,1,1,1,1)
  2875. end))
  2876. wait(0.1)
  2877. for i = 0,1,0.1 do
  2878. wait()
  2879. LW.C0 = CFrame.new(-1.5+0.3-0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0.5-1*i)
  2880. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2881. RW.C0 = CFrame.new(1.5-0.3+0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,-0.5+1*i)
  2882. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2883. end
  2884. wait(0.5)
  2885. attack = false
  2886. end
  2887. end
  2888.  
  2889. function SwordRage()
  2890. attack = true
  2891. SwordRaging = true
  2892. for i = 0,1,0.1 do
  2893. wait()
  2894. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i,0,0)
  2895. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2896. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-3*i,0,0)
  2897. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2898. end
  2899. wingweld1.Parent = wingblade1
  2900. wingweld1.Part0 = wingblade1
  2901. wingweld1.Part1 = LeftArm
  2902. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  2903. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  2904. wingweld4.Parent = wingblade4
  2905. wingweld4.Part0 = wingblade4
  2906. wingweld4.Part1 = RightArm
  2907. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  2908. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  2909. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  2910. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  2911. ss(1.2)
  2912. for i = 0,1,0.2 do
  2913. wait()
  2914. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-2+4*i,0,0.5*i)
  2915. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2916. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+3*i,0,0.5*i)
  2917. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2918. end
  2919. wait(0.1)
  2920. ss(1.2)
  2921. for i = 0,1,0.2 do
  2922. wait()
  2923. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-2+4-1*i,0,0.5-1*i)
  2924. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2925. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-2+3+1*i,0,0.5-1*i)
  2926. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2927. end
  2928. wait(0.05)
  2929. for i = 0,1,0.2 do
  2930. wait()
  2931. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,-0.5-0.5*i)
  2932. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2933. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,-0.5+1.5*i)
  2934. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2935. end
  2936. wait(0.1)
  2937. ss(1)
  2938. for i = 0,1,0.2 do
  2939. wait()
  2940. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1+1*i)
  2941. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2942. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1-1*i)
  2943. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2944. end
  2945. wait(0.1)
  2946. WingBladeEffect(1,0,0,1,0,0)
  2947. wingblade1.Transparency = 1
  2948. wingblade4.Transparency = 1
  2949. con1:disconnect()
  2950. con4:disconnect()
  2951. for i = 0,1,0.1 do
  2952. wait()
  2953. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.57*i,0,0)
  2954. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2955. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.57*i,0,0)
  2956. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2957. end
  2958. wingweld2.Parent = wingblade2
  2959. wingweld2.Part0 = wingblade2
  2960. wingweld2.Part1 = LeftArm
  2961. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  2962. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  2963. wingweld5.Parent = wingblade5
  2964. wingweld5.Part0 = wingblade5
  2965. wingweld5.Part1 = RightArm
  2966. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  2967. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  2968. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  2969. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  2970. ss(1)
  2971. for i = 0,1,0.2 do
  2972. wait()
  2973. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1+4*i,0,0.5*i)
  2974. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2975. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1+4*i,0,-0.5*i)
  2976. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2977. end
  2978. ss(1)
  2979. for i = 0,1,0.2 do
  2980. wait()
  2981. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(3-2.5*i,0,0.5-1*i)
  2982. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2983. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(3-2.5*i,0,-0.5+1*i)
  2984. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2985. end
  2986. con2:disconnect()
  2987. con5:disconnect()
  2988. WingBladeEffect(0,1,0,0,1,0)
  2989. wingblade2.Transparency = 1
  2990. wingblade5.Transparency = 1
  2991. wait(0.05)
  2992. for i = 0,1,0.1 do
  2993. wait()
  2994. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5-1*i,0,-0.5+0.5*i)
  2995. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2996. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5-1*i,0,0.5-0.5*i)
  2997. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2998. end
  2999. wingweld3.Parent = wingblade3
  3000. wingweld3.Part0 = wingblade3
  3001. wingweld3.Part1 = LeftArm
  3002. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,2,-0.5)
  3003. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3004. wingweld6.Parent = wingblade6
  3005. wingweld6.Part0 = wingblade6
  3006. wingweld6.Part1 = RightArm
  3007. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,2,-0.5)
  3008. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3009. for i = 0,1,0.1 do
  3010. wait()
  3011. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,-1.57*i,0)
  3012. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  3013. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,1.57*i,0)
  3014. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  3015. end
  3016. wait(0.1)
  3017. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3018. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3019. ss(1)
  3020. for i = 0,1,0.2 do
  3021. wait()
  3022. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,-1.57,0)
  3023. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
  3024. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,1.57,0)
  3025. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
  3026. end
  3027. con3:disconnect()
  3028. con6:disconnect()
  3029. WingBladeEffect(0,0,1,0,0,1)
  3030. wingblade3.Transparency = 1
  3031. wingblade6.Transparency = 1
  3032. wait(0.1)
  3033. for i = 0,1,0.2 do
  3034. wait()
  3035. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,-1.57+1.57*i,-0.5*i)
  3036. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3037. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,1.57-1.57*i,0.5*i)
  3038. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3039. end
  3040. attack = false
  3041. end
  3042.  
  3043. function SwordRageZ()
  3044. attack = true
  3045. WingBladeEffect(1,1,0,1,1,0)
  3046. wingblade1.Transparency = 0.4
  3047. wingblade2.Transparency = 0.4
  3048. wingblade4.Transparency = 0.4
  3049. wingblade5.Transparency = 0.4
  3050. wingweld1.Parent = wingblade1
  3051. wingweld1.Part0 = wingblade1
  3052. wingweld1.Part1 = LeftArm
  3053. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0.5)
  3054. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3055. wingweld4.Parent = wingblade4
  3056. wingweld4.Part0 = wingblade4
  3057. wingweld4.Part1 = RightArm
  3058. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0.5)
  3059. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3060. wingweld2.Parent = wingblade2
  3061. wingweld2.Part0 = wingblade2
  3062. wingweld2.Part1 = LeftArm
  3063. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,-0.5)
  3064. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3065. wingweld5.Parent = wingblade5
  3066. wingweld5.Part0 = wingblade5
  3067. wingweld5.Part1 = RightArm
  3068. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,-0.5)
  3069. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3070. for i = 0,1,0.1 do
  3071. wait()
  3072. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,-0.5)
  3073. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3074. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0.5)
  3075. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3076. end
  3077. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3078. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3079. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3080. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3081. ss(1)
  3082. for i = 0,1,0.2 do
  3083. wait()
  3084. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-0.43*i,0,-0.5+1*i)
  3085. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3086. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-0.43*i,0,0.5-1*i)
  3087. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3088. end
  3089. ss(1)
  3090. for i = 0,1,0.2 do
  3091. wait()
  3092. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.5+1-0.5*i)
  3093. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3094. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.5-1+0.5*i)
  3095. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3096. end
  3097. wait(0.1)
  3098. con1:disconnect()
  3099. con2:disconnect()
  3100. con4:disconnect()
  3101. con5:disconnect()
  3102. WingBladeEffect(1,1,0,1,1,0)
  3103. wingblade1.Transparency = 1
  3104. wingblade2.Transparency = 1
  3105. wingblade4.Transparency = 1
  3106. wingblade5.Transparency = 1
  3107. for i = 0,1,0.2 do
  3108. wait()
  3109. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-0.5+1-0.5-0.5*i)
  3110. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3111. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,0.5-1+0.5+0.5*i)
  3112. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3113. end
  3114. attack = false
  3115. end
  3116.  
  3117. function SwordRageX()
  3118. attack = true
  3119. WingBladeEffect(0,1,1,0,1,1)
  3120. wingblade3.Transparency = 0.4
  3121. wingblade6.Transparency = 0.4
  3122. wingblade2.Transparency = 0.4
  3123. wingblade5.Transparency = 0.4
  3124. wingweld2.Parent = wingblade2
  3125. wingweld2.Part0 = wingblade2
  3126. wingweld2.Part1 = LeftArm
  3127. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
  3128. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3129. wingweld3.Parent = wingblade3
  3130. wingweld3.Part0 = wingblade3
  3131. wingweld3.Part1 = LeftArm
  3132. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,2,-0.5)
  3133. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3134. for i = 0,1,0.1 do
  3135. wait()
  3136. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,-1.57*i,-0.5+0.5*i)
  3137. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  3138. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5)
  3139. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3140. end
  3141. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3142. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3143. ss(1.2)
  3144. for i = 0,1,0.2 do
  3145. wait()
  3146. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,-1.57,0)
  3147. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0)
  3148. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5)
  3149. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3150. end
  3151. wait(0.1)
  3152. WingBladeEffect(0,1,1,0,0,0)
  3153. wingblade3.Transparency = 1
  3154. wingblade2.Transparency = 1
  3155. con3:disconnect()
  3156. con2:disconnect()
  3157. for i = 0,1,0.1 do
  3158. wait()
  3159. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,-1.57+1.57*i,-0.5*i)
  3160. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  3161. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,0.5-0.5*i)
  3162. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  3163. end
  3164. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3165. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,20,5) end)
  3166. ss(1.2)
  3167. for i = 0,1,0.2 do
  3168. wait()
  3169. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
  3170. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3171. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,1.57,0)
  3172. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0)
  3173. end
  3174. wait(0.1)
  3175. WingBladeEffect(0,0,0,0,1,1)
  3176. wingblade6.Transparency = 1
  3177. wingblade5.Transparency = 1
  3178. con6:disconnect()
  3179. con5:disconnect()
  3180. for i = 0,1,0.2 do
  3181. wait()
  3182. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
  3183. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3184. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,1.57-1.57*i,0.5*i)
  3185. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  3186. end
  3187. attack = false
  3188. end
  3189.  
  3190. function EndSwordRage()
  3191. attack = true
  3192. wait(0.1)
  3193. WingBladeStance(true)
  3194. WingBladeEffect(1,1,1,1,1,1)
  3195. for i = 0,1,0.2 do
  3196. wait()
  3197. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5+0.5*i)
  3198. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3199. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,0.5-0.5*i)
  3200. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3201. end
  3202. attack = false
  3203. end
  3204.  
  3205. function MagicBarrage()
  3206. attack = true
  3207. if element == "Light" then
  3208. for i = 0,1,0.1 do
  3209. wait()
  3210. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
  3211. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3212. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  3213. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3214. end
  3215. while barragehold == true and mana >= 0 do
  3216. wait(0.1)
  3217. mana = mana - math.random(0,10)
  3218. ss(1+math.random())
  3219. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1+math.random(),0,math.random(-1,0)+math.random())
  3220. coroutine.resume(coroutine.create(function()
  3221. slasheffect(LeftArm.CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0,10,nil)
  3222. end))
  3223. end
  3224. if mana <= 0 then
  3225. mana = 0
  3226. end
  3227. else
  3228. for i = 0,1,0.1 do
  3229. wait()
  3230. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  3231. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3232. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,0)
  3233. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3234. end
  3235. local p = Instance.new("Part")
  3236. p.Parent = Character
  3237. p.Name = "TestBrick"
  3238. p.CFrame = RightArm.CFrame*CFrame.new(0,1,0)
  3239. p.CanCollide = false
  3240. p.Transparency = 1
  3241. local pweld = Instance.new("Weld")
  3242. pweld.Parent = p
  3243. pweld.Part0 = p
  3244. pweld.Part1 = RightArm
  3245. pweld.C0 = CFrame.new(0,1,0)
  3246. coroutine.resume(coroutine.create(function()
  3247. while p.Parent ~= nil do
  3248. wait(0.05)
  3249. MMMAGIC(p,4,4,4,0,0,0,BrickColor.new("Black"))
  3250. EVENMOARMAGIX(p,3,3,3,0,0,0,math.random(-50,50),math.random(-50,50),math.random(-50,50),BrickColor.new("Black"))
  3251. MOREMAGIX(p,0,2,2,2,BrickColor.new("Black"))
  3252. end
  3253. end))
  3254. DarkRiftF(p)
  3255. p.Parent = nil
  3256. end
  3257. attack = false
  3258. end
  3259.  
  3260. function Regening()
  3261. attack = true
  3262. for i = 0,1,0.1 do
  3263. wait()
  3264. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  3265. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3266. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1.57*i)
  3267. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3268. end
  3269. while regening == true do
  3270. wait(0.1)
  3271. DifferentEffect()
  3272. if mana >= 400 then
  3273. mana = 400
  3274. else
  3275. Character.Humanoid.Health = Character.Humanoid.Health + 0.01
  3276. mana = mana + 100
  3277. end
  3278. end
  3279. attack = false
  3280. end
  3281.  
  3282. function Ultima()
  3283. attack = true
  3284. if mana == 400 then
  3285. if Style == "MagicMayhem" then
  3286. print("LOLOL ECLIPSE TIEM")
  3287. for i = 0,1,0.05 do
  3288. wait()
  3289. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
  3290. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  3291. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3292. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1.57*i)
  3293. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3294. end
  3295. for i = 0,2 do
  3296. wait(0.8)
  3297. magicsound(1)
  3298. MMMAGIC(LeftArm,5,5,5,0,-1,0,BrickColor.new("White"))
  3299. MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Black"))
  3300. end
  3301. for i = 0,1,0.1 do
  3302. wait()
  3303. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
  3304. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+2.17*i)
  3305. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3306. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-2.17*i)
  3307. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3308. end
  3309. Charge(0.4)
  3310. for i = 0,10,0.5 do
  3311. wait(0.1)
  3312. UltimaMMMAGIC(LeftArm,i,i,i,0,-1,0,BrickColor.new("White"))
  3313. UltimaMMMAGIC(RightArm,i,i,i,0,-1,0,BrickColor.new("Black"))
  3314. end
  3315. coroutine.resume(coroutine.create(function()
  3316. while Style == "MagicMayhem" do
  3317. wait(0.1)
  3318. UltimaMMMAGIC(LeftArm,10,10,10,0,-1,0,BrickColor.new("White"))
  3319. UltimaMMMAGIC(RightArm,10,10,10,0,-1,0,BrickColor.new("Black"))
  3320. end
  3321. end))
  3322. for i = 0,1,0.2 do
  3323. wait()
  3324. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5,3.14,0) * CFrame.new(0,0,-0.5)
  3325. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+2.17)
  3326. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3327. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-2.17)
  3328. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3329. end
  3330. wait(0.3)
  3331. for i = 0,1,0.2 do
  3332. wait()
  3333. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5,3.14,0) * CFrame.new(0,0,-0.5)
  3334. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5-1*i,0,-1.57+2.17)
  3335. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3336. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5-1*i,0,1.57-2.17)
  3337. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3338. end
  3339. mana = 400
  3340. local c = game.Workspace:GetChildren();
  3341. for i = 1, #c do
  3342. local hum = c[i]:findFirstChild("Humanoid")
  3343. if hum ~= nil and hum.Health ~= 0 then
  3344. local head = c[i]:findFirstChild("Head");
  3345. if head ~= nil then
  3346. local targ = head.Position - Torso.Position;
  3347. local mag = targ.magnitude;
  3348. if mag <= 600 and c[i].Name ~= Player.Name then
  3349. UltimaMagicMayhemDamage(head,math.random(1000,2000))
  3350. end
  3351. end
  3352. end
  3353. end
  3354. Style = "Normal"
  3355. MagicMayhemUltimaSounds()
  3356. for i = 0,9,0.2 do
  3357. wait()
  3358. MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("White"))
  3359. MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("Black"))
  3360. EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("White"))
  3361. EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("Black"))
  3362. WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("White"))
  3363. WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("Black"))
  3364. MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("White"))
  3365. MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("Black"))
  3366. end
  3367. coroutine.resume(coroutine.create(function()
  3368. local clone = Instance.new("Part")
  3369. clone.Parent = workspace
  3370. clone.CFrame = Torso.CFrame
  3371. clone.CanCollide = false
  3372. clone.Transparency = 1
  3373. clone.Anchored = true
  3374. for i = 0,10,0.2 do
  3375. wait(0.1)
  3376. MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("White"))
  3377. MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("Black"))
  3378. end
  3379. clone.Parent = nil
  3380. end))
  3381. elseif Style == "WingBlade" then
  3382. print("LOLOL MULTIVORTEX TIEM")
  3383. mana = 0
  3384. coroutine.resume(coroutine.create(function()
  3385. while attack == true do
  3386. wait()
  3387. mana = 400
  3388. end
  3389. end))
  3390. Character.Humanoid.PlatformStand = true
  3391. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3392. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3393. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3394. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3395. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3396. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,30,15) end)
  3397. original = Head.CFrame
  3398. bod = Instance.new("BodyPosition")
  3399. bod.position = Torso.Position
  3400. bod.Parent = Torso
  3401. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  3402. target = meh
  3403. --bod.position = target.Position
  3404. local b = Instance.new("BodyGyro")
  3405. b.P=18000
  3406. b.D=600
  3407. b.maxTorque=Vector3.new(80000,80000000,80000)*50000000000000000000000000
  3408. b.Parent = Head
  3409. if target ~= nil then
  3410. local dir = (target.Position - Head.Position).unit
  3411. local spawnpos = Head.Position
  3412. local pos = spawnpos + (dir * 1)
  3413. b.cframe = CFrame.new(pos, pos + dir)
  3414. end
  3415. local UltimaPart = Instance.new("Part")
  3416. UltimaPart.Parent = modelzorz
  3417. UltimaPart.CanCollide = false
  3418. UltimaPart.Position = Torso.Position
  3419. UltimaPart.Transparency = 1
  3420. local UltimaWeld = Instance.new("Weld")
  3421. UltimaWeld.Parent = UltimaPart
  3422. UltimaWeld.Part0 = UltimaPart
  3423. UltimaWeld.Part1 = Torso
  3424. UltimaWeld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3425. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3426. WingBladeEffect(1,1,1,1,1,1)
  3427. wingblade1.Transparency = 1
  3428. wingblade2.Transparency = 1
  3429. wingblade3.Transparency = 1
  3430. wingblade4.Transparency = 1
  3431. wingblade5.Transparency = 1
  3432. wingblade6.Transparency = 1
  3433. wait(0.4)
  3434. wingblade1.Transparency = 0.4
  3435. wingweld1.Parent = wingblade1
  3436. wingweld1.Part0 = wingblade1
  3437. wingweld1.Part1 = UltimaPart
  3438. wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3439. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0,0,0)
  3440. wingblade2.Transparency = 0.4
  3441. wingweld2.Parent = wingblade2
  3442. wingweld2.Part0 = wingblade2
  3443. wingweld2.Part1 = UltimaPart
  3444. wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3445. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1,math.rad(90),0) * CFrame.new(0,0,0)
  3446. wingblade3.Transparency = 0.4
  3447. wingweld3.Parent = wingblade3
  3448. wingweld3.Part0 = wingblade3
  3449. wingweld3.Part1 = UltimaPart
  3450. wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3451. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2,math.rad(90),0) * CFrame.new(0,0,0)
  3452. wingblade4.Transparency = 0.4
  3453. wingweld4.Parent = wingblade4
  3454. wingweld4.Part0 = wingblade4
  3455. wingweld4.Part1 = UltimaPart
  3456. wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3457. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3,math.rad(90),0) * CFrame.new(0,0,0)
  3458. wingblade5.Transparency = 0.4
  3459. wingweld5.Parent = wingblade5
  3460. wingweld5.Part0 = wingblade5
  3461. wingweld5.Part1 = UltimaPart
  3462. wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3463. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4,math.rad(90),0) * CFrame.new(0,0,0)
  3464. wingblade6.Transparency = 0.4
  3465. wingweld6.Parent = wingblade6
  3466. wingweld6.Part0 = wingblade6
  3467. wingweld6.Part1 = UltimaPart
  3468. wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3469. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5,math.rad(90),0) * CFrame.new(0,0,0)
  3470. WingBladeEffect(1,1,1,1,1,1)
  3471. for i = 0,1,0.1 do
  3472. wait()
  3473. bod.position = Torso.Position + Vector3.new(0,1,0)
  3474. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  3475. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3476. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  3477. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3478. end
  3479. target = meh
  3480. if target ~= nil then
  3481. bod.position = target.Position
  3482. local dir = (target.Position - Head.Position).unit
  3483. local spawnpos = Head.Position
  3484. local pos = spawnpos + (dir * 1)
  3485. b.cframe = CFrame.new(pos, pos + dir)
  3486. end
  3487. for i = 0,1,0.1 do
  3488. wait()
  3489. ss(1.2)
  3490. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3491. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3492. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3493. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3494. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3495. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3496. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-0.5+1*i)
  3497. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3498. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5+1*i)
  3499. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3500. end
  3501. for i = 0,2 do
  3502. wait()
  3503. WingBladeEffect(1,1,1,1,1,1)
  3504. wingblade1.Transparency = 1
  3505. wingblade2.Transparency = 1
  3506. wingblade3.Transparency = 1
  3507. wingblade4.Transparency = 1
  3508. wingblade5.Transparency = 1
  3509. wingblade6.Transparency = 1
  3510. for i = 0,1,0.1 do
  3511. wait()
  3512. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+1.5*i,0,0.5)
  3513. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3514. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,1.5-1*i)
  3515. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3516. end
  3517. UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.7) * CFrame.new(0,0,0)
  3518. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3519. WingBladeEffect(1,1,1,1,1,1)
  3520. target = meh
  3521. if target ~= nil then
  3522. bod.position = target.Position
  3523. local dir = (target.Position - Head.Position).unit
  3524. local spawnpos = Head.Position
  3525. local pos = spawnpos + (dir * 1)
  3526. b.cframe = CFrame.new(pos, pos + dir)
  3527. end
  3528. wingblade1.Transparency = 0.4
  3529. wingblade2.Transparency = 0.4
  3530. wingblade3.Transparency = 0.4
  3531. wingblade4.Transparency = 0.4
  3532. wingblade5.Transparency = 0.4
  3533. wingblade6.Transparency = 0.4
  3534. for i = 0,1,0.1 do
  3535. wait()
  3536. ss(1.4)
  3537. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3538. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3539. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3540. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3541. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3542. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3543. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0.5-1*i)
  3544. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3545. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1.5*i,0,0.5-1*i)
  3546. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3547. end
  3548. WingBladeEffect(1,1,1,1,1,1)
  3549. wingblade1.Transparency = 1
  3550. wingblade2.Transparency = 1
  3551. wingblade3.Transparency = 1
  3552. wingblade4.Transparency = 1
  3553. wingblade5.Transparency = 1
  3554. wingblade6.Transparency = 1
  3555. for i = 0,1,0.1 do
  3556. wait()
  3557. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2.57*i,0,-0.5)
  3558. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3559. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-0.5-0.5*i)
  3560. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3561. end
  3562. UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.new(0,0,0)
  3563. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3564. WingBladeEffect(1,1,1,1,1,1)
  3565. target = meh
  3566. if target ~= nil then
  3567. bod.position = target.Position
  3568. local dir = (target.Position - Head.Position).unit
  3569. local spawnpos = Head.Position
  3570. local pos = spawnpos + (dir * 1)
  3571. b.cframe = CFrame.new(pos, pos + dir)
  3572. end
  3573. wingblade1.Transparency = 0.4
  3574. wingblade2.Transparency = 0.4
  3575. wingblade3.Transparency = 0.4
  3576. wingblade4.Transparency = 0.4
  3577. wingblade5.Transparency = 0.4
  3578. wingblade6.Transparency = 0.4
  3579. for i = 0,1,0.1 do
  3580. wait()
  3581. ss(1)
  3582. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3583. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3584. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3585. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3586. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3587. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3588. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.5+1.5*i)
  3589. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3590. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1+2*i)
  3591. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3592. end
  3593. WingBladeEffect(1,1,1,1,1,1)
  3594. wingblade1.Transparency = 1
  3595. wingblade2.Transparency = 1
  3596. wingblade3.Transparency = 1
  3597. wingblade4.Transparency = 1
  3598. wingblade5.Transparency = 1
  3599. wingblade6.Transparency = 1
  3600. for i = 0,1,0.1 do
  3601. wait()
  3602. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1)
  3603. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3604. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1)
  3605. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3606. end
  3607. UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,2) * CFrame.new(0,0,0)
  3608. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3609. WingBladeEffect(1,1,1,1,1,1)
  3610. target = meh
  3611. if target ~= nil then
  3612. bod.position = target.Position
  3613. local dir = (target.Position - Head.Position).unit
  3614. local spawnpos = Head.Position
  3615. local pos = spawnpos + (dir * 1)
  3616. b.cframe = CFrame.new(pos, pos + dir)
  3617. end
  3618. wingblade1.Transparency = 0.4
  3619. wingblade2.Transparency = 0.4
  3620. wingblade3.Transparency = 0.4
  3621. wingblade4.Transparency = 0.4
  3622. wingblade5.Transparency = 0.4
  3623. wingblade6.Transparency = 0.4
  3624. for i = 0,1,0.1 do
  3625. wait()
  3626. ss(0.9)
  3627. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3628. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3629. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3630. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3631. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3632. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3633. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+1*i,0,1-2*i)
  3634. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3635. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+1*i,0,1-2*i)
  3636. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3637. end
  3638. end
  3639. b.cframe = original
  3640. WingBladeEffect(1,1,1,1,1,1)
  3641. wingblade1.Transparency = 1
  3642. wingblade2.Transparency = 1
  3643. wingblade3.Transparency = 1
  3644. wingblade4.Transparency = 1
  3645. wingblade5.Transparency = 1
  3646. wingblade6.Transparency = 1
  3647. for i = 0,1,0.1 do
  3648. wait()
  3649. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2.57*i)
  3650. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3651. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1+0.57*i)
  3652. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3653. end
  3654. UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  3655. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  3656. WingBladeEffect(1,1,1,1,1,1)
  3657. wait()
  3658. wingblade1.Transparency = 0.4
  3659. wingblade2.Transparency = 0.4
  3660. wingblade3.Transparency = 0.4
  3661. wingblade4.Transparency = 0.4
  3662. wingblade5.Transparency = 0.4
  3663. wingblade6.Transparency = 0.4
  3664. bod.position = Torso.Position + Vector3.new(0,10,0)
  3665. local msh1 = Instance.new("SpecialMesh")
  3666. msh1.Scale = Vector3.new(5,5,5)
  3667. msh1.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3668. S=Instance.new("Part")
  3669. S.Name="Effect"
  3670. S.formFactor=0
  3671. S.Size=Vector3.new(15,15,15)
  3672. S.Reflectance = 0
  3673. S.TopSurface=0
  3674. S.BottomSurface=0
  3675. S.Transparency=1
  3676. S.Anchored=true
  3677. S.CanCollide=false
  3678. S.CFrame=Torso.CFrame
  3679. S.Parent=Character
  3680. msh1.Parent = S
  3681. if element == "Light" then
  3682. S.BrickColor=BrickColor.new("White")
  3683. elseif element == "Dark" then
  3684. S.BrickColor=BrickColor.new("Black")
  3685. end
  3686. bod.maxForce = Vector3.new(100000,100000,100000)
  3687. for i = 0,1,0.01 do
  3688. wait()
  3689. target = meh
  3690. if target ~= nil then
  3691. bod.position = target.Position
  3692. end
  3693. ss(0.9)
  3694. S.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.rad(580)*i,0)
  3695. S.Transparency = S.Transparency - 0.005
  3696. b.cframe = b.cframe * CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0)
  3697. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3698. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3699. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3700. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3701. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3702. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3703. end
  3704. for i = 0,1,0.005 do
  3705. wait()
  3706. target = meh
  3707. if target ~= nil then
  3708. bod.position = target.Position
  3709. end
  3710. ss(0.9)
  3711. S.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.rad(580)*i,0)
  3712. S.Transparency = S.Transparency
  3713. b.cframe = b.cframe * CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0)
  3714. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3715. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3716. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3717. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3718. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3719. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
  3720. end
  3721. wait(0.5)
  3722. Character.Humanoid.PlatformStand = false
  3723. S.Parent = nil
  3724. con1:disconnect()
  3725. con2:disconnect()
  3726. con3:disconnect()
  3727. con4:disconnect()
  3728. con5:disconnect()
  3729. con6:disconnect()
  3730. bod.Parent = nil
  3731. b.Parent = nil
  3732. WingBladeEffect(1,1,1,1,1,1)
  3733. wingblade1.Parent = nil
  3734. wingblade2.Parent = nil
  3735. wingblade3.Parent = nil
  3736. wingblade4.Parent = nil
  3737. wingblade5.Parent = nil
  3738. wingblade6.Parent = nil
  3739. wait(0.2)
  3740. Style = "Normal"
  3741. equipanim()
  3742. --[[wingweld1.Parent = wingblade1
  3743. wingweld1.Part0 = wingblade1
  3744. wingweld1.Part1 = Torso
  3745. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
  3746. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
  3747. wingweld2.Parent = wingblade2
  3748. wingweld2.Part0 = wingblade2
  3749. wingweld2.Part1 = Torso
  3750. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
  3751. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
  3752. wingweld3.Parent = wingblade3
  3753. wingweld3.Part0 = wingblade3
  3754. wingweld3.Part1 = Torso
  3755. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
  3756. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  3757. wingweld4.Parent = wingblade4
  3758. wingweld4.Part0 = wingblade4
  3759. wingweld4.Part1 = Torso
  3760. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
  3761. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
  3762. wingweld5.Parent = wingblade5
  3763. wingweld5.Part0 = wingblade5
  3764. wingweld5.Part1 = Torso
  3765. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
  3766. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
  3767. wingweld6.Parent = wingblade6
  3768. wingweld6.Part0 = wingblade6
  3769. wingweld6.Part1 = Torso
  3770. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
  3771. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  3772. UltimaWeld.Parent = nil
  3773. WingBladeEffect(1,1,1,1,1,1)
  3774. wait()
  3775. wingblade1.Transparency = 0.4
  3776. wingblade2.Transparency = 0.4
  3777. wingblade3.Transparency = 0.4
  3778. wingblade4.Transparency = 0.4
  3779. wingblade5.Transparency = 0.4
  3780. wingblade6.Transparency = 0.4 ]]
  3781. end
  3782. attack = false
  3783. end
  3784. end
  3785.  
  3786. function ULTRAUltima()
  3787. attack = true
  3788. --if Style == "MagicMayhem" and mana >= 400 then
  3789. if Style == "MagicMayhem" then
  3790. local c = game.Workspace:GetChildren();
  3791. for i = 1, #c do
  3792. local hum = c[i]:findFirstChild("Humanoid")
  3793. if hum ~= nil and hum.Health ~= 0 then
  3794. local head = c[i]:findFirstChild("Head");
  3795. if head ~= nil then
  3796. local targ = head.Position - Torso.Position;
  3797. local mag = targ.magnitude;
  3798. if mag <= 60 and c[i].Name ~= Player.Name then
  3799. UltimaMagicMayhemDamage(head,math.random(200,500))
  3800. end
  3801. end
  3802. end
  3803. end
  3804. Style = "Normal"
  3805. MagicMayhemUltimaSounds()
  3806. for i = 0,9,0.2 do
  3807. wait()
  3808. MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("White"))
  3809. MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("Black"))
  3810. EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("White"))
  3811. EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("Black"))
  3812. WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("White"))
  3813. WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("Black"))
  3814. MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("White"))
  3815. MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("Black"))
  3816. end
  3817. coroutine.resume(coroutine.create(function()
  3818. local clone = Instance.new("Part")
  3819. clone.Parent = workspace
  3820. clone.CFrame = Torso.CFrame
  3821. clone.CanCollide = false
  3822. clone.Transparency = 1
  3823. clone.Anchored = true
  3824. for i = 0,10,0.2 do
  3825. wait(0.1)
  3826. MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("White"))
  3827. MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("Black"))
  3828. end
  3829. clone.Parent = nil
  3830. end))
  3831. end
  3832. attack = false
  3833. end
  3834.  
  3835. function WingBladeEffect(one,two,three,four,five,six)
  3836. if one == 1 then
  3837. EVENMOARMAGIX(wingblade1,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3838. end
  3839. if two == 1 then
  3840. EVENMOARMAGIX(wingblade2,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3841. end
  3842. if three == 1 then
  3843. EVENMOARMAGIX(wingblade3,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3844. end
  3845. if four == 1 then
  3846. EVENMOARMAGIX(wingblade4,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3847. end
  3848. if five == 1 then
  3849. EVENMOARMAGIX(wingblade5,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3850. end
  3851. if six == 1 then
  3852. EVENMOARMAGIX(wingblade6,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  3853. end
  3854. end
  3855.  
  3856. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  3857. local msh1 = Instance.new("BlockMesh")
  3858. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  3859. S=Instance.new("Part")
  3860. S.Name="Effect"
  3861. S.formFactor=0
  3862. S.Size=Vector3.new(x1,y1,z1)
  3863. S.BrickColor=color
  3864. S.Reflectance = 0
  3865. S.TopSurface=0
  3866. S.BottomSurface=0
  3867. S.Transparency=0
  3868. S.Anchored=true
  3869. S.CanCollide=false
  3870. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3871. S.Parent=Character
  3872. msh1.Parent = S
  3873. 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)
  3874. end
  3875.  
  3876. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  3877. local msh1 = Instance.new("BlockMesh")
  3878. msh1.Scale = Vector3.new(x1,y1,z1)
  3879. S=Instance.new("Part")
  3880. S.Name="Effect"
  3881. S.formFactor=0
  3882. S.Size=Vector3.new(1,1,1)
  3883. S.BrickColor=color
  3884. S.Reflectance = 0
  3885. S.TopSurface=0
  3886. S.BottomSurface=0
  3887. S.Transparency=0
  3888. S.Anchored=true
  3889. S.CanCollide=false
  3890. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3891. S.Parent=Character
  3892. msh1.Parent = S
  3893. 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)
  3894. end
  3895.  
  3896. function MOREMAGIX(part,cframe,x,y,z,color)
  3897. p2=Instance.new("Part")
  3898. p2.Name="Blast"
  3899. p2.TopSurface=0
  3900. p2.BottomSurface=0
  3901. p2.CanCollide=false
  3902. p2.Anchored=true
  3903. p2.BrickColor=color
  3904. p2.Size=Vector3.new(x,y,z)
  3905. p2.formFactor="Symmetric"
  3906. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  3907. p2.Parent=workspace
  3908. m=Instance.new("BlockMesh")
  3909. m.Parent=p2
  3910. m.Name="BlastMesh"
  3911. 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))
  3912. end
  3913.  
  3914. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3915. local msh1 = Instance.new("SpecialMesh")
  3916. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  3917. msh1.MeshType = "Sphere"
  3918. S=Instance.new("Part")
  3919. S.Name="Effect"
  3920. S.formFactor=0
  3921. S.Size=Vector3.new(x1,y1,z1)
  3922. S.BrickColor=color
  3923. if Style == "WingBlade" and element == "Dark" then
  3924. S.BrickColor=BrickColor.new("Black")
  3925. end
  3926. S.Reflectance = 0
  3927. S.TopSurface=0
  3928. S.BottomSurface=0
  3929. S.Transparency=0
  3930. S.Anchored=true
  3931. S.CanCollide=false
  3932. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3933. S.Parent=Character
  3934. msh1.Parent = S
  3935. 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)
  3936. end
  3937.  
  3938. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3939. local msh1 = Instance.new("SpecialMesh")
  3940. msh1.Scale = Vector3.new(x1,y1,z1)
  3941. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3942. S=Instance.new("Part")
  3943. S.Name="Effect"
  3944. S.formFactor=0
  3945. S.Size=Vector3.new(1,1,1)
  3946. S.BrickColor=color
  3947. S.Reflectance = 0
  3948. S.TopSurface=0
  3949. S.BottomSurface=0
  3950. S.Transparency=0
  3951. S.Anchored=true
  3952. S.CanCollide=false
  3953. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3954. S.Parent=Character
  3955. msh1.Parent = S
  3956. 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)
  3957. end
  3958.  
  3959. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3960. local msh1 = Instance.new("SpecialMesh")
  3961. msh1.Scale = Vector3.new(x1,y1,z1)
  3962. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  3963. S=Instance.new("Part")
  3964. S.Name="Effect"
  3965. S.formFactor=0
  3966. S.Size=Vector3.new(1,1,1)
  3967. S.BrickColor=color
  3968. S.Reflectance = 0
  3969. S.TopSurface=0
  3970. S.BottomSurface=0
  3971. S.Transparency=0
  3972. S.Anchored=true
  3973. S.CanCollide=false
  3974. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3975. S.Parent=Character
  3976. msh1.Parent = S
  3977. 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)
  3978. end
  3979.  
  3980. function DifferentEffect()
  3981. p=Instance.new("Part")
  3982. p.Name="FlameEm"
  3983. p.Shape=0
  3984. p.TopSurface=0
  3985. p.BottomSurface=0
  3986. derp = math.random(1,2)
  3987. if derp == 1 then
  3988. p.BrickColor=BrickColor.new("White")
  3989. else
  3990. p.BrickColor=BrickColor.new("Black")
  3991. end
  3992. p.Anchored=true
  3993. p.CanCollide=false
  3994. p.Size=Vector3.new(1,1,1)
  3995. 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)
  3996. p.Parent=workspace
  3997. m=Instance.new("SpecialMesh")
  3998. m.MeshType="Sphere"
  3999. m.Parent=p
  4000. m.Scale=Vector3.new(1,1,1)
  4001. 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)
  4002. end
  4003.  
  4004. function DashEf(P,color)
  4005. local m = Instance.new("Part")
  4006. m.Parent = workspace
  4007. m.BrickColor = color
  4008. m.Transparency = 0
  4009. m.Anchored = true
  4010. m.CFrame = P
  4011. m.CanCollide = false
  4012. local me = Instance.new("SpecialMesh")
  4013. me.Parent = m
  4014. me.MeshType = "FileMesh"
  4015. me.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4016. me.Scale = Vector3.new(2.5,2.5,2.5)
  4017. coroutine.resume(coroutine.create(function(part,mesh)
  4018. for i = 0,5 do
  4019. wait(0.1)
  4020. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0, math.random(0,2), 0)
  4021. mesh.Scale = mesh.Scale + Vector3.new(0.5,0.4,0.5)
  4022. part.Transparency = part.Transparency + 0.20
  4023. end
  4024. m:Remove()
  4025. end),m,me)
  4026. end
  4027.  
  4028. function slasheffect(cframe,waitin,size,efdam)
  4029. wait(waitin)
  4030. for l=1, 2 do
  4031. wait()
  4032. e=Instance.new("Part")
  4033. e.Name="SlashEffect"
  4034. e.TopSurface=0
  4035. e.BottomSurface=0
  4036. e.formFactor="Symmetric"
  4037. e.Size=Vector3.new(2,2,size)
  4038. e.Anchored=true
  4039. e.BrickColor=BrickColor.new("White")
  4040. e.Reflectance=0
  4041.  
  4042. e.CanCollide=false
  4043. m=Instance.new("SpecialMesh")
  4044. m.MeshType="Sphere"
  4045. m.Scale=Vector3.new(.25,.25,1)
  4046. m.Parent=e
  4047. e.CFrame = cframe
  4048. e.Parent=workspace
  4049. local c = game.Workspace:GetChildren();
  4050. for i = 1, #c do
  4051. local hum = c[i]:findFirstChild("Humanoid")
  4052. if hum ~= nil and hum.Health ~= 0 then
  4053. local head = c[i]:findFirstChild("Head");
  4054. if head ~= nil then
  4055. local targ = head.Position - e.Position;
  4056. local mag = targ.magnitude;
  4057. if mag <= 5 and c[i].Name ~= Player.Name then
  4058. Damagefunc1(head,5,1)
  4059. end
  4060. end
  4061. end
  4062. end
  4063. coroutine.resume(coroutine.create(function(m) for i=1, 9 do m.Transparency=i*.1 m.Mesh.Scale=m.Mesh.Scale-Vector3.new(.01,.01,.05)*2 wait() end m.Parent=nil coneffect:disconnect() end),e)
  4064. end
  4065. end
  4066.  
  4067. DarkRiftF=function(par) --Thank you turdulator for this :D
  4068. while barragehold == true and mana >= 0 do
  4069. mana = mana - math.random(0,10)
  4070. PWN={}
  4071. for _,v in pairs(workspace:children()) do
  4072. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  4073. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  4074. if v~=Character and (v.Torso.Position-par.Position).magnitude<=25 then
  4075. table.insert(PWN,v.Torso)
  4076. end
  4077. end
  4078. end
  4079. end
  4080. for _,t in pairs(PWN) do
  4081. Mag=(par.Position-t.Position).magnitude/2
  4082. t.Parent.Humanoid:TakeDamage(.6)
  4083. rl=Instance.new("BodyAngularVelocity")
  4084. rl.P=3000
  4085. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  4086. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  4087. rl.Parent=t
  4088. game:GetService("Debris"):AddItem(rl,.1)
  4089. if Mag<=2 then
  4090. if mana <= 400 then
  4091. mana = mana + math.random(0,10)
  4092. else
  4093. mana = 400
  4094. end
  4095. t.Parent.Humanoid:TakeDamage(.3)
  4096. else
  4097. if mana <= 400 then
  4098. mana = mana + 1
  4099. else
  4100. mana = 400
  4101. end
  4102. vl=Instance.new("BodyVelocity")
  4103. vl.P=3000
  4104. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  4105. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  4106. vl.Parent=t
  4107. game:GetService("Debris"):AddItem(vl,.1)
  4108. end
  4109. end
  4110. wait(.08)
  4111. end
  4112. end
  4113.  
  4114. function ss(pitch)
  4115.  
  4116. local SlashSound = Instance.new("Sound")
  4117. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4118. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  4119. SlashSound.Parent = workspace
  4120. SlashSound.Volume = .7
  4121. SlashSound.Pitch = pitch
  4122. SlashSound.PlayOnRemove = true
  4123. coroutine.resume(coroutine.create(function()
  4124. wait(0)
  4125. SlashSound.Parent = nil
  4126. end))
  4127. end
  4128. function critsound(pitch)
  4129.  
  4130. local SlashSound = Instance.new("Sound")
  4131. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  4132. SlashSound.Parent = workspace
  4133. SlashSound.Volume = .7
  4134. SlashSound.Pitch = pitch
  4135. SlashSound.PlayOnRemove = true
  4136. coroutine.resume(coroutine.create(function()
  4137. wait(0)
  4138. SlashSound.Parent = nil
  4139. end))
  4140. end
  4141. function sheath(pitch)
  4142.  
  4143. local SlashSound = Instance.new("Sound")
  4144. SlashSound.SoundId = "http://roblox.com/asset/?id=10209850"
  4145. SlashSound.Parent = workspace
  4146. SlashSound.Volume = .7
  4147. SlashSound.Pitch = pitch
  4148. SlashSound.PlayOnRemove = true
  4149. coroutine.resume(coroutine.create(function()
  4150. wait(0)
  4151. SlashSound.Parent = nil
  4152. end))
  4153. end
  4154. function shieldbash(pitch)
  4155.  
  4156. local SlashSound = Instance.new("Sound")
  4157. SlashSound.SoundId = "http://roblox.com/asset/?id=10209583"
  4158. SlashSound.Parent = workspace
  4159. SlashSound.Volume = .7
  4160. SlashSound.Pitch = pitch
  4161. SlashSound.PlayOnRemove = true
  4162. coroutine.resume(coroutine.create(function()
  4163. wait(0)
  4164. SlashSound.Parent = nil
  4165. end))
  4166. end
  4167. function magicsound(pitch)
  4168.  
  4169. local SlashSound = Instance.new("Sound")
  4170. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  4171. SlashSound.Parent = workspace
  4172. SlashSound.Volume = .5
  4173. SlashSound.Pitch = pitch
  4174. SlashSound.PlayOnRemove = true
  4175. coroutine.resume(coroutine.create(function()
  4176. wait(0)
  4177. SlashSound.Parent = nil
  4178. end))
  4179. end
  4180. function abscond(pitch)
  4181.  
  4182. local SlashSound = Instance.new("Sound")
  4183. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
  4184. SlashSound.Parent = workspace
  4185. SlashSound.Volume = 1
  4186. SlashSound.Pitch = pitch
  4187. SlashSound.PlayOnRemove = true
  4188. coroutine.resume(coroutine.create(function()
  4189. wait(0)
  4190. SlashSound.Parent = nil
  4191. end))
  4192. end
  4193. function Charge(pitch)
  4194.  
  4195. local SlashSound = Instance.new("Sound")
  4196. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  4197. SlashSound.Parent = workspace
  4198. SlashSound.Volume = 1
  4199. SlashSound.Pitch = pitch
  4200. SlashSound.PlayOnRemove = true
  4201. coroutine.resume(coroutine.create(function()
  4202. wait(0)
  4203. SlashSound.Parent = nil
  4204. end))
  4205. end
  4206. function MagicMayhemUltimaSounds()
  4207.  
  4208. local SlashSound = Instance.new("Sound")
  4209. SlashSound.SoundId = "http://www.roblox.com/asset/?id=13775494"
  4210. SlashSound.Parent = workspace
  4211. SlashSound.Volume = 1
  4212. SlashSound.Pitch = 0.1
  4213. SlashSound.PlayOnRemove = true
  4214. coroutine.resume(coroutine.create(function()
  4215. wait(0)
  4216. SlashSound.Parent = nil
  4217. end))
  4218. local SlashSound = Instance.new("Sound")
  4219. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  4220. SlashSound.Parent = workspace
  4221. SlashSound.Volume = 1
  4222. SlashSound.Pitch = 0.2
  4223. SlashSound.PlayOnRemove = true
  4224. coroutine.resume(coroutine.create(function()
  4225. wait(0)
  4226. SlashSound.Parent = nil
  4227. end))
  4228. local SlashSound = Instance.new("Sound")
  4229. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  4230. SlashSound.Parent = workspace
  4231. SlashSound.Volume = 1
  4232. SlashSound.Pitch = 0.05
  4233. SlashSound.PlayOnRemove = true
  4234. coroutine.resume(coroutine.create(function()
  4235. wait(0)
  4236. SlashSound.Parent = nil
  4237. end))
  4238. local SlashSound = Instance.new("Sound")
  4239. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  4240. SlashSound.Parent = workspace
  4241. SlashSound.Volume = 1
  4242. SlashSound.Pitch = 0.05
  4243. SlashSound.PlayOnRemove = true
  4244. coroutine.resume(coroutine.create(function()
  4245. wait(0)
  4246. SlashSound.Parent = nil
  4247. end))
  4248. local SlashSound = Instance.new("Sound")
  4249. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  4250. SlashSound.Parent = workspace
  4251. SlashSound.Volume = 1
  4252. SlashSound.Pitch = 0.7
  4253. SlashSound.PlayOnRemove = true
  4254. coroutine.resume(coroutine.create(function()
  4255. wait(0)
  4256. SlashSound.Parent = nil
  4257. end))
  4258. local SlashSound = Instance.new("Sound")
  4259. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
  4260. SlashSound.Parent = workspace
  4261. SlashSound.Volume = 1
  4262. SlashSound.Pitch = 0.5
  4263. SlashSound.PlayOnRemove = true
  4264. coroutine.resume(coroutine.create(function()
  4265. wait(0)
  4266. SlashSound.Parent = nil
  4267. end))
  4268. local SlashSound = Instance.new("Sound")
  4269. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
  4270. SlashSound.Parent = workspace
  4271. SlashSound.Volume = 1
  4272. SlashSound.Pitch = 0.3
  4273. SlashSound.PlayOnRemove = true
  4274. coroutine.resume(coroutine.create(function()
  4275. wait(0)
  4276. SlashSound.Parent = nil
  4277. end))
  4278. end
  4279.  
  4280. --[[function ss(pitch) -- No sound mode (for all those noobs who can't handle the earraep. Umad, noobs?)
  4281.  
  4282. end
  4283. function critsound(pitch)
  4284.  
  4285. end
  4286. function sheath(pitch)
  4287.  
  4288. end
  4289. function shieldbash(pitch)
  4290.  
  4291. end
  4292. function magicsound(pitch)
  4293.  
  4294. end
  4295. function abscond(pitch)
  4296.  
  4297. end
  4298. function Charge(pitch)
  4299.  
  4300. end
  4301. function MagicMayhemUltimaSounds()
  4302.  
  4303. end ]]
  4304.  
  4305. Damagefunc1=function(hit,Damage,Knockback)
  4306. if attackdebounce == false then
  4307. attackdebounce = true
  4308. coroutine.resume(coroutine.create(function()
  4309. wait(0.1)
  4310. attackdebounce = false
  4311. end))
  4312. if hit.Parent==nil then
  4313. return
  4314. end
  4315. CPlayer=Bin
  4316. h=hit.Parent:FindFirstChild("Humanoid")
  4317. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4318. if mana < 400 then
  4319. mana = mana + math.random(5,15)
  4320. end
  4321. if mana > 400 then
  4322. mana = 400
  4323. end
  4324. Damage=Damage
  4325. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4326. return
  4327. end]]
  4328. c=Instance.new("ObjectValue")
  4329. c.Name="creator"
  4330. c.Value=game.Players.LocalPlayer
  4331. c.Parent=h
  4332. game:GetService("Debris"):AddItem(c,.5)
  4333. -- print(c.Value)
  4334. if math.random(0,99)+math.random()<=7.8 then
  4335. CRIT=true
  4336. Damage=Damage*3
  4337. --[[ Knockback=Knockback*2
  4338. r=Instance.new("BodyAngularVelocity")
  4339. r.P=3000
  4340. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4341. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4342. r.Parent=hit.Parent.Torso]]
  4343. critsound(2)
  4344.  
  4345. end
  4346. Damage=Damage+math.random(0,10)
  4347. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  4348. h:TakeDamage(Damage)
  4349. showDamage(hit.Parent,Damage,.5)
  4350. vp=Instance.new("BodyVelocity")
  4351. vp.P=500
  4352. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4353. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4354. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  4355. if Knockback>0 then
  4356. vp.Parent=hit.Parent.Torso
  4357. end
  4358. game:GetService("Debris"):AddItem(vp,.25)
  4359. --[[ r=Instance.new("BodyAngularVelocity")
  4360. r.P=3000
  4361. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4362. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4363. r.Parent=hit.Parent.Torso]]
  4364. game:GetService("Debris"):AddItem(r,.5)
  4365. c=Instance.new("ObjectValue")
  4366. c.Name="creator"
  4367. c.Value=Player
  4368. c.Parent=h
  4369. game:GetService("Debris"):AddItem(c,.5)
  4370. CRIT=false
  4371. hitDeb=true
  4372. AttackPos=6
  4373. end
  4374. end
  4375. end
  4376.  
  4377. Damagefunc2=function(hit,Damage,Knockback)
  4378. if attackdebounce == false then
  4379. attackdebounce = true
  4380. coroutine.resume(coroutine.create(function()
  4381. wait(0.1)
  4382. attackdebounce = false
  4383. end))
  4384. if hit.Parent==nil then
  4385. return
  4386. end
  4387. CPlayer=Bin
  4388. h=hit.Parent:FindFirstChild("Humanoid")
  4389. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4390. if mana < 400 then
  4391. mana = mana + math.random(5,15)
  4392. end
  4393. if mana > 400 then
  4394. mana = 400
  4395. end
  4396. Damage=Damage
  4397. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4398. return
  4399. end]]
  4400. c=Instance.new("ObjectValue")
  4401. c.Name="creator"
  4402. c.Value=game.Players.LocalPlayer
  4403. c.Parent=h
  4404. game:GetService("Debris"):AddItem(c,.5)
  4405. -- print(c.Value)
  4406. if math.random(0,99)+math.random()<=7.8 then
  4407. CRIT=true
  4408. Damage=Damage*3
  4409. --[[ Knockback=Knockback*2
  4410. r=Instance.new("BodyAngularVelocity")
  4411. r.P=3000
  4412. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4413. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4414. r.Parent=hit.Parent.Torso]]
  4415. critsound(2)
  4416.  
  4417. end
  4418. Damage=Damage+math.random(0,10)
  4419. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  4420. h:TakeDamage(Damage)
  4421. showDamage(hit.Parent,Damage,.5)
  4422. vl=Instance.new("BodyVelocity")
  4423. vl.P=4500
  4424. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4425. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
  4426. vl.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  4427. if Knockback>0 then
  4428. vl.Parent=hit.Parent.Torso
  4429. end
  4430. game:GetService("Debris"):AddItem(vl,.2)
  4431. rl=Instance.new("BodyAngularVelocity")
  4432. rl.P=3000
  4433. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4434. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4435. if Knockback>0 then
  4436. rl.Parent=hit.Parent.Torso
  4437. end
  4438. game:GetService("Debris"):AddItem(rl,.2)
  4439. c=Instance.new("ObjectValue")
  4440. c.Name="creator"
  4441. c.Value=Player
  4442. c.Parent=h
  4443. game:GetService("Debris"):AddItem(c,.5)
  4444. CRIT=false
  4445. hitDeb=true
  4446. AttackPos=6
  4447. end
  4448. end
  4449. end
  4450.  
  4451.  
  4452. Bash=function(hit,Damage) --credits to turdulator for making this function :D
  4453. if attackdebounce == false then
  4454. attackdebounce = true
  4455. coroutine.resume(coroutine.create(function()
  4456. wait(0.1)
  4457. attackdebounce = false
  4458. end))
  4459. if hit.Parent==nil then
  4460. return
  4461. end
  4462. h=hit.Parent:FindFirstChild("Humanoid")
  4463. t=hit.Parent:FindFirstChild("Torso")
  4464. if h~=nil and t~=nil then
  4465. if h.Parent==Character then
  4466. return
  4467. end
  4468. if mana < 400 then
  4469. mana = mana + math.random(5,15)
  4470. end
  4471. if mana > 400 then
  4472. mana = 400
  4473. end
  4474. shieldbash(1)
  4475. if math.random(0,99)+math.random()<=7.8 then
  4476. CRIT=true
  4477. Damage=Damage*3
  4478. --[[ Knockback=Knockback*2
  4479. r=Instance.new("BodyAngularVelocity")
  4480. r.P=3000
  4481. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4482. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4483. r.Parent=hit.Parent.Torso]]
  4484. critsound(2)
  4485.  
  4486. end
  4487. h:TakeDamage(Damage)
  4488. showDamage(hit.Parent,Damage,.5)
  4489. vl=Instance.new("BodyVelocity")
  4490. vl.P=4500
  4491. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4492. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
  4493. vl.velocity=Head.CFrame.lookVector*35+Head.Velocity/1.05
  4494. vl.Parent=t
  4495. game:GetService("Debris"):AddItem(vl,.2)
  4496. rl=Instance.new("BodyAngularVelocity")
  4497. rl.P=3000
  4498. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4499. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4500. rl.Parent=t
  4501. game:GetService("Debris"):AddItem(rl,.2)
  4502. else
  4503. if hit.CanCollide==false then
  4504. return
  4505. end
  4506. MagicCom:disconnect()
  4507. -- DBExplode(DB)
  4508. end
  4509. end
  4510. end
  4511.  
  4512. UpBlast=function(hit,Damage) --credits to turdulator for making this function :D
  4513. if hit.Parent==nil then
  4514. return
  4515. end
  4516. h=hit.Parent:FindFirstChild("Humanoid")
  4517. t=hit.Parent:FindFirstChild("Torso")
  4518. if h~=nil and t~=nil then
  4519. if h.Parent==Character then
  4520. return
  4521. end
  4522. if mana < 400 then
  4523. mana = mana + math.random(10,20)
  4524. end
  4525. if mana > 400 then
  4526. mana = 400
  4527. end
  4528. if math.random(0,99)+math.random()<=7.8 then
  4529. CRIT=true
  4530. Damage=Damage*3
  4531. --[[ Knockback=Knockback*2
  4532. r=Instance.new("BodyAngularVelocity")
  4533. r.P=3000
  4534. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4535. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4536. r.Parent=hit.Parent.Torso]]
  4537. critsound(2)
  4538.  
  4539. end
  4540. h:TakeDamage(Damage)
  4541. showDamage(hit.Parent,Damage,.5)
  4542. vl=Instance.new("BodyVelocity")
  4543. vl.P=4500
  4544. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4545. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  4546. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,45,0)
  4547. vl.Parent=t
  4548. game:GetService("Debris"):AddItem(vl,.2)
  4549. rl=Instance.new("BodyAngularVelocity")
  4550. rl.P=3000
  4551. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4552. -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  4553. local tes = math.random(1,2)
  4554. if tes == 1 then
  4555. rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
  4556. elseif tes == 2 then
  4557. rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
  4558. end
  4559. rl.Parent=t
  4560. game:GetService("Debris"):AddItem(rl,.2)
  4561. else
  4562. if hit.CanCollide==false then
  4563. return
  4564. end
  4565. MagicCom:disconnect()
  4566. -- DBExplode(DB)
  4567. end
  4568. end
  4569.  
  4570. UltimaMagicMayhemDamage=function(hit,Damage) --credits to turdulator for making this function :D
  4571. if hit.Parent==nil then
  4572. return
  4573. end
  4574. h=hit.Parent:FindFirstChild("Humanoid")
  4575. t=hit.Parent:FindFirstChild("Torso")
  4576. if h~=nil and t~=nil then
  4577. if h.Parent==Character then
  4578. return
  4579. end
  4580. if math.random(0,99)+math.random()<=7.8 then
  4581. CRIT=true
  4582. Damage=Damage*10
  4583. --[[ Knockback=Knockback*2
  4584. r=Instance.new("BodyAngularVelocity")
  4585. r.P=3000
  4586. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4587. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4588. r.Parent=hit.Parent.Torso]]
  4589. critsound(2)
  4590.  
  4591. end
  4592. h:TakeDamage(Damage)
  4593. showDamage(hit.Parent,Damage,.5)
  4594. vl=Instance.new("BodyVelocity")
  4595. vl.P=4500
  4596. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4597. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  4598. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,600,0)
  4599. vl.Parent=t
  4600. game:GetService("Debris"):AddItem(vl,.2)
  4601. rl=Instance.new("BodyAngularVelocity")
  4602. rl.P=3000
  4603. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4604. -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  4605. local tes = math.random(1,2)
  4606. if tes == 1 then
  4607. rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
  4608. elseif tes == 2 then
  4609. rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
  4610. end
  4611. rl.Parent=t
  4612. game:GetService("Debris"):AddItem(rl,.2)
  4613. else
  4614. if hit.CanCollide==false then
  4615. return
  4616. end
  4617. MagicCom:disconnect()
  4618. -- DBExplode(DB)
  4619. end
  4620. end
  4621.  
  4622. showDamage=function(Char,Dealt,du)
  4623. m=Instance.new("Model")
  4624. m.Name=tostring(Dealt)
  4625. h=Instance.new("Humanoid")
  4626. h.Health=0
  4627. h.MaxHealth=0
  4628. h.Parent=m
  4629. c=Instance.new("Part")
  4630. c.Transparency=0
  4631. c.BrickColor=BrickColor:Red()
  4632. if CRIT==true then
  4633. c.BrickColor=BrickColor.new("Really red")
  4634. end
  4635. c.Name="Head"
  4636. c.TopSurface=0
  4637. c.BottomSurface=0
  4638. c.formFactor="Plate"
  4639. c.Size=Vector3.new(1,.4,1)
  4640. ms=Instance.new("CylinderMesh")
  4641. ms.Bevel=.1
  4642. ms.Scale=Vector3.new(.8,.8,.8)
  4643. if CRIT==true then
  4644. ms.Scale=Vector3.new(1.25,1.5,1.25)
  4645. ms.Bevel=.2
  4646. end
  4647. ms.Parent=c
  4648. c.Reflectance=0
  4649. Instance.new("BodyGyro").Parent=c
  4650. c.Parent=m
  4651. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4652. f=Instance.new("BodyPosition")
  4653. f.P=2000
  4654. f.D=100
  4655. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4656. f.position=c.Position+Vector3.new(0,3,0)
  4657. f.Parent=c
  4658. game:GetService("Debris"):AddItem(m,.5+du)
  4659. c.CanCollide=false
  4660. m.Parent=workspace
  4661. c.CanCollide=false
  4662. end
  4663.  
  4664. hold = false
  4665.  
  4666. function ob1d(mouse)
  4667. if guarding == true then
  4668. if bashing == true then return end
  4669. Bashem()
  4670. return
  4671. end
  4672. if attack == true then return end
  4673. hold = true
  4674. if Style == "Normal" then
  4675. if mode == "Normal" then
  4676. if combo == 0 then
  4677. onehit()
  4678. coroutine.resume(coroutine.create(function()
  4679. wait(0.5)
  4680. if attack == false then
  4681. combo = 0
  4682. for i = 0,1,0.2 do
  4683. wait(0)
  4684. LW.C0 = CFrame.new(-1.5,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(1.3-1.3*i,1.57-1.57*i,0)
  4685. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4686. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4687. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4688. end
  4689. end
  4690. end))
  4691. elseif combo == 1 then
  4692. twohit()
  4693. coroutine.resume(coroutine.create(function()
  4694. wait(0.5)
  4695. if attack == false then
  4696. combo = 0
  4697. for i = 0,1,0.2 do
  4698. wait()
  4699. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0)
  4700. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4701. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4702. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4703. end
  4704. end
  4705. end))
  4706. elseif combo == 2 then
  4707. threehit()
  4708. coroutine.resume(coroutine.create(function()
  4709. wait(0.5)
  4710. if attack == false then
  4711. combo = 0
  4712. for i = 0,1,0.2 do
  4713. wait()
  4714. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  4715. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
  4716. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-2.2*i,0,0)
  4717. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
  4718. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4719. end
  4720. sheath(2.25)
  4721. wait(0.05)
  4722. weld1.Part0 = part1
  4723. weld1.Part1 = prt1
  4724. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  4725. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  4726. wait(0.1)
  4727. for i = 0,1,0.1 do
  4728. wait()
  4729. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  4730. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  4731. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  4732. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
  4733. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4734. end
  4735. end
  4736. end))
  4737. elseif combo == 3 then
  4738. fourhit()
  4739. coroutine.resume(coroutine.create(function()
  4740. wait(0.5)
  4741. if attack == false then
  4742. combo = 0
  4743. for i = 0,1,0.2 do
  4744. wait()
  4745. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  4746. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  4747. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  4748. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
  4749. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4750. end
  4751. sheath(2.25)
  4752. wait(0.05)
  4753. weld1.Part0 = part1
  4754. weld1.Part1 = prt1
  4755. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  4756. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  4757. wait(0.1)
  4758. for i = 0,1,0.1 do
  4759. wait()
  4760. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  4761. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  4762. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  4763. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
  4764. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4765. end
  4766. end
  4767. end))
  4768. elseif combo == 4 then
  4769. fivehit()
  4770. coroutine.resume(coroutine.create(function()
  4771. wait(0.5)
  4772. if attack == false then
  4773. combo = 0
  4774. attack = true
  4775. gairo.Parent = nil
  4776. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  4777. for i = 0,1,0.1 do
  4778. wait()
  4779. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
  4780. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  4781. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  4782. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+1.37-0.87*i,1*i,1-1*i)
  4783. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4784. end
  4785. --[[LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  4786. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  4787. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
  4788. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) ]]
  4789. sheath(2.25)
  4790. wait(0.05)
  4791. weld1.Part0 = part1
  4792. weld1.Part1 = prt1
  4793. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
  4794. weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  4795. wait(0.1)
  4796. for i = 0,1,0.1 do
  4797. wait()
  4798. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  4799. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  4800. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  4801. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
  4802. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4803. end
  4804. attack = false
  4805. end
  4806. end))
  4807. end
  4808. elseif mode == "Attack" then
  4809. if combo == 0 then
  4810. oneslash()
  4811. coroutine.resume(coroutine.create(function()
  4812. wait(0.5)
  4813. if attack == false then
  4814. combo = 0
  4815. for i = 0,1,0.1 do
  4816. wait(0)
  4817. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-3*i,0,0)
  4818. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4819. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4820. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4821. end
  4822. end
  4823. end))
  4824. elseif combo == 1 then
  4825. twoslash()
  4826. coroutine.resume(coroutine.create(function()
  4827. wait(0.5)
  4828. if attack == false then
  4829. combo = 0
  4830. for i = 0,1,0.1 do
  4831. wait(0)
  4832. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-1.43-1.57*i,0,1.57-1.57*i)
  4833. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3-3*i,1.57-1.57*i,0)
  4834. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4835. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4836. end
  4837. end
  4838. end))
  4839. elseif combo == 2 then
  4840. threeslash()
  4841. coroutine.resume(coroutine.create(function()
  4842. wait(0.5)
  4843. if attack == false then
  4844. combo = 0
  4845. for i = 0,1,0.1 do
  4846. wait(0)
  4847. weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)-math.rad(90)*i,0,math.rad(90)-math.rad(90)+math.rad(90)*i) * CFrame.new(0,1,0)
  4848. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,3.57-3.57*i)
  4849. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4-4*i,3.57-3.57*i,0)
  4850. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4851. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4852. end
  4853. end
  4854. end))
  4855. elseif combo == 3 then
  4856. fourslash()
  4857. coroutine.resume(coroutine.create(function()
  4858. wait(0.5)
  4859. if attack == false then
  4860. combo = 0
  4861. for i = 0,1,0.1 do
  4862. wait(0)
  4863. LW.C0 = CFrame.new(-1.5,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-1.57*i)
  4864. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3-3*i,1.57-1.57*i,0)
  4865. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  4866. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4867. end
  4868. end
  4869. end))
  4870. end
  4871. end
  4872. elseif Style == "MagicMayhem" then
  4873. if combo == 0 then
  4874. castone()
  4875. coroutine.resume(coroutine.create(function()
  4876. wait(0.5)
  4877. if attack == false then
  4878. combo = 0
  4879. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4880. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4881. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4882. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4883. end
  4884. end))
  4885. elseif combo == 1 then
  4886. casttwo()
  4887. coroutine.resume(coroutine.create(function()
  4888. wait(0.5)
  4889. if attack == false then
  4890. combo = 0
  4891. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4892. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4893. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4894. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4895. end
  4896. end))
  4897. elseif combo == 2 then
  4898. castthree()
  4899. coroutine.resume(coroutine.create(function()
  4900. wait(0.5)
  4901. if attack == false then
  4902. combo = 0
  4903. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4904. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4905. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4906. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4907. end
  4908. end))
  4909. end
  4910. --[[castone()
  4911. casttwo()
  4912. castthree() ]]
  4913. elseif Style == "WingBlade" then
  4914. if combo == 0 then
  4915. combo = 1
  4916. wingbladeslashone()
  4917. coroutine.resume(coroutine.create(function()
  4918. wait(0.5)
  4919. if attack == false then
  4920. combo = 0
  4921. WingBladeEffect(0,1,0,0,1,0)
  4922. WingBladeEffect(0,0,0,0,0,0)
  4923. wingblade2.Transparency = 0.4
  4924. wingblade5.Transparency = 0.4
  4925. for i = 0,1,0.1 do
  4926. wait(0)
  4927. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,-0.5+0.5*i)
  4928. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4929. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0.5-0.5*i)
  4930. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4931. end
  4932. end
  4933. end))
  4934. elseif combo == 1 then
  4935. combo = 2
  4936. wingbladeslashtwo()
  4937. coroutine.resume(coroutine.create(function()
  4938. wait(0.5)
  4939. if attack == false then
  4940. combo = 0
  4941. wait(0.3)
  4942. WingBladeEffect(0,1,1,0,1,1)
  4943. wingblade2.Transparency = 0.4
  4944. wingblade5.Transparency = 0.4
  4945. wingblade3.Transparency = 0.4
  4946. wingblade6.Transparency = 0.4
  4947. for i = 0,1,0.1 do
  4948. wait(0)
  4949. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  4950. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4951. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-2*i,0,-1+1*i)
  4952. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4953. end
  4954. end
  4955. end))
  4956. elseif combo == 2 then
  4957. combo = 3
  4958. wingbladeslashthree()
  4959. coroutine.resume(coroutine.create(function()
  4960. wait(0.5)
  4961. if attack == false then
  4962. combo = 0
  4963. WingBladeEffect(1,1,1,1,1,1)
  4964. wingblade2.Transparency = 0.4
  4965. wingblade5.Transparency = 0.4
  4966. wingblade3.Transparency = 0.4
  4967. wingblade6.Transparency = 0.4
  4968. wingblade1.Transparency = 0.4
  4969. wingblade4.Transparency = 0.4
  4970. for i = 0,1,0.1 do
  4971. wait()
  4972. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-2+2*i)
  4973. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4974. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,2-2*i)
  4975. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4976. end
  4977. end
  4978. end))
  4979. elseif combo == 3 then
  4980. combo = 4
  4981. wingbladeslashfour()
  4982. coroutine.resume(coroutine.create(function()
  4983. wait(0.5)
  4984. if attack == false then
  4985. combo = 0
  4986. WingBladeEffect(1,1,1,1,1,1)
  4987. wingblade2.Transparency = 0.4
  4988. wingblade5.Transparency = 0.4
  4989. wingblade3.Transparency = 0.4
  4990. wingblade6.Transparency = 0.4
  4991. wingblade1.Transparency = 0.4
  4992. wingblade4.Transparency = 0.4
  4993. for i = 0,1,0.1 do
  4994. wait()
  4995. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-2+2*i)
  4996. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4997. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-0.86+0.86*i)
  4998. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4999. end
  5000. end
  5001. end))
  5002. end
  5003. wait(1.5)
  5004. --[[wingblade1.Transparency = 0.4
  5005. wingblade3.Transparency = 0.4
  5006. wingblade4.Transparency = 0.4
  5007. wingblade6.Transparency = 0.4 ]]
  5008. end
  5009. end
  5010.  
  5011. function ob1u(mouse)
  5012. hold = false
  5013. end
  5014.  
  5015. buttonhold = false
  5016.  
  5017. function key(key)
  5018. if attack == true then return end
  5019. if Style == "Normal" then
  5020. if key == "q" then
  5021. changeequipleft()
  5022. end
  5023. if key == "e" then
  5024. changeequipright()
  5025. end
  5026. if key == "h" then
  5027. if mana >= 200 then
  5028. mana = 400
  5029. StyleChange()
  5030. end
  5031. end
  5032. if key == "z" then
  5033. holddash = true
  5034. ShieldDash()
  5035. end
  5036. if mode == "Normal" then
  5037. if key == "x" then
  5038. MegaHit()
  5039. end
  5040. elseif mode == "Attack" then
  5041. if key == "x" then
  5042. ArsSolum()
  5043. end
  5044. end
  5045. end
  5046. if Style == "WingBlade" then
  5047. if key == "z" and SwordRaging == true then
  5048. SwordRageZ()
  5049. coroutine.resume(coroutine.create(function()
  5050. wait(0.5)
  5051. if attack == false then
  5052. SwordRaging = false
  5053. EndSwordRage()
  5054. end
  5055. end))
  5056. end
  5057. if key == "x" and SwordRaging == true then
  5058. SwordRageX()
  5059. coroutine.resume(coroutine.create(function()
  5060. wait(0.5)
  5061. if attack == false then
  5062. SwordRaging = false
  5063. EndSwordRage()
  5064. end
  5065. end))
  5066. end
  5067. if key == "c" and SwordRaging == true then
  5068. SwordRageC()
  5069. coroutine.resume(coroutine.create(function()
  5070. wait(0.5)
  5071. if attack == false then
  5072. SwordRaging = false
  5073. EndSwordRage()
  5074. end
  5075. end))
  5076. end
  5077. if SwordRaging == false then
  5078. if key == "z" then
  5079. SwordRaid()
  5080. end
  5081. if key == "x" then
  5082. SwordRage()
  5083. coroutine.resume(coroutine.create(function()
  5084. wait(0.5)
  5085. if attack == false then
  5086. SwordRaging = false
  5087. EndSwordRage()
  5088. end
  5089. end))
  5090. end
  5091. end
  5092. end
  5093. if Style == "MagicMayhem" then
  5094. if combo == 0 then
  5095. if key == "z" then
  5096. barragehold = true
  5097. MagicBarrage()
  5098. end
  5099. if key == "x" then
  5100. regening = true
  5101. Regening()
  5102. end
  5103. end
  5104. if key == "z" then
  5105. if combo == 1 then
  5106. castfour()
  5107. end
  5108. end
  5109. if key == "x" then
  5110. if combo == 1 then
  5111. casttwo()
  5112. end
  5113. end
  5114. if key == "c" then
  5115. if combo == 1 then
  5116. castfive()
  5117. end
  5118. end
  5119. end
  5120. if key == "f" then
  5121. if Style ~= "WingBlade" then
  5122. guard()
  5123. end
  5124. end
  5125. if key == "g" then
  5126. ChangeElement()
  5127. end
  5128. if key == "j" and Style ~= "Normal" then
  5129. Ultima()
  5130. --ULTRAUltima()
  5131. end
  5132. if key == "k" then
  5133. if Style == "WingBlade" then
  5134. wingblade1.Parent = nil
  5135. wingblade2.Parent = nil
  5136. wingblade3.Parent = nil
  5137. wingblade4.Parent = nil
  5138. wingblade5.Parent = nil
  5139. wingblade6.Parent = nil
  5140. equipweld()
  5141. end
  5142. Style = "Normal"
  5143. end
  5144. end
  5145.  
  5146. function key2(key)
  5147. if key == "f" then
  5148. guarding = false
  5149. end
  5150. if key == "z" then
  5151. holddash = false
  5152. barragehold = false
  5153. end
  5154. if key == "x" then
  5155. regening = false
  5156. end
  5157. end
  5158.  
  5159. function s(mouse)
  5160. mouse.Button1Down:connect(function() ob1d(mouse) end)
  5161. mouse.Button1Up:connect(function() ob1u(mouse) end)
  5162. mouse.KeyDown:connect(key)
  5163. mouse.KeyUp:connect(key2)
  5164. player = Player
  5165. ch = Character
  5166. RSH = ch.Torso["Right Shoulder"]
  5167. LSH = ch.Torso["Left Shoulder"]
  5168. --
  5169. RW.Part0 = ch.Torso
  5170. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  5171. RW.C1 = CFrame.new(0, 0.5, 0)
  5172. RW.Part1 = ch["Right Arm"]
  5173. RW.Parent = ch.Torso
  5174. --_G.R = RW
  5175. --
  5176. LW.Part0 = ch.Torso
  5177. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  5178. LW.C1 = CFrame.new(0, 0.5, 0)
  5179. LW.Part1 = ch["Left Arm"]
  5180. LW.Parent = ch.Torso
  5181. --_G.L = LW
  5182. --
  5183. equipanim()
  5184. end
  5185.  
  5186. function ds(mouse)
  5187. hideanim()
  5188. RW.Parent = nil
  5189. LW.Parent = nil
  5190. RSH.Parent = player.Character.Torso
  5191. LSH.Parent = player.Character.Torso
  5192. end
  5193.  
  5194. Bin.Selected:connect(s)
  5195. Bin.Deselected:connect(ds)
  5196.  
  5197. function onRunning(speed)
  5198. if attack == true then return end
  5199. if speed>0 then
  5200. walking = true
  5201. for i = 0,1,0.2 do
  5202. wait(0)
  5203. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,0)
  5204. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  5205. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.8*i,0,0)
  5206. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  5207. end
  5208. else
  5209. walking = false
  5210. for i = 0,1,0.1 do
  5211. wait(0)
  5212. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.8+0.8*i,0,0)
  5213. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  5214. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.8+0.8*i,0,0)
  5215. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  5216. end
  5217.  
  5218. end
  5219. end
  5220. Character.Humanoid.Running:connect(onRunning)
  5221.  
  5222. while true do
  5223. wait(0)
  5224. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  5225. fentext.Text = "Mana("..mana..")"
  5226. if element == "Light" then
  5227. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  5228. elseif element == "Dark" then
  5229. fentext3.BackgroundColor3 = Color3.new(0,0,0)
  5230. end
  5231. if Style == "WingBlade" then
  5232. wait(0.1)
  5233. coroutine.resume(coroutine.create(function()
  5234. if idleanimdelay == false and SwordRaging == false then
  5235. idleanimdelay = true
  5236. for i = 0,math.random(10,25),0.1 do
  5237. wait()
  5238. if attack == false and SwordRaging == false then
  5239. willidleanim = true
  5240. else
  5241. willidleanim = false
  5242. end
  5243. end
  5244. if willidleanim == true then
  5245. idleanim()
  5246. end
  5247. idleanimdelay = false
  5248. end
  5249. end))
  5250. meh = findNearestTorso(Character.Torso.Position)
  5251. local target = findNearestTorso(Character.Torso.Position)
  5252. if element == "Light" then
  5253. wingblade1.BrickColor = BrickColor.new("White")
  5254. wingblade2.BrickColor = BrickColor.new("White")
  5255. wingblade3.BrickColor = BrickColor.new("White")
  5256. wingblade4.BrickColor = BrickColor.new("White")
  5257. wingblade5.BrickColor = BrickColor.new("White")
  5258. wingblade6.BrickColor = BrickColor.new("White")
  5259. elseif element == "Dark" then
  5260. wingblade1.BrickColor = BrickColor.new("Black")
  5261. wingblade2.BrickColor = BrickColor.new("Black")
  5262. wingblade3.BrickColor = BrickColor.new("Black")
  5263. wingblade4.BrickColor = BrickColor.new("Black")
  5264. wingblade5.BrickColor = BrickColor.new("Black")
  5265. wingblade6.BrickColor = BrickColor.new("Black")
  5266. end
  5267. end
  5268. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement