Znimator

Untitled

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