Advertisement
sneakydodge123

Untitled

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