Advertisement
StarStreak1000

Untitled

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