Advertisement
tvnvntjyvtny2222

Untitled

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