Advertisement
memberhero

fixed script 5

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