Advertisement
Hebablazin

Armate Sword

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