Advertisement
Dark_EccentricYT

Untitled

Jun 27th, 2018
5,212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.97 KB | None | 0 0
  1. -- Remake of Armatae by Mii_BrawIer
  2. wait(.1)
  3. local play = game.Players.LocalPlayer
  4. local char = play.Character
  5. local LeftArm = char["Left Arm"]
  6. local RightArm = char["Right Arm"]
  7. local LeftLeg = char["Left Leg"]
  8. local RightLeg = char["Right Leg"]
  9. local spawned = false
  10. local debounce = false
  11. local asdrot = 0
  12. local bouncing = false
  13. local mode = "Combo"
  14. local mana = 200
  15. local change = 0
  16. local rage = false
  17. local explosion = false
  18. local golden = false
  19. local equipped = true
  20. local parry = true
  21. local equipcheck = false
  22. local charge = 1
  23. local orb = false
  24. local throwing = false
  25. local sped = 1
  26. local riding = false
  27. local sine = 0
  28. local torsovel = 0
  29. local sit = false
  30. local ult = false
  31. local charging = false
  32. local combo = 1
  33. local Anim = "wot"
  34. local attack = false
  35. local NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  36. char.Humanoid.Animator:Destroy()
  37. char.Animate:Destroy()
  38. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  39. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  40. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  41. RSH = nil
  42. RW = Instance.new("Weld")
  43. LW = Instance.new("Weld")
  44. RH = char.Torso["Right Hip"]
  45. LH = char.Torso["Left Hip"]
  46. RSH = char.Torso["Right Shoulder"]
  47. LSH = char.Torso["Left Shoulder"]
  48. RSH.Parent = nil
  49. LSH.Parent = nil
  50. RW.Name = "RW"
  51. RW.Part0 = char.Torso
  52. RW.C0 = CFrame.new(1.5, 0.5, 0)
  53. RW.C1 = CFrame.new(0, 0.5, 0)
  54. RW.Part1 = RightArm
  55. RW.Parent = char.Torso
  56. LW.Name = "LW"
  57. LW.Part0 = char.Torso
  58. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  59. LW.C1 = CFrame.new(0, 0.5, 0)
  60. LW.Part1 = LeftArm
  61. LW.Parent = char.Torso
  62.  
  63. clerp = function(a, b, t)
  64.  
  65. return a:lerp(b, t)
  66. end
  67.  
  68. local model = Instance.new("Model", char)
  69. model.Name = "weapon parts go here!"
  70. local weapon = Instance.new("Model", model)
  71. weapon.Name = "weapon"
  72. local nolagplease = Instance.new("Model", char)
  73. nolagplease.Name = "block spam goes here"
  74.  
  75.  
  76. block = function(cfram,size,expansize,transp,color,kind)
  77. local p = Instance.new("Part", nolagplease)
  78. p.CFrame = cfram
  79. p.Size = Vector3.new(1,1,1)
  80. local pm = Instance.new("BlockMesh", p)
  81. pm.Scale = size
  82. p.Anchored = true
  83. p.Material = "Neon"
  84. p.CanCollide = false
  85. p.BrickColor = color
  86. if kind == 3 then
  87.  
  88. pm:Destroy()
  89. p.Size = size
  90. p.CanCollide = true
  91. p.Touched:connect(function(hit)
  92. if debounce == false then
  93. if hit.Parent.Humanoid then
  94. debounce = true
  95. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5
  96. wait()
  97. debounce = false
  98. end
  99. end
  100. end)
  101. end
  102. coroutine.resume(coroutine.create(function()
  103. while p.Transparency < 1 do
  104. if kind == 3 then
  105. p.Transparency = p.Transparency + transp
  106. p.Size = p.Size + expansize
  107. else
  108.  
  109. p.Transparency = p.Transparency + transp
  110. pm.Scale = pm.Scale + expansize
  111. end
  112. if kind == 1 then
  113. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
  114. end
  115. wait()
  116. end
  117. p:Destroy()
  118. end))
  119. end
  120.  
  121.  
  122. local wave = function(cframe,color,v1,v2,trans,typ)
  123. local p = Instance.new("Part", nolagplease)
  124. p.BrickColor = color
  125. p.Transparency = 0
  126. p.Anchored = true
  127. p.CFrame = cframe
  128. if typ == 1 then
  129. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
  130. end
  131. p.CanCollide = false
  132. local pm = Instance.new("SpecialMesh", p)
  133. pm.MeshType = "FileMesh"
  134. pm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  135. pm.Scale = v1
  136. coroutine.resume(coroutine.create(function()
  137. while p.Transparency < 1 do
  138. wait()
  139. pm.Scale = pm.Scale + v2
  140. p.Transparency = p.Transparency + trans
  141. if typ == 1 then
  142. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
  143. end
  144. end
  145. p:Remove()
  146. end))
  147. end
  148.  
  149. local screengu = Instance.new("ScreenGui", play.PlayerGui)
  150. screengu.Enabled = true
  151.  
  152. local fram = Instance.new("Frame",screengu)
  153. fram.Position = UDim2.new(0.83,0,.46, 0)
  154. fram.Size = UDim2.new(0.156, 0,0.487, 0)
  155. fram.Style = "RobloxRound"
  156.  
  157. local makegui = function(pos1,pos2,tex)
  158. local a = Instance.new("TextLabel",fram)
  159. a.Size = UDim2.new(1, 0,.05, 0)
  160. a.Text = tex
  161. a.Position = UDim2.new(pos1,0,pos2,0)
  162. a.TextScaled = true
  163. a.TextColor3 = char.Torso.Color
  164. a.TextXAlignment = "Left"
  165. a.BackgroundTransparency = 1
  166. coroutine.resume(coroutine.create(function()
  167. if tex == "[X]" then
  168. while true do
  169. if equipcheck == false then
  170. if equipped == true then
  171. a.Text = "[X] Spin Attack [35]"
  172. elseif equipped == false then
  173. if parry == true then
  174. a.Text = "[X] Parry [35]"
  175. elseif parry == false then
  176. a.Text = "[X] Forced Parry [15]"
  177. end
  178. end
  179. else
  180. a.Text = "[X] Hexagon Trap [150]"
  181. end
  182. wait(.1)
  183. end
  184. end
  185.  
  186. if tex == "[E]" then
  187. while true do
  188. if ult == false then
  189. if equipped == true then
  190. a.Text = "[E] Unequip"
  191. elseif equipped == false then
  192. a.Text = "[E] Equip"
  193. end
  194. end
  195. if ult == true then
  196. a.Text = "[E] Exit Ult"
  197. end
  198. wait(.1)
  199. end
  200. end
  201.  
  202. if tex == "[C]" then
  203. while true do
  204. if ult == false then
  205. a.Text = "[C] Orbs [7/s]"
  206. end
  207. if ult == true then
  208. if equipcheck == true then
  209. a.Text = "[C] Orbs [11/s]"
  210. else
  211. a.Text = "[C] Ultimate Orbs [11/s]"
  212. end
  213. end
  214. wait(.1)
  215. end
  216. end
  217.  
  218. if tex == "[H]" then
  219. while true do
  220. if equipped == true then
  221. if ult == false then
  222. a.Text = "[H] Sword Ult Mode [200]"
  223. end
  224. elseif equipped == false then
  225. if ult == false then
  226. a.Text = "[H] Magic Ult Mode [200]"
  227. else
  228. if equipcheck == false then
  229. a.Text = "[H] Magic Ult [400]"
  230. else
  231. a.Text = "[H] Sword Ult [400]"
  232. end
  233. end
  234. end
  235. wait(.1)
  236. end
  237. end
  238.  
  239. if tex == "[Z]" then
  240. while true do
  241. if ult == false then
  242. a.Text = "[Z] Shield Dash [25]"
  243. else
  244. if equipcheck == true then
  245. a.Text = "[Z] Sword Bounce [25]"
  246. end
  247. end
  248. wait(.1)
  249. end
  250. end
  251.  
  252. end))
  253. end
  254.  
  255. local bar = Instance.new("Frame",screengu)
  256. bar.Position = UDim2.new(.83,0,.385,0)
  257. bar.Size = UDim2.new(0.156,0,0.055,0)
  258. bar.Style = "RobloxRound"
  259.  
  260. local neg = Instance.new("Frame", bar)
  261. neg.Position = UDim2.new(0,0,0,0)
  262. neg.Size = UDim2.new(1,0,0.6,0)
  263. neg.BackgroundColor3 = Color3.fromRGB(0,0,0)
  264. neg.BorderColor3 = char.Torso.Color
  265.  
  266. local a = Instance.new("TextBox",neg)
  267. a.Size = UDim2.new(1, 0,1, 0)
  268. a.Position = UDim2.new(0, 0, 1, 0)
  269. a.TextXAlignment = "Center"
  270. coroutine.resume(coroutine.create(function()
  271. while true do
  272. a.Text = "Mana : "..math.floor(mana)..""
  273. wait()
  274. end
  275. end))
  276. a.TextScaled = true
  277. a.TextColor3 = char.Torso.Color
  278. a.BackgroundTransparency = 1
  279.  
  280. local manabar = Instance.new("Frame", neg)
  281. manabar.Position = UDim2.new(0,0,0,0)
  282. manabar.Size = UDim2.new(0,0,0,0)
  283. manabar.BackgroundColor3 = char.Torso.Color
  284. manabar.BorderColor3 = Color3.fromRGB(0,0,0)
  285. coroutine.resume(coroutine.create(function()
  286. while true do
  287. manabar.Size = UDim2(0,mana*1.4,0,30)
  288. wait()
  289. end
  290. end))
  291.  
  292. makegui(0,0,"[E]")
  293. makegui(0,.12,"[Z]")
  294. makegui(0,.18,"[X]")
  295. makegui(0,.24,"[C]")
  296. makegui(0,.36,"[H]")
  297. makegui(0,.36,"[H]")
  298.  
  299.  
  300.  
  301.  
  302. part = function(wel,cancollid,size,shape,r,g,b,transp,mat,weldpart,c0,nam)
  303. local mat2 = "wow"
  304. if mat == 1 then
  305. mat2 = "Marble"
  306. end
  307. if mat == 2 then
  308. mat2 = "Granite"
  309. end
  310. if mat == 3 then
  311. mat2 = "Metal"
  312. end
  313. if mat == 4 then
  314. mat2 = "SmoothPlastic"
  315. end
  316. if mat == 5 then
  317. mat2 = "Wood"
  318. end
  319. if mat == 6 then
  320. mat2 = "Neon"
  321. end
  322. if shape ~= "Wedge" then
  323. local q = Instance.new("Part", weapon)
  324. q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  325. q.Shape = shape
  326. q.Size = size
  327. q.Transparency = transp
  328. q.Color = Color3.new(r,g,b)
  329. q.Material = mat2
  330. if r == 1 and g == 0 and b == 0 then
  331. q.BrickColor = char.Torso.BrickColor
  332. end
  333. q.FrontSurface = "Smooth"
  334. q.BackSurface = "Smooth"
  335. q.LeftSurface = "Smooth"
  336. q.RightSurface = "Smooth"
  337. q.BottomSurface = "Smooth"
  338. q.TopSurface = "Smooth"
  339. if cancollid == 1 then
  340. q.CanCollide = false
  341. end
  342. q.Name = nam
  343. if wel == 1 then
  344. local qw = Instance.new("Weld", q)
  345. qw.Part0 = weldpart
  346. qw.Part1 = q
  347. qw.C0 = c0
  348. end
  349. end
  350. if shape == "Wedge" then
  351. local q = Instance.new("WedgePart", weapon)
  352. q.Size = size
  353. q.Transparency = transp
  354. q.Color = Color3.new(r,g,b)
  355. if r == 1 and g == 0 and b == 0 then
  356. q.BrickColor = char.Torso.BrickColor
  357. end
  358. q.Material = mat2
  359. if cancollid == 1 then
  360. q.CanCollide = false
  361. end
  362. q.Name = nam
  363. local qw = Instance.new("Weld", q)
  364. qw.Part0 = weldpart
  365. qw.Part1 = q
  366. qw.C0 = c0
  367. end
  368. end
  369.  
  370. local sword1 = Instance.new("Part", weapon)
  371. sword1.CanCollide = false
  372. sword1.Transparency = 1
  373. sword1.BrickColor = BrickColor.new("Institutional white")
  374. local mesh1 = Instance.new("SpecialMesh", sword1)
  375. mesh1.MeshType = "FileMesh"
  376. mesh1.MeshId = "rbxasset://fonts/sword.mesh"
  377. local weld1 = Instance.new("Weld", sword1)
  378. weld1.Part0 = char.Torso
  379. weld1.Part1 = sword1
  380. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
  381.  
  382. local sword2 = Instance.new("Part", weapon)
  383. sword2.CanCollide = false
  384. sword2.Transparency = 1
  385. sword2.BrickColor = BrickColor.new("Institutional white")
  386. local mesh2 = Instance.new("SpecialMesh", sword2)
  387. mesh2.MeshType = "FileMesh"
  388. mesh2.MeshId = "rbxasset://fonts/sword.mesh"
  389. local weld2 = Instance.new("Weld", sword2)
  390. weld2.Part0 = char.Torso
  391. weld2.Part1 = sword2
  392. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
  393.  
  394. local sword11 = Instance.new("Part", weapon)
  395. sword11.CanCollide = false
  396. sword11.Transparency = 1
  397. sword11.BrickColor = BrickColor.new("Institutional white")
  398. local mesh11 = Instance.new("SpecialMesh", sword11)
  399. mesh11.MeshType = "FileMesh"
  400. mesh11.MeshId = "rbxasset://fonts/sword.mesh"
  401. local weld11 = Instance.new("Weld", sword11)
  402. weld11.Part0 = char.Torso
  403. weld11.Part1 = sword11
  404. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
  405.  
  406. local sword21 = Instance.new("Part", weapon)
  407. sword21.CanCollide = false
  408. sword21.Transparency = 1
  409. sword21.BrickColor = BrickColor.new("Institutional white")
  410. local mesh21 = Instance.new("SpecialMesh", sword21)
  411. mesh21.MeshType = "FileMesh"
  412. mesh21.MeshId = "rbxasset://fonts/sword.mesh"
  413. local weld21 = Instance.new("Weld", sword21)
  414. weld21.Part0 = char.Torso
  415. weld21.Part1 = sword21
  416. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
  417.  
  418. local sword12 = Instance.new("Part", weapon)
  419. sword12.CanCollide = false
  420. sword12.Transparency = 1
  421. sword12.BrickColor = BrickColor.new("Institutional white")
  422. local mesh12 = Instance.new("SpecialMesh", sword12)
  423. mesh12.MeshType = "FileMesh"
  424. mesh12.MeshId = "rbxasset://fonts/sword.mesh"
  425. local weld12 = Instance.new("Weld", sword12)
  426. weld12.Part0 = char.Torso
  427. weld12.Part1 = sword12
  428. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
  429.  
  430. local sword22 = Instance.new("Part", weapon)
  431. sword22.CanCollide = false
  432. sword22.Transparency = 1
  433. sword22.BrickColor = BrickColor.new("Institutional white")
  434. local mesh22 = Instance.new("SpecialMesh", sword22)
  435. mesh22.MeshType = "FileMesh"
  436. mesh22.MeshId = "rbxasset://fonts/sword.mesh"
  437. local weld22 = Instance.new("Weld", sword22)
  438. weld22.Part0 = char.Torso
  439. weld22.Part1 = sword22
  440. weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
  441.  
  442.  
  443.  
  444. part(1,1,Vector3.new(1,1,1),"Block",0,0,0,1,2,LeftArm,CFrame.new(0,-1,0),"ST")
  445. part(1,1,Vector3.new(1.3333345651627,0.66666728258133,1.3333345651627),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,RightArm,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Handle2")
  446. part(1,1,Vector3.new(0.50000047683716,0.66666728258133,0.50000047683716),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,-0.71837568283081)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  447. part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,-1.5707963267949,1.5707963267949),"Wedge")
  448. part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
  449. part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
  450. part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
  451. part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
  452. part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
  453. part(1,1,Vector3.new(1.666668176651,0.50000047683716,1.666668176651),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block")
  454. part(1,1,Vector3.new(2.0000019073486,0.50000071525574,2.0000019073486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0,-0.080000519752502,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block")
  455. part(1,1,Vector3.new(0.66666728258133,0.50000047683716,1.0000009536743),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.88214945793152,0.0033442378044128,0.87925684452057)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  456. part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  457. part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.84344428777695,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,0.78539816339745,0),"Block")
  458. part(1,1,Vector3.new(0.66666728258133,0.66666728258133,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,0.080440580844879)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  459. part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  460. part(1,1,Vector3.new(0.91666752099991,0.50000047683716,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0.91161245107651,0.0033442378044128,0.90871953964233)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  461. part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.82322382926941,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
  462.  
  463. part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Block",0.63921570777893,0.63529413938522,0.64705884456635,1,1,LeftArm,CFrame.new(0.15389770269394,-0.20993836224079,-0.37024655938148)*CFrame.fromOrientation(0.75258595481783,2.3242549329229,1.9734437799037),"Handle")
  464. part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block")
  465. part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block")
  466. part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.0054092407226563)*CFrame.fromOrientation(0,1.5707963267949,0),"Cylinder")
  467. part(1,1,Vector3.new(0.59409826993942,0.14852456748486,2.2278685569763),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block")
  468. part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
  469. part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
  470. part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
  471. part(1,1,Vector3.new(0.089114740490913,0.59409826993942,0.59409826993942),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
  472. part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Ball",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,4.4263770426767e-09,0.44016432762146)*CFrame.fromOrientation(0,0,0),"Ball")
  473. part(1,1,Vector3.new(0.11881965398788,0.44557368755341,0.44557368755341),"Cylinder",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
  474. part(1,1,Vector3.new(0.29704913496971,0.29704913496971,2.2278685569763),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block")
  475. part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
  476. part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(-0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
  477. part(1,1,Vector3.new(1.4852457046509,0.14852456748486,0.14852456748486),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block")
  478. part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block")
  479.  
  480.  
  481. --[[
  482. coroutine.resume(coroutine.create(function()
  483. .Touched:connect(function(hit)
  484. game:service'RunService'.RenderStepped:connect(function()
  485.  
  486. end)
  487. game:GetService("Debris"):AddItem(p, 1)
  488. local d = char:GetChildren()
  489. for i=1, #d do
  490. d[i]
  491. end
  492. end
  493. ]]
  494.  
  495. CreateSound = function(id, par, vol, pit)
  496.  
  497. coroutine.resume(coroutine.create(function()
  498.  
  499. local sou = Instance.new("Sound", par)
  500. sou.Volume = vol
  501. sou.Pitch = pit
  502. sou.SoundId = id
  503. wait()
  504. sou:play()
  505. game:GetService("Debris"):AddItem(sou, 6)
  506. end
  507. ))
  508. end
  509.  
  510.  
  511. rayCast = function(Position, Direction, Range, Ignore)
  512.  
  513. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  514. end
  515.  
  516. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  517.  
  518. local laza = Instance.new("Part", nolagplease)
  519. laza.CanCollide = false
  520. if golden == false then
  521. laza.BrickColor = brickcolor
  522. end
  523. if golden == true then
  524. laza.BrickColor = BrickColor.new("New Yeller")
  525. end
  526. laza.Size = Vector3.new(0.5,0.5,0.5)
  527. laza.Anchored = true
  528. laza.CFrame = cframe
  529. laza.Material = "Neon"
  530. local msh = Instance.new("CylinderMesh",laza)
  531. msh.Scale = Vector3.new(x1,y1,z1)
  532. game:GetService("Debris"):AddItem(laza, 10)
  533. coroutine.resume(coroutine.create(function(Part, Mesh)
  534.  
  535. for i = 0, 1, delay do
  536. wait()
  537. Part.Transparency = i
  538. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  539. end
  540. Part.Parent = nil
  541. end
  542. ), laza, msh)
  543. end
  544.  
  545. shoottrail = function(mouse, partt, SpreadAmount, multiply)
  546.  
  547. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  548. local ActualPosition = partt.Position
  549. local MainPos2 = Vector3.new()
  550. if mouse == play:GetMouse() then
  551. MainPos2 = mouse.Hit.p + SpreadVectors
  552. else
  553. MainPos2 = mouse.Position
  554. end
  555. local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2)
  556. local distance = 150
  557. if rage == true then
  558. distance = distance * 2
  559. end
  560. local remainder = 1
  561. local charge2 = charge
  562. charge = 1
  563. coroutine.resume(coroutine.create(function()
  564.  
  565. repeat
  566. wait()
  567. local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent)
  568. local magnitude = (ActualPosition - pos).magnitude
  569. Laser(char.Torso.BrickColor, CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0), 3, magnitude *(-distance / (distance / 2)), 3, -.1, 0, -.1, .1)
  570. ActualPosition = ActualPosition + MouseLook.lookVector * distance
  571. remainder = remainder - 1
  572. --MouseLook = MouseLook * CFrame.Angles(-.01,0, 0)
  573. if hit ~= nil then
  574. remainder = 0
  575. end
  576. do
  577. if remainder <= 0 then
  578. local magnblock = Instance.new("Part", nolagplease)
  579. magnblock.Transparency = 1
  580. magnblock.CanCollide = false
  581. magnblock.Anchored = true
  582. magnblock.CFrame = CFrame.new(pos)
  583. block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,char.Torso.BrickColor,1)
  584. magn(10,magnblock,7)
  585. game:GetService("Debris"):AddItem(magnblock, 0.1)
  586. end
  587. end
  588. until remainder <= 0
  589. end
  590. ))
  591. end
  592.  
  593. shoottrail2 = function(mouse, partt, SpreadAmount, multiply)
  594.  
  595. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  596. local MainPos = partt.Position
  597. local MainPos2 = Vector3.new()
  598. if mouse == play:GetMouse() then
  599. MainPos2 = mouse.Hit.p + SpreadVectors
  600. else
  601. MainPos2 = mouse.Position
  602. end
  603. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  604. local speed = 30
  605. if rage == true then
  606. speed = speed * 2
  607. end
  608. local remainder = 5
  609. local charge2 = charge
  610. charge = 1
  611. coroutine.resume(coroutine.create(function()
  612.  
  613. repeat
  614. wait()
  615. MainPos2 = mouse.Hit.p + SpreadVectors
  616. MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
  617. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, char.HumanoidRootPart.Parent)
  618. local mag = (MainPos - pos).magnitude
  619. Laser(BrickColor.new("Institutional white"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag *(-speed / (speed / 2)), 1, -.1, 0, -.1, .3)
  620. MainPos = MainPos + MouseLook.lookVector * speed
  621. remainder = remainder - 1
  622. if hit ~= nil then
  623. remainder = 0
  624. local refpart = Instance.new("Part", nolagplease)
  625. refpart.Transparency = 1
  626. refpart.CanCollide = false
  627. refpart.Anchored = true
  628. refpart.CFrame = CFrame.new(pos)
  629. game:GetService("Debris"):AddItem(refpart, 2)
  630. end
  631. do
  632. if remainder <= 0 then
  633. local refpart = Instance.new("Part", nolagplease)
  634. refpart.Transparency = 1
  635. refpart.CanCollide = false
  636. refpart.Anchored = true
  637. refpart.CFrame = CFrame.new(pos)
  638. block(CFrame.new(pos),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.1,BrickColor.new("Really black"),1)
  639. magn(6,refpart,2)
  640. --CreateSound("http://www.roblox.com/asset/?id=10209590",refpart,1,1)
  641. game:GetService("Debris"):AddItem(refpart, 0.1)
  642. end
  643. end
  644. until remainder <= 0
  645. end
  646. ))
  647. end
  648.  
  649. swordthrow = function(mouse, partt, SpreadAmount, multiply, sword, reweldc0)
  650. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  651. local ActualPosition = partt.Position
  652. local MainPos2 = Vector3.new()
  653. local kappa = 0
  654. if mouse == play:GetMouse() then
  655. MainPos2 = mouse.Hit.p + SpreadVectors
  656. else
  657. MainPos2 = mouse.Position
  658. end
  659. local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2)
  660. local distance = 4
  661. local remainder = 25
  662. local reweld = sword.Weld.Part0
  663. sword.Weld.Part0 = sword
  664. sword.Anchored = true
  665. coroutine.resume(coroutine.create(function()
  666.  
  667. repeat
  668. wait()
  669. throwing = true
  670. local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent)
  671. local magnitude = (ActualPosition - pos).magnitude
  672. kappa = kappa + 30
  673. sword.CFrame = CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(-kappa),0,math.rad(90))
  674. ActualPosition = ActualPosition + MouseLook.lookVector * distance
  675. remainder = remainder - 1
  676. --MouseLook = MouseLook * CFrame.Angles(-.01,0, 0)
  677. if hit ~= nil then
  678. remainder = 0
  679. end
  680. do
  681. if remainder <= 0 then
  682. local magnblock = Instance.new("Part", nolagplease)
  683. magnblock.Transparency = 1
  684. magnblock.CanCollide = false
  685. magnblock.Anchored = true
  686. magnblock.CFrame = CFrame.new(pos)
  687. block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,BrickColor.new("Really black"),1)
  688. magn(10,magnblock,7)
  689. game:GetService("Debris"):AddItem(magnblock, 0.1)
  690. end
  691. end
  692. until remainder <= 0
  693. while attack == true do
  694. sword.Transparency = 1
  695. wait()
  696. end
  697. sword.Transparency = 0.4
  698. sword.Anchored = false
  699. sword.Weld.Part0 = char.Torso
  700. sword.Weld.C0 = reweldc0
  701.  
  702. block(sword.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  703. throwing = false
  704. end
  705. ))
  706. end
  707.  
  708. magn = function(dam,par,dist)
  709.  
  710. for _,c in pairs(workspace:children()) do
  711. local hum = c:findFirstChild("Humanoid")
  712. if hum ~= nil then
  713. local head = c:findFirstChild("Torso")
  714. if head ~= nil then
  715. local targ = head.Position - par.Position
  716. local mag = targ.magnitude
  717. if mag <= dist and c.Name ~= play.Name then
  718. hum.Health = hum.Health - dam * (hum.MaxHealth/100)
  719. mana = mana + dam/5
  720. if ult == true and equipcheck == false then
  721. mana = mana + dam/5
  722. end
  723. if ult == true and equipcheck == true then
  724. char.Humanoid.Health = char.Humanoid.Health + dam/5
  725. end
  726. end
  727. end
  728. end
  729. end
  730. end
  731.  
  732. magna = function(dam,par,dist)
  733.  
  734. for _,c in pairs(workspace:children()) do
  735. local hum = c:findFirstChild("Humanoid")
  736. if hum ~= nil then
  737. local head = c:findFirstChild("Torso")
  738. if head ~= nil then
  739. local targ = head.Position - par.Position
  740. local mag = targ.magnitude
  741. if mag <= dist then
  742. hum.Health = hum.Health - dam * (hum.MaxHealth/100)
  743. end
  744. end
  745. end
  746. end
  747. end
  748.  
  749. local pasthp = 0
  750.  
  751. part = function(wel,cancollid,size,shape,color,transp,mat,weldpart,c0,nam)
  752. if shape ~= "Wedge" then
  753. local q = Instance.new("Part", weapon)
  754. q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  755. q.Shape = shape
  756. q.Size = size
  757. q.Transparency = transp
  758. q.BrickColor = color
  759. q.Material = mat
  760. q.FrontSurface = "Smooth"
  761. q.BackSurface = "Smooth"
  762. q.LeftSurface = "Smooth"
  763. q.RightSurface = "Smooth"
  764. q.BottomSurface = "Smooth"
  765. q.TopSurface = "Smooth"
  766. if cancollid == 1 then
  767. q.CanCollide = false
  768. end
  769. q.Name = nam
  770. if wel == 1 then
  771. local qw = Instance.new("Weld", q)
  772. qw.Part0 = weldpart
  773. qw.Part1 = q
  774. qw.C0 = c0
  775. end
  776. end
  777. if shape == "Wedge" then
  778. local q = Instance.new("WedgePart", weapon)
  779. q.Size = size
  780. q.Transparency = transp
  781. q.BrickColor = color
  782. q.Material = mat
  783. if cancollid == 1 then
  784. q.CanCollide = false
  785. end
  786. q.Name = nam
  787. local qw = Instance.new("Weld", q)
  788. qw.Part0 = weldpart
  789. qw.Part1 = q
  790. qw.C0 = c0
  791. end
  792. end
  793.  
  794.  
  795. attack1 = function()
  796. attack = true
  797. local kekke = 0
  798. for i = 0, 1, 0.1 do
  799. wait()
  800. kekke = kekke + 8
  801. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(kekke+70)), 0.3)
  802. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  803. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
  804. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  805. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  806. end
  807. for i = 0, 1, 0.1 do
  808. wait()
  809. magn(1.5,weapon.Handle2,4)
  810. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  811. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  812. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  814. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  815. end
  816. attack = false
  817. end
  818.  
  819. attack2 = function()
  820. attack = true
  821. local kekke = 0
  822. for i = 0, 1, 0.1 do
  823. wait()
  824. kekke = kekke + 20
  825. magn(3,weapon.Handle,4)
  826. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke+70)), 1)
  827. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
  829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.3)
  830. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  831. end
  832. attack = false
  833. end
  834.  
  835. swordattack3 = function()
  836. attack = true
  837. local kekke = 0
  838. for i = 0, 1, 0.1 do
  839. wait()
  840. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  841. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  842. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3)
  843. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3)
  844. end
  845. weld11.Part0 = LeftArm
  846. weld21.Part0 = RightArm
  847. weld21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
  848. weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
  849. for i = 0, 1, 0.2 do
  850. wait()
  851. magn(1,sword11,4)
  852. magn(1,sword21,4)
  853. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  854. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  855. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  856. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  857. end
  858. for i = 0, 1, 0.2 do
  859. wait()
  860.  
  861. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  862. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  863. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(45)), 0.6)
  864. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(-60), math.rad(45)), 0.6)
  865. end
  866. magn(7.5,sword21,4)
  867. for i = 0, 1, 0.2 do
  868. wait()
  869. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  870. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  871. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(60), math.rad(-45)), 0.6)
  872. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-45)), 0.6)
  873. end
  874. magn(7.5,sword11,4)
  875. for i = 0, 1, 0.2 do
  876. wait()
  877. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  878. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  879. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(40), math.rad(-45)), 0.6)
  880. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(-40), math.rad(45)), 0.6)
  881. end
  882. magn(7.5,sword11,4)
  883. magn(7.5,sword21,4)
  884. for i = 0, 1, 0.2 do
  885. wait()
  886. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  887. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  888. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(45), math.rad(45)), 0.6)
  889. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(-45), math.rad(-45)), 0.6)
  890. end
  891. weld11.Part0 = char.Torso
  892. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
  893. weld21.Part0 = char.Torso
  894. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
  895. block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  896. block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  897. attack = false
  898. end
  899.  
  900. swordattack4 = function()
  901. attack = true
  902. local kekke = 0
  903. for i = 0, 1, 0.1 do
  904. wait()
  905. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  906. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  907. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3)
  908. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  909. end
  910. weld12.Part0 = LeftArm
  911. weld22.Part0 = RightArm
  912. weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
  913. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
  914. for i = 0, 1, 0.2 do
  915. wait()
  916. magn(1,sword11,4)
  917. magn(1,sword21,4)
  918. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3)
  919. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3)
  920. end
  921. swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4))
  922. for i = 0, 1, 0.2 do
  923. wait()
  924. magn(1,sword11,4)
  925. magn(1,sword21,4)
  926. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3)
  927. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  928. end
  929. swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4))
  930. for i = 0, 1, 0.2 do
  931. wait()
  932. magn(1,sword11,4)
  933. magn(1,sword21,4)
  934. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  935. end
  936. attack = false
  937. end
  938.  
  939. swordattack5 = function()
  940. attack = true
  941. local kekke = 60
  942. for i = 0, 1, 0.2 do
  943. wait()
  944. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  945. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  946. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3)
  947. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3)
  948. end
  949. weld1.Part0 = LeftArm
  950. weld2.Part0 = RightArm
  951. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0)
  952. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0)
  953. for i = 0, 1, 0.2 do
  954. wait()
  955. magn(1,sword11,4)
  956. magn(1,sword21,4)
  957. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3)
  958. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3)
  959. end
  960. while kekke > -120 do
  961. wait()
  962. magn(1,sword1,2)
  963. magn(1,sword2,2)
  964. kekke = kekke - 7
  965. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180+kekke*15),0) * CFrame.new(0,-1,0)
  966. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180-kekke*15),0) * CFrame.new(0,-1,0)
  967. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3)
  968. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3)
  969. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  970. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  971. end
  972. attack = false
  973. weld1.Part0 = char.Torso
  974. weld2.Part0 = char.Torso
  975. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
  976. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
  977. block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  978. block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  979. end
  980.  
  981. swordattack6 = function()
  982. attack = true
  983. local sworda = Instance.new("Part", char)
  984. sworda.CanCollide = false
  985. sworda.Transparency = 1
  986. local aw = Instance.new("Weld", sworda)
  987. aw.Part0 = sworda
  988. aw.Part1 = char.HumanoidRootPart
  989. local kekke = 0
  990. for i = 0, 1, 0.2 do
  991. wait()
  992. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  993. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  994. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  995. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  996. end
  997. sword1.Weld.Part0 = sworda
  998. sword2.Weld.Part0 = sworda
  999. sword11.Weld.Part0 = sworda
  1000. sword21.Weld.Part0 = sworda
  1001. sword12.Weld.Part0 = sworda
  1002. sword22.Weld.Part0 = sworda
  1003. sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
  1004. sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
  1005. sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
  1006. sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
  1007. sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
  1008. sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
  1009. block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1010. block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1011. block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1012. block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1013. block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1014. block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1015. while kekke > -120 do
  1016. wait()
  1017. kekke = kekke - 3.5
  1018. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
  1019. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
  1020. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
  1021. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1022. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1023. end
  1024. for i = 0,1,0.1 do
  1025. wait()
  1026. magn(1,sword1,4)
  1027. magn(1,sword2,4)
  1028. magn(1,sword11,4)
  1029. magn(1,sword21,4)
  1030. magn(1,sword12,4)
  1031. magn(1,sword22,4)
  1032. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
  1033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1034. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1035. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1036. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1037. end
  1038. kekke = 28
  1039. while kekke >= 0 do
  1040. wait()
  1041. kekke = kekke - 0.4
  1042. magn(1*(kekke/28),sword1,4)
  1043. magn(1*(kekke/28),sword2,4)
  1044. magn(1*(kekke/28),sword11,4)
  1045. magn(1*(kekke/28),sword21,4)
  1046. magn(1*(kekke/28),sword12,4)
  1047. magn(1*(kekke/28),sword22,4)
  1048. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(kekke),0)
  1049. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1050. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1051. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1052. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1053. end
  1054. attack = false
  1055. weld1.Part0 = char.Torso
  1056. weld2.Part0 = char.Torso
  1057. weld11.Part0 = char.Torso
  1058. weld21.Part0 = char.Torso
  1059. weld12.Part0 = char.Torso
  1060. weld22.Part0 = char.Torso
  1061. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
  1062. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
  1063. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
  1064. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
  1065. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
  1066. weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
  1067. block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1068. block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1069. block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1070. block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1071. block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1072. block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1073. sworda:Destroy()
  1074.  
  1075. end
  1076.  
  1077. swordult = function()
  1078. attack = true
  1079. local sworda = Instance.new("Part", char)
  1080. sworda.CanCollide = false
  1081. sworda.Transparency = 1
  1082. local aw = Instance.new("Weld", sworda)
  1083. aw.Part0 = sworda
  1084. aw.Part1 = char.HumanoidRootPart
  1085. local kekke = 0
  1086. for i = 0, 1, 0.2 do
  1087. wait()
  1088. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1089. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1090. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1091. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1092. end
  1093. sword1.Weld.Part0 = sworda
  1094. sword2.Weld.Part0 = sworda
  1095. sword11.Weld.Part0 = sworda
  1096. sword21.Weld.Part0 = sworda
  1097. sword12.Weld.Part0 = sworda
  1098. sword22.Weld.Part0 = sworda
  1099. sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
  1100. sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
  1101. sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
  1102. sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
  1103. sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
  1104. sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
  1105. block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1106. block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1107. block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1108. block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1109. block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1110. block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1111. while kekke > -135 do
  1112. wait()
  1113. kekke = kekke - 1
  1114. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
  1115. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45-kekke)), 0.6)
  1116. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.6)
  1117. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1118. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1119. end
  1120. local spinneblock = Instance.new("Part", char)
  1121. spinneblock.CanCollide = false
  1122. spinneblock.Transparency = 1
  1123. local spinneweld = Instance.new("Weld",spinneblock)
  1124. spinneweld.Part0 = spinneblock
  1125. spinneweld.Part1 = char.Torso
  1126. local spinnemesh = Instance.new("SpecialMesh", spinneblock)
  1127. spinnemesh.MeshType = "FileMesh"
  1128. spinnemesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1129. spinnemesh.Scale = Vector3.new(4,6,4)
  1130. spinneblock.BrickColor = char.Torso.BrickColor
  1131. for i = 0,1,0.1 do
  1132. wait()
  1133. magn(1,sword1,4)
  1134. magn(1,sword2,4)
  1135. magn(1,sword11,4)
  1136. magn(1,sword21,4)
  1137. magn(1,sword12,4)
  1138. magn(1,sword22,4)
  1139. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
  1140. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1141. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1142. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1143. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1144. end
  1145. kekke = 0
  1146. char.Humanoid.AutoRotate = false
  1147. char.Humanoid.WalkSpeed = 64
  1148. for i = 0,1,0.005 do
  1149. wait()
  1150. spinneblock.Transparency = spinneblock.Transparency - 0.01
  1151. kekke = kekke + 30
  1152. magn(2,sword1,6)
  1153. magn(2,sword2,6)
  1154. magn(2,sword11,6)
  1155. magn(2,sword21,6)
  1156. magn(2,sword12,6)
  1157. magn(2,sword22,6)
  1158. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
  1159. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1160. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), .6)
  1161. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1162. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1163. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1164. end
  1165. attack = false
  1166. char.Humanoid.AutoRotate = true
  1167. weld1.Part0 = char.Torso
  1168. weld2.Part0 = char.Torso
  1169. weld11.Part0 = char.Torso
  1170. weld21.Part0 = char.Torso
  1171. weld12.Part0 = char.Torso
  1172. weld22.Part0 = char.Torso
  1173. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
  1174. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
  1175. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
  1176. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
  1177. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
  1178. weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
  1179. sworda:Destroy()
  1180. spinneblock:Destroy()
  1181. ult = false
  1182. weapon.Handle2.Weld.Part0 = RightArm
  1183. sword1.Transparency = 1
  1184. sword2.Transparency = 1
  1185. sword11.Transparency = 1
  1186. sword21.Transparency = 1
  1187. sword12.Transparency = 1
  1188. sword22.Transparency = 1
  1189. char.Humanoid.Health = 1
  1190. mana = mana - 400
  1191. end
  1192.  
  1193. swordspin = function()
  1194. attack = true
  1195. local thrown = false
  1196. local side = false
  1197. local sworda = Instance.new("Part", char)
  1198. sworda.CanCollide = false
  1199. sworda.Transparency = 1
  1200. local aw = Instance.new("Weld", sworda)
  1201. aw.Part0 = sworda
  1202. aw.Part1 = char.HumanoidRootPart
  1203. local kekke = 0
  1204. for i = 0, 1, 0.2 do
  1205. wait()
  1206. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1207. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1208. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1209. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1210. end
  1211. sword1.Weld.Part0 = sworda
  1212. sword2.Weld.Part0 = sworda
  1213. sword11.Weld.Part0 = sworda
  1214. sword21.Weld.Part0 = sworda
  1215. sword12.Weld.Part0 = sworda
  1216. sword22.Weld.Part0 = sworda
  1217. sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
  1218. sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
  1219. sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
  1220. sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
  1221. sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
  1222. sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
  1223. while kekke > -120 do
  1224. wait()
  1225. kekke = kekke - 3.5
  1226. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
  1227. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
  1228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
  1229. --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1230. --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
  1231. end
  1232. coroutine.resume(coroutine.create(function()
  1233. swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) )
  1234. side = true
  1235. wait(.42)
  1236. swordthrow(play:GetMouse(),sword1,0,0,sword1, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) )
  1237. side = false
  1238. wait(.42)
  1239. swordthrow(play:GetMouse(),sword2,0,0,sword2, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) )
  1240. side = true
  1241. wait(.42)
  1242. swordthrow(play:GetMouse(),sword11,0,0,sword11, CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) )
  1243. side = false
  1244. wait(.42)
  1245. swordthrow(play:GetMouse(),sword21,0,0,sword21, CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) )
  1246. side = true
  1247. wait(.42)
  1248. swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) )
  1249. side = false
  1250. wait(.42)
  1251. thrown = true
  1252. end))
  1253. while thrown == false do
  1254. wait()
  1255. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
  1256.  
  1257. if side == true then
  1258. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1259. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)
  1260. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1261. else
  1262. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)
  1263. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)
  1264. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)
  1265. end
  1266. end
  1267. attack = false
  1268. sworda:Destroy()
  1269. end
  1270.  
  1271. swordcombo = function()
  1272. attack = true
  1273. local thrown = false
  1274. local side = false
  1275. local sworda = Instance.new("Part", char)
  1276. sworda.CanCollide = false
  1277. sworda.Transparency = 1
  1278. local aw = Instance.new("Weld", sworda)
  1279. aw.Part0 = sworda
  1280. aw.Part1 = char.HumanoidRootPart
  1281. local kekke = 0
  1282. for i = 0, 1, 0.2 do
  1283. wait()
  1284. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1285. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1286. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1287. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  1288. end
  1289. sword1.Weld.Part0 = sworda
  1290. sword2.Weld.Part0 = sworda
  1291. sword11.Weld.Part0 = sworda
  1292. sword21.Weld.Part0 = sworda
  1293. sword12.Weld.Part0 = sworda
  1294. sword22.Weld.Part0 = sworda
  1295. sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(90)) * CFrame.new(0,0,4)
  1296. sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(90)) * CFrame.new(0,0,4)
  1297. sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90)) * CFrame.new(0,0,4)
  1298. sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(90)) * CFrame.new(0,0,4)
  1299. sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(90)) * CFrame.new(0,0,4)
  1300. sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(90)) * CFrame.new(0,0,4)
  1301. while kekke > -180 do
  1302. wait()
  1303. kekke = kekke - 4
  1304. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-4),0)
  1305. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke/2)), 0.3)
  1306. sword1.Weld.C0 = clerp(sword1.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1307. sword2.Weld.C0 = clerp(sword2.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1308. sword11.Weld.C0 = clerp(sword11.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1309. sword21.Weld.C0 = clerp(sword21.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1310. sword12.Weld.C0 = clerp(sword12.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1311. sword22.Weld.C0 = clerp(sword22.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
  1312. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke/2)), 0.3)
  1313. end
  1314. coroutine.resume(coroutine.create(function()
  1315.  
  1316. end))
  1317. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-20),0)
  1318. block(sword2.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
  1319. block(sword12.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
  1320. block(sword11.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
  1321. block(sword22.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
  1322. block(sword1.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
  1323. block(sword21.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
  1324. attack = false
  1325. weld1.Part0 = char.Torso
  1326. weld2.Part0 = char.Torso
  1327. weld11.Part0 = char.Torso
  1328. weld21.Part0 = char.Torso
  1329. weld12.Part0 = char.Torso
  1330. weld22.Part0 = char.Torso
  1331. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
  1332. weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
  1333. weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
  1334. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
  1335. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
  1336. weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
  1337. block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1338. block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1339. block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1340. block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1341. block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1342. block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
  1343. sworda:Destroy()
  1344. end
  1345.  
  1346. attack3 = function()
  1347. attack = true
  1348. for i = 0, 1, 0.1 do
  1349. wait()
  1350. magn(2,LeftArm,2)
  1351. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1,1,1),Vector3.new(.1,.1,.1),.1,char.Torso.BrickColor,1)
  1352. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1353. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1)
  1356. end
  1357. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
  1358. for i = 0, 1, 0.1 do
  1359. wait()
  1360. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1.5,1.5,1.5),Vector3.new(.1,.1,.1),.2,char.Torso.BrickColor,1)
  1361. magn(2,LeftArm,2)
  1362. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1363. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1364. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1365. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1366. end
  1367. attack = false
  1368. end
  1369.  
  1370. attack4 = function()
  1371. attack = true
  1372. for i = 0, 1, 0.1 do
  1373. wait()
  1374. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1375. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1376. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3)
  1377. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1)
  1378. end
  1379. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
  1380. shoottrail(weapon.ST,LeftArm,0,1)
  1381. for i = 0, 1, 0.1 do
  1382. wait()
  1383. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1384. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1385. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3)
  1386. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1)
  1387. end
  1388. attack = false
  1389. end
  1390.  
  1391. magicattack3 = function()
  1392. attack = true
  1393. local kekke = 0
  1394. local shotsfired = 0
  1395. for i = 0, 1, 0.1 do
  1396. wait()
  1397. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
  1398. magn(0.3,LeftArm,6)
  1399. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1400. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1401. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1402. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1)
  1403. end
  1404. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Institutional white"),1)
  1405. magn(10,LeftArm,5)
  1406. local a4 = Instance.new("Part", char)
  1407. a4.Anchored = true
  1408. a4.CanCollide = false
  1409. a4.Transparency = 1
  1410. a4.Size = Vector3.new(1,1,1)
  1411. a4.CFrame = LeftArm.CFrame * CFrame.new(0,-1,0)
  1412. coroutine.resume(coroutine.create(function()
  1413. while shotsfired < 5 do
  1414. kekke = kekke + 1
  1415. block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
  1416. if kekke >= 15 then
  1417. kekke = 0
  1418. block(a4.CFrame,Vector3.new(10,10,10),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
  1419. magn(5,a4,5)
  1420. shotsfired = shotsfired + 1
  1421. end
  1422. wait()
  1423. end
  1424. a4:Destroy()
  1425. end))
  1426. for i = 0, 1, 0.1 do
  1427. wait()
  1428. block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
  1429. magn(1,LeftArm,6)
  1430. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1431. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1432. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1433. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1434. end
  1435. attack = false
  1436. end
  1437.  
  1438. magicattack4 = function()
  1439. attack = true
  1440. local kekke = 0
  1441. local shotsfired = 0
  1442. for i = 0, 1, 0.1 do
  1443. wait()
  1444. block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
  1445. magn(0.3,RightArm,6)
  1446. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1447. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), .3)
  1449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
  1450. end
  1451. block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1)
  1452. magn(10,RightArm,5)
  1453. local a4 = Instance.new("Part", char)
  1454. a4.Anchored = true
  1455. a4.CanCollide = false
  1456. a4.Transparency = 1
  1457. a4.Size = Vector3.new(1,1,1)
  1458. a4.CFrame = RightArm.CFrame * CFrame.new(0,-1,0)
  1459. coroutine.resume(coroutine.create(function()
  1460. while shotsfired < 5 do
  1461. kekke = kekke + 1
  1462. block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
  1463. if kekke >= 15 then
  1464. kekke = 0
  1465. shoottrail2(play:GetMouse(),a4,0,0)
  1466. shotsfired = shotsfired + 1
  1467. end
  1468. wait()
  1469. end
  1470. a4:Destroy()
  1471. end))
  1472. for i = 0, 1, 0.1 do
  1473. wait()
  1474. block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
  1475. magn(1,RightArm,6)
  1476. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1477. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1478. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1479. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1480. end
  1481. attack = false
  1482. end
  1483.  
  1484.  
  1485. shieldbash = function()
  1486. attack = true
  1487. local kekke = 0
  1488. for i = 0, 1, 0.1 do
  1489. wait()
  1490. kekke = kekke + 8
  1491. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1492. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1493. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
  1494. if equipped == true then
  1495. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
  1496. end
  1497. if equipped == false then
  1498. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1499. end
  1500. end
  1501. char.Humanoid.Jump = true
  1502. for i = 0, 1, 0.1 do
  1503. wait()
  1504. char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150
  1505. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.04,char.Torso.BrickColor,1)
  1506. magn(3,char.Torso,5)
  1507. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),char.Torso.BrickColor,Vector3.new(2.5,2.5,2.5),Vector3.new(0.5,0,.5),0.04,2)
  1508. end
  1509. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
  1510. magn(10,char.Torso,15)
  1511. for i = 0, 1, 0.1 do
  1512. wait()
  1513. magn(1.5,weapon.Handle2,4)
  1514. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1515. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1516. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1517. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1518. end
  1519. attack = false
  1520. end
  1521.  
  1522. teleportback = function()
  1523. attack = true
  1524. parry = false
  1525. char.Humanoid.WalkSpeed = 4
  1526. local kekke = 0
  1527. while parry == false do
  1528. wait()
  1529. kekke = kekke + 8
  1530. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1531. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1532. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1533. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1534. end
  1535. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
  1536. magn(20,char.Torso,15)
  1537. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
  1538. char.Humanoid.WalkSpeed = 16
  1539. attack = false
  1540. end
  1541.  
  1542. supershieldbash = function()
  1543. attack = true
  1544. local kekke = 0
  1545. for i = 0, 1, 0.1 do
  1546. wait()
  1547. kekke = kekke + 8
  1548. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1549. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1550. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
  1551. if equipped == true then
  1552. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
  1553. end
  1554. if equipped == false then
  1555. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1556. end
  1557. end
  1558. char.Humanoid.Jump = true
  1559. for i = 0, 1, 0.05 do
  1560. wait()
  1561. char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150
  1562. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
  1563. magn(3,char.Torso,10)
  1564. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
  1565. end
  1566. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(30,30,30),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1)
  1567. magn(10,char.Torso,30)
  1568. for i = 0, 1, 0.1 do
  1569. wait()
  1570. magn(1.5,weapon.Handle2,4)
  1571. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1572. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1573. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1574. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1575. end
  1576. attack = false
  1577. end
  1578.  
  1579. superteleportback = function()
  1580. attack = true
  1581. parry = false
  1582. char.Humanoid.WalkSpeed = 4
  1583. local kekke = 0
  1584. while parry == false do
  1585. wait()
  1586. kekke = kekke + 8
  1587. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1588. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1589. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1590. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1591. end
  1592. char.Humanoid.AutoRotate = false
  1593. for i = 0,2 do
  1594. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1)
  1595. magn(3,char.Torso,10)
  1596. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
  1597. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
  1598. end
  1599. wait(.3)
  1600. for i = 0,5 do
  1601. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
  1602. magn(3,char.Torso,10)
  1603. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
  1604. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15)
  1605. end
  1606. wait(.3)
  1607. for i = 0,8 do
  1608. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1)
  1609. magn(3,char.Torso,10)
  1610. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
  1611. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
  1612. end
  1613. wait(.3)
  1614. for i = 0,8 do
  1615. block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
  1616. magn(3,char.Torso,10)
  1617. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
  1618. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15)
  1619. end
  1620. char.Humanoid.WalkSpeed = 16
  1621. attack = false
  1622. char.Humanoid.AutoRotate = true
  1623. end
  1624.  
  1625. local equip = function()
  1626. attack = true
  1627. for i = 0, 1, 0.1 do
  1628. wait()
  1629. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1630. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1631. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2 - 0.1 * math.cos((sine) / 15), -1) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.5)
  1632. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
  1633. end
  1634. if equipped == true then
  1635. char.Humanoid.WalkSpeed = 32
  1636. equipped = false
  1637. weapon.Handle.Weld.Part0 = weapon.Handle2
  1638. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1639. elseif equipped == false then
  1640. equipped = true
  1641. char.Humanoid.WalkSpeed = 16
  1642. weapon.Handle.Weld.Part0 = LeftArm
  1643. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  1644. end
  1645. attack = false
  1646. end
  1647.  
  1648.  
  1649.  
  1650. comboattack = function()
  1651. attack = true
  1652. local kekke = 0
  1653. while kekke < 1440 do
  1654. wait()
  1655. kekke = kekke + 40
  1656. magn(4,weapon.Handle,4)
  1657. block(LeftArm.CFrame*CFrame.new(0,-2,0),Vector3.new(1,1,4),Vector3.new(0,0,1),.1,char.Torso.BrickColor,1)
  1658. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), 1)
  1659. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1660. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
  1661. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1662. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-90)), 1)
  1663. end
  1664. attack = false
  1665. end
  1666.  
  1667. orbs = function()
  1668. local kekke = 0
  1669. local shot1 = 1
  1670. local a = Instance.new("Part", char)
  1671. a.CanCollide = false
  1672. a.Transparency = 1
  1673. a.Size = Vector3.new(1,1,1)
  1674. local aw = Instance.new("Weld", a)
  1675. aw.Part0 = a
  1676. aw.Part1 = char.HumanoidRootPart
  1677. if ult == true and equipcheck == false then
  1678. aw.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(-18))
  1679. end
  1680. local a2 = Instance.new("Part", char)
  1681. a2.Anchored = true
  1682. a2.CanCollide = false
  1683. a2.Transparency = 1
  1684. a2.Size = Vector3.new(1,1,1)
  1685. local a3 = Instance.new("Part", char)
  1686. a3.Anchored = true
  1687. a3.CanCollide = false
  1688. a3.Transparency = 1
  1689. a3.Size = Vector3.new(1,1,1)
  1690. local a4 = Instance.new("Part", char)
  1691. a4.Anchored = true
  1692. a4.CanCollide = false
  1693. a4.Transparency = 1
  1694. a4.Size = Vector3.new(1,1,1)
  1695. while mana >= 1 and orb == true do
  1696. wait()
  1697. kekke = kekke + 1
  1698. if ult == false then
  1699. magn(.3,a2,4)
  1700. block(a2.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
  1701. magn(.3,a3,4)
  1702. block(a3.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
  1703. magn(.3,a4,4)
  1704. block(a4.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
  1705. mana = mana - 0.3
  1706. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  1707. a2.CFrame = a.CFrame * CFrame.new(2,0,-4)
  1708. a3.CFrame = a.CFrame * CFrame.new(2,0,4)
  1709. a4.CFrame = a.CFrame * CFrame.new(-4,0,0)
  1710. else
  1711. if kekke >= 20 and equipcheck == false then
  1712. kekke = 0
  1713. if shot1 == 1 then
  1714. shot1 = 2
  1715. shoottrail2(play:GetMouse(),a4,0,1)
  1716. elseif shot1 == 2 then
  1717. shot1 = 3
  1718. shoottrail2(play:GetMouse(),a2,0,1)
  1719. elseif shot1 == 3 then
  1720. shot1 = 1
  1721. shoottrail2(play:GetMouse(),a3,0,1)
  1722. end
  1723. end
  1724. magn(.4,a2,6)
  1725. block(a2.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
  1726. magn(.4,a3,6)
  1727. block(a3.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
  1728. magn(.4,a4,6)
  1729. block(a4.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
  1730. mana = mana - .6
  1731. if equipcheck == false then
  1732. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(6))
  1733. a2.CFrame = a.CFrame * CFrame.new(2,-4,0)
  1734. a3.CFrame = a.CFrame * CFrame.new(2,4,0)
  1735. a4.CFrame = a.CFrame * CFrame.new(-4,0,0)
  1736. else
  1737. aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
  1738. a2.CFrame = a.CFrame * CFrame.new(2,0,-4)
  1739. a3.CFrame = a.CFrame * CFrame.new(2,0,4)
  1740. a4.CFrame = a.CFrame * CFrame.new(-4,0,0)
  1741. end
  1742. end
  1743. end
  1744. a:Destroy()
  1745. a2:Destroy()
  1746. a3:Destroy()
  1747. a4:Destroy()
  1748. end
  1749.  
  1750. local magictransform = function()
  1751. attack = true
  1752. char.Humanoid.WalkSpeed = 0
  1753. char.Humanoid.JumpPower = 0
  1754. local kekke = 0
  1755. local kekke1 = 0
  1756. local kekke2 = 0
  1757. local kekke3 = 0
  1758. local coold = 1
  1759. for i = 0,1,0.01 do
  1760. wait()
  1761. magn(0.5,char.Torso,10)
  1762. kekke = kekke + 0.1
  1763. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
  1764. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1)
  1765. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1766. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1767. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
  1768. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1769. end
  1770. coroutine.resume(coroutine.create(function()
  1771. while attack == true do
  1772. kekke1 = math.random(0,180)
  1773. kekke2 = math.random(0,180)
  1774. kekke3 = math.random(0,180)
  1775. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2)
  1776. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2)
  1777. magn(0.5,char.Torso,20)
  1778. wait(coold)
  1779. end
  1780. end))
  1781. for i = 0,1,0.01 do
  1782. wait()
  1783. coold = coold - 0.01
  1784. print(coold)
  1785. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1)
  1786. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1)
  1787. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1788. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1789. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1)
  1790. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3)
  1791. end
  1792. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1)
  1793. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1)
  1794. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2)
  1795. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2)
  1796. attack = false
  1797. char.Humanoid.WalkSpeed = 16
  1798. char.Humanoid.JumpPower = 50
  1799. end
  1800.  
  1801. local magicult = function()
  1802. attack = true
  1803. char.Humanoid.WalkSpeed = 0
  1804. char.Humanoid.JumpPower = 0
  1805. local kekke = 0
  1806. local coold = 1
  1807. coroutine.resume(coroutine.create(function()
  1808. while kekke == 0 do
  1809. block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.025,BrickColor.new("Really black"),1)
  1810. block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(0.5,0.5,0.5),.025,BrickColor.new("Institutional white"),1)
  1811. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2)
  1812. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2)
  1813. magn(0.5,char.Torso,20)
  1814. wait(coold)
  1815. end
  1816. kekke = 0
  1817. end))
  1818. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
  1819. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  1820. for i = 0,1,0.012 do
  1821. wait()
  1822. coold = coold
  1823. print(coold)
  1824. magn(0.5,char.Torso,10)
  1825. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1826. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1827. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.05)
  1828. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.05)
  1829. end
  1830. kekke = 1
  1831. for i = 0,1,0.01 do
  1832. wait()
  1833. kekke = kekke + 0.1
  1834. block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1)
  1835. block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1)
  1836. end
  1837. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2)
  1838. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2)
  1839. wait(2)
  1840. kekke = 100
  1841. magn(90,char.Torso,100)
  1842. for i = 0,1,0.05 do
  1843. wait()
  1844. kekke = kekke + 0.1
  1845. block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1)
  1846. block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1)
  1847. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1)
  1848. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1)
  1849. end
  1850.  
  1851. attack = false
  1852. char.Humanoid.Health = 1
  1853. ult = false
  1854. weapon.Handle2.Weld.Part0 = RightArm
  1855. mana = mana - 400
  1856. char.Humanoid.WalkSpeed = 24
  1857. char.Humanoid.JumpPower = 50
  1858. end
  1859.  
  1860. local swordtransform = function()
  1861. attack = true
  1862. char.Humanoid.WalkSpeed = 0
  1863. char.Humanoid.JumpPower = 0
  1864.  
  1865. local kekke = 0
  1866. local kekke1 = 0
  1867. local kekke2 = 0
  1868. local kekke3 = 0
  1869. local coold = 1
  1870. for i = 0,1,0.01 do
  1871. wait()
  1872. magn(0.5,char.Torso,10)
  1873. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
  1874. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1)
  1875. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1876. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1877. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
  1878. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1879. end
  1880. --[[coroutine.resume(coroutine.create(function()
  1881. while attack == true do
  1882. kekke1 = math.random(0,180)
  1883. kekke2 = math.random(0,180)
  1884. kekke3 = math.random(0,180)
  1885. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1)
  1886. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1)
  1887. magn(0.5,char.Torso,20)
  1888. wait(coold)
  1889. end
  1890. end))]]
  1891.  
  1892. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1)
  1893. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1)
  1894. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2)
  1895. wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2)
  1896. for i = 0,1,0.01 do
  1897. wait()
  1898. coold = coold - 0.01
  1899. print(coold)
  1900. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1)
  1901. block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1)
  1902. kekke = kekke + 0.5
  1903. block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Institutional white"),2)
  1904. block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Really black"),2)
  1905. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1906. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1907. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1)
  1908. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3)
  1909. end
  1910. attack = false
  1911. sword1.Transparency = 0.4
  1912. sword2.Transparency = 0.4
  1913. sword11.Transparency = 0.4
  1914. sword21.Transparency = 0.4
  1915. sword12.Transparency = 0.4
  1916. sword22.Transparency = 0.4
  1917. char.Humanoid.WalkSpeed = 24
  1918. char.Humanoid.JumpPower = 50
  1919. end
  1920.  
  1921. local ultimate = function()
  1922. ult = true
  1923. weapon.Handle.Weld.Part0 = weapon.Handle2
  1924. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1925. weapon.Handle2.Weld.Part0 = char.Torso
  1926. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), 1)
  1927. if equipped == false then
  1928. equipcheck = false
  1929. magictransform()
  1930. elseif equipped == true then
  1931. equipcheck = true
  1932. equipped = false
  1933. char.Humanoid.MaxHealth = 200
  1934. swordtransform()
  1935. char.Humanoid.Health = 200
  1936. sword1.Transparency = 0.4
  1937. sword2.Transparency = 0.4
  1938. sword11.Transparency = 0.4
  1939. sword21.Transparency = 0.4
  1940. sword12.Transparency = 0.4
  1941. sword22.Transparency = 0.4
  1942. end
  1943.  
  1944. while ult == true do
  1945. if Anim == "Walk" then
  1946. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(100), math.rad(180), math.rad(0)), .3)
  1947. else
  1948. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), .3)
  1949. end
  1950. wait()
  1951. end
  1952. end
  1953.  
  1954. play:GetMouse().Button1Down:connect(function()
  1955. if attack == false and throwing == false then
  1956. if combo == 1 and attack == false and throwing == false and equipped == true then
  1957. attack1()
  1958. combo = 2
  1959. elseif combo == 2 and attack == false and throwing == false and equipped == true then
  1960. attack2()
  1961. combo = 1
  1962. elseif combo == 1 and attack == false and throwing == false and equipped == false and mana >= 15 then
  1963. mana = mana - 15
  1964. if ult == false then
  1965. attack3()
  1966. else
  1967. if equipcheck == false then
  1968. magicattack3()
  1969. else
  1970. mana = mana + 15
  1971. swordattack3()
  1972.  
  1973. end
  1974. end
  1975. combo = 2
  1976. elseif combo == 2 and attack == false and throwing == false and equipped == false and mana >= 20 and throwing == false then
  1977. mana = mana - 20
  1978. if ult == false then
  1979. attack4()
  1980. combo = 1
  1981. else
  1982. if equipcheck == false then
  1983. magicattack4()
  1984. combo = 1
  1985. else
  1986. mana = mana + 20
  1987. swordattack4()
  1988.  
  1989. combo = 3
  1990. end
  1991. end
  1992. elseif combo == 3 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then
  1993. mana = mana + 0
  1994. swordattack5()
  1995. combo = 4
  1996. elseif combo == 4 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then
  1997. mana = mana + 0
  1998. swordattack6()
  1999. combo = 1
  2000. end
  2001. end
  2002. end)
  2003.  
  2004. play:GetMouse().Button1Up:connect(function()
  2005. if charging == true then
  2006. charging = false
  2007.  
  2008. end
  2009. end)
  2010.  
  2011. play:GetMouse().KeyDown:connect(function(k)
  2012.  
  2013. k = k:lower()
  2014. if k == "z" and attack == false and throwing == false and mana >= 25 then
  2015. if ult == false then
  2016. mana = mana - 25
  2017. shieldbash()
  2018. end
  2019. if ult == true then
  2020. if equipcheck == false then
  2021. mana = mana - 25
  2022. supershieldbash()
  2023. else
  2024. swordspin()
  2025. mana = mana - 25
  2026. end
  2027. end
  2028. elseif k == "e" and attack == false and throwing == false then
  2029. ult = false
  2030. sword1.Transparency = 1
  2031. sword2.Transparency = 1
  2032. sword11.Transparency = 1
  2033. sword21.Transparency = 1
  2034. sword12.Transparency = 1
  2035. sword22.Transparency = 1
  2036. char.Humanoid.MaxHealth = 100
  2037. if combo >= 3 then
  2038. combo = 1
  2039. end
  2040. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 1)
  2041. weapon.Handle2.Weld.Part0 = RightArm
  2042. equip()
  2043. elseif k == "x" and attack == false and throwing == false and mana >= 35 then
  2044. if ult == false then
  2045. mana = mana - 35
  2046. if equipped == true then
  2047. comboattack()
  2048. elseif equipped == false then
  2049. teleportback()
  2050. end
  2051. else
  2052. if equipcheck == false then
  2053. superteleportback()
  2054. else
  2055. swordcombo()
  2056. end
  2057. end
  2058. elseif k == "x" and attack == true and parry == false and mana >= 15 then
  2059. mana = mana - 15
  2060. char.Humanoid.Health = char.Humanoid.Health - 10
  2061. elseif k == "c" and attack == false and throwing == false and mana >= 20 and orb == false then
  2062. orb = true
  2063. orbs()
  2064. elseif k == "c" and orb == true then
  2065. orb = false
  2066. elseif k == "h" and attack == false and throwing == false and mana >= 200 then
  2067. if ult == false then
  2068. ultimate()
  2069. else
  2070. if mana >= 400 then
  2071. if equipcheck == false then
  2072. magicult()
  2073. else
  2074. swordult()
  2075. equip()
  2076. end
  2077. end
  2078. end
  2079. end
  2080. end)
  2081.  
  2082. local keke = 0
  2083. coroutine.resume(coroutine.create(function()
  2084. while true do
  2085. pasthp = char.Humanoid.Health
  2086. wait(.5)
  2087. if char.Humanoid.Health < pasthp then
  2088. parry = true
  2089. if equipped == true then
  2090. char.Humanoid.Health = char.Humanoid.Health + (pasthp-char.Humanoid.Health)/2
  2091. mana = mana + (pasthp-char.Humanoid.Health)*2
  2092. CreateSound("rbxassetid://10209583",weapon.Handle2,.1,1)
  2093. print("Blocked!")
  2094. end
  2095. if ult == true and equipcheck == false and mana >= (pasthp-char.Humanoid.Health)*2 then
  2096. mana = mana - (pasthp-char.Humanoid.Health)*2
  2097. block(char.Torso.CFrame,Vector3.new((1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5)),Vector3.new(0.5,.5,.5),0.1,char.Torso.BrickColor,1)
  2098. char.Humanoid.Health = pasthp
  2099. end
  2100. end
  2101. end
  2102. end))
  2103.  
  2104. coroutine.resume(coroutine.create(function()
  2105. while true do
  2106. mana = mana + 1
  2107. if ult == true and equipcheck == false then
  2108. mana = mana + 4
  2109. end
  2110. if mana >= 400 then
  2111. mana = 400
  2112. end
  2113. wait(.5)
  2114. end
  2115. end))
  2116.  
  2117. coroutine.resume(coroutine.create(function()
  2118. while true do
  2119. keke = keke + 1
  2120. if keke > 10 then
  2121. keke = 0
  2122. end
  2123. if asdrot <= 360 then
  2124. asdrot = asdrot + 2
  2125. else
  2126. asdrot = 0
  2127. end
  2128. manabar:TweenSize(UDim2.new(1 * (mana /400), 0, 1, 0), "Out", "Quad", 0.5)
  2129. if sit == true then
  2130. mana = mana + .33
  2131. end
  2132. if ult == true and equipcheck == false then
  2133. block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Institutional white"),1)
  2134. block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Really black"),1)
  2135. end
  2136. if riding == true and attack == false and debounce2 == false then
  2137. coroutine.resume(coroutine.create(function()
  2138. debounce2 = true
  2139. magn(3,6,model.spinneblock,5)
  2140. wait(0.2)
  2141. debounce2 = false
  2142. end))
  2143. end
  2144. sine = sine + change
  2145. torsovel = (char.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2146. if sit == false then
  2147. if char.HumanoidRootPart.Velocity.Y > 1 then
  2148. Anim = "Jump"
  2149. if attack == false and sit == false then
  2150. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2151. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2152. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2153. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2154. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  2155. LH.C0 = clerp(LH.C0, CFrame.new(-1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  2156. end
  2157. elseif torsovel < 1 then
  2158. Anim = "Idle"
  2159. change = 1
  2160. if attack == false and sit == false then
  2161. if equipped == true then
  2162. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  2163. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  2164. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  2165. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2166. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  2167. end
  2168. if equipped == false then
  2169. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2170. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2171. if ult == false then
  2172. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  2173. else
  2174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2175. end
  2176. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2177. end
  2178. if ult == false then
  2179. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, .05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3)
  2180. end
  2181. end
  2182. RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2183. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2184. elseif 2 < torsovel then
  2185. Anim = "Walk"
  2186. if attack == false and sit == false then
  2187. if equipped == true then
  2188. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  2189. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  2190. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  2191. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2192. weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
  2193. end
  2194. if equipped == false then
  2195. char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  2196. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2197. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3)
  2198. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3)
  2199. end
  2200. if ult == false then
  2201. weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3)
  2202. end
  2203. end
  2204. RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  2205. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  2206. end
  2207. end
  2208. wait()
  2209. end
  2210. end))
  2211.  
  2212. while true do
  2213. wait()
  2214. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement