Advertisement
memberhero

Untitled

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