lilta44

2

Dec 2nd, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.79 KB | None | 0 0
  1. -- mediafire ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3.  
  4. script:ClearAllChildren()
  5.  
  6.  
  7. loadstring(_G[" rmdx "])()
  8.  
  9.  
  10.  
  11.  
  12. Player=game:GetService("Players").LocalPlayer
  13.  
  14.  
  15. Char=Player.Character
  16.  
  17.  
  18. Backpack=Player.Backpack
  19.  
  20.  
  21. PlayerGui=Player.PlayerGui
  22.  
  23.  
  24. Torso=Char.Torso
  25.  
  26.  
  27. Head=Char.Head
  28.  
  29.  
  30. Hum=Char.Humanoid
  31.  
  32.  
  33. Cam=workspace.CurrentCamera
  34.  
  35.  
  36. Tn="Glaive"
  37.  
  38.  
  39.  
  40.  
  41. pcall(function() Backpack[Tn]:Remove() end)
  42.  
  43.  
  44. pcall(function() Cam[Tn]:Remove() end)
  45.  
  46.  
  47. pcall(function() thesuit=Char[''] end)
  48.  
  49.  
  50. pcall(function() thesuit[Tn]:Remove() end)
  51.  
  52.  
  53. pcall(function() Char.Block:Remove() end)
  54.  
  55.  
  56. pcall(function() PlayerGui[Tn]:Remove() end)
  57.  
  58.  
  59.  
  60.  
  61. CModel=qi{'Model',Cam,Name=Tn}
  62.  
  63.  
  64. Tool=qi{'HopperBin',Player.Backpack,Name=Tn}
  65.  
  66.  
  67. Suit=qi{'Model',Char,Name=''}
  68.  
  69.  
  70. Weapon=qi{'Model',Suit,Name=Tn}
  71.  
  72.  
  73. Gui=qi{'ScreenGui',PlayerGui,Name=Tn}
  74.  
  75.  
  76. Block=qi{'NumberValue',Char,Name='Block',Value=0}
  77.  
  78.  
  79.  
  80.  
  81. equip="unequipped"
  82.  
  83.  
  84. anim=""
  85.  
  86.  
  87. keys={}
  88.  
  89.  
  90. dtap={}
  91.  
  92.  
  93. fmouse=nil
  94.  
  95.  
  96. Gyr0z=false
  97.  
  98.  
  99. Combo=0
  100.  
  101.  
  102.  
  103.  
  104. ids = {}
  105.  
  106.  
  107. ids.Chakram = 18430887
  108.  
  109.  
  110. ids.chakram = 47260990
  111.  
  112.  
  113. ids.Diamond = 9756362
  114.  
  115.  
  116. ids.Slash = 10209645
  117.  
  118.  
  119. ids.Slash2 = 46760716
  120.  
  121.  
  122. ids.Slash3 = 10209640
  123.  
  124.  
  125. ids.Shoot = 2691586
  126.  
  127.  
  128. ids.Shoot2 = 10209842
  129.  
  130.  
  131. ids.Ring = 3270017
  132.  
  133.  
  134. ids.Crown = 20329976
  135.  
  136.  
  137. ids.Icon = 52611635
  138.  
  139.  
  140. ids.Flame = 31760113
  141.  
  142.  
  143. ids.Spike = 1033714
  144.  
  145.  
  146. ids.Block = 'rbxasset://sounds\\metal.ogg'
  147.  
  148.  
  149. ids.Hit = 10209590
  150.  
  151.  
  152.  
  153.  
  154. for i,v in pairs(ids) do
  155.  
  156.  
  157. if type(v)=='number' then
  158.  
  159.  
  160. ids[i]='http://www.roblox.com/asset/?id='..v
  161.  
  162.  
  163. end
  164.  
  165.  
  166. end
  167.  
  168.  
  169.  
  170.  
  171. Limbs={LS=Torso:findFirstChild'Left Shoulder',RS=Torso:findFirstChild'Right Shoulder',LH=Torso:findFirstChild'Left Hip',RH=Torso:findFirstChild'Right Hip'}
  172.  
  173.  
  174. if _G.Limbz then
  175.  
  176.  
  177. Limbs.LS=Limbs.LS or _G.Limbz.LS
  178.  
  179.  
  180. Limbs.RS=Limbs.RS or _G.Limbz.RS
  181.  
  182.  
  183. Limbs.LH=Limbs.LH or _G.Limbz.LH
  184.  
  185.  
  186. Limbs.RH=Limbs.RH or _G.Limbz.RH
  187.  
  188.  
  189. end
  190.  
  191.  
  192. _G.Limbz=Limbs
  193.  
  194.  
  195. Torso.Neck.C0=cn(0,1.5,0) Torso.Neck.C1=cn(0,0,0)
  196.  
  197.  
  198. c2(Torso.Neck,1,3,0,1.5,0,0,0,0)
  199.  
  200.  
  201. LS,RS,LH,RH=Limbs.LS,Limbs.RS,Limbs.LH,Limbs.RH
  202.  
  203.  
  204. LA,RA,LL,RL=Char['Left Arm'],Char['Right Arm'],Char['Left Leg'],Char['Right Leg']
  205.  
  206.  
  207. LS.Part0,RS.Part0,LH.Part0,RH.Part0=Torso,Torso,Torso,Torso
  208.  
  209.  
  210. LS.Part1,RS.Part1,LH.Part1,RH.Part1=LA,RA,LL,RL
  211.  
  212.  
  213.  
  214.  
  215. pcall(function() thesuit:Remove() end)
  216.  
  217.  
  218.  
  219.  
  220. Head.face.Transparency=0
  221.  
  222.  
  223. Head.Transparency=1 Torso.Transparency=1
  224.  
  225.  
  226. fTorso=pa(Suit,"FTorso","Block",2,2,1,false,false,0,0,Torso.BrickColor.Name) neck=Torso.Neck
  227.  
  228.  
  229. tw=weld(fTorso,Torso,fTorso,0,0,0,0,0,0) qi{"BlockMesh",fTorso}
  230.  
  231.  
  232. fHead=pa(Suit,"FHead","Block",2,1,1,false,false,0,0,Head.BrickColor.Name)
  233.  
  234.  
  235. hw=weld(fHead,fTorso,fHead,0,1.5,0,0,0,0) qi{"SpecialMesh",fHead,Scale=v3(1.15,1.15,1.15)} Head.face:Clone().Parent=fHead Head.face.Transparency=1
  236.  
  237.  
  238. la=qi{'Weld',fTorso,Part0=fTorso,C0=cn(-1.5,0.5,0),C1=cn(0,0.5,0)} ra=qi{'Weld',fTorso,Part0=fTorso,C0=cn(1.5,0.5,0),C1=cn(0,0.5,0)}
  239.  
  240.  
  241. ll=qi{'Weld',fTorso,Part0=fTorso,C0=cn(-0.5,-1,0),C1=cn(0,1,0)} rl=qi{'Weld',fTorso,Part0=fTorso,C0=cn(0.5,-1,0),C1=cn(0,1,0)}
  242.  
  243.  
  244. newhats(Char,fHead,Head) ClearClass(Char,"Hat") Hum.WalkSpeed=20
  245.  
  246.  
  247.  
  248.  
  249. Armz=false
  250.  
  251.  
  252. Legz=false
  253.  
  254.  
  255. Arms = function(on) Armz=on
  256.  
  257.  
  258. if on then
  259.  
  260.  
  261. LS.Part1=nil RS.Part1=nil
  262.  
  263.  
  264. la.Part0=fTorso ra.Part0=fTorso
  265.  
  266.  
  267. la.Part1=LA ra.Part1=RA
  268.  
  269.  
  270. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  271.  
  272.  
  273. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  274.  
  275.  
  276. else
  277.  
  278.  
  279. LS.Parent,RS.Parent=fTorso,fTorso LS.Part0=fTorso RS.Part0=fTorso LS.Part1=LA RS.Part1=RA
  280.  
  281.  
  282. la.Part1=nil ra.Part1=nil
  283.  
  284.  
  285. end
  286.  
  287.  
  288. end
  289.  
  290.  
  291.  
  292.  
  293. Legs = function(on) Legz=on
  294.  
  295.  
  296. if on then
  297.  
  298.  
  299. LH.Part1=nil RH.Part1=nil
  300.  
  301.  
  302. ll.Part0=fTorso rl.Part0=fTorso
  303.  
  304.  
  305. ll.Part1=LL rl.Part1=RL
  306.  
  307.  
  308. ll.C0,ll.C1=cn(-0.5,-1,0),cn(0,1,0)
  309.  
  310.  
  311. rl.C0,rl.C1=cn(0.5,-1,0),cn(0,1,0)
  312.  
  313.  
  314. else
  315.  
  316.  
  317. LH.Parent,RH.Parent=fTorso,fTorso LH.Part0=fTorso RH.Part0=fTorso LH.Part1=LL RH.Part1=RL
  318.  
  319.  
  320. ll.Part1=nil rl.Part1=nil
  321.  
  322.  
  323. end
  324.  
  325.  
  326. end
  327.  
  328.  
  329. Arms'' Legs''
  330.  
  331.  
  332.  
  333.  
  334. WDesign=function()
  335.  
  336.  
  337. ha=pa(Weapon,"","Block",1,1,1,false,false,1,0) haw=weld(ha,RA,ha,0.5,-0.5,0,rd(30),rd(90),0)
  338.  
  339.  
  340. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"White") pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,Scale=v3(0.6,0.6,2),MeshId=ids.Chakram}
  341.  
  342.  
  343. chak=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Toothpaste") chakw=weld(chak,ha,chak,0,0,0,0,0,0) qi{"SpecialMesh",chak,Scale=v3(1,1,2),MeshId=ids.chakram}
  344.  
  345.  
  346. for i=0,360,360/3 do
  347.  
  348.  
  349. p=pa(Weapon,"","Block",0.4,0.6,0.2,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"BlockMesh",p}
  350.  
  351.  
  352. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(0.7,0,0)
  353.  
  354.  
  355.  
  356.  
  357. p=pa(Weapon,"","Block",0.2,0.3,0.3,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  358.  
  359.  
  360. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1,0,0)*ca(0,rd(90),0)*cn(0,0.15,0.05)*ca(rd(90),0,0)
  361.  
  362.  
  363.  
  364.  
  365. p=pa(Weapon,"","Block",0.2,0.3,0.3,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  366.  
  367.  
  368. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1,0,0)*ca(0,rd(90),0)*cn(0,-0.15,0.05)*ca(rd(90),0,0)*ca(0,rd(180),0)
  369.  
  370.  
  371.  
  372.  
  373. p=pa(Weapon,"","Block",0.4,1,0.2,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"BlockMesh",p}
  374.  
  375.  
  376. pw.C0=ca(0,0,rd(30))*cn(0,0,0)*ca(0,0,rd(i))*cn(0,1.25,0)
  377.  
  378.  
  379.  
  380.  
  381. p=pa(Weapon,"","Block",0.2,0.4,0.4,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  382.  
  383.  
  384. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1.9,0,0)*ca(0,rd(90),0)*cn(0,0,0.05)*ca(rd(90),0,0)*ca(0,rd(180),0)
  385.  
  386.  
  387.  
  388.  
  389. p=pa(Weapon,"","Block",0.2,0.4,0.4,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  390.  
  391.  
  392. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1.9,0,0)*ca(0,rd(90),0)*cn(0,0.4,0.05-0.4)*ca(rd(270),0,0)*ca(0,rd(180),0)
  393.  
  394.  
  395.  
  396.  
  397. p=pa(Weapon,"Blade"..tostring(i),"Block",0.2,0.4,1.5,false,false,0,0,"White") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  398.  
  399.  
  400. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1.9,0,0)*ca(0,rd(90),0)*cn(0,0.95,0.05)*ca(rd(90),0,0)*ca(0,0,0)
  401.  
  402.  
  403.  
  404.  
  405. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Toothpaste") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshId=ids.Diamond,Scale=v3(0.1,0.3,0.3)}
  406.  
  407.  
  408. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1.9,0,0)*ca(0,rd(90),0)*cn(0.1,0.2,0.05-0.2)*ca(0,rd(180),0)*ca(rd(45),0,0)
  409.  
  410.  
  411.  
  412.  
  413. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Toothpaste") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshId=ids.Diamond,Scale=v3(0.1,0.3,0.3)}
  414.  
  415.  
  416. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(1.9,0,0)*ca(0,rd(90),0)*cn(-0.1,0.2,0.05-0.2)*ca(0,rd(180),0)*ca(rd(45),0,0)
  417.  
  418.  
  419. end
  420.  
  421.  
  422. for i,v in pairs(Weapon:GetChildren()) do v.CanCollide=false end
  423.  
  424.  
  425. end
  426.  
  427.  
  428.  
  429.  
  430. WDesign() Arms(false) Legs(false)
  431.  
  432.  
  433.  
  434.  
  435. Dealt={4,11}
  436.  
  437.  
  438. BBD,BBT=0,{}
  439.  
  440.  
  441. DealtMul=1
  442.  
  443.  
  444.  
  445.  
  446. BladeHit=function(hit)
  447.  
  448.  
  449. local Hum=GetHum(hit)
  450.  
  451.  
  452. if not Hum or BBD==0 or BBT[Hum.Parent] then return end
  453.  
  454.  
  455. BBT[Hum.Parent]=1
  456.  
  457.  
  458. Dmg(Hum,rn(Dealt[1],Dealt[2])*DealtMul)
  459.  
  460.  
  461. local HMT=Hum.Parent:findFirstChild'Torso'
  462.  
  463.  
  464. if BBD==2 and HMT then AddBV(25,cn(Torso.Position,HMT.Position),HMT,0.15) end
  465.  
  466.  
  467. so(ids.Hit,HMT,1,1)
  468.  
  469.  
  470. wait(0.05)
  471.  
  472.  
  473. BBT[Hum.Parent]=nil
  474.  
  475.  
  476. end
  477.  
  478.  
  479.  
  480.  
  481. for i,v in pairs(Weapon:GetChildren()) do v.Touched:connect(BladeHit) end
  482.  
  483.  
  484.  
  485.  
  486. a,b,c=haw.C0:toEulerAnglesXYZ() a,b,c=rd(a),rd(b),rd(c)
  487.  
  488.  
  489. HFS={haw.C0.x,haw.C0.y,haw.C0.z,a,b,c}
  490.  
  491.  
  492.  
  493.  
  494. function Stance(speed)
  495.  
  496.  
  497. c2(ra,speed,3,1.5,0.5,0,20,0,-20)
  498.  
  499.  
  500. c2(la,speed,3,-1.5,0.5,0,-20,0,20)
  501.  
  502.  
  503. c2(ll,speed,3,-0.5,-1,0,0,0,0)
  504.  
  505.  
  506. c2(rl,speed,3,0.5,-1,0,0,0,0)
  507.  
  508.  
  509. c2(hw,speed,3,0,1.5,0,0,30,0)
  510.  
  511.  
  512. c2(tw,speed,3,0,0,0,0,-30,0)
  513.  
  514.  
  515. c2(neck,speed,3,0,1.5,0,0,0,0)
  516.  
  517.  
  518. Ani(haw,0,-1.3,0,0,90,30,0,speed/2,1)
  519.  
  520.  
  521. end
  522.  
  523.  
  524.  
  525.  
  526. function Reset(speed)
  527.  
  528.  
  529. c2(ra,speed,3,1.5,0.5,0,0,0,0)
  530.  
  531.  
  532. c2(la,speed,3,-1.5,0.5,0,0,0,0)
  533.  
  534.  
  535. c2(ll,speed,3,-0.5,-1,0,0,0,0)
  536.  
  537.  
  538. c2(rl,speed,3,0.5,-1,0,0,0,0)
  539.  
  540.  
  541. c2(hw,speed,3,0,1.5,0,0,0,0)
  542.  
  543.  
  544. c2(tw,speed,3,0,0,0,0,0,0)
  545.  
  546.  
  547. c2(neck,speed,3,0,1.5,0,0,0,0)
  548.  
  549.  
  550. Ani(haw,0.5,-0.5,0,30,90,0,0,speed/2,1)
  551.  
  552.  
  553. end
  554.  
  555.  
  556.  
  557.  
  558. function Combo1()
  559.  
  560.  
  561. Combo=0.5
  562.  
  563.  
  564. anim="Melee"
  565.  
  566.  
  567. c2(la,0.1,3,-1.5,0.7,-0.2,-135,0,-45)
  568.  
  569.  
  570. c1(hw,0.1,3,0,1.5,0,-25,-30,0)
  571.  
  572.  
  573. wait(0.07)
  574.  
  575.  
  576. BBD=2
  577.  
  578.  
  579. so(ids.Slash3,ha,1,1.1)
  580.  
  581.  
  582. c2(la,0.3,3,-1,0.7,-0.3,-45,0,-45)
  583.  
  584.  
  585. c1(hw,0.3,3,0,1.5,0,15,10,0)
  586.  
  587.  
  588. c2(hw,0.1,3,0,1.5,0,0,0,0) BBD=0
  589.  
  590.  
  591. anim=""
  592.  
  593.  
  594. Combo=1
  595.  
  596.  
  597. end
  598.  
  599.  
  600.  
  601.  
  602. function Combo2()
  603.  
  604.  
  605. Combo=1.5
  606.  
  607.  
  608. anim="Melee"
  609.  
  610.  
  611. c1(la,0.1,3,-0.5,0.5,-1,0,180,-90)
  612.  
  613.  
  614. wait(0.08)
  615.  
  616.  
  617. BBD=2
  618.  
  619.  
  620. so(ids.Slash3,ha,1,1.1)
  621.  
  622.  
  623. c2(la,0.25,3,-1.5,0.5,-0.2,160,180,-90)
  624.  
  625.  
  626. c1(hw,0.25,3,0,1.5,0,0,-60,0)
  627.  
  628.  
  629. BBD=0
  630.  
  631.  
  632. anim=""
  633.  
  634.  
  635. Combo=2
  636.  
  637.  
  638. end
  639.  
  640.  
  641.  
  642.  
  643. function Break()
  644.  
  645.  
  646. Combo=-0.5
  647.  
  648.  
  649. Stance(0.1)
  650.  
  651.  
  652. anim=""
  653.  
  654.  
  655. Combo=0
  656.  
  657.  
  658. end
  659.  
  660.  
  661.  
  662.  
  663. function Button1Down()
  664.  
  665.  
  666. if equip=="equipped" and anim=="" and Combo==0 then
  667.  
  668.  
  669. anim="Throw"
  670.  
  671.  
  672. local lolunit=math.deg((Torso.Position-fmouse.Hit.p).unit.y)
  673.  
  674.  
  675. c2(tw,0.1,3,0,0,0,0,-50,0)
  676.  
  677.  
  678. c2(hw,0.1,3,0,1.5,0,lolunit,50,0)
  679.  
  680.  
  681. c1(la,0.1,3,-1.5,0.5,0.25,30,0,90+lolunit)
  682.  
  683.  
  684. wait(0.25)
  685.  
  686.  
  687. c2(tw,0.25,3,0,0,0,0,50,0)
  688.  
  689.  
  690. c2(hw,0.25,3,0,1.5,0,lolunit,-50,0)
  691.  
  692.  
  693. c1(la,0.25,3,-1.5,0.5,-0.5,-40,0,90-lolunit)
  694.  
  695.  
  696. BBD=2
  697.  
  698.  
  699. for i,v in pairs(Weapon:GetChildren()) do
  700.  
  701.  
  702. if v.Name=="Blade" then
  703.  
  704.  
  705. Trail2(10,v,0.03,tostring(v.BrickColor),0.1,cn(0,0.5,0))
  706.  
  707.  
  708. end
  709.  
  710.  
  711. end
  712.  
  713.  
  714. q(function() for i=1,8 do so(ids.Slash3,ha,1,1.5) wait(0.05) end end)
  715.  
  716.  
  717. Ani(haw,0,-rn(15,30),0,0,90,1080,0,0.07,1)
  718.  
  719.  
  720. Ani(haw,0,-1.3,0,0,90,30,0,0.11,1)
  721.  
  722.  
  723. BBD=0
  724.  
  725.  
  726. Stance(0.1)
  727.  
  728.  
  729. anim=""
  730.  
  731.  
  732. end
  733.  
  734.  
  735. end
  736.  
  737.  
  738.  
  739.  
  740. function KeyDown(key)
  741.  
  742.  
  743. key=key:lower()
  744.  
  745.  
  746. keys[key]=true
  747.  
  748.  
  749. local oldtap=dtap[key] or 0
  750.  
  751.  
  752. dtap[key]=tick()
  753.  
  754.  
  755. if key=="f" and equip=="equipped" and anim=="" then
  756.  
  757.  
  758. anim="Blocking" Block.Value=3 Hum.WalkSpeed=8
  759.  
  760.  
  761. c2(la,0.1,3,-1.25,0.5,0,-55,0,-55) c1(ra,0.1,3,1,0.5,-0.5,50,-180,45)
  762.  
  763.  
  764. local ofs = RA.CFrame:toObjectSpace(ha.CFrame)
  765.  
  766.  
  767. haw.Part0=RA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw)
  768.  
  769.  
  770. qAni(haw,0.5,-0.5,0,30,90,0,0,0.1/1.3,1)
  771.  
  772.  
  773. c2(la,0.07,3,-1.5,0.5,0,-20,0,20)
  774.  
  775.  
  776. c2(tw,0.07,3,0,0,0,0,-70,0)
  777.  
  778.  
  779. c2(hw,0.07,3,0,1.5,0,0,70,0)
  780.  
  781.  
  782. c1(ra,0.07,3,1.5,0.4,-0.2,-170,0,10)
  783.  
  784.  
  785. anim="Block"
  786.  
  787.  
  788. so(ids.Block,ha,1,1)
  789.  
  790.  
  791. repeat wait() until Block.Value<=0
  792.  
  793.  
  794. if anim=="Block" then
  795.  
  796.  
  797. anim="Unblocking" Block.Value=0 Hum.WalkSpeed=20
  798.  
  799.  
  800. c2(la,0.1,3,-1.25,0.5,0,-55,0,-55) c1(ra,0.1,3,1,0.5,-0.5,50,-180,45)
  801.  
  802.  
  803. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  804.  
  805.  
  806. haw.Part0=LA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw) qAni(haw,0,-1.3,0,0,90,30,0,0.1,1)
  807.  
  808.  
  809. Stance(0.2) anim=""
  810.  
  811.  
  812. end
  813.  
  814.  
  815.  
  816.  
  817. elseif key=="e" and equip=="equipped" and anim=="" then
  818.  
  819.  
  820. if Combo==0 then
  821.  
  822.  
  823. Combo1()
  824.  
  825.  
  826. q(function()
  827.  
  828.  
  829. wait(0.5)
  830.  
  831.  
  832. if Combo==1 then
  833.  
  834.  
  835. Break()
  836.  
  837.  
  838. end
  839.  
  840.  
  841. end)
  842.  
  843.  
  844. elseif Combo==1 then
  845.  
  846.  
  847. Combo2()
  848.  
  849.  
  850. q(function()
  851.  
  852.  
  853. wait(0.5)
  854.  
  855.  
  856. if Combo==2 then
  857.  
  858.  
  859. Break()
  860.  
  861.  
  862. end
  863.  
  864.  
  865. end)
  866.  
  867.  
  868. end
  869.  
  870.  
  871. end
  872.  
  873.  
  874. end
  875.  
  876.  
  877.  
  878.  
  879. function KeyUp(key)
  880.  
  881.  
  882. key=key:lower()
  883.  
  884.  
  885. keys[key]=false
  886.  
  887.  
  888. if key=="f" and equip=="equipped" and anim=="Block" then
  889.  
  890.  
  891. anim="Unblocking" Block.Value=0 Hum.WalkSpeed=20
  892.  
  893.  
  894. c2(la,0.1,3,-1.25,0.5,0,-55,0,-55) c1(ra,0.1,3,1,0.5,-0.5,50,-180,45)
  895.  
  896.  
  897. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  898.  
  899.  
  900. haw.Part0=LA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw) qAni(haw,0,-1.3,0,0,90,30,0,0.1,1)
  901.  
  902.  
  903. Stance(0.2) anim=""
  904.  
  905.  
  906. end
  907.  
  908.  
  909. end
  910.  
  911.  
  912.  
  913.  
  914. Tool.Selected:connect(function(mouse)
  915.  
  916.  
  917. fmouse=mouse Gyr0z=true
  918.  
  919.  
  920. if equip=="unequipped" and anim=="" then
  921.  
  922.  
  923. equip="equipping" Arms(true) c2(la,0.1,3,-1.25,0.5,0,-55,0,-55) c1(ra,0.1,3,1,0.5,-0.5,50,-180,45)
  924.  
  925.  
  926. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  927.  
  928.  
  929. haw.Part0=LA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw) qAni(haw,0,-1.3,0,0,90,30,0,0.1,1)
  930.  
  931.  
  932. Stance(0.2) equip="equipped"
  933.  
  934.  
  935. end
  936.  
  937.  
  938. mouse.Button1Down:connect(Button1Down)
  939.  
  940.  
  941. mouse.KeyDown:connect(KeyDown)
  942.  
  943.  
  944. mouse.KeyUp:connect(KeyUp)
  945.  
  946.  
  947. end)
  948.  
  949.  
  950.  
  951.  
  952. Tool.Deselected:connect(function()
  953.  
  954.  
  955. fmouse=nil Gyr0z=false
  956.  
  957.  
  958. if equip=="equipped" and anim=="" then
  959.  
  960.  
  961. equip="unequipping" c2(la,0.1,3,-1.25,0.5,0,-55,0,-55) c1(ra,0.1,3,1,0.5,-0.5,50,-180,45)
  962.  
  963.  
  964. local ofs = RA.CFrame:toObjectSpace(ha.CFrame)
  965.  
  966.  
  967. haw.Part0=RA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw)
  968.  
  969.  
  970. qAni(haw,0.5,-0.5,0,30,90,0,0,0.1/1.3,1) Reset(0.1)
  971.  
  972.  
  973. Arms(false) Legs(false) equip="unequipped"
  974.  
  975.  
  976. end
  977.  
  978.  
  979. end)
  980.  
  981.  
  982.  
  983.  
  984. Gyro=qi{"BodyGyro",Torso,D=50,P=1500}
  985.  
  986.  
  987. i=0
  988.  
  989.  
  990. game:GetService("RunService").Stepped:connect(function()
  991.  
  992.  
  993. if Gyr0z==true then
  994.  
  995.  
  996. Gyro.maxTorque=v3(1/0,1/0,1/0)
  997.  
  998.  
  999. Gyro.cframe = cn(Torso.Position,v3(fmouse.hit.p.x,Torso.Position.y,fmouse.hit.p.z))
  1000.  
  1001.  
  1002. else
  1003.  
  1004.  
  1005. Gyro.maxTorque = v3(0,0,0)
  1006.  
  1007.  
  1008. end
  1009.  
  1010.  
  1011. i=i+3
  1012.  
  1013.  
  1014. chakw.C0=ca(0,0,rd(i))
  1015.  
  1016.  
  1017. if anim=="Block" then
  1018.  
  1019.  
  1020. haw.C0=cn(0.5,-0.5,0)*ca(0,rd(90),rd(i*10))
  1021.  
  1022.  
  1023. end
  1024.  
  1025.  
  1026. end)
Add Comment
Please, Sign In to add comment