Advertisement
memberhero

Untitled

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