memberhero

Armatae

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