naser2345

Magic Duelist

Jul 5th, 2016
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.86 KB | None | 0 0
  1. --[[
  2.  
  3. Magic Duelist script made by Fenrier.
  4.  
  5. Made for an upcoming game I will be making. Don't expect it to be out anytime soon though.
  6.  
  7. And hello hacker :D
  8.  
  9. Have fun with my scripts by the way c:
  10.  
  11. ]]
  12.  
  13. Player = game:GetService("Players").LocalPlayer
  14.  
  15. Character = Player.Character
  16.  
  17. PlayerGui = Player.PlayerGui
  18.  
  19. Backpack = Player.Backpack
  20.  
  21. Torso = Character.Torso
  22.  
  23. Head = Character.Head
  24.  
  25. Humanoid = Character.Humanoid
  26.  
  27. LeftArm = Character["Left Arm"]
  28.  
  29. LeftLeg = Character["Left Leg"]
  30.  
  31. RightArm = Character["Right Arm"]
  32.  
  33. RightLeg = Character["Right Leg"]
  34.  
  35. LS = Torso["Left Shoulder"]
  36.  
  37. LH = Torso["Left Hip"]
  38.  
  39. RS = Torso["Right Shoulder"]
  40.  
  41. RH = Torso["Right Hip"]
  42.  
  43. Neck = Torso.Neck
  44.  
  45. it=Instance.new
  46.  
  47. vt=Vector3.new
  48.  
  49. cf=CFrame.new
  50.  
  51. euler=CFrame.fromEulerAnglesXYZ
  52.  
  53. angles=CFrame.Angles
  54.  
  55. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  56.  
  57. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  58.  
  59. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  60.  
  61. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  62.  
  63. attack = false
  64.  
  65. attacktype = 1
  66.  
  67. damage = 5
  68.  
  69. oridamage = 50
  70.  
  71. attackdebounce = false
  72.  
  73. ssdebounce=false
  74.  
  75. MMouse=nil
  76.  
  77. combo=0
  78.  
  79. magic=true
  80.  
  81. RootPart=Character.HumanoidRootPart
  82.  
  83. RootJoint=RootPart.RootJoint
  84.  
  85. RootCF=euler(-1.57,0,3.14)
  86.  
  87. --player
  88.  
  89. player = nil
  90.  
  91. --save shoulders
  92.  
  93. RSH, LSH = nil, nil
  94.  
  95. --welds
  96.  
  97. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  98.  
  99. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  100.  
  101.  
  102.  
  103.  
  104.  
  105. if Character:findFirstChild("Rapier",true) ~= nil then
  106.  
  107. Character:findFirstChild("Rapier",true).Parent = nil
  108.  
  109. end
  110.  
  111. if Character:findFirstChild("Block",true) ~= nil then
  112.  
  113. Character:findFirstChild("Block",true).Parent = nil
  114.  
  115. end
  116.  
  117.  
  118.  
  119.  
  120.  
  121. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  122.  
  123. local fp = it("Part")
  124.  
  125. fp.formFactor = formfactor
  126.  
  127. fp.Parent = parent
  128.  
  129. fp.Reflectance = reflectance
  130.  
  131. fp.Transparency = transparency
  132.  
  133. fp.CanCollide = false
  134.  
  135. fp.Locked=true
  136.  
  137. fp.BrickColor = brickcolor
  138.  
  139. fp.Name = name
  140.  
  141. fp.Size = size
  142.  
  143. fp.Position = Torso.Position
  144.  
  145. fp.BottomSurface="Smooth"
  146.  
  147. fp.TopSurface="Smooth"
  148.  
  149. fp:BreakJoints()
  150.  
  151. return fp
  152.  
  153. end
  154.  
  155.  
  156.  
  157. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  158.  
  159. local mesh = it(Mesh)
  160.  
  161. mesh.Parent = part
  162.  
  163. if Mesh=="SpecialMesh" then
  164.  
  165. mesh.MeshType = meshtype
  166.  
  167. mesh.MeshId = meshid
  168.  
  169. end
  170.  
  171. mesh.Offset=offset
  172.  
  173. mesh.Scale=scale
  174.  
  175. return mesh
  176.  
  177. end
  178.  
  179.  
  180.  
  181. function weld(parent,part0,part1,c0)
  182.  
  183. local weld = it("Weld")
  184.  
  185. weld.Parent = parent
  186.  
  187. weld.Part0 = part0
  188.  
  189. weld.Part1 = part1
  190.  
  191. weld.C0 = c0
  192.  
  193. return weld
  194.  
  195. end
  196.  
  197.  
  198.  
  199. local modelzorz = Instance.new("Model")
  200.  
  201. modelzorz.Parent = Character
  202.  
  203. modelzorz.Name = "Rapier"
  204.  
  205.  
  206.  
  207. local prt1=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part1",vt(1,1,1))
  208.  
  209. local prt2=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part2",vt(1,1,1))
  210.  
  211. local prt3=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part3",vt(1,1,1))
  212.  
  213. local prt4=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part4",vt(1,1,1))
  214.  
  215. local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part5",vt(1,1,1))
  216.  
  217. local prt6=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part6",vt(1,1,1))
  218.  
  219. local prt7=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part7",vt(1,1,1))
  220.  
  221. local prt8=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part8",vt(1,1,1))
  222.  
  223. local prt9=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part9",vt(1,1,1))
  224.  
  225. local prt10=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part10",vt(1,1,1))
  226.  
  227. local prt11=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part11",vt(1,1,1))
  228.  
  229. local prt12=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part12",vt(1,1,1))
  230.  
  231. local prt13=part(3,modelzorz,0,1,BrickColor.new("Black"),"Part13",vt(0.5,4,0.5))
  232.  
  233.  
  234.  
  235. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  236.  
  237. local msh2=mesh("SpecialMesh",prt2,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,0.5,0.2))
  238.  
  239. local msh3=mesh("SpecialMesh",prt3,"Sphere","",vt(0,0,0),vt(0.1,0.6,0.1))
  240.  
  241. local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(0.3,0.2,0.05))
  242.  
  243. local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(0.05,0.2,0.3))
  244.  
  245. local msh6=mesh("SpecialMesh",prt6,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  246.  
  247. local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  248.  
  249. local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.4,0.5,0.4))
  250.  
  251. local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.05,0.3))
  252.  
  253. local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  254.  
  255. local msh11=mesh("SpecialMesh",prt11,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,1,0.2))
  256.  
  257. local msh12=mesh("SpecialMesh",prt12,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,3,0.2))
  258.  
  259. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
  260.  
  261.  
  262.  
  263. local wld1=weld(prt1,prt1,Torso,euler(-2,0,0)*cf(1,0.5,1.5))
  264.  
  265. local wld2=weld(prt2,prt2,prt1,cf(0,0.3,0))
  266.  
  267. local wld3=weld(prt3,prt3,prt2,cf(0,0.3,0))
  268.  
  269. local wld4=weld(prt4,prt4,prt2,cf(0,0.3,0))
  270.  
  271. local wld5=weld(prt5,prt5,prt2,cf(0,0.3,0))
  272.  
  273. local wld6=weld(prt6,prt6,prt1,cf(0,-0.5,0))
  274.  
  275. local wld7=weld(prt7,prt7,prt6,cf(0,-0.25,0))
  276.  
  277. local wld8=weld(prt8,prt8,prt7,cf(0,0,0))
  278.  
  279. local wld9=weld(prt9,prt9,prt7,cf(0,-0.3,0))
  280.  
  281. local wld10=weld(prt10,prt10,prt9,cf(0,-0.05,0))
  282.  
  283. local wld11=weld(prt11,prt11,prt10,cf(0,-0.5,0))
  284.  
  285. local wld12=weld(prt12,prt12,prt11,cf(0,-1.5,0))
  286.  
  287. local wld13=weld(prt13,prt13,prt12,cf(0,0,0))
  288.  
  289.  
  290.  
  291. numb=0
  292.  
  293. for i=1,4 do
  294.  
  295. local prt13=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part13",vt(1,1,1))
  296.  
  297. local prt14=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part14",vt(1,1,1))
  298.  
  299. local prt15=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part15",vt(1,1,1))
  300.  
  301. local prt16=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Part16",vt(1,1,1))
  302.  
  303.  
  304.  
  305. local msh13=mesh("SpecialMesh",prt13,"Wedge","",vt(0,0,0),vt(0.05,0.5,0.5))
  306.  
  307. local msh14=mesh("SpecialMesh",prt14,"Wedge","",vt(0,0,0),vt(0.051,0.5,0.3))
  308.  
  309. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(0.052,0.3,0.2))
  310.  
  311. local msh16=mesh("SpecialMesh",prt16,"Wedge","",vt(0,0,0),vt(0.051,0.5,0.5))
  312.  
  313.  
  314.  
  315. local wld13=weld(prt13,prt13,prt6,euler(0,0,3.14)*cf(0,0.2,0.3)*euler(0,numb,0))
  316.  
  317. local wld14=weld(prt14,prt14,prt13,euler(-0.3,0,3.14)*cf(0,0.4,0.2))
  318.  
  319. local wld15=weld(prt15,prt15,prt14,euler(-0.2,0,0)*cf(0,-0.3,-0.1))
  320.  
  321. local wld16=weld(prt16,prt16,prt15,euler(0.5,0,0)*cf(0,-0.3,0))
  322.  
  323.  
  324.  
  325. numb=numb+1.57
  326.  
  327. end
  328.  
  329.  
  330.  
  331. numb=0
  332.  
  333. color="Bright red"
  334.  
  335. for i=1,6 do
  336.  
  337. if i==1 then color="White" elseif i==2 then color="Bright blue" elseif i==3 then color="Bright green" elseif i==4 then color="Black" elseif i==5 then color="Bright red" elseif i==6 then color="Bright yellow" end
  338.  
  339. local prt17=part(3,modelzorz,0,0,BrickColor.new(color),"Part17",vt(1,1,1))
  340.  
  341.  
  342.  
  343. local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(0.1,0.2,0.1))
  344.  
  345.  
  346.  
  347. local wld17=weld(prt17,prt17,prt7,cf(0.15,0.13,0)*euler(0,numb,0))
  348.  
  349.  
  350.  
  351. numb=numb+1.046
  352.  
  353. end
  354.  
  355.  
  356.  
  357. if (script.Parent.className ~= "HopperBin") then
  358.  
  359. Tool = Instance.new("HopperBin")
  360.  
  361. Tool.Parent = Backpack
  362.  
  363. Tool.Name = "Rapier"
  364.  
  365. script.Parent = Tool
  366.  
  367. end
  368.  
  369. Bin = script.Parent
  370.  
  371.  
  372.  
  373. local bg = it("BodyGyro")
  374.  
  375. bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  376.  
  377. bg.P = 20e+003
  378.  
  379. bg.Parent = nil
  380.  
  381. bp=it("BodyPosition")
  382.  
  383. bp.P=2000
  384.  
  385. bp.D=100
  386.  
  387. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  388.  
  389.  
  390.  
  391. so = function(id,par,vol,pit)
  392.  
  393. coroutine.resume(coroutine.create(function()
  394.  
  395. local sou = Instance.new("Sound",par or workspace)
  396.  
  397. sou.Volume=vol
  398.  
  399. sou.Pitch=pit or 1
  400.  
  401. sou.SoundId=id
  402.  
  403. wait()
  404.  
  405. sou:play()
  406.  
  407. wait(6)
  408.  
  409. sou:Remove()
  410.  
  411. end))
  412.  
  413. end
  414.  
  415.  
  416.  
  417. function unequipweld()
  418.  
  419. wld1.Part1=Torso
  420.  
  421. wld1.C0=euler(-2,0,0)*cf(1,0.5,1.5)
  422.  
  423. end
  424.  
  425.  
  426.  
  427. function equipweld()
  428.  
  429. wld1.Part1=LeftArm
  430.  
  431. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  432.  
  433. end
  434.  
  435.  
  436.  
  437. function hideanim()
  438.  
  439. equipped=false
  440.  
  441. wait(0.1)
  442.  
  443. Torso.Neck.C0=necko
  444.  
  445. RootJoint.C0=RootCF
  446.  
  447. unequipweld()
  448.  
  449. end
  450.  
  451.  
  452.  
  453. function equipanim()
  454.  
  455. equipped=true
  456.  
  457. wait(0.1)
  458.  
  459. equipweld()
  460.  
  461. Torso.Neck.C0=necko*euler(0,0,1)
  462.  
  463. RootJoint.C0=RootCF*euler(0,0,-1)
  464.  
  465. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  466.  
  467. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  468.  
  469. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  470.  
  471. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  472.  
  473. end
  474.  
  475.  
  476.  
  477. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  478.  
  479. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  480.  
  481. end
  482.  
  483.  
  484.  
  485. function oneslash()
  486.  
  487. attack=true
  488.  
  489. for i=0,1,0.1 do
  490.  
  491. wait()
  492.  
  493. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0.5+1.5*i,-1.57+0.2*i,0)
  494.  
  495. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8*i,0,0)
  496.  
  497. end
  498.  
  499. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  500.  
  501. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  502.  
  503. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  504.  
  505. for i=0,1,0.2 do
  506.  
  507. wait()
  508.  
  509. Torso.Neck.C0=necko*euler(0,0,1-2*i)
  510.  
  511. RootJoint.C0=RootCF*euler(0,0,-1+2*i)
  512.  
  513. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  514.  
  515. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.5*i,-1.37,0)
  516.  
  517. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8+1.6*i,0,0)
  518.  
  519. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  520.  
  521. local Point2 = prt12.CFrame
  522.  
  523. effect("White",0.5,0.1,LastPoint,Point)
  524.  
  525. LastPoint = Point
  526.  
  527. end
  528.  
  529. con1:disconnect()
  530.  
  531. attack=false
  532.  
  533. end
  534.  
  535.  
  536.  
  537. function twoslash()
  538.  
  539. attack=true
  540.  
  541. for i=0,1,0.1 do
  542.  
  543. wait()
  544.  
  545. RootJoint.C0=RootCF*euler(0,0,1+3.14*i)
  546.  
  547. wld1.C0=euler(1.57+1-1*i,0,0)*cf(0,1,0)
  548.  
  549. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.5+0.07*i,-1.37-0.2*i,0)
  550.  
  551. LW.C1=cf(0, 0.5, 0) * euler(1-2*i,0,0)
  552.  
  553. end
  554.  
  555. so("http://roblox.com/asset/?id=10209640",prt12,1,1.1)
  556.  
  557. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  558.  
  559. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  560.  
  561. for i=0,1,0.2 do
  562.  
  563. wait()
  564.  
  565. RootJoint.C0=RootCF*euler(0,0,1+3.14+3.14*i)
  566.  
  567. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  568.  
  569. LW.C0=cf(-1.5+0.5-0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,-1.57,0)
  570.  
  571. LW.C1=cf(0, 0.5, 0) * euler(-1+2*i,0,0)
  572.  
  573. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  574.  
  575. effect("White",0.5,0.1,LastPoint,Point)
  576.  
  577. LastPoint = Point
  578.  
  579. end
  580.  
  581. con1:disconnect()
  582.  
  583. attack=false
  584.  
  585. end
  586.  
  587.  
  588.  
  589. function threeslash()
  590.  
  591. attack=true
  592.  
  593. for i=0,1,0.1 do
  594.  
  595. wait()
  596.  
  597. RootJoint.C0=RootCF*euler(0,0,1-1*i)
  598.  
  599. Torso.Neck.C0=necko*euler(0,0,-1+1*i)
  600.  
  601. wld1.C0=euler(1.57+1-1*i,0,0)*cf(0,1,0)
  602.  
  603. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+3.64*i,-1.57+1*i,0)
  604.  
  605. LW.C1=cf(0, 0.5, 0) * euler(1,0,0)
  606.  
  607. end
  608.  
  609. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  610.  
  611. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  612.  
  613. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  614.  
  615. for i=0,1,0.2 do
  616.  
  617. wait()
  618.  
  619. RootJoint.C0=RootCF*euler(0,0,-1*i)
  620.  
  621. Torso.Neck.C0=necko*euler(0,0,1*i)
  622.  
  623. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(5.21-0.3*i,-0.57,0)
  624.  
  625. LW.C1=cf(0, 0.5, 0) * euler(1+4*i,0,0)
  626.  
  627. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  628.  
  629. effect("White",0.5,0.1,LastPoint,Point)
  630.  
  631. LastPoint = Point
  632.  
  633. end
  634.  
  635. con1:disconnect()
  636.  
  637. attack=false
  638.  
  639. end
  640.  
  641.  
  642.  
  643. function fourslash()
  644.  
  645. attack=true
  646.  
  647. so("rbxasset://sounds\\swordlunge.wav",prt12,1,1.5)
  648.  
  649. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  650.  
  651. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,15,10) end)
  652.  
  653. for i=0,1,0.2 do
  654.  
  655. wait()
  656.  
  657. RootJoint.C0=RootCF*euler(0,0,-1-0.57*i)
  658.  
  659. Torso.Neck.C0=necko*euler(0,0,1+0.57*i)
  660.  
  661. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  662.  
  663. LW.C0=cf(-1.5+0.5-0.5*i, 0.5, -0.5+0.5*i) * euler(4.91+1.57*i,-0.57+0.57*i,0)
  664.  
  665. LW.C1=cf(0, 0.5, 0) * euler(5,-1.57*i,0)
  666.  
  667. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  668.  
  669. effect("White",0.5,0.1,LastPoint,Point)
  670.  
  671. LastPoint = Point
  672.  
  673. end
  674.  
  675. for i=0,1,0.2 do
  676.  
  677. wait()
  678.  
  679. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  680.  
  681. effect("White",0.5,0.1,LastPoint,Point)
  682.  
  683. LastPoint = Point
  684.  
  685. end
  686.  
  687. con1:disconnect()
  688.  
  689. attack=false
  690.  
  691. end
  692.  
  693.  
  694.  
  695. function FlameBarrage()
  696.  
  697. attack=true
  698.  
  699. magic=true
  700.  
  701. for i=0,1,0.1 do
  702.  
  703. wait()
  704.  
  705. Torso.Neck.C0=necko*euler(0.5*i,0,1-1*i)
  706.  
  707. wld1.C0=euler(1.57+0.2*i,0,0)*cf(0,1,0)
  708.  
  709. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(1*i,0,0.3-1*i)
  710.  
  711. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  712.  
  713. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5+0.5*i,-1.57,0)
  714.  
  715. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.4*i,0,0)
  716.  
  717. end
  718.  
  719. for i=0,1,0.1 do
  720.  
  721. wait()
  722.  
  723. RW.C0=cf(1.5-1, 0.5, -0.5) * euler(1-0.4*i,0,0.3-1)
  724.  
  725. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  726.  
  727. wld7.C0=wld7.C0*euler(0,-0.2,0)
  728.  
  729. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  730.  
  731. end
  732.  
  733. coroutine.resume(coroutine.create(function()
  734.  
  735. for i=1,10 do
  736.  
  737. so("http://roblox.com/asset/?id=131382140",prt12,1,10)
  738.  
  739. wait(0)
  740.  
  741. end
  742.  
  743. end))
  744.  
  745. reffect=prt12:Clone()
  746.  
  747. reffect.Parent=modelzorz
  748.  
  749. reffect.Transparency=1
  750.  
  751. reffect.Mesh.Scale=vt(0.3,3,0.3)
  752.  
  753. reffect.BrickColor=BrickColor.new("Bright red")
  754.  
  755. local efwld=weld(reffect,reffect,prt12,cf(0,-0.4,0))
  756.  
  757. coroutine.resume(coroutine.create(function(Part)
  758.  
  759. for i=0,1,0.1 do
  760.  
  761. wait()
  762.  
  763. Part.Transparency=Part.Transparency-0.05
  764.  
  765. end
  766.  
  767. while magic==true do
  768.  
  769. wait()
  770.  
  771. MagicBlock(BrickColor.new("Bright red"),prt12.CFrame*cf((math.random()/4)-(math.random()/4),math.random(-2,1)+math.random(),(math.random()/4)-(math.random()/4)),.5,.5,.5,.05,.05,.05)
  772.  
  773. end
  774.  
  775. for i=0,1,0.1 do
  776.  
  777. wait()
  778.  
  779. Part.Transparency=Part.Transparency+0.1
  780.  
  781. end
  782.  
  783. Part.Parent=nil
  784.  
  785. end),reffect)
  786.  
  787. for i=0,1,0.05 do
  788.  
  789. wait()
  790.  
  791. Torso.Neck.C0=necko*euler(0.5-0.5*i,0,1*i)
  792.  
  793. RW.C0=cf(1.5-1+0.5*i, 0.5, -0.5+0.3*i) * euler(0.6,0,-0.7)
  794.  
  795. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  796.  
  797. LW.C0=cf(-1.5, 0.5, 0) * euler(1+0.2*i,-1.57,0)
  798.  
  799. LW.C1=cf(0, 0.5, 0) * euler(-0.2-0.2*i,0,0)
  800.  
  801. end
  802.  
  803. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  804.  
  805. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  806.  
  807. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  808.  
  809. for i=1,3 do
  810.  
  811. so("http://roblox.com/asset/?id=130865054",Torso,1,1.5)
  812.  
  813. end
  814.  
  815. for i=0,0.2,0.1 do
  816.  
  817. wait()
  818.  
  819. RootJoint.C0=RootCF*euler(0,0,-1+7.28*i)
  820.  
  821. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  822.  
  823. RW.C0=cf(1.5-0.5, 0.5, -0.5+0.3-0.3*i) * euler(0.6,0,-0.7-0.5*i)
  824.  
  825. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  826.  
  827. LW.C0=cf(-1.5, 0.5, 0) * euler(1.2+0.37*i,-1.57,0)
  828.  
  829. LW.C1=cf(0, 0.5, 0) * euler(-0.4+2.4*i,0,0)
  830.  
  831. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  832.  
  833. effect("Bright red",0.5,0.3,LastPoint,Point)
  834.  
  835. LastPoint = Point
  836.  
  837. end
  838.  
  839. local exprt=part(3,modelzorz,0,1,BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  840.  
  841. exprt.Anchored=true
  842.  
  843. exprt.CFrame=RootPart.CFrame*cf(0,0,-7)
  844.  
  845. so("http://www.roblox.com/asset/?id=2101148",exprt,1,0.6)
  846.  
  847. game:GetService("Debris"):AddItem(exprt,1)
  848.  
  849. MagicCircle(BrickColor.new("Bright red"),exprt.CFrame,3,3,3,3,3,3)
  850.  
  851. for i=1,4 do
  852.  
  853. MagicRing(BrickColor.new("Bright red"),exprt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,0.1,1,1,0.05)
  854.  
  855. end
  856.  
  857. local c = game.Workspace:GetChildren()
  858.  
  859. for i = 1, #c do
  860.  
  861. local hum = c[i]:findFirstChild("Humanoid")
  862.  
  863. if hum ~= nil and hum.Health ~= 0 then
  864.  
  865. local head = c[i]:findFirstChild("Head")
  866.  
  867. if head ~= nil then
  868.  
  869. local targ = head.Position - exprt.Position
  870.  
  871. local mag = targ.magnitude
  872.  
  873. if mag <= 10 and c[i].Name ~= Player.Name then
  874.  
  875. attackdebounce=false
  876.  
  877. Damagefunc1(head,15,50)
  878.  
  879. end
  880.  
  881. end
  882.  
  883. end
  884.  
  885. end
  886.  
  887. for i=0.2,1,0.1 do
  888.  
  889. wait()
  890.  
  891. RootJoint.C0=RootCF*euler(0,0,-1+7.28*i)
  892.  
  893. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  894.  
  895. RW.C0=cf(1.5-0.5, 0.5, -0.5+0.3-0.3*i) * euler(0.6,0,-0.7-0.5*i)
  896.  
  897. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  898.  
  899. LW.C0=cf(-1.5, 0.5, 0) * euler(1.2+0.37*i,-1.57,0)
  900.  
  901. LW.C1=cf(0, 0.5, 0) * euler(-0.4+2.4*i,0,0)
  902.  
  903. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  904.  
  905. effect("Bright red",0.5,0.3,LastPoint,Point)
  906.  
  907. LastPoint = Point
  908.  
  909. end
  910.  
  911. con1:disconnect()
  912.  
  913. for i=0,1,0.1 do
  914.  
  915. wait()
  916.  
  917. RootJoint.C0=RootCF*euler(0,0,1*i)
  918.  
  919. Torso.Neck.C0=necko*euler(0,0,-1*i)
  920.  
  921. wld1.C0=euler(1.77-1.2*i,0,0)*cf(0,1,0)
  922.  
  923. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(0.6,0,-1.2)
  924.  
  925. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  926.  
  927. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,-1.57,0)
  928.  
  929. LW.C1=cf(0, 0.5, 0) * euler(2-0.43*i,0,0)
  930.  
  931. end
  932.  
  933. so("rbxasset://sounds\\swordlunge.wav",prt12,1,1.2)
  934.  
  935. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  936.  
  937. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,20,30) end)
  938.  
  939. for i=0,1,0.2 do
  940.  
  941. wait()
  942.  
  943. RootJoint.C0=RootCF*euler(0,0,1-2.57*i)
  944.  
  945. Torso.Neck.C0=necko*euler(0,0,-1+2.57*i)
  946.  
  947. wld1.C0=euler(0.57+2.57*i,0,0)*cf(0,1,0)
  948.  
  949. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(0.6,0,-1.2+2.4*i)
  950.  
  951. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  952.  
  953. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,-1.57,0)
  954.  
  955. LW.C1=cf(0, 0.5, 0) * euler(1.57,0,0)
  956.  
  957. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  958.  
  959. effect("Bright red",0.5,0.3,LastPoint,Point)
  960.  
  961. LastPoint = Point
  962.  
  963. end
  964.  
  965. con1:disconnect()
  966.  
  967. numb=-7
  968.  
  969. for i=1,3 do
  970.  
  971. local exprt=part(3,modelzorz,0,1,BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  972.  
  973. exprt.Anchored=true
  974.  
  975. exprt.CFrame=RootPart.CFrame*cf(0,0,numb)
  976.  
  977. so("http://www.roblox.com/asset/?id=2101148",exprt,1,1)
  978.  
  979. game:GetService("Debris"):AddItem(exprt,1)
  980.  
  981. MagicCircle(BrickColor.new("Bright red"),exprt.CFrame,3,3,3,3,3,3)
  982.  
  983. coroutine.resume(coroutine.create(function(Part)
  984.  
  985. for i=1,4 do
  986.  
  987. MagicBlock(BrickColor.new("Bright red"),Part.CFrame,3,3,3,2,2,2)
  988.  
  989. wait(0.1)
  990.  
  991. end
  992.  
  993. end),exprt)
  994.  
  995. local c = game.Workspace:GetChildren()
  996.  
  997. for i = 1, #c do
  998.  
  999. local hum = c[i]:findFirstChild("Humanoid")
  1000.  
  1001. if hum ~= nil and hum.Health ~= 0 then
  1002.  
  1003. local head = c[i]:findFirstChild("Head")
  1004.  
  1005. if head ~= nil then
  1006.  
  1007. local targ = head.Position - exprt.Position
  1008.  
  1009. local mag = targ.magnitude
  1010.  
  1011. if mag <= 10 and c[i].Name ~= Player.Name then
  1012.  
  1013. attackdebounce=false
  1014.  
  1015. Damagefunc1(head,5,30)
  1016.  
  1017. end
  1018.  
  1019. end
  1020.  
  1021. end
  1022.  
  1023. end
  1024.  
  1025. numb=numb-5
  1026.  
  1027. wait(0.2)
  1028.  
  1029. end
  1030.  
  1031. wait(1)
  1032.  
  1033. Torso.Neck.C0=necko*euler(0,0,1)
  1034.  
  1035. RootJoint.C0=RootCF*euler(0,0,-1)
  1036.  
  1037. magic=false
  1038.  
  1039. attack=false
  1040.  
  1041. end
  1042.  
  1043.  
  1044.  
  1045. function IcePrison()
  1046.  
  1047. attack=true
  1048.  
  1049. magic=true
  1050.  
  1051. for i=0,1,0.1 do
  1052.  
  1053. wait()
  1054.  
  1055. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  1056.  
  1057. RootJoint.C0=RootCF*euler(0,0,-1+1*i)
  1058.  
  1059. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1060.  
  1061. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.9*i,0,0.3-0.8*i)
  1062.  
  1063. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1064.  
  1065. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0.5+1.07*i,-1.57+1.57*i,0.7*i)
  1066.  
  1067. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.2*i,0,0)
  1068.  
  1069. end
  1070.  
  1071. for i=0,1,0.1 do
  1072.  
  1073. wait()
  1074.  
  1075. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.9,0,-0.5-0.2*i)
  1076.  
  1077. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1078.  
  1079. wld7.C0=wld7.C0*euler(0,0.2,0)
  1080.  
  1081. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  1082.  
  1083. end
  1084.  
  1085. reffect=prt12:Clone()
  1086.  
  1087. reffect.Parent=modelzorz
  1088.  
  1089. reffect.Transparency=1
  1090.  
  1091. reffect.Mesh.Scale=vt(0.3,3,0.3)
  1092.  
  1093. reffect.BrickColor=BrickColor.new("Bright blue")
  1094.  
  1095. local efwld=weld(reffect,reffect,prt12,cf(0,-0.4,0))
  1096.  
  1097. coroutine.resume(coroutine.create(function(Part)
  1098.  
  1099. for i=0,1,0.1 do
  1100.  
  1101. wait()
  1102.  
  1103. Part.Transparency=Part.Transparency-0.05
  1104.  
  1105. end
  1106.  
  1107. while magic==true do
  1108.  
  1109. wait()
  1110.  
  1111. MagicBlock(BrickColor.new("Bright blue"),prt12.CFrame*cf((math.random()/4)-(math.random()/4),math.random(-2,1)+math.random(),(math.random()/4)-(math.random()/4)),.5,.5,.5,.05,.05,.05)
  1112.  
  1113. end
  1114.  
  1115. for i=0,1,0.1 do
  1116.  
  1117. wait()
  1118.  
  1119. Part.Transparency=Part.Transparency+0.1
  1120.  
  1121. end
  1122.  
  1123. Part.Parent=nil
  1124.  
  1125. end),reffect)
  1126.  
  1127. for i=1,3 do
  1128.  
  1129. so("http://roblox.com/asset/?id=25605551",prt12,1,1)
  1130.  
  1131. end
  1132.  
  1133. wait(0.5)
  1134.  
  1135. for i=0,1,0.1 do
  1136.  
  1137. wait()
  1138.  
  1139. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  1140.  
  1141. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.9-0.6*i,0,-0.7)
  1142.  
  1143. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1144.  
  1145. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(1.57-0.57*i,0,0.7-0.2*i)
  1146.  
  1147. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  1148.  
  1149. end
  1150.  
  1151. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1152.  
  1153. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1154.  
  1155. for i=1,3 do
  1156.  
  1157. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  1158.  
  1159. for i=0,1,0.2 do
  1160.  
  1161. wait()
  1162.  
  1163. RootJoint.C0=RootCF*euler(0,0,6.32*i)
  1164.  
  1165. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1166.  
  1167. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1168.  
  1169. LastPoint = Point
  1170.  
  1171. end
  1172.  
  1173. end
  1174.  
  1175. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  1176.  
  1177. for i=0,1,0.2 do
  1178.  
  1179. wait()
  1180.  
  1181. RootJoint.C0=RootCF*euler(0,0,3.14*i)
  1182.  
  1183. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1184.  
  1185. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1186.  
  1187. LastPoint = Point
  1188.  
  1189. end
  1190.  
  1191. con1:disconnect()
  1192.  
  1193. for i=0,1,0.1 do
  1194.  
  1195. wait()
  1196.  
  1197. wld1.C0=euler(2.57-1*i,3.14*i,0)*cf(0,1,0)
  1198.  
  1199. RootJoint.C0=RootCF*euler(0,0,3.14+3.14*i)
  1200.  
  1201. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.3+1.2*i,0,-0.7)
  1202.  
  1203. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1204.  
  1205. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(1+1.5*i,0,0.5+0.2*i)
  1206.  
  1207. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  1208.  
  1209. end
  1210.  
  1211. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1212.  
  1213. so("http://roblox.com/asset/?id=10209640",prt12,1,1.1)
  1214.  
  1215. bg.Parent=Torso
  1216.  
  1217. bg.cframe=Torso.CFrame
  1218.  
  1219. local bp = Instance.new("BodyPosition")
  1220.  
  1221. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1222.  
  1223. bp.P = 10000
  1224.  
  1225. local CF = Torso.CFrame
  1226.  
  1227. bp.position = CF.p
  1228.  
  1229. bp.Parent=Torso
  1230.  
  1231. for i=0,1,0.2 do
  1232.  
  1233. wait()
  1234.  
  1235. bp.position = CF.p - Vector3.new(0,1.5,0)
  1236.  
  1237. Torso["Left Hip"].C0=LHC0*cf(-0.7*i,1.2*i,0)
  1238.  
  1239. Torso["Right Hip"].C0=RHC0*cf(0,1.2*i,0)*euler(0,0,-0.5*i)
  1240.  
  1241. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(2.5-1*i,0,-0.7)
  1242.  
  1243. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1244.  
  1245. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2.5-1*i,0,0.7)
  1246.  
  1247. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1248.  
  1249. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1250.  
  1251. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1252.  
  1253. LastPoint = Point
  1254.  
  1255. end
  1256.  
  1257. numb=-3
  1258.  
  1259. numb2=0
  1260.  
  1261. for i=1,40 do
  1262.  
  1263. local exprt=part(3,modelzorz,0,1,BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  1264.  
  1265. exprt.Anchored=true
  1266.  
  1267. exprt.CFrame=RootPart.CFrame*cf(numb2,0,numb)
  1268.  
  1269. so("http://www.roblox.com/asset/?id=32656754",exprt,0.5,1)
  1270.  
  1271. game:GetService("Debris"):AddItem(exprt,3)
  1272.  
  1273. for i=1,5 do
  1274.  
  1275. --Icicle(exprt.CFrame*euler(math.random(-2,1)+math.random(),0,math.random(-2,1)+math.random()),2,5,2)
  1276.  
  1277. MagicFreeze(BrickColor.new("Bright blue"),exprt.CFrame*cf(0,-3,0),0.5,0.5,0.5,0.1,0.3,0.1)
  1278.  
  1279. end
  1280.  
  1281. local c = game.Workspace:GetChildren()
  1282.  
  1283. for i = 1, #c do
  1284.  
  1285. local hum = c[i]:findFirstChild("Humanoid")
  1286.  
  1287. if hum ~= nil and hum.Health ~= 0 then
  1288.  
  1289. local head = c[i]:findFirstChild("Head")
  1290.  
  1291. if head ~= nil then
  1292.  
  1293. local targ = head.Position - exprt.Position
  1294.  
  1295. local mag = targ.magnitude
  1296.  
  1297. if mag <= 5 and c[i].Name ~= Player.Name then
  1298.  
  1299. attackdebounce=false
  1300.  
  1301. freezeDamagefunc(head,0,0)
  1302.  
  1303. end
  1304.  
  1305. end
  1306.  
  1307. end
  1308.  
  1309. end
  1310.  
  1311. numb=numb-1
  1312.  
  1313. if numb2==1 then
  1314.  
  1315. wait(0)
  1316.  
  1317. numb2=0
  1318.  
  1319. end
  1320.  
  1321. numb2=numb2+1
  1322.  
  1323. end
  1324.  
  1325. wait(0.5)
  1326.  
  1327. bg.Parent=nil
  1328.  
  1329. bp.Parent=nil
  1330.  
  1331. Torso["Left Hip"].C0=LHC0
  1332.  
  1333. Torso["Right Hip"].C0=RHC0
  1334.  
  1335. Torso.Neck.C0=necko*euler(0,0,1)
  1336.  
  1337. RootJoint.C0=RootCF*euler(0,0,-1)
  1338.  
  1339. magic=false
  1340.  
  1341. attack=false
  1342.  
  1343. end
  1344.  
  1345.  
  1346.  
  1347. function AirDash()
  1348.  
  1349. attack=true
  1350.  
  1351. magic=true
  1352.  
  1353. for i=0,1,0.1 do
  1354.  
  1355. wait()
  1356.  
  1357. wld1.C0=euler(1.57-1.2*i,0,0)*cf(0,1,0.3*i)
  1358.  
  1359. Torso.Neck.C0=necko*euler(0,0,1+0.57*i)
  1360.  
  1361. RootJoint.C0=RootCF*euler(0,0,-1-0.57*i)
  1362.  
  1363. RW.C0=cf(1.5, 0.5, 0) * euler(0.7*i,0,0.3-0.9*i)
  1364.  
  1365. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1366.  
  1367. LW.C0=cf(-1.5+1*i, 0.5, -0.5*i) * euler(0.5+1.07*i,-1.57+3.16*i,0)
  1368.  
  1369. LW.C1=cf(0, 0.5, 0) * euler(0.2+0.8*i,0,0)
  1370.  
  1371. end
  1372.  
  1373. for i=0,1,0.1 do
  1374.  
  1375. wait()
  1376.  
  1377. wld7.C0=wld7.C0*euler(0,0.2,0)
  1378.  
  1379. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  1380.  
  1381. end
  1382.  
  1383. so("http://roblox.com/asset/?id=10209640",prt12,1,0.7)
  1384.  
  1385. local vel2 = Instance.new("BodyVelocity")
  1386.  
  1387. vel2.Parent = RootPart
  1388.  
  1389. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  1390.  
  1391. vel2.velocity = Head.CFrame.lookVector*100
  1392.  
  1393. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1394.  
  1395. bg.Parent = Head
  1396.  
  1397. bg.cframe=Head.CFrame
  1398.  
  1399. jointhit=false
  1400.  
  1401. con1=prt13.Touched:connect(function(hit)
  1402.  
  1403. coroutine.resume(coroutine.create(function()
  1404.  
  1405. if hit.Parent==nil then
  1406.  
  1407. return
  1408.  
  1409. end
  1410.  
  1411. h=hit.Parent:FindFirstChild("Humanoid")
  1412.  
  1413. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil and jointhit==false then
  1414.  
  1415. jointhit=true
  1416.  
  1417. bp.position=RootPart.Position
  1418.  
  1419. -- bp.Parent=RootPart
  1420.  
  1421. bg.Parent=RootPart
  1422.  
  1423. bg.cframe=RootPart.CFrame
  1424.  
  1425. for i=0,1,0.1 do
  1426.  
  1427. wait()
  1428.  
  1429. RootJoint.C0=RootCF*cf(0,-5*i,5*i)*euler(1.57*i,0,-1.57)
  1430.  
  1431. end
  1432.  
  1433. for i=0,1,0.1 do
  1434.  
  1435. wait()
  1436.  
  1437. Torso.Neck.C0=necko*euler(0,0,1.57-1.57*i)
  1438.  
  1439. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.6+0.97*i)
  1440.  
  1441. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1442.  
  1443. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,1.57,0)
  1444.  
  1445. LW.C1=cf(0, 0.5, 0) * euler(-1.57,0,0)
  1446.  
  1447. RootJoint.C0=RootCF*cf(0,-5-5*i,5+5*i)*euler(1.57+1.57*i,0,-1.57-3.14*i)
  1448.  
  1449. end
  1450.  
  1451. coroutine.resume(coroutine.create(function()
  1452.  
  1453. while attack==true do
  1454.  
  1455. wait()
  1456.  
  1457. Torso.Neck.C0=necko
  1458.  
  1459. wld1.C0=euler(1.57-1.2+2.77,0,0)*cf(0,1,0)
  1460.  
  1461. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,1.57)
  1462.  
  1463. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1464.  
  1465. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,1.57,0)
  1466.  
  1467. LW.C1=cf(0, 0.5, 0) * euler(-1.57,0,0)
  1468.  
  1469. end
  1470.  
  1471. end))
  1472.  
  1473. vel2.Parent=nil
  1474.  
  1475. for i=0,1,0.1 do
  1476.  
  1477. wait()
  1478.  
  1479. RootJoint.C0=RootCF*cf(0,-10,10-3*i)*euler(3.14+1.57*i,0,-1.57-3.14-1.57*i)
  1480.  
  1481. end
  1482.  
  1483. for i=0,1,0.15 do
  1484.  
  1485. wait()
  1486.  
  1487. RootJoint.C0=RootCF*cf(0,-10,7-3*i)*euler(3.14+1.57+1.57*i,0,-1.57-3.14-1.57+1.57*i)
  1488.  
  1489. end
  1490.  
  1491. for i=0,1,0.2 do
  1492.  
  1493. wait()
  1494.  
  1495. RootJoint.C0=RootCF*cf(0,-10,4-4*i)*euler(3.14+3.14,0,-1.57-3.14-1.57+1.57+1.57*i)
  1496.  
  1497. end
  1498.  
  1499. RootPart.CFrame=Torso.CFrame*euler(0,1,0)
  1500.  
  1501. RootJoint.C0=RootCF*euler(0,0,-1)
  1502.  
  1503. bg.Parent=nil
  1504.  
  1505. bp.Parent=nil
  1506.  
  1507. wait(0.5)
  1508.  
  1509. attack=false
  1510.  
  1511. wait()
  1512.  
  1513. Torso.Neck.C0=necko*euler(0,0,1)
  1514.  
  1515. end
  1516.  
  1517. end))
  1518.  
  1519. Damagefunc1(hit,10,10)
  1520.  
  1521. end)
  1522.  
  1523. numb=-1
  1524.  
  1525. for i=0,1,0.2 do
  1526.  
  1527. wait()
  1528.  
  1529. so("http://roblox.com/asset/?id=10209640",prt12,1,numb)
  1530.  
  1531. numb=numb+0.2
  1532.  
  1533. wld1.C0=euler(1.57-1.2+2.77*i,0,0)*cf(0,1,0.3-0.3*i)
  1534.  
  1535. Torso.Neck.C0=necko*euler(0,0,1.57)
  1536.  
  1537. RW.C0=cf(1.5, 0.5, 0) * euler(0.7-0.7*i,0,-0.6+1.2*i)
  1538.  
  1539. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1540.  
  1541. LW.C0=cf(-1.5+1-1*i, 0.5, -0.5+0.5*i) * euler(1.57,1.57,0)
  1542.  
  1543. LW.C1=cf(0, 0.5, 0) * euler(1-2.57*i,0,0)
  1544.  
  1545. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1546.  
  1547. local Point2 = prt12.CFrame
  1548.  
  1549. effect("White",0.5,0.1,LastPoint,Point)
  1550.  
  1551. LastPoint = Point
  1552.  
  1553. end
  1554.  
  1555. for i=0,1,0.1 do
  1556.  
  1557. wait()
  1558.  
  1559. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1560.  
  1561. local Point2 = prt12.CFrame
  1562.  
  1563. effect("White",0.5,0.1,LastPoint,Point)
  1564.  
  1565. LastPoint = Point
  1566.  
  1567. end
  1568.  
  1569. con1:disconnect()
  1570.  
  1571. if jointhit==false then
  1572.  
  1573. vel2.Parent=nil
  1574.  
  1575. end
  1576.  
  1577. wait(1)
  1578.  
  1579. Torso.Neck.C0=necko*euler(0,0,1)
  1580.  
  1581. if jointhit==false then
  1582.  
  1583. bg.Parent=nil
  1584.  
  1585. RootJoint.C0=RootCF*euler(0,0,-1)
  1586.  
  1587. attack=false
  1588.  
  1589. end
  1590.  
  1591. magic=false
  1592.  
  1593. end
  1594.  
  1595.  
  1596.  
  1597. local LastPoint = prt12.CFrame * CFrame.new(0,-prt12.Size.Y*2.5,0)
  1598.  
  1599. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1600.  
  1601. function effect(Color,Ref,Size,LP,P1,returnn)
  1602.  
  1603. local effectsmsh = Instance.new("BlockMesh")
  1604.  
  1605. effectsmsh.Scale = Vector3.new(0.4,1,0.4)
  1606.  
  1607. effectsmsh.Name = "Mesh"
  1608.  
  1609. local effectsg = Instance.new("Part")
  1610.  
  1611. effectsg.formFactor = 3
  1612.  
  1613. effectsg.CanCollide = false
  1614.  
  1615. effectsg.Name = "Eff"
  1616.  
  1617. effectsg.Locked = true
  1618.  
  1619. effectsg.Anchored = true
  1620.  
  1621. effectsg.Size = Vector3.new(0.2,1,0.2)
  1622.  
  1623. effectsg.Parent = workspace
  1624.  
  1625. effectsmsh.Parent = effectsg
  1626.  
  1627. effectsg.BrickColor = BrickColor.new(Color)
  1628.  
  1629. effectsg.Reflectance = Ref
  1630.  
  1631. local point1 = P1
  1632.  
  1633. local mg = (LP.p - point1.p).magnitude
  1634.  
  1635. effectsg.Size = Vector3.new(Size,mg,Size)
  1636.  
  1637. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1638.  
  1639. if returnn then return effectsg end
  1640.  
  1641. coroutine.resume(coroutine.create(function()
  1642.  
  1643. if not returnn then
  1644.  
  1645. for i = 0 , 1 , 0.1 do
  1646.  
  1647. wait()
  1648.  
  1649. effectsg.Transparency = 1*i
  1650.  
  1651. effectsmsh.Scale = Vector3.new(Size-Size*i,1,Size-Size*i)
  1652.  
  1653. end
  1654.  
  1655. wait()
  1656.  
  1657. effectsg.Parent = nil
  1658.  
  1659. end
  1660.  
  1661. end))
  1662.  
  1663. end
  1664.  
  1665.  
  1666.  
  1667. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1668.  
  1669. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1670.  
  1671. prt.Anchored=true
  1672.  
  1673. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1674.  
  1675. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1676.  
  1677. coroutine.resume(coroutine.create(function(Part,Mesh)
  1678.  
  1679. for i=0,1,0.1 do
  1680.  
  1681. wait()
  1682.  
  1683. Part.CFrame=Part.CFrame
  1684.  
  1685. Part.Transparency=i
  1686.  
  1687. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1688.  
  1689. end
  1690.  
  1691. Part.Parent=nil
  1692.  
  1693. end),prt,msh)
  1694.  
  1695. end
  1696.  
  1697.  
  1698.  
  1699. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1700.  
  1701. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1702.  
  1703. prt.Anchored=true
  1704.  
  1705. prt.CFrame=cframe
  1706.  
  1707. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1708.  
  1709. coroutine.resume(coroutine.create(function(Part,Mesh)
  1710.  
  1711. for i=0,1,0.1 do
  1712.  
  1713. wait()
  1714.  
  1715. Part.CFrame=Part.CFrame
  1716.  
  1717. Part.Transparency=i
  1718.  
  1719. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1720.  
  1721. end
  1722.  
  1723. Part.Parent=nil
  1724.  
  1725. end),prt,msh)
  1726.  
  1727. end
  1728.  
  1729.  
  1730.  
  1731. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1732.  
  1733. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1734.  
  1735. prt.Anchored=true
  1736.  
  1737. prt.CFrame=cframe
  1738.  
  1739. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1740.  
  1741. coroutine.resume(coroutine.create(function(Part,Mesh)
  1742.  
  1743. for i=0,1,0.03 do
  1744.  
  1745. wait()
  1746.  
  1747. Part.CFrame=Part.CFrame
  1748.  
  1749. Part.Transparency=i
  1750.  
  1751. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1752.  
  1753. end
  1754.  
  1755. Part.Parent=nil
  1756.  
  1757. end),prt,msh)
  1758.  
  1759. end
  1760.  
  1761.  
  1762.  
  1763. function MagicFreeze(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1764.  
  1765. local prt=part(3,workspace,0.4,0.3,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1766.  
  1767. prt.Anchored=true
  1768.  
  1769. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1770.  
  1771. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(x1,y1,z1))
  1772.  
  1773. coroutine.resume(coroutine.create(function(Part,Mesh)
  1774.  
  1775. for i=0,1,0.1 do
  1776.  
  1777. Part.CFrame=Part.CFrame*cf(0,0.3,0)
  1778.  
  1779. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1780.  
  1781. end
  1782.  
  1783. wait(5)
  1784.  
  1785. Part.Parent=nil
  1786.  
  1787. end),prt,msh)
  1788.  
  1789. end
  1790.  
  1791.  
  1792.  
  1793. Damagefunc1=function(hit,Damage,Knockback)
  1794.  
  1795. if hit.Parent==nil then
  1796.  
  1797. return
  1798.  
  1799. end
  1800.  
  1801. CPlayer=Bin
  1802.  
  1803. h=hit.Parent:FindFirstChild("Humanoid")
  1804.  
  1805. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1806.  
  1807. if attackdebounce == false then
  1808.  
  1809. attackdebounce = true
  1810.  
  1811. coroutine.resume(coroutine.create(function()
  1812.  
  1813. wait(0.2)
  1814.  
  1815. attackdebounce = false
  1816.  
  1817. end))
  1818.  
  1819. Damage=Damage
  1820.  
  1821. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1822.  
  1823. return
  1824.  
  1825. end]]
  1826.  
  1827. -- hs(hit,1.2)
  1828.  
  1829. c=Instance.new("ObjectValue")
  1830.  
  1831. c.Name="creator"
  1832.  
  1833. c.Value=game.Players.LocalPlayer
  1834.  
  1835. c.Parent=h
  1836.  
  1837. game:GetService("Debris"):AddItem(c,.5)
  1838.  
  1839. Damage=Damage+math.random(0,10)
  1840.  
  1841. -- h:TakeDamage(Damage)
  1842.  
  1843. blocked=false
  1844.  
  1845. block=hit.Parent:findFirstChild("Block")
  1846.  
  1847. if block~=nil then
  1848.  
  1849. print("herp")
  1850.  
  1851. if block.Value>0 then
  1852.  
  1853. blocked=true
  1854.  
  1855. block.Value=block.Value-1
  1856.  
  1857. print(block.Value)
  1858.  
  1859. end
  1860.  
  1861. end
  1862.  
  1863. if blocked==false then
  1864.  
  1865. -- h:TakeDamage(Damage)
  1866.  
  1867. h.Health=h.Health-Damage
  1868.  
  1869. showDamage(hit.Parent,Damage,.5)
  1870.  
  1871. else
  1872.  
  1873. h:TakeDamage(1)
  1874.  
  1875. showDamage(hit.Parent,1,.5)
  1876.  
  1877. end
  1878.  
  1879. vp=Instance.new("BodyVelocity")
  1880.  
  1881. vp.P=500
  1882.  
  1883. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1884.  
  1885. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1886.  
  1887. vp.velocity=RootPart.CFrame.lookVector*Knockback+RootPart.Velocity/1.05
  1888.  
  1889. if Knockback>0 then
  1890.  
  1891. vp.Parent=hit.Parent.Torso
  1892.  
  1893. end
  1894.  
  1895. game:GetService("Debris"):AddItem(vp,.25)
  1896.  
  1897. game:GetService("Debris"):AddItem(r,.5)
  1898.  
  1899. c=Instance.new("ObjectValue")
  1900.  
  1901. c.Name="creator"
  1902.  
  1903. c.Value=Player
  1904.  
  1905. c.Parent=h
  1906.  
  1907. game:GetService("Debris"):AddItem(c,.5)
  1908.  
  1909. CRIT=false
  1910.  
  1911. hitDeb=true
  1912.  
  1913. AttackPos=6
  1914.  
  1915. end
  1916.  
  1917. end
  1918.  
  1919. end
  1920.  
  1921.  
  1922.  
  1923. freezeDamagefunc=function(hit,Damage,Knockback)
  1924.  
  1925. if hit.Parent==nil then
  1926.  
  1927. return
  1928.  
  1929. end
  1930.  
  1931. CPlayer=Bin
  1932.  
  1933. h=hit.Parent:FindFirstChild("Humanoid")
  1934.  
  1935. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1936.  
  1937. if attackdebounce == false then
  1938.  
  1939. attackdebounce = true
  1940.  
  1941. coroutine.resume(coroutine.create(function()
  1942.  
  1943. wait(0.2)
  1944.  
  1945. attackdebounce = false
  1946.  
  1947. end))
  1948.  
  1949. Damage=Damage
  1950.  
  1951. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1952.  
  1953. return
  1954.  
  1955. end]]
  1956.  
  1957. -- hs(hit,1.2)
  1958.  
  1959. c=Instance.new("ObjectValue")
  1960.  
  1961. c.Name="creator"
  1962.  
  1963. c.Value=game.Players.LocalPlayer
  1964.  
  1965. c.Parent=h
  1966.  
  1967. game:GetService("Debris"):AddItem(c,.5)
  1968.  
  1969. Damage=Damage+math.random(0,5)
  1970.  
  1971. -- h:TakeDamage(Damage)
  1972.  
  1973. blocked=false
  1974.  
  1975. block=hit.Parent:findFirstChild("Block")
  1976.  
  1977. if block~=nil then
  1978.  
  1979. print("herp")
  1980.  
  1981. if block.Value>0 then
  1982.  
  1983. blocked=true
  1984.  
  1985. block.Value=block.Value-1
  1986.  
  1987. print(block.Value)
  1988.  
  1989. end
  1990.  
  1991. end
  1992.  
  1993. if blocked==false then
  1994.  
  1995. -- h:TakeDamage(Damage)
  1996.  
  1997. h.Health=h.Health-Damage
  1998.  
  1999. showDamage(hit.Parent,Damage,.5)
  2000.  
  2001. else
  2002.  
  2003. h:TakeDamage(1)
  2004.  
  2005. showDamage(hit.Parent,1,.5)
  2006.  
  2007. end
  2008.  
  2009. if math.random(1,1)==1 then
  2010.  
  2011. BodPos=Instance.new("BodyPosition")
  2012.  
  2013. BodPos.P=50000
  2014.  
  2015. BodPos.D=1000
  2016.  
  2017. BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2018.  
  2019. BodPos.position=hit.Parent.Torso.Position
  2020.  
  2021. BodPos.Parent=hit.Parent.Torso
  2022.  
  2023. BodGy = it("BodyGyro")
  2024.  
  2025. BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  2026.  
  2027. BodGy.P = 20e+003
  2028.  
  2029. BodGy.Parent=hit.Parent.Torso
  2030.  
  2031. BodGy.cframe = hit.Parent.Torso.CFrame
  2032.  
  2033. showDamage(hit.Parent,Damage,.5)
  2034.  
  2035. so("http://www.roblox.com/asset/?id=41763367",hit,1,2)
  2036.  
  2037. --[[ for i=1,10 do
  2038.  
  2039. local freezepart=part(3,hit.Parent,0.5,0.5,BrickColor.new("Bright blue"),"Ice Part",vt(math.random(2,3)+math.random(),math.random(2,3)+math.random(),math.random(2,3)+math.random()))
  2040.  
  2041. freezepart.Anchored=true
  2042.  
  2043. freezepart.CFrame=hit.Parent.Torso.CFrame*cf(math.random(-1,0)+math.random(),-2.5,math.random(-1,0)+math.random())*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2044.  
  2045. coroutine.resume(coroutine.create(function(Part)
  2046.  
  2047. wait(5)
  2048.  
  2049. Part.Anchored=false
  2050.  
  2051. Part.Velocity=vt(math.random(-20,20),math.random(20,30),math.random(-20,20))
  2052.  
  2053. wait(5)
  2054.  
  2055. Part.Parent=nil
  2056.  
  2057. end),freezepart)
  2058.  
  2059. end]]
  2060.  
  2061. coroutine.resume(coroutine.create(function(BodyPos,BodyGy,Hitted)
  2062.  
  2063. wait(5)
  2064.  
  2065. BodyPos.Parent=nil
  2066.  
  2067. BodyGy.Parent=nil
  2068.  
  2069. end),BodPos,BodGy,hit)
  2070.  
  2071. end
  2072.  
  2073. vp=Instance.new("BodyVelocity")
  2074.  
  2075. vp.P=500
  2076.  
  2077. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2078.  
  2079. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2080.  
  2081. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2082.  
  2083. if Knockback>0 then
  2084.  
  2085. vp.Parent=hit.Parent.Torso
  2086.  
  2087. end
  2088.  
  2089. game:GetService("Debris"):AddItem(vp,.25)
  2090.  
  2091. c=Instance.new("ObjectValue")
  2092.  
  2093. c.Name="creator"
  2094.  
  2095. c.Value=Player
  2096.  
  2097. c.Parent=h
  2098.  
  2099. game:GetService("Debris"):AddItem(c,.5)
  2100.  
  2101. CRIT=false
  2102.  
  2103. hitDeb=true
  2104.  
  2105. AttackPos=6
  2106.  
  2107. end
  2108.  
  2109. end
  2110.  
  2111. end
  2112.  
  2113.  
  2114.  
  2115. showDamage=function(Char,Dealt,du)
  2116.  
  2117. m=Instance.new("Model")
  2118.  
  2119. m.Name=tostring(Dealt)
  2120.  
  2121. h=Instance.new("Humanoid")
  2122.  
  2123. h.Health=0
  2124.  
  2125. h.MaxHealth=0
  2126.  
  2127. h.Parent=m
  2128.  
  2129. c=Instance.new("Part")
  2130.  
  2131. c.Transparency=0
  2132.  
  2133. c.BrickColor=BrickColor:Red()
  2134.  
  2135. if CRIT==true then
  2136.  
  2137. c.BrickColor=BrickColor.new("Really red")
  2138.  
  2139. end
  2140.  
  2141. c.Name="Head"
  2142.  
  2143. c.TopSurface=0
  2144.  
  2145. c.BottomSurface=0
  2146.  
  2147. c.formFactor="Plate"
  2148.  
  2149. c.Size=Vector3.new(1,.4,1)
  2150.  
  2151. ms=Instance.new("CylinderMesh")
  2152.  
  2153. ms.Scale=Vector3.new(.8,.8,.8)
  2154.  
  2155. if CRIT==true then
  2156.  
  2157. ms.Scale=Vector3.new(1,1.25,1)
  2158.  
  2159. end
  2160.  
  2161. ms.Parent=c
  2162.  
  2163. c.Reflectance=0
  2164.  
  2165. Instance.new("BodyGyro").Parent=c
  2166.  
  2167. c.Parent=m
  2168.  
  2169. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2170.  
  2171. f=Instance.new("BodyPosition")
  2172.  
  2173. f.P=2000
  2174.  
  2175. f.D=100
  2176.  
  2177. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2178.  
  2179. f.position=c.Position+Vector3.new(0,3,0)
  2180.  
  2181. f.Parent=c
  2182.  
  2183. game:GetService("Debris"):AddItem(m,.5+du)
  2184.  
  2185. c.CanCollide=false
  2186.  
  2187. m.Parent=workspace
  2188.  
  2189. c.CanCollide=false
  2190.  
  2191. end
  2192.  
  2193.  
  2194.  
  2195. function ob1d(mouse)
  2196.  
  2197. if attack == true then return end
  2198.  
  2199. hold=true
  2200.  
  2201. if combo==0 then
  2202.  
  2203. combo=1
  2204.  
  2205. oneslash()
  2206.  
  2207. elseif combo==1 then
  2208.  
  2209. combo=2
  2210.  
  2211. twoslash()
  2212.  
  2213. elseif combo==2 then
  2214.  
  2215. combo=3
  2216.  
  2217. threeslash()
  2218.  
  2219. elseif combo==3 then
  2220.  
  2221. combo=4
  2222.  
  2223. fourslash()
  2224.  
  2225. end
  2226.  
  2227. coroutine.resume(coroutine.create(function()
  2228.  
  2229. wait(0.5)
  2230.  
  2231. if attack==false then
  2232.  
  2233. combo=0
  2234.  
  2235. Torso.Neck.C0=necko*euler(0,0,1)
  2236.  
  2237. RootJoint.C0=RootCF*euler(0,0,-1)
  2238.  
  2239. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  2240.  
  2241. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  2242.  
  2243. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2244.  
  2245. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  2246.  
  2247. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  2248.  
  2249. end
  2250.  
  2251. end))
  2252.  
  2253. end
  2254.  
  2255.  
  2256.  
  2257. function ob1u(mouse)
  2258.  
  2259. hold = false
  2260.  
  2261. end
  2262.  
  2263.  
  2264.  
  2265. buttonhold = false
  2266.  
  2267.  
  2268.  
  2269. function key(key)
  2270.  
  2271. if attack == true then return end
  2272.  
  2273. --attack=true
  2274.  
  2275. if key=="z" then
  2276.  
  2277. FlameBarrage()
  2278.  
  2279. end
  2280.  
  2281. if key=="x" then
  2282.  
  2283. IcePrison()
  2284.  
  2285. end
  2286.  
  2287. if key=="c" then
  2288.  
  2289. AirDash()
  2290.  
  2291. end
  2292.  
  2293. if key=="f" then
  2294.  
  2295. --so("http://roblox.com/asset/?id=130839563",Torso,1,1)
  2296.  
  2297. so("http://www.roblox.com/asset/?id=10209810",Torso,1,1)
  2298.  
  2299. wait(5)
  2300.  
  2301. for i=0,1,0.1 do
  2302.  
  2303. wait()
  2304.  
  2305. so("http://www.roblox.com/asset/?id=10209810",Torso,1,2)
  2306.  
  2307. end
  2308.  
  2309. end
  2310.  
  2311. combo=0
  2312.  
  2313. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  2314.  
  2315. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  2316.  
  2317. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2318.  
  2319. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  2320.  
  2321. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  2322.  
  2323. Humanoid.WalkSpeed=16
  2324.  
  2325. end
  2326.  
  2327.  
  2328.  
  2329. function key2(key)
  2330.  
  2331. end
  2332.  
  2333.  
  2334.  
  2335. function s(mouse)
  2336.  
  2337. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2338.  
  2339. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2340.  
  2341. mouse.KeyDown:connect(key)
  2342.  
  2343. mouse.KeyUp:connect(key2)
  2344.  
  2345. unsheathed = true
  2346.  
  2347. player = Player
  2348.  
  2349. ch = Character
  2350.  
  2351. MMouse = mouse
  2352.  
  2353. RSH = ch.Torso["Right Shoulder"]
  2354.  
  2355. LSH = ch.Torso["Left Shoulder"]
  2356.  
  2357. --
  2358.  
  2359. RSH.Parent = nil
  2360.  
  2361. LSH.Parent = nil
  2362.  
  2363. --
  2364.  
  2365. RW.Part0 = ch.Torso
  2366.  
  2367. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2368.  
  2369. RW.C1 = CFrame.new(0, 0.5, 0)
  2370.  
  2371. RW.Part1 = ch["Right Arm"]
  2372.  
  2373. RW.Parent = ch.Torso
  2374.  
  2375. --_G.R = RW
  2376.  
  2377. --
  2378.  
  2379. LW.Part0 = ch.Torso
  2380.  
  2381. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2382.  
  2383. LW.C1 = CFrame.new(0, 0.5, 0)
  2384.  
  2385. LW.Part1 = ch["Left Arm"]
  2386.  
  2387. LW.Parent = ch.Torso
  2388.  
  2389. --_G.L = LW
  2390.  
  2391. --
  2392.  
  2393. equipanim()
  2394.  
  2395. end
  2396.  
  2397.  
  2398.  
  2399. function ds(mouse)
  2400.  
  2401. hideanim()
  2402.  
  2403. wait(0)
  2404.  
  2405. RW.Parent = nil
  2406.  
  2407. LW.Parent = nil
  2408.  
  2409. RSH.Parent = player.Character.Torso
  2410.  
  2411. LSH.Parent = player.Character.Torso
  2412.  
  2413. end
  2414.  
  2415.  
  2416.  
  2417. Bin.Selected:connect(s)
  2418.  
  2419. Bin.Deselected:connect(ds)
  2420.  
  2421. print("Spell Rapier loaded.")
  2422.  
  2423. -- mediafire
  2424.  
  2425. --[[
  2426.  
  2427. Copyrighted (C) Fenrier 2013
  2428.  
  2429. ]]
Add Comment
Please, Sign In to add comment