Advertisement
memberhero

Untitled

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