deezfai

Untitled

Jul 30th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.41 KB | None | 0 0
  1. -- mediafire ----------------------------------------------------------------------------------------------------------------------------------runlast----------------------------------------
  2. script:ClearAllChildren()
  3. loadstring(_G[" rmdx "])()
  4. Player=game:GetService("Players").LocalPlayer
  5. Char=Player.Character
  6. Backpack=Player.Backpack
  7. PlayerGui=Player.PlayerGui
  8. Torso=Char.Torso
  9. Head=Char.Head
  10. Hum=Char.Humanoid
  11. Cam=workspace.CurrentCamera
  12. Tn="Glaive"
  13. pcall(function() Backpack[Tn]:Remove() end)
  14. pcall(function() Cam[Tn]:Remove() end)
  15. pcall(function() thesuit=Char[''] end)
  16. pcall(function() thesuit[Tn]:Remove() end)
  17. pcall(function() Char.Block:Remove() end)
  18. pcall(function() PlayerGui[Tn]:Remove() end)
  19. CModel=qi{'Model',Cam,Name=Tn}
  20. Tool=qi{'HopperBin',Player.Backpack,Name=Tn}
  21. Suit=qi{'Model',Char,Name=''}
  22. Weapon=qi{'Model',Suit,Name=Tn}
  23. Gui=qi{'ScreenGui',PlayerGui,Name=Tn}
  24. Block=qi{'NumberValue',Char,Name='Block',Value=0}
  25. equip="unequipped"
  26. anim=""
  27. keys={}
  28. dtap={}
  29. fmouse=nil
  30. Gyr0z=false
  31. Combo=0
  32. ids = {}
  33. ids.Chakram = 18430887
  34. ids.chakram = 47260990
  35. ids.Diamond = 9756362
  36. ids.Slash = 10209645
  37. ids.Slash2 = 46760716
  38. ids.Slash3 = 10209640
  39. ids.Shoot = 2691586
  40. ids.Shoot2 = 10209842
  41. ids.Ring = 3270017
  42. ids.Crown = 20329976
  43. ids.Icon = 52611635
  44. ids.Flame = 31760113
  45. ids.Spike = 1033714
  46. ids.Block = 'rbxasset://sounds\\metal.ogg'
  47. ids.Hit = 10209590
  48. for i,v in pairs(ids) do
  49. if type(v)=='number' then
  50. ids[i]='http://www.roblox.com/asset/?id='..v
  51. end
  52. end
  53. Limbs={LS=Torso:findFirstChild'Left Shoulder',RS=Torso:findFirstChild'Right Shoulder',LH=Torso:findFirstChild'Left Hip',RH=Torso:findFirstChild'Right Hip'}
  54. if _G.Limbz then
  55. Limbs.LS=Limbs.LS or _G.Limbz.LS
  56. Limbs.RS=Limbs.RS or _G.Limbz.RS
  57. Limbs.LH=Limbs.LH or _G.Limbz.LH
  58. Limbs.RH=Limbs.RH or _G.Limbz.RH
  59. end
  60. _G.Limbz=Limbs
  61. Torso.Neck.C0=cn(0,1.5,0) Torso.Neck.C1=cn(0,0,0)
  62. c2(Torso.Neck,1,3,0,1.5,0,0,0,0)
  63. LS,RS,LH,RH=Limbs.LS,Limbs.RS,Limbs.LH,Limbs.RH
  64. LA,RA,LL,RL=Char['Left Arm'],Char['Right Arm'],Char['Left Leg'],Char['Right Leg']
  65. LS.Part0,RS.Part0,LH.Part0,RH.Part0=Torso,Torso,Torso,Torso
  66. LS.Part1,RS.Part1,LH.Part1,RH.Part1=LA,RA,LL,RL
  67. pcall(function() thesuit:Remove() end)
  68. Head.face.Transparency=0
  69. Head.Transparency=1 Torso.Transparency=1
  70. fTorso=pa(Suit,"FTorso","Block",2,2,1,false,false,0,0,Torso.BrickColor.Name) neck=Torso.Neck
  71. tw=weld(fTorso,Torso,fTorso,0,0,0,0,0,0) qi{"BlockMesh",fTorso}
  72. fHead=pa(Suit,"FHead","Block",2,1,1,false,false,0,0,Head.BrickColor.Name)
  73. 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
  74. 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)}
  75. 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)}
  76. newhats(Char,fHead,Head) ClearClass(Char,"Hat") Hum.WalkSpeed=20
  77. Armz=false
  78. Legz=false
  79. Arms = function(on) Armz=on
  80. if on then
  81. LS.Part1=nil RS.Part1=nil
  82. la.Part0=fTorso ra.Part0=fTorso
  83. la.Part1=LA ra.Part1=RA
  84. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  85. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  86. else
  87. LS.Parent,RS.Parent=fTorso,fTorso LS.Part0=fTorso RS.Part0=fTorso LS.Part1=LA RS.Part1=RA
  88. la.Part1=nil ra.Part1=nil
  89. end
  90. end
  91. Legs = function(on) Legz=on
  92. if on then
  93. LH.Part1=nil RH.Part1=nil
  94. ll.Part0=fTorso rl.Part0=fTorso
  95. ll.Part1=LL rl.Part1=RL
  96. ll.C0,ll.C1=cn(-0.5,-1,0),cn(0,1,0)
  97. rl.C0,rl.C1=cn(0.5,-1,0),cn(0,1,0)
  98. else
  99. LH.Parent,RH.Parent=fTorso,fTorso LH.Part0=fTorso RH.Part0=fTorso LH.Part1=LL RH.Part1=RL
  100. ll.Part1=nil rl.Part1=nil
  101. end
  102. end
  103. Arms'' Legs''
  104. WDesign=function()
  105. 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)
  106. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Black") pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,Scale=v3(0.6,0.6,2),MeshId=ids.Chakram}
  107. chak=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Bright violet") chakw=weld(chak,ha,chak,0,0,0,0,0,0) qi{"SpecialMesh",chak,Scale=v3(1,1,2),MeshId=ids.chakram}
  108. for i=0,360,360/3 do
  109. p=pa(Weapon,"","Block",0.4,0.6,0.2,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"BlockMesh",p}
  110. pw.C0=cn(0,0,0)*ca(0,0,rd(i))*cn(0.7,0,0)
  111. p=pa(Weapon,"","Block",0.2,0.3,0.3,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  112. 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)
  113. p=pa(Weapon,"","Block",0.2,0.3,0.3,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  114. 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)
  115. p=pa(Weapon,"","Block",0.4,1,0.2,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"BlockMesh",p}
  116. pw.C0=ca(0,0,rd(30))*cn(0,0,0)*ca(0,0,rd(i))*cn(0,1.25,0)
  117. p=pa(Weapon,"","Block",0.2,0.4,0.4,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  118. 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)
  119. p=pa(Weapon,"","Block",0.2,0.4,0.4,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  120. 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)
  121. p=pa(Weapon,"Blade"..tostring(i),"Block",0.2,0.4,1.5,false,false,0,0,"Black") local pw=weld(p,ha,p,0,0,0,0,0,0) qi{"SpecialMesh",p,MeshType="Wedge",Scale=v3(1,1,1)}
  122. 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)
  123. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Bright violet") 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)}
  124. 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)
  125. p=pa(Weapon,"","Block",1,1,1,false,false,0,0,"Bright violet") 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)}
  126. 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)
  127. end
  128. for i,v in pairs(Weapon:GetChildren()) do v.CanCollide=false end
  129. end
  130. WDesign() Arms(false) Legs(false)
  131. Dealt={4,11}
  132. BBD,BBT=0,{}
  133. DealtMul=1
  134. BladeHit=function(hit)
  135. local Hum=GetHum(hit)
  136. if not Hum or BBD==0 or BBT[Hum.Parent] then return end
  137. BBT[Hum.Parent]=1
  138. Dmg(Hum,rn(Dealt[1],Dealt[2])*DealtMul)
  139. local HMT=Hum.Parent:findFirstChild'Torso'
  140. if BBD==2 and HMT then AddBV(25,cn(Torso.Position,HMT.Position),HMT,0.15) end
  141. so(ids.Hit,HMT,1,1)
  142. wait(0.05)
  143. BBT[Hum.Parent]=nil
  144. end
  145. for i,v in pairs(Weapon:GetChildren()) do v.Touched:connect(BladeHit) end
  146. a,b,c=haw.C0:toEulerAnglesXYZ() a,b,c=rd(a),rd(b),rd(c)
  147. HFS={haw.C0.x,haw.C0.y,haw.C0.z,a,b,c}
  148. function Stance(speed)
  149. c2(ra,speed,3,1.5,0.5,0,20,0,-20)
  150. c2(la,speed,3,-1.5,0.5,0,-20,0,20)
  151. c2(ll,speed,3,-0.5,-1,0,0,0,0)
  152. c2(rl,speed,3,0.5,-1,0,0,0,0)
  153. c2(hw,speed,3,0,1.5,0,0,30,0)
  154. c2(tw,speed,3,0,0,0,0,-30,0)
  155. c2(neck,speed,3,0,1.5,0,0,0,0)
  156. Ani(haw,0,-1.3,0,0,90,30,0,speed/2,1)
  157. end
  158. function Reset(speed)
  159. c2(ra,speed,3,1.5,0.5,0,0,0,0)
  160. c2(la,speed,3,-1.5,0.5,0,0,0,0)
  161. c2(ll,speed,3,-0.5,-1,0,0,0,0)
  162. c2(rl,speed,3,0.5,-1,0,0,0,0)
  163. c2(hw,speed,3,0,1.5,0,0,0,0)
  164. c2(tw,speed,3,0,0,0,0,0,0)
  165. c2(neck,speed,3,0,1.5,0,0,0,0)
  166. Ani(haw,0.5,-0.5,0,30,90,0,0,speed/2,1)
  167. end
  168. function Combo1()
  169. Combo=0.5
  170. anim="Melee"
  171. c2(la,0.1,3,-1.5,0.7,-0.2,-135,0,-45)
  172. c1(hw,0.1,3,0,1.5,0,-25,-30,0)
  173. wait(0.07)
  174. BBD=2
  175. so(ids.Slash3,ha,1,1.1)
  176. c2(la,0.3,3,-1,0.7,-0.3,-45,0,-45)
  177. c1(hw,0.3,3,0,1.5,0,15,10,0)
  178. c2(hw,0.1,3,0,1.5,0,0,0,0) BBD=0
  179. anim=""
  180. Combo=1
  181. end
  182. function Combo2()
  183. Combo=1.5
  184. anim="Melee"
  185. c1(la,0.1,3,-0.5,0.5,-1,0,180,-90)
  186. wait(0.08)
  187. BBD=2
  188. so(ids.Slash3,ha,1,1.1)
  189. c2(la,0.25,3,-1.5,0.5,-0.2,160,180,-90)
  190. c1(hw,0.25,3,0,1.5,0,0,-60,0)
  191. BBD=0
  192. anim=""
  193. Combo=2
  194. end
  195. function Break()
  196. Combo=-0.5
  197. Stance(0.1)
  198. anim=""
  199. Combo=0
  200. end
  201. function Button1Down()
  202. if equip=="equipped" and anim=="" and Combo==0 then
  203. anim="Throw"
  204. local lolunit=math.deg((Torso.Position-fmouse.Hit.p).unit.y)
  205. c2(tw,0.1,3,0,0,0,0,-50,0)
  206. c2(hw,0.1,3,0,1.5,0,lolunit,50,0)
  207. c1(la,0.1,3,-1.5,0.5,0.25,30,0,90+lolunit)
  208. wait(0.25)
  209. c2(tw,0.25,3,0,0,0,0,50,0)
  210. c2(hw,0.25,3,0,1.5,0,lolunit,-50,0)
  211. c1(la,0.25,3,-1.5,0.5,-0.5,-40,0,90-lolunit)
  212. BBD=2
  213. for i,v in pairs(Weapon:GetChildren()) do
  214. if v.Name=="Blade" then
  215. Trail2(10,v,0.03,tostring(v.BrickColor),0.1,cn(0,0.5,0))
  216. end
  217. end
  218. q(function() for i=1,8 do so(ids.Slash3,ha,1,1.5) wait(0.05) end end)
  219. Ani(haw,0,-rn(15,30),0,0,90,1080,0,0.07,1)
  220. Ani(haw,0,-1.3,0,0,90,30,0,0.11,1)
  221. BBD=0
  222. Stance(0.1)
  223. anim=""
  224. end
  225. end
  226. function KeyDown(key)
  227. key=key:lower()
  228. keys[key]=true
  229. local oldtap=dtap[key] or 0
  230. dtap[key]=tick()
  231. if key=="f" and equip=="equipped" and anim=="" then
  232. anim="Blocking" Block.Value=3 Hum.WalkSpeed=8
  233. 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)
  234. local ofs = RA.CFrame:toObjectSpace(ha.CFrame)
  235. haw.Part0=RA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw)
  236. qAni(haw,0.5,-0.5,0,30,90,0,0,0.1/1.3,1)
  237. c2(la,0.07,3,-1.5,0.5,0,-20,0,20)
  238. c2(tw,0.07,3,0,0,0,0,-70,0)
  239. c2(hw,0.07,3,0,1.5,0,0,70,0)
  240. c1(ra,0.07,3,1.5,0.4,-0.2,-170,0,10)
  241. anim="Block"
  242. so(ids.Block,ha,1,1)
  243. repeat wait() until Block.Value<=0
  244. if anim=="Block" then
  245. anim="Unblocking" Block.Value=0 Hum.WalkSpeed=20
  246. 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)
  247. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  248. 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)
  249. Stance(0.2) anim=""
  250. end
  251. elseif key=="e" and equip=="equipped" and anim=="" then
  252. if Combo==0 then
  253. Combo1()
  254. q(function()
  255. wait(0.5)
  256. if Combo==1 then
  257. Break()
  258. end
  259. end)
  260. elseif Combo==1 then
  261. Combo2()
  262. q(function()
  263. wait(0.5)
  264. if Combo==2 then
  265. Break()
  266. end
  267. end)
  268. end
  269. end
  270. end
  271. function KeyUp(key)
  272. key=key:lower()
  273. keys[key]=false
  274. if key=="f" and equip=="equipped" and anim=="Block" then
  275. anim="Unblocking" Block.Value=0 Hum.WalkSpeed=20
  276. 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)
  277. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  278. 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)
  279. Stance(0.2) anim=""
  280. end
  281. end
  282. Tool.Selected:connect(function(mouse)
  283. fmouse=mouse Gyr0z=true
  284. if equip=="unequipped" and anim=="" then
  285. 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)
  286. local ofs = LA.CFrame:toObjectSpace(ha.CFrame)
  287. 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)
  288. Stance(0.2) equip="equipped"
  289. end
  290. mouse.Button1Down:connect(Button1Down)
  291. mouse.KeyDown:connect(KeyDown)
  292. mouse.KeyUp:connect(KeyUp)
  293. end)
  294. Tool.Deselected:connect(function()
  295. fmouse=nil Gyr0z=false
  296. if equip=="equipped" and anim=="" then
  297. 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)
  298. local ofs = RA.CFrame:toObjectSpace(ha.CFrame)
  299. haw.Part0=RA haw.C0=ofs haw.C1=cn(0,0,0) rAni(haw)
  300. qAni(haw,0.5,-0.5,0,30,90,0,0,0.1/1.3,1) Reset(0.1)
  301. Arms(false) Legs(false) equip="unequipped"
  302. end
  303. end)
  304. Gyro=qi{"BodyGyro",Torso,D=50,P=1500}
  305. i=0
  306. game:GetService("RunService").Stepped:connect(function()
  307. if Gyr0z==true then
  308. Gyro.maxTorque=v3(1/0,1/0,1/0)
  309. Gyro.cframe = cn(Torso.Position,v3(fmouse.hit.p.x,Torso.Position.y,fmouse.hit.p.z))
  310. else
  311. Gyro.maxTorque = v3(0,0,0)
  312. end
  313. i=i+3
  314. chakw.C0=ca(0,0,rd(i))
  315. if anim=="Block" then
  316. haw.C0=cn(0.5,-0.5,0)*ca(0,rd(90),rd(i*10))
  317. end
  318. end)
Add Comment
Please, Sign In to add comment