Advertisement
memberhero

Untitled

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