Guest User

Untitled

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