Advertisement
memberhero

Chrono Fists

Jan 9th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.65 KB | None | 0 0
  1. --local/ -- mediafire
  2. ---Chrono Gauntlets made by RMDX
  3. ---
  4. --theguy=workspace. NLS([[
  5.  
  6. --RMLib=_G["CHR"..'ON']
  7. --if not RMLib then print'Failed to run Script' return end
  8. --loadstring(RMLib)()
  9. --^no moar loadstring k
  10. --Fixed by basstracker1970
  11. for i,v in pairs(_G.LVars) do
  12. getfenv()[i]=v
  13. end
  14. Player,Backpack=game.Players.LocalPlayer,game.Players.LocalPlayer.Backpack
  15. Pn=Player.Name
  16. PlayerGui,Char,Backpack=game.Players.LocalPlayer.PlayerGui,game.Players.LocalPlayer.Character,game.Players.LocalPlayer.Backpack
  17. Head,Torso,Huma=Char.Head,Char.Torso,Char.Humanoid
  18. AnimateScript = Char.Animate
  19.  
  20. as={}
  21. as.ring="3270017"
  22. as.Chakram='47260990'
  23. as.ring2='18430887'
  24. as.blast='20329976'
  25. as.missile='10207677'
  26. as.fire='2693346'
  27. as.boom='3264793'
  28. as.slash='10209645'
  29. as.abscond='2767090'
  30. as.firelaser='13775494'
  31. as.diamond='9756362'
  32. as.metal='rbxasset://sounds\\unsheath.wav'
  33. as.hit='10209583'
  34. as.kick='46153268'
  35. as.cast='2101137'
  36. as.guigradient ='48965808'
  37. as.guigradient2='53084230'
  38. as.redgradient='108536582'
  39. as.yellowgradient='108536588'
  40.  
  41.  
  42. for i,v in pairs(as) do
  43. if type(tonumber(v:sub(1,3)))=="number" then
  44. as[i]="http://www.roblox.com/asset/?id="..v
  45. end
  46. end
  47.  
  48. _G.LibVol=0.45 q(function() for i,v in pairs(as) do Sound(v,Torso,0.01,1) end end)
  49.  
  50.  
  51. ModelName=[[Chrono
  52. Gauntlets]]
  53. ModelParent=Char
  54. of=Torso.CFrame*cn(0,1,-12)
  55.  
  56. pcall(function() _G.Chrono.script.Disabled=true _G.Chrono.script:Remove() end)
  57. _G.Chrono=getfenv()
  58.  
  59. pcall(function() ModelParent[ModelName..Pn]:Destroy() end)
  60. pcall(function() Backpack[ModelName]:Destroy() end)
  61. pcall(function() PlayerGui[ModelName]:Destroy() end)
  62. pcall(function() _G[Pn..ModelName..'Connection']:Disconnect() end)
  63. pcall(function() Torso[ModelName..'BP']:Destroy() end)
  64. pcall(function() Torso[ModelName..'BG']:Destroy() end)
  65. pcall(function() _G[ModelName..'old'].Disabled=true end)
  66. pcall(function() Char.Block:Remove() end)
  67.  
  68. Block={}
  69. Block.cd=0
  70. Block.vm=3
  71. Block.v=qi{'NumberValue',Char,n='Block'}
  72.  
  73. _G[ModelName..'old']=script
  74.  
  75. gui=qi{'ScreenGui',PlayerGui,n=ModelName}
  76. frame=qi{'Frame',gui,tra=1,sc=ud(1,0,1,0)}
  77.  
  78. m=qi{'Model',ModelParent,n=ModelName..Pn,archivable=false}
  79. m2=qi{'Model',m}
  80.  
  81. Torso.Transparency=1
  82. Head.Transparency=0.98
  83. Head.face.Transparency=1
  84. pTorso=qi{'Part',m,sc=v3(2,2,1),bn=bn'Really black',can=false}
  85. tw=qi{'Weld',pTorso,P0=Torso,P1=pTorso}
  86. _G.ttw=tw
  87. pcall(function() Torso.roblox:Clone().Parent=pTorso end)
  88. pHead=Head:Clone() pHead.CanCollide=false pHead.Parent=m pHead.Transparency=0
  89. hw=qi{'Weld',pTorso,P0=pTorso,P1=pHead,C0=cn(0,1.5,0)}
  90.  
  91. pcall(function() pHead.face.Transparency=0 end)
  92.  
  93. for i,Hat in pairs(Char:children()) do
  94. if Hat:IsA("Hat") and Hat:findFirstChild'Handle' then
  95. Hat.Handle.Transparency=1
  96. local v=Hat.Handle:Clone() v.Parent=m v.Transparency=0 v.formFactor='Custom' v.Size=v3(0,0,0)
  97. qi{'Weld',v,P0=pHead,P1=v,C0=Head.CFrame:toObjectSpace(Hat.Handle.CFrame)}
  98. end
  99. end
  100.  
  101.  
  102. Limbs={LS=Torso:findFirstChild'Left Shoulder',RS=Torso:findFirstChild'Right Shoulder',LH=Torso:findFirstChild'Left Hip',RH=Torso:findFirstChild'Right Hip'}
  103. if _G.Limbz then
  104. Limbs.LS=Limbs.LS or _G.Limbz.LS
  105. Limbs.RS=Limbs.RS or _G.Limbz.RS
  106. Limbs.LH=Limbs.LH or _G.Limbz.LH
  107. Limbs.RH=Limbs.RH or _G.Limbz.RH
  108. end
  109. _G.Limbz=Limbs
  110. LS,RS,LH,RH=Limbs.LS,Limbs.RS,Limbs.LH,Limbs.RH
  111. LA,RA,LL,RL=Char['Left Arm'],Char['Right Arm'],Char['Left Leg'],Char['Right Leg']
  112. LS.Part0,RS.Part0,LH.Part0,RH.Part0=pTorso,pTorso,pTorso,pTorso
  113. LS.Part1,RS.Part1,LH.Part1,RH.Part1=LA,RA,LL,RL
  114.  
  115. pcall(function() thesuit:Remove() end)
  116.  
  117. la=qi{'Weld',pTorso,Part0=pTorso,C0=cn(-1.5,0.5,0),C1=cn(0,0.5,0)} ra=qi{'Weld',pTorso,Part0=pTorso,C0=cn(1.5,0.5,0),C1=cn(0,0.5,0)}
  118. ll=qi{'Weld',pTorso,Part0=pTorso,C0=cn(-0.5,-1,0),C1=cn(0,1,0)} rl=qi{'Weld',pTorso,Part0=pTorso,C0=cn(0.5,-1,0),C1=cn(0,1,0)}
  119.  
  120. Armz=false
  121. Legz=false
  122. Arms = function(on) Armz=on
  123. if on then
  124. LS.Parent = nil RS.Parent = nil
  125. wait()
  126. la.Parent = pTorso ra.Parent = pTorso
  127. la.Part0=pTorso ra.Part0=pTorso
  128. la.Part1=LA ra.Part1=RA
  129. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  130. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  131. else
  132. la.Parent = nil ra.Parent = nil
  133. LS.Parent,RS.Parent=Torso,Torso LS.Part0=pTorso RS.Part0=pTorso LS.Part1=LA RS.Part1=RA
  134. end
  135. end
  136.  
  137. Legs = function(on) Legz=on
  138. if on then
  139. LH.Parent = nil RH.Parent = nil
  140. wait()
  141. ll.Parent = pTorso rl.Parent = pTorso
  142. ll.Part0 = pTorso rl.Part0 = pTorso
  143. ll.Part1=LL rl.Part1=RL
  144. ll.C0,ll.C1=cn(-0.5,-1,0),cn(0,1,0)
  145. rl.C0,rl.C1=cn(0.5,-1,0),cn(0,1,0)
  146. else
  147. ll.Parent=nil rl.Parent=nil
  148. LH.Parent,RH.Parent=Torso,Torso LH.Part0=pTorso RH.Part0=pTorso LH.Part1=LL RH.Part1=RL
  149. end
  150. end
  151. Arms''
  152. Legs''
  153.  
  154. q(function() wait(0.1) Arms() end) -- Legs() end)
  155.  
  156. --bin=qi{'HopperBin',Backpack,n=ModelName}
  157. OH={}
  158. OH.Regen=0.04
  159. OH.i=0
  160. OH.m=1000
  161. OH.mm=OH.m
  162. OH.Notes={}
  163. OH.Heat=function(tab,v,Show)
  164. if not v then return end
  165. OH.i=OH.i+v
  166. if OH.i>OH.m then OH.i=OH.m end
  167. framzz:TweenSize(ud(OH.i/OH.m,0,1,0),nil,1,0.4,true)
  168. if Show then OH.Notes[qi{'TextLabel',framzz,pos=ud(1,0,0.5,0),Text='- '..math.floor(v),FontSize=4,tc3='Institutional white',Font='ArialBold',txa='Right',ZIndex=3}]=true end
  169. OVERHEAT()
  170. end
  171. OH.Cool=function(tab,v,Show)
  172. if not v then return end
  173. OH.i=OH.i-v
  174. if OH.i<0 then OH.i=0 end
  175. framzz:TweenSize(ud(OH.i/OH.m,0,1,0),nil,1,0.4,true)
  176. if Show then OH.Notes[qi{'TextLabel',framzz,pos=ud(1,0,0,0),Text='+ '..math.floor(v),FontSize=4,tc3='Institutional white',Font='ArialBold',txa='Right',ZIndex=3}]=true end
  177. end
  178. OH.C=function(tab,v)
  179. --local yes=OH.m-OH.i>(OH.Cost[v] or 0)
  180. local yes=true --OH.i<1000
  181. return yes
  182. end
  183. OH.Cost={}
  184. OH.Cost.F=25
  185. OH.Cost.G=25
  186. OH.Cost.H=25
  187. ----
  188. OH.Cost.HE=15
  189. OH.Cost.HQ=60
  190. OH.Cost.F1=30
  191. OH.Cost.FQ=40
  192. OH.Cost.FE=50
  193. OH.Cost.GE=45
  194. OH.Cost.GQ=60
  195. OH.Cost.GR=60
  196. OH.Cost.GF=40
  197. OH.Cost.Z=10
  198. fram=qi{'ImageLabel',frame,sc=ud(0.2,0,0.1,0),pos=ud(0.4,0,0,10),bc3='Really black',BorderColor='Bright red',Image=as.guigradient,bsp=1}
  199. framt=qi{'TextLabel',fram,pos=ud(0.5,0,0.2,0),FontSize=6,Text='OverHeat',tc3='Institutional white',tst=0,Font='ArialBold',tsc3='Really black',ZIndex=3}
  200. framx=qi{'ImageLabel',fram,sc=ud(1,0,0.25,0),pos=ud(0,0,1,0),bc3='Really black',BorderColor='Bright red',Image=as.guigradient,bsp=1}
  201. framtx=qi{'TextLabel',framx,pos=ud(0.5,0,0.5,0),FontSize=6,Text='Made By RMDX',tc3='Institutional white',tst=0,Font='ArialBold',tsc3='Really black',ZIndex=3}
  202.  
  203. framz =qi{'ImageLabel',fram,sc=ud(0.9,0,0.2,0),pos=ud(0.05,0,0.4,0),bc3='Really black',BorderColor='Dark stone grey',Image=as.guigradient2,bsp=1}
  204. framzz=qi{'ImageLabel',framz,sc=ud(1,0,1,0),pos=ud(0,0,0,0),bc3='Bright yellow',BorderColor='New Yeller',Image=as.guigradient2,bsp=1,ZIndex=2}
  205. framtz=qi{'TextLabel',framz,pos=ud(0.5,0,0.5,0),FontSize=4,tc3='Institutional white',tst=0,Font='ArialBold',tsc3='Really black',ZIndex=3}
  206.  
  207. frambz =qi{'ImageLabel',fram,sc=ud(0.9,0,0.2,0),pos=ud(0.05,0,0.7,0),bc3='Really black',BorderColor='Dark stone grey',Image=as.guigradient2,bsp=1}
  208. frambzz=qi{'ImageLabel',frambz,sc=ud(1,0,1,0),pos=ud(0,0,0,0),bc3='Bright green',BorderColor='Earth green',Image=as.guigradient2,bsp=1,ZIndex=2}
  209. frambtz=qi{'TextLabel',frambz,pos=ud(0.5,0,0.5,0),FontSize=4,tc3='Institutional white',tst=0,Font='ArialBold',tsc3='Really black',ZIndex=3}
  210.  
  211.  
  212. BP=qi{'BodyPosition',Torso,n=ModelName..'BP',maxForce=v3(0,0,0)}
  213. BG=qi{'BodyGyro',Torso,n=ModelName..'BG',maxTorque=v3(0,0,0),D=150}
  214.  
  215. RGlove =qi{'Part',m,sc=v3(1.05,1.05,1.05),tra=1}
  216. RGlovew=qi{'Weld',m,P0=RA,P1=RGlove,C0=cn(0,-0.5,0)}
  217.  
  218. RGlove2 =qi{'WedgePart',m,sc=v3(1.15,1.05,1.05)}
  219. RGlove2w=qi{'Weld',m,P0=RGlove,P1=RGlove2,C0=cn(0,0,0)*ca(0,90,0)}
  220. RGlove3 =qi{'WedgePart',m,sc=v3(1.1,2.05,0.54)}
  221. RGlove3w=qi{'Weld',m,P0=RGlove,P1=RGlove3,C0=cn(0.25,0.5,0)*ca(0,90,0)}
  222. RGlove4 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  223. RGlove4w=qi{'Weld',m,P0=RGlove,P1=RGlove4,C0=cn(0.2,-0.1,-0.25)*ca(0,90,0)*ca(10,0,0)}
  224. RGlove5 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  225. RGlove5w=qi{'Weld',m,P0=RGlove,P1=RGlove5,C0=cn(0.2,-0.1, 0.25)*ca(0,90,0)*ca(10,0,0)}
  226. RGlovex =qi{'Part',m,sc=v3(1,1,1),bn='Really black'} qi{'CylinderMesh',RGlovex,sca=v3(0.25,1.17,0.25)}
  227. RGlovexw=qi{'Weld',m,P0=RGlove,P1=RGlovex,C0=cn(0.2,-0.2,0)*ca(90,0,0)}
  228. RGlovev =qi{'Part',m,sc=v3(1,0.25,1.05)}
  229. RGlovevw=qi{'Weld',m,P0=RGlove,P1=RGlovev,C0=cn(-0.05,0.25,0)*ca(0,0,-8)}
  230. RGloveb =qi{'WedgePart',m,sc=v3(1.1,1,0.5)}
  231. RGlovebw=qi{'Weld',m,P0=RGlove,P1=RGloveb,C0=cn(0.75,1,0)*ca(0,-90,0)}
  232.  
  233. LGlove =qi{'Part',m,sc=v3(1.05,1.05,1.05),tra=1}
  234. LGlovew=qi{'Weld',m,P0=LA,P1=LGlove,C0=cn(0,-0.5,0)}
  235.  
  236. LGlove2 =qi{'WedgePart',m,sc=v3(1.15,1.05,1.05)}
  237. LGlove2w=qi{'Weld',m,P0=LGlove,P1=LGlove2,C0=cn(0,0,0)*ca(0,-90,0)}
  238. LGlove3 =qi{'WedgePart',m,sc=v3(1.1,2.05,0.54)}
  239. LGlove3w=qi{'Weld',m,P0=LGlove,P1=LGlove3,C0=cn(-0.25,0.5,0)*ca(0,-90,0)}
  240. LGlove4 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  241. LGlove4w=qi{'Weld',m,P0=LGlove,P1=LGlove4,C0=cn(-0.2,-0.1,-0.25)*ca(0,-90,0)*ca(10,0,0)}
  242. LGlove5 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  243. LGlove5w=qi{'Weld',m,P0=LGlove,P1=LGlove5,C0=cn(-0.2,-0.1, 0.25)*ca(0,-90,0)*ca(10,0,0)}
  244. LGlovex =qi{'Part',m,sc=v3(1,1,1),bn='Really black'} qi{'CylinderMesh',LGlovex,sca=v3(0.25,1.17,0.25)}
  245. LGlovexw=qi{'Weld',m,P0=LGlove,P1=LGlovex,C0=cn(-0.2,-0.2,0)*ca(90,0,0)}
  246. LGlovev =qi{'Part',m,sc=v3(1,0.25,1.05)}
  247. LGlovevw=qi{'Weld',m,P0=LGlove,P1=LGlovev,C0=cn(0.05,0.25,0)*ca(0,0,8)}
  248. LGlovev =qi{'Part',m,sc=v3(1,1,1),bn='Dark stone grey'} qi{'SpecialMesh',LGlovev,mid=as.ring2,sca=v3(0.4,0.4,1.5)}
  249. LGlovevw=qi{'Weld',m,P0=LGlove,P1=LGlovev,C0=cn(-0.55,0.9,0)*ca(0,90,0)}
  250. LGloveb =qi{'Part',m,sc=v3(0,0,0),bn='Really black'} LGlovebm=qi{'SpecialMesh',LGloveb,mtyp='Sphere',sca=v3(0.3,0.7,0.7)*5}
  251. LGlovebw=qi{'Weld',m,P0=LGlove,P1=LGloveb,C0=cn(-0.55,0.9,0)*ca(0,0,0)}
  252.  
  253. for i,v in pairs(m:children()) do if v:IsA("Part") then v.CanCollide=false end end
  254.  
  255. han=qi{'Part',m,sc=v3(0.5,1,0.5)} qi{'CylinderMesh',han,Offset=v3(0,-0.15,0),sca=v3(1,1.5,1)}
  256. hanw=qi{'Weld',han,P0=pTorso,P1=han,C0=cn(1,1.5,0.75)*ca(0,0,125)*ca(0,90,0)}
  257. hanv=qi{'Part',m,sc=v3(0.5,0.5,0.5)} qi{'SpecialMesh',hanv,mtyp='Sphere'}
  258. hanvw=qi{'Weld',han,P0=han,P1=hanv,C0=cn(0,-0.75-0.15,0)}
  259. hanv=qi{'Part',m,sc=v3(0.6,0.4,0.6),bn='Really black'} qi{'CylinderMesh',hanv}
  260. hanvw=qi{'Weld',han,P0=han,P1=hanv,C0=cn(0,0.75-0.55,0)}
  261.  
  262. for x=-1,1,2 do
  263. hanvv=qi{'Part',m,sc=v3(0,0,0),can=false,bn='Dark stone grey'} qi{'SpecialMesh',hanvv,mid=as.diamond,sca=v3(1.2,0.4,0.3)}
  264. hanvvw=qi{'Weld',han,P0=han,P1=hanvv,C0=ca(0,90,0)*cn(x*0.4,0.5,0)}
  265. end
  266. hanvv=qi{'Part',m,sc=v3(0,0,0),can=false,bn='Really black'} qi{'SpecialMesh',hanvv,mid=as.diamond,sca=v3(1.6,0.4,0.6)}
  267. hanvvw=qi{'Weld',han,P0=han,P1=hanvv,C0=cn(0,0.5,0)*ca(0,90,0)}
  268.  
  269. lBlade=6
  270. Blade=qi{'Part',m,sc=v3(0.2,0.2,0.2),can=false} Bladem=qi{'SpecialMesh',Blade,mtyp='Brick',sca=v3(0.1,lBlade-1,0.3)*5}
  271. wBlade=qi{'Weld',han,P0=han,P1=Blade,C0=cn(0,0.5+(lBlade-1)/2,0.15)}
  272. Blade2=qi{'Part',m,sc=v3(0.2,0.2,0.2),can=false,bn='Dark stone grey'} Bladem=qi{'SpecialMesh',Blade2,mtyp='Wedge',sca=v3(0.1,lBlade-1,0.3)*5}
  273. wBlade2=qi{'Weld',han,P0=han,P1=Blade2,C0=cn(0,0.5+(lBlade-1)/2,-0.15)}
  274. Blade3=qi{'Part',m,sc=v3(0.2,0.2,0.2),can=false} Blade3m=qi{'SpecialMesh',Blade3,mtyp='Wedge',sca=v3(0.1,1,0.3)*5}
  275. wBlade3=qi{'Weld',han,P0=han,P1=Blade3,C0=cn(0,0.5+lBlade-0.5,0.15)}
  276.  
  277. tBlade={Blade,Blade2,Blade3}
  278.  
  279. for i=1,3 do
  280. local vv=qi{'Part',m,sc=v3(0.2,0.2,0.2),can=false,bn='Really black',ref=0.1} qi{'SpecialMesh',vv,mid=as.diamond,sca=v3(0.2,0.5,0.3)*(1+((3-i)/10))}
  281. qi{'Weld',han,P0=han,P1=vv,C0=cn(0,i/2+0.5,0)*ca(40,0,0)}
  282. tBlade[#tBlade+1]=vv
  283. end
  284.  
  285.  
  286. fBlade=function(vv)
  287. for i,v in pairs(tBlade) do v.Transparency=vv and 0 or 1 end
  288. end
  289. fBlade()
  290.  
  291. LFire=qi{'Fire',LGlove,Heat=25,Size=3,Enabled=false}
  292. RFire=LFire:Clone() RFire.Parent=RGlove
  293.  
  294. Dealt=function() return mran(11,18) end
  295. Debounce={}
  296. metaDebounce={
  297. __index=function(t,i)
  298. DBHum=i
  299. end
  300. }
  301. setmetatable(Debounce,metaDebounce)
  302.  
  303.  
  304. OVERHEAT2=tick()
  305. OVERHEAT=function()
  306. if OH.i>=OH.m-2 and OVERHEAT2<tick() then -- OVER HEATT!!!!
  307. local heatcd=60
  308. OVERHEAT2=tick()+heatcd q(function() OH.m=OH.mm/2 wait(heatcd) OH.m=OH.mm end)
  309. OH:Cool(OH.m/5+OH.mm/2,true) q(function()
  310. for i,v in pairs{RGlove,LGlove} do
  311. MeshEffect(v,v.CFrame,8,8,8,0.15,'Really black','Sphere')
  312. MeshEffect(v,v.CFrame,3,16,3,0.15,'Really black','Sphere')
  313. end
  314. --local/Chrono.OH:Heat(1000)
  315. for i=1,3 do
  316. local scc=20
  317. local ofs=ca(0,360/3*i,0)*cn(0,-1.5,-scc/4)
  318. MeshEffect(Torso,Torso.CFrame*ofs,16,16,16,0.1,'Really black','Sphere')
  319. MeshEffect(Torso,Torso.CFrame*ofs,25,25,25,0.1,'Really black','Sphere')
  320. Explode(Torso,scc,Dealt(),ofs,1.5)
  321. Sound(as.boom,Torso,1,1.4)
  322. wait(0.15)
  323. end end) end
  324. end
  325.  
  326. HitBoxTRA=1
  327. HitBox = function(obj,sc,ofs,dmg,deb,suu,self)
  328. local hitbox =qi{'Part',m,can=false,sc=sc,tra=HitBoxTRA,an=obj.Anchored,Debris=deb or 2}
  329. hitbox.CFrame=obj.CFrame*ofs
  330. if not obj.Anchored then hitboxw=qi{'Weld',hitbox,P0=obj,P1=hitbox,C0=ofs} end
  331. hitbox.Touched:connect(function(hit)
  332. local huma
  333. if hit.Parent:findFirstChild'Humanoid' then huma=hit.Parent.Humanoid end
  334. if hit.Parent.Parent:findFirstChild'Humanoid' then huma=hit.Parent.Parent.Humanoid end
  335. if not self and huma==Huma then return end
  336. if huma and Debounce[huma]~=1 then if dmg>0 then Dmg(huma,dmg) end Debounce[huma]=1 Sound(suu or as.hit,hit,1,mran(80,130)/100) wait(0.6) Debounce[huma]=nil end
  337. end)
  338. return hitbox
  339. end
  340.  
  341.  
  342. local aDmg=Dmg
  343. Dmg=function(Hum,Dealt,Hitter)
  344. if Hum then OH:Cool(Dealt/2,true) end
  345. aDmg(Hum,Dealt,Hitter)
  346. end
  347.  
  348. HData={}
  349. breaker=function(hit,dmg)
  350. if hit.Anchored then return false end
  351. if hit.Parent:findFirstChild'Humanoid' then return false end
  352. if hit.Parent.Parent:findFirstChild'Humanoid' then return false end
  353. if hit.Parent.Parent.Parent:findFirstChild'Humanoid' then return false end
  354. local broke=false
  355. local dmg=dmg or mran(15,40)
  356. if not HData[hit] then local hh=hit.Size.x*hit.Size.y*hit.Size.z/1.5 HData[hit]=hh end
  357. HData[hit]=HData[hit]-dmg
  358. if HData[hit]<=0 then hit:BreakJoints() broke=true end
  359. return broke
  360. end
  361.  
  362.  
  363.  
  364. RangeAnim2=function(cff,times,speed,range,fu,ignor,isanc,nobreak)
  365. local isanc = isanc or false
  366. local Hit,Pos
  367. for ty=1,times do
  368. cff=cff*cn(0,0,-speed)
  369. local hit,pos=ray(cff.p,cff.p-cff*cn(0,0,1).p,ignor)
  370. Pos=pos
  371. fu(cff,ty)
  372. if (hit and hit.Name~='unray') and (pos-cff.p).magnitude<range then if not isanc or (hit.Anchored and hit.Transparency<1) then Hit=hit if not nobreak then break end end end
  373. wait()
  374. end
  375. return Hit,(Pos-cff.p).magnitude,Pos
  376. end
  377. -----
  378. FireCF=function(Spawn,Speed,Func,EndFunc)
  379. q(function()
  380. local cff=Spawn*cn(0,0,Speed)
  381. local ty
  382. local Hit,Mag,Pos=RangeAnim2(cff,Speed*5+30,Speed,Speed,function(cf,ii) ty=ii cff=cf Func(cff,ty) end,m)
  383. if Hit then cff=cff*cn(0,0,-Mag) end
  384. Func(cff,ty+1)
  385. local huma
  386. if Hit and (Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent:findFirstChild'Humanoid') then
  387. --if Hit.Parent.Name==Pn or Hit.Parent.Parent.Name==Pn then return end
  388. huma=Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent.Humanoid
  389. end -- ifhit
  390. if EndFunc then EndFunc(cff,huma,Hit) end
  391. --
  392. end)
  393. end
  394.  
  395. exps={}
  396. exps[1]=function(object,ofs,sc)
  397. Sound(as.boom,object,1,2)
  398. for x=-1,1,2 do
  399. MeshEffect(object,object.CFrame*ofs*ca(0,0,45*x),sc*0.7,sc*2,sc*0.7,0.2,x==-1 and 'Bright red' or 'Bright yellow','Sphere')
  400. end
  401. end
  402. exps[2]=function(object,ofs,sc)
  403. Sound(as.boom,object,1,1.5)
  404. MeshEffect(object,object.CFrame*ofs,sc/5,sc*3,sc/5,0.15,'Really black','Sphere')
  405. MeshEffect(object,object.CFrame*ofs,sc*1.3,sc*1.3,sc*1.3,0.15,'Really black','Sphere')
  406. MeshEffect(object,object.CFrame*ofs,sc/1.5,sc/1.5,sc/1.5,0.15,'Really black','Sphere')
  407. for i=360/8,360,360/8 do
  408. MeshEffect(object,object.CFrame*ofs*ca(0,i,0)*cn(0,2,sc/3)*ca(-90,0,0),1.5,10,1.5,0.05,'Really black',as.diamond,cn(0,1.5,0)*ca(1,0,0))
  409. end
  410. end
  411.  
  412.  
  413.  
  414. Explode=function(object,sc,dmg,ofs,humdur,esp)
  415. if object and object.Parent then
  416. exps[esp or 1](object,ofs,sc)
  417. GetRegion((object.CFrame*ofs).p,sc,function(Hum,HT) if Hum~=Huma then Dmg(Hum,dmg or 25)
  418. Hum.PlatformStand=true
  419. HT.RotVelocity=v3(0,25,0)
  420. AddBV(45,cn(object.Position,HT.Position+v3(0,3,0)),HT,0.2) wait(humdur or 0.6) Hum.PlatformStand=false end
  421. end,function(hit) if breaker(hit) then hit.Velocity=object.CFrame.lookVector*(sc*2+20) end end)
  422. end
  423. end --
  424.  
  425. BGFace=false
  426.  
  427.  
  428.  
  429. Button=false
  430. Key={}
  431. ns=0.125
  432. Anim=''
  433. Speed={1,1,1,1,1,1,1,1,1,1,1,1}
  434. bin=qi{'HopperBin',Backpack,n=ModelName}
  435. bin.Selected:connect(function(mouse2)
  436. mouse=mouse2
  437.  
  438. mouse.KeyDown:connect(function(k)
  439. Key[k]=true
  440. if k=='f' and Anim=='' and OH:C'F' and tick()>Block.cd then
  441. Anim='.' OH:Heat(OH.Cost.F,true)
  442. Arms''
  443. AddBV(-5,Torso.CFrame,Torso,0.4,true)
  444. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  445. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  446. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  447. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  448. for i=0,1,0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  449. shields={}
  450. shis=10
  451. for i=1,shis do local v=qi{'Part',m,sc=v3(0,0,0),bn='Dark stone grey',Reflectance=0.25} shields[i]=qi{'Weld',v,P0=LGloveb,P1=v} qi{'SpecialMesh',v,mid=as.diamond} end
  452. for i=0,1,0.2 do Sound(as.metal,Torso,0.7,1.3) for x=1,shis do shields[x].C0=cn(-0.75,0,0)*ca(x*360/shis,0,-15)*cn(0,1.5*i,0) shields[x].Part1.Mesh.Scale=v3(0.4,3.3*i,1) end wait() end
  453. Block.v.Value=Block.vm
  454. Speed[1]=0.75
  455. Anim='F'
  456. repeat wait(0.3) until (not Key.f or Block.v.Value==0) and Anim=='F'
  457. Block.cd=tick()+((Block.vm-Block.v.Value)*2)+2
  458. Anim='.'
  459. Speed[1]=1
  460. Block.v.Value=0
  461. qAni(tw,0,0,0,0,0,0,0,ns,1)
  462. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  463. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  464. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  465. for i=1,0,-0.2 do Sound(as.metal,Torso,0.35,1.3) for x=1,shis do shields[x].C0=cn(-0.75,0,0)*ca(x*360/shis,0,-15)*cn(0,1.5*i,0) shields[x].Part1.Mesh.Scale=v3(0.4,3.3*i,1) end wait() end
  466. for i=1,shis do shields[i].Part1:Remove() end
  467. for i=1,0,-0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  468. Arms()
  469. Anim=''
  470. elseif k=='g' and Anim=='' and OH:C'G' then
  471. Anim='.' OH:Heat(OH.Cost.G,true)
  472. Arms''
  473. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  474. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  475. for i,v in pairs{LA,RA} do
  476. wait(0.15)
  477. Sound(as.abscond,Torso,1,1.5)
  478. MeshEffect(v,v.CFrame*cn(0,-1.5,0)*ca(90,0,0),2,2,10,0.1,'Bright red',as.ring2,cn(0,0,-0.3))
  479. MeshEffect(v,v.CFrame*cn(0,-1,0)*ca(90,0,0),3,3,3,0.1,'Bright red','Sphere',cn(0,0,0.05))
  480. end
  481. Anim='G'
  482. elseif k=='g' and Anim=='G' then
  483. Anim='.'
  484. Sound(as.Imbue,Torso,0.6,1.5)
  485. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  486. Ani(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  487. Arms()
  488. Anim=''
  489. elseif k=='h' and Anim=='' and OH:C'H' then
  490. Anim='.'
  491. Arms''
  492. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  493. Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  494. local hanc=RA.CFrame:toObjectSpace(han.CFrame)
  495. hanw.Part0=RA hanw.C0=hanc rAni(hanw)
  496. qAni(hanw,0,-1.25,-0.25,0,0,0,0,0.1,1)
  497. Ani(hanw,0,0,0,-270,0,0,1,0.1,1) rAni(hanw)
  498. Ani(ra, 1.5,0.5,0,-45,-15,0,2,ns,1)
  499. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  500. Tl(0,1,0.05,function(i) vvw.C0=cn(0,0.5+(lBlade/2*i),0) vvm.Scale=v3(0.2,lBlade*i,0.6)
  501. local ii=1-i
  502. MeshEffect(han,han.CFrame*cn(0,lBlade*i+0.5,0)*ca(0,mran(-360,360),mran(-360,360)),1*ii+1.5,1*ii+1.5,1*ii+1.5,0.1,'Really black','Block',cn(0,0.15,0)) end)
  503. MeshEffect(han,vv.CFrame,4,lBlade*2,4,0.1,'Really black','Sphere')
  504. Sound(as.abscond,han,1,1.5)
  505. fBlade(true)
  506. vv:Remove()
  507. Anim='H'
  508. elseif k=='h' and Anim=='H' then
  509. Anim='.'
  510. fBlade()
  511. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  512. Tl(1,0,-0.08,function(i) vvw.C0=cn(0,0.5+(lBlade/2*i),0) vvm.Scale=v3(0.2,lBlade*i,0.6)
  513. local ii=1-i
  514. MeshEffect(han,han.CFrame*cn(0,lBlade*i+0.5,0)*ca(0,mran(-360,360),mran(-360,360)),1*ii+1.5,1*ii+1.5,1*ii+1.5,0.1,'Really black','Block',cn(0,0.15,0)) end)
  515. vv:Remove()
  516. Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  517. local hanc=pTorso.CFrame:toObjectSpace(han.CFrame)
  518. hanw.Part0=pTorso hanw.C0=hanc rAni(hanw)
  519. qAni(hanw,1,1.5,0.75,0,0,125,0,0.1,1)
  520. Ani(hanw,0,0,0,0,90,0,1,0.1,1)
  521. ReturnStance()
  522. Arms()
  523. Anim=''
  524. elseif k=='z' and Anim=='' and OH:C'Z' then
  525. Anim='.' OH:Heat(OH.Cost.Z,true)
  526. local Regg,Regged=5,tick()
  527. OH.Regen=OH.Regen+Regg
  528. Speed[1]=0.3
  529. Arms''
  530. AddBV(1,Torso.CFrame,Torso,0.4,true)
  531. qAni(la,-1.5,0.5,0,-70,0, 70,2,ns,1)
  532. qAni(ra, 1.5,0.5,0,-70,0,-70,2,ns,1)
  533. qAni(LGlovebw,-2,0.9,0,0,0,0,2,ns)
  534. for i=0,1,0.1 do LGloveb.BrickColor=bn'Really black' LGlovebm.Scale=v3(0.7*i+0.3,0.3*i+0.7,0.3*i+0.7)*5 LGloveb.Transparency=0.3*i LGloveb.Reflectance=0.3*i wait() end
  535. local cast,count=Sound(as.cast,Torso,0.4,0.65),0
  536. repeat wait(0.2) count=count+1 if count%10==0 then cast:Remove() cast=Sound(as.cast,Torso,0.35,0.65) end
  537. MeshEffect(LGloveb,LGloveb.CFrame*ca(0,mran(-360,360),mran(-360,360))*cn(0,-1.5,0),0.5,2,0.5,0.03,'Really black','Sphere',cn(0,1,0)*ca(25,0,0))
  538. Lightning(m,RGlovex.CFrame*cn(0,-0.5,0).p,LGlovex.CFrame*cn(0,-0.5,0).p,4,0.15,'New Yeller',0.3,0.5) until (not Key.z and tick()-Regged>1) or OH.i==0
  539. Speed[1]=1
  540. qAni(LGlovebw,-0.55,0.9,0,0,0,0,2,ns,1)
  541. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  542. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  543. for i=1,0,-0.1 do LGloveb.BrickColor=bn'Really black' LGlovebm.Scale=v3(0.7*i+0.3,0.3*i+0.7,0.3*i+0.7)*5 LGloveb.Transparency=0.3*i LGloveb.Reflectance=0.3*i wait() end
  544. Arms()
  545. OH.Regen=OH.Regen-Regg
  546. Anim=''
  547. elseif k=='p' then
  548. end
  549. -------------------------------------------------------------------------------------------------------------------
  550. -------------------------------------------------------------------------------------------------------------------
  551. if k=='TESTINGS' then
  552. elseif k=='f' and Anim=='G' and OH:C'GF' then
  553. Anim='GF' OH:Heat(OH.Cost[Anim],true)
  554. AddBV(-18,Torso.CFrame,Torso,0.25,true)
  555. qAni(tw,0,0,0,0,90,0,0,ns)
  556. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  557. qAni(la,-1.5,0.5,0,0,0, 45,2,ns,1)
  558. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  559. BGFace=true
  560. GFT={}
  561. GFTP=true
  562. for x=-1,1,2 do
  563. GFT[x]={}
  564. local v=qi{'Part',RGlove,sc=v3(0,0,0)} GFT[x].m=qi{'CylinderMesh',v,sca=v3(0.5,1.5,0.5)*5}
  565. local v2=qi{'Part',RGlove,sc=v3(0,0,0),bn='Really black'} qi{'CylinderMesh',v2,sca=v3(0.3,0.05,0.3)*5}
  566. GFT[x].w =qi{'Weld',v,P0=RGloveb,P1=v,C0=cn(x*0.3,-0.5-0.75,0)}
  567. GFT[x].w2=qi{'Weld',v,P0=v,P1=v2,C0=cn(0,-0.75,0)}
  568. end
  569. Tl(0,1, 0.1,function(i) for x=-1,1,2 do GFT[x].m.Scale=v3(0.5,1.5*i,0.5)*5 GFT[x].w.C0=cn(x*0.3,-0.5-(0.75*i),0) GFT[x].w2.C0=cn(0,-0.75*i,0) end end,true)
  570. repeat wait() Ani(hw,0,0,0,getx>30 and 30 or getx,0,0,1,1) Ani(ra, 1.5,0.5,0,0,0,-90+getx,2,1) until not Key.f and Anim=='GF'
  571. Tl(1,0,-0.1,function(i) for x=-1,1,2 do GFT[x].m.Scale=v3(0.5,1.5*i,0.5)*5 GFT[x].w.C0=cn(x*0.3,-0.5-(0.75*i),0) GFT[x].w2.C0=cn(0,-0.75*i,0) end end,true)
  572. for x=-1,1,2 do GFT[x].w.Part1:Remove() GFT[x].w2.Part1:Remove() end
  573. BGFace=false
  574. ReturnStance()
  575. Anim='G'
  576. elseif k=='e' and Anim=='F' and OH:C'FE' then
  577. Anim='FE' OH:Heat(OH.Cost[Anim],true)
  578. AddBV(1,Torso.CFrame,Torso,0.7,true)
  579. Sound(as.abscond,Torso,1,1.5)
  580. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  581. qAni(tw,0,0,1.5,0,90,0,0,ns)
  582. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  583. for i=0,1,0.1 do MeshEffect(RA,RA.CFrame*cn(0,-1.5,0)*ca(0,mran(-360,360),mran(-360,360)),2*i+1,2*i+1,2*i+1,0.1,'Really black','Block',cn(0,0.15,0)) wait() end
  584. Explode(RA,8,Dealt(),cn(0,-1.5,0))
  585. wait(0.25)
  586. qAni(tw,0,0,0,0,-45,0,0,ns)
  587. Ani(hw,0,1.5,0,0,45,0,0,ns)
  588. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  589. Anim='F'
  590. elseif k=='q' and Anim=='F' and OH:C'FQ' then
  591. Anim='FQ' OH:Heat(OH.Cost[Anim],true)
  592. Speed[1]=2
  593. local bv=AddBV(15,Torso.CFrame,Torso,4,true)
  594. local hitbox=HitBox(LGloveb,v3(1,3,3),cn(0,0,0),Dealt(),3)
  595. for i=0,1,0.2 do Sound(as.metal,Torso,1,1.7) hitbox.Weld.C0=cn(-4*i,0,0) LGloveb.Mesh.Scale=v3(6*i+2.3,0.7,0.7)*5 LGlovebw.C0=cn(-3*i-0.55,0.9,0)
  596. for x=1,shis do shields[x].C0=cn(-3*i-0.75,0,0)*ca(x*360/shis+i*45,0,-50*i-15)*cn(0,2*i+1.5,0)*ca(0,90*i,0) shields[x].Part1.Mesh.Scale=v3(0.4*i+0.4,3*i+3.3,1) end wait() end
  597. wait(0.25) bv:Remove()
  598. Speed[1]=0.75
  599. hitbox:Remove()
  600. for i=1,0,-0.2 do LGloveb.Mesh.Scale=v3(6*i+2.3,0.7,0.7)*5 LGlovebw.C0=cn(-3*i-0.55,0.9,0)
  601. for x=1,shis do shields[x].C0=cn(-3*i-0.75,0,0)*ca(x*360/shis+i*45,0,-50*i-15)*cn(0,2*i+1.5,0)*ca(0,90*i,0) shields[x].Part1.Mesh.Scale=v3(0.4*i+0.4,3*i+3.3,1) end wait() end
  602. Anim='F'
  603. elseif k=='q' and Anim=='G' and OH:C'GQ' then
  604. Anim='GQ' OH:Heat(OH.Cost[Anim],true)
  605. BGFace=true
  606. AddBV(-12,Torso.CFrame,Torso,0.7,true)
  607. qAni(la,-1.5,0.5,0,-90, 10,0,2,ns,1)
  608. qAni(ra, 1.5,0.5,0,-90,-10,0,2,ns,1)
  609. local b1=qi{'Part',m2,sc=v3(0,0,0),bn='Really black',ref=0.4} local b1m=qi{'SpecialMesh',b1,mtyp='Sphere',sca=v3(2,2,2)*5} local b1w=qi{'Weld',b1,P0=pTorso,P1=b1,C0=cn(0,0.5,-3)}
  610. local b2=qi{'Part',b1,sc=v3(0,0,0),bn='Really black',ref=0.2,tra=0.15} local b2m=qi{'SpecialMesh',b2,mtyp='Sphere'} local b2w=qi{'Weld',b2,P0=b1,P1=b2}
  611. Sound(as.abscond,Torso,1,1)
  612. MeshEffect(b1,b1.CFrame,8,8,8,0.15,'White','Sphere')
  613. Tl(0.1,1,0.1,function(i) b2m.Scale=v3(2*i+2,2*i+2,2*i+2)*5 end,true)
  614. local fgg=function(ccf) local ite,ofs=findGround(ccf*cn(0,0,0)) if ite then MeshEffect(b1,cn(ofs.p)*cn(0,0.6,0),4,1.5,4,0.1,'Really black',as.blast,ca(0,15,0)) end end
  615. repeat wait(0.04)
  616. Ani(la,-1.5,0.5,0,-90+getx, 10,0,2,2)
  617. Ani(ra, 1.5,0.5,0,-90+getx,-10,0,2,2)
  618. b1w.C0=cn(0,0.5,0)*ca(-getx,0,0)*cn(0,0,-3)
  619. MeshEffect(b1,b1.CFrame*ca(0,mran(-360,360),mran(-360,360))*cn(0,1.5,0)*ca(90,0,0),0.4,2.4,0.4,0.06,'Really black',as.diamond,cn(0,1.25,0)*ca(15,0,0))
  620. until not Key.q
  621. b1.Anchored,b2.Anchored=true,true b1w:Remove() b2w:Remove()
  622. FireCF(cn(b1.Position,b1.CFrame*cn(0,0,-1).p),10,function(cff,ty) if ty%3==0 then MeshEffect(b1,b1.CFrame*ca(90,0,0),4,6,4,0.1,'Really black',as.blast,ca(0,15,0)) fgg(b1.CFrame) end b1.CFrame=cff b2.CFrame=cff end,function(cff) b1.Transparency,b2.Transparency=1,1 Explode(b1,15,Dealt()*2,cn(0,0,0),1.2,2) wait(4) b1:Remove() end)
  623. BGFace=false
  624. ReturnStance()
  625. Anim='G'
  626. --[[elseif k=='r' and Anim=='G' and OH:C'GR' then
  627. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  628. qAni(la,-1.5,0.5,0,-90, 20,0,2,ns,1)
  629. Ani(ra, 1.5,0.5,0,-90,-20,0,2,ns,1)
  630. DBHum=nil
  631. local hitbox=HitBox(RA,v3(1,1,1),cn(0,-1.5,0),0,1/0)
  632. repeat wait(0.1) until not Key.r or DBHum
  633. hitbox:Remove()
  634. if DBHum and DBHum.Parent:findFirstChild'Torso' then
  635. local GRH,GRT=DBHum,DBHum.Parent.Torso GRH.PlatformStand=true
  636. GRT.CFrame=Torso.CFrame*cn(-1,0.5,-2)*ca(0,0,90)
  637. local GRW=qi{'Weld',RA,P0=Torso,P1=GRT,C0=cn(-1,0.5,-2)*ca(0,0,90)}
  638. wait(0.5)
  639. qAni(la,-1.5,0.5,0,-180,-15,0,2,ns)
  640. qAni(ra, 1.5,0.5,0,-180, 15,0,2,ns)
  641. Ani(GRW,-1,3,0,0,0,90,0,ns)
  642. repeat wait(0.1) until not Key.r
  643. qAni(la,-1.5,0.5,0,-90,-15,0,2,ns)
  644. qAni(ra, 1.5,0.5,0,-90, 15,0,2,ns)
  645. Ani(GRW,-1,0.5,-2,0,0,90,0,ns)
  646. Legs''
  647. GRW:Remove()
  648. Ani(rl,0.5,-1,0,-130,0,0,2,ns,1) Hitt(RL,2)
  649. wait(0.5)
  650. ReturnStance()
  651. Legs()
  652. GRH.PlatformStand=false
  653. end
  654. ReturnStance()
  655. Anim='G']]
  656. elseif k=='e' and Anim=='G' and OH:C'GE' then
  657. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  658. Legs''
  659. Sound(as.slash,Torso,1,1.5) AddBV(1,Torso.CFrame,Torso,0.4,true)
  660. qAni(ll,-0.45,0.4,-0.7,-15,0, 10,2,ns,1)
  661. qAni(rl, 0.45,0.4,-0.9, 25,0,-10,2,ns,1)
  662. qAni(la,-1.5,0.5,0,-90,0,0,2,ns,1)
  663. qAni(ra, 1.5,0.5,0,0,0,-50,2,ns,1)
  664. qAni(tw,-1,-1.6,1,0,-90,0,0,ns)
  665. Ani(hw,0,1.5,0,0,90,0,0,ns)
  666. Sound(as.abscond,Torso,1,1.5)
  667. local charge=1
  668. local des=function()
  669. MeshEffect(RA,RA.CFrame*cn(0,-2,0)*ca(mran(-360,360),mran(-360,360),0),charge*0.7,charge,charge*0.7,0.1,'Really black','Block',cn(0,0.15,0))
  670. MeshEffect(RA,RA.CFrame*cn(0,-2,0)*ca(0,mran(-360,360),mran(-360,360))*cn(0,0,charge/4),charge/6,charge/6,charge*1.5,0.15,'Really black','Sphere',cn(0,0,0.2*charge))
  671. end
  672. Speed[1]=0.3
  673. local fullcharge
  674. repeat
  675. wait(0.07)
  676. charge=charge+0.15
  677. charge=charge<6 and charge or 6
  678. if charge==6 and not fullcharge then fullcharge=true Sound(as.abscond,Torso,1,1) MeshEffect(RA,RA.CFrame*cn(0,-2,0),25,25,25,0.1,'Really black','Sphere',cn(0,0,0))
  679. end
  680. des()
  681. until not Key.e
  682. Speed[1]=1
  683. Sound(as.slash,Torso,1,1.5)
  684. qAni(tw,0,-1.6,0,0,75,0,0,ns)
  685. qAni(ra, 1.5,0.5,0,-15,0,-50,2,ns,1)
  686. qAni(hw,0,1.5,0,0,-75,0,0,ns)
  687. for i=0.1,1,0.1 do des() wait(0.03) end
  688. q(function()
  689. local tcf=qi{'Part',m,tra=1,an=true,sc=v3(0,0,0),cf=Torso.CFrame}
  690. for i=1,math.floor(charge) do
  691. local scc=(6+(i/2))*1.5
  692. local thecf=cn(1,-2.5,-1.8)*cn(0,0,-(i*scc-scc/1.5))
  693. Explode(tcf,scc*1.25,Dealt(),thecf)
  694. thecf=tcf.CFrame*thecf
  695. local ite,ofs=findGround(thecf)
  696. scc=scc+i/2
  697. if ite then
  698. local v=qi{'WedgePart',m2,an=true,bn=ite.BrickColor.Name,sc=v3(scc/3,scc,scc/3),RightSurface='Universal',LeftSurface='Universal',FrontSurface='Universal',BackSurface='Universal',TopSurface='Universal',Debris=10}
  699. local ofc=ofs*ca(mran(-30,30),mran(-360,360),mran(-30,30))*cn(0,-scc/2,0)
  700. q(function() for x=0,1,0.25 do v.CFrame=ofc*cn(0,scc*x*0.75,0) wait() end wait(mran(20,40)/10) for x=1,0,-0.1 do v.CFrame=ofc*cn(0,scc*x*0.75,0) wait() end v:Remove() end)
  701. end
  702. wait(0.15)
  703. end
  704. tcf:Remove()
  705. end)
  706. wait(0.25)
  707. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  708. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  709. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  710. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  711. qAni(tw,0,0,0,0,0,0,0,ns)
  712. Ani(hw,0,1.5,0,0,0,0,0,ns)
  713. Legs()
  714. Anim='G'
  715. elseif k=='e' and Anim=='H' and OH:C'HE' then
  716. Anim='HE' OH:Heat(OH.Cost[Anim],true)
  717. Speed[1]=0
  718. BGFace=true
  719. qAni(la,-0.6,0.45,-0.7,-90,50, 0,2,ns*1.5,1)
  720. Ani(ra, 1.5,0.55,0,-90, 0,90,2,ns*1.5,1)
  721. local c1=han.CFrame*cn(0,lBlade/2+0.5,0).p
  722. Torso.CFrame=cn(Torso.Position,v3(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))*cn(0,0,-20)
  723. Sound(as.slash,Torso,1,1)
  724. BGFace=false
  725. local c2=han.CFrame*cn(0,lBlade/2+0.5,0).p
  726. local cm=(c1-c2).magnitude
  727. local tcf=cn(c1,c2)*cn(0,0,-cm/2)
  728. local v=qi{'Part',m,tra=1,can=false,sc=v3(lBlade,0.2,cm-0.4),bn='Really red'}
  729. for ii,vv in pairs{'Top','Bottom'} do qi{'Decal',v,n=vv,Face=vv,Texture=as.redgradient} end
  730. qi{'BodyPosition',v,maxForce=v3(1,1,1)/0,position=tcf.p} qi{'BodyGyro',v,maxTorque=v3(1,1,1)/0,cframe=tcf,D=150}
  731. q(function() Tl(0.15,1,0.15,function(i) for ii,vv in pairs{'Top','Bottom'} do v[vv].Transparency=i*1 end end) v:Remove() end)
  732. v.CFrame=tcf
  733. HitBox(v,v3(lBlade,0.5,cm),cn(0,0,0),Dealt(),0.2)
  734. wait(0.1)
  735. Speed[1]=1
  736. ReturnStance(1,1)
  737. Anim='H'
  738. end
  739. end)
  740. ----WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
  741. mouse.KeyUp:connect(function(k)
  742. Key[k]=false
  743. end)
  744.  
  745.  
  746. ReturnStance=function(ii,i2)
  747. ii = ii or 1
  748. if not i2 then
  749. qAni(la,-1.5,0.5,0,15,0,0,2,ns*ii,1)
  750. qAni(ra, 1.5,0.5,0,15,0,0,2,ns*ii,1)
  751. qAni(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  752. qAni(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  753. qAni(tw,0,0,0,0,0,0,1,ns*ii,1)
  754. qAni(tw,0,0,0,0,0,0,0,ns*ii,1)
  755. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  756. Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  757. elseif i2==1 then
  758. qAni(ra,0,0.5,0,-45,-15,0,1,ns*ii,1)
  759. qAni(la,0,0.5,0,15,0,-15,1,ns*ii,1)
  760. qAni(ra, 1.5,0.5,0,0,0,0,0,ns*ii,1)
  761. qAni(la,-1.5,0.5,0,0,0,0,0,ns*ii,1)
  762. Ani(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  763. Ani(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  764. Ani(tw,0,0,0,0,0,0,1,ns*ii,1)
  765. Ani(tw,0,0,0,0,0,0,0,ns*ii,1)
  766. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  767. qAni(hanw,0,-1.25,-0.25,90,0,0,2,ns*ii,1)
  768. Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  769. end
  770. end
  771.  
  772. TrailColor='Institutional white'
  773. TrailThickness=0.2
  774. function Hitt(vv,ss)
  775. ss=ss or 1
  776. Trail(HitBox(vv,v3(1,3,1),cn(0,-0.5,0),Dealt()*ss,0.5,as.kick),TrailThickness,TrailColor,0.1,0.03,cn(0,-1,0),m)
  777. end
  778. function SwordHit(cff)
  779. Trail(HitBox(han,v3(1,lBlade+1,1),(cff or cn(0,0,0))*cn(0,lBlade/2+0.5,0),Dealt(),0.38),TrailThickness+0.1,TrailColor,0.15,0.03,cn(0,lBlade/2,0),m)
  780. end
  781.  
  782.  
  783. Combos={
  784. G={
  785. function()
  786. AddBV(10,Torso.CFrame,Torso,0.2,true)
  787. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  788. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  789. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  790. Sound(as.slash,Torso,1,1.3)
  791. Hitt(RA)
  792. Ani(tw,0,0,0,0,90,0,0,ns,1)
  793. end;
  794. function()
  795. Legs''
  796. AddBV(10,Torso.CFrame,Torso,0.2,true)
  797. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  798. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  799. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  800. local hi=85
  801. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  802. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  803. Sound(as.slash,Torso,1,1.3)
  804. Hitt(LL)
  805. Ani(tw,0,-0.5,0,hi,-90,0,0,ns,1)
  806. end;
  807. function()
  808. ReturnStance(1.4)
  809. AddBV(10,Torso.CFrame,Torso,0.2,true)
  810. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  811. qAni(ra, 0.5,0.5,-1,-90,-90,0,2,ns,1)
  812. local hi=20
  813. qAni(ll,-1,-1.25,0,0,0, 90,2,ns,1)
  814. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  815. Sound(as.slash,Torso,1,1.3)
  816. Hitt(RL)
  817. qAni(tw,0,-0.5,0,90,0,-90,1,ns)
  818. Ani(tw,0,0,0,0,-360,0,0,ns/2) rAni(tw)
  819. ReturnStance()
  820. end;
  821. Break=function(Combonum,anim)
  822. CanCombo=true
  823. wait(0.4)
  824. if Combonum==ComboNum then CanCombo=false ComboNum=0
  825. ReturnStance()
  826. Legs()
  827. Anim=anim CanCombo=true end
  828. end
  829. };
  830. ---------------------------------------------
  831. H={
  832. function()
  833. BGFace=true
  834. qAni(hw,0,1.5,0,0,-75,0,0,ns,1)
  835. qAni(tw,0,0,0,0,75,0,0,ns,1)
  836. Ani(ra,1.5,0.5,0,-90,50,-90,2,ns,1)
  837. Sound(as.slash,Torso,1,1)
  838. SwordHit()
  839. qAni(hw,0,1.5,0,0,75,0,0,ns,1)
  840. qAni(tw,0,0,0,0,-75,0,0,ns,1)
  841. Ani(ra,1.5,0.5,0,0,-20,-90,2,ns,1)
  842. end;
  843. function()
  844. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  845. qAni(tw,0,0,0,0,0,0,0,ns,1)
  846. qAni(la,-1.2,0.8,0,-170,0, 40,2,ns,1)
  847. Ani(ra, 1.2,0.8,0,-170,0,-40,2,ns,1)
  848. wait(0.2)
  849. Sound(as.slash,Torso,1,1)
  850. SwordHit()
  851. qAni(hanw,0,-1.25,-0.25,150,0,0,2,ns,1)
  852. qAni(la,-0.7,0.3,-0.6,-45,0,-10,2,ns,1)
  853. Ani(ra, 0.7,0.3,-0.6,-45,0, 10,2,ns,1)
  854. end;
  855. function()
  856. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  857. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  858. qAni(tw,0,0,0,0,90,0,0,ns,1)
  859. qAni(hanw,0,-1.25,0,180,0,90,2,ns,1)
  860. Ani(ra,1.5,0.5,0,0,0,-180,2,ns,1)
  861. AddBV(-22,Torso.CFrame,Torso,0.4,true)
  862. wait(0.5)
  863. AddBV(16,Torso.CFrame,Torso,0.4,true)
  864. qAni(hanw,0,-1.25,0,180,0,0,2,ns,1)
  865. Ani(ra,1.5,0.5,0,0,0,-90,2,ns,1)
  866. for i=1,16 do
  867. Sound(as.slash,Torso,1,mran(100,140)/100)
  868. Ani(hanw,0,-1.25,0,180+mran(-30,30),0,mran(-30,30),2,1)
  869. if i%2==0 then
  870. local tcf=ca(mran(-30,30),0,mran(-30,30))*cn(0,lBlade/2+0.5,0)
  871. MeshEffect(han,han.CFrame*tcf,0.3,lBlade*1.3,0.3,0.1,'Institutional white',as.diamond,cn(0,0.1,0))
  872. GetRegion(han.CFrame*tcf.p,lBlade,function(Hum,HT) if Hum~=Huma then Dmg(Hum,Dealt()/3) Sound(as.hit,han,1,mran(90,140)/100) end end)
  873. end
  874. wait(0.04)
  875. end
  876. end;
  877. Break=function(Combonum,anim)
  878. CanCombo=true
  879. wait(0.3)
  880. if Combonum==ComboNum then CanCombo=false ComboNum=0
  881. BGFace=false
  882. ReturnStance(1,1)
  883. Legs()
  884. Anim=anim CanCombo=true end
  885. end
  886. };
  887. }
  888.  
  889. ComboNum=0
  890. CanCombo=true
  891. DoCombo=function(com)
  892. local DidCombo
  893. if Anim~=com and Anim~=com..'Combo'..ComboNum then return end
  894. if not CanCombo then return end
  895. local comz=com:gsub('Combo'..ComboNum,'')
  896. if Combos[comz] and Combos[comz][ComboNum+1] then
  897. ComboNum=ComboNum+1
  898. Anim=comz..'Combo'..ComboNum
  899. CanCombo=false
  900. DidCombo=true
  901. OH:Heat(15,true)
  902. Combos[comz][ComboNum]()
  903. Combos[comz].Break(ComboNum,comz)
  904. end
  905. return DidCombo
  906. end
  907.  
  908. mouse.Button1Down:connect(function()
  909. Button=true
  910. DoCombo(Anim)
  911. if Anim=='HACKS' then
  912. elseif Anim=='GF' then
  913. Anim='GF1' OH:Heat(10,true)
  914. GFTP=not GFTP
  915. local gg=GFTP and GFT[-1].w2.Part1 or GFT[1].w2.Part1
  916. MeshEffect(gg,gg.CFrame*ca(180,0,0)*cn(0,0.2,0),0.5,1.4,0.5,0.25,'New Yeller',as.blast,cn(0,0.1,0)*ca(0,25,0))
  917. Sound(as.firelaser,Torso,1,1.3)
  918. local b1=qi{'Part',m2,an=true,tra=0.2,can=false,bn='New Yeller',sc=v3(0,0,0),cf=cn(gg.Position,mouse.hit.p)} qi{'SpecialMesh',b1,mid=as.diamond,sca=v3(0.4,0.4,2)}
  919. FireCF(cn(b1.Position,b1.CFrame*cn(0,0,-1).p),6,function(cff,ty) b1.CFrame=cff end,function(cff,hum) b1.Transparency=1
  920. Dmg(hum,Dealt()/1.3)
  921. MeshEffect(b1,b1.CFrame,2,2,2,0.2,'New Yeller','Sphere')
  922. wait(3) b1:Remove() end)
  923. wait(0.35)
  924. Anim='GF'
  925. elseif Anim=='F' and OH:C'F1' then
  926. Anim='F1' OH:Heat(OH.Cost[Anim],true)
  927. AddBV(10,Torso.CFrame,Torso,0.4,true)
  928. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  929. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  930. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  931. Legs''
  932. local hi=65
  933. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  934. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  935. Sound(as.slash,Torso,1,1.3)
  936. Hitt(LL)
  937. Ani(tw,0,0,-1,hi,-90,0,0,ns,1)
  938. ----
  939. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  940. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  941. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  942. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  943. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  944. Ani(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  945. Legs()
  946. Anim='F'
  947. end
  948. end)
  949.  
  950. mouse.Button1Up:connect(function()
  951. Button=false
  952.  
  953. end)
  954.  
  955. end)
  956.  
  957. bin.Deselected:connect(function()
  958. mouse=nil
  959.  
  960. end)
  961.  
  962.  
  963. Block.v.Changed:connect(function(vv)
  964. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  965. end)
  966. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  967. ----------------------------------------------------------------------------------
  968. --HitBoxTRA=0
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977. ---------------------------------------------------------------------------------
  978. Count=0
  979. while m.Parent do
  980. Count=Count+1
  981. local thespeed=18
  982. for i=1,#Speed do thespeed=thespeed*Speed[i] end
  983. Huma.WalkSpeed=thespeed
  984. local oheat=OVERHEAT2>tick() and '('..math.floor(OVERHEAT2-tick())..')' or ''
  985. framtz.Text=math.floor(OH.i)..' / '..math.floor(OH.m).. ' '..oheat
  986. if Count%2==0 then OH:Cool(OH.Regen) end
  987. for noti,vv in pairs(OH.Notes) do
  988. local nots=noti.Text:sub(1,1)=='+' and 1 or -1
  989. noti.Position=noti.Position+ud(0,0,0,-1*nots) noti.TextTransparency=noti.TextTransparency+(0.9/50)
  990. if noti.Position.Y.Offset==-50*nots then noti:Remove() OH.Notes[noti]=nil end
  991. end
  992. LFire.Enabled=OH.m-OH.Cost.Z*3<OH.i
  993. RFire.Enabled=LFire.Enabled
  994. Smoking=OH.i>OH.m*0.7
  995. if Count%25==0 and OH.m-15<=OH.i then Dmg(Huma,5) end
  996. if Count%4==0 and Smoking then
  997. for i,v in pairs{LGlove,RGlove} do
  998. MeshEffect(v,v.CFrame*ca(0,mran(-360,360),mran(-30,30)),2,3,2,0.135,mran(1,2)==1 and 'Really black' or 'Dark stone grey','Sphere',cn(0,-0.1,0))
  999. end end
  1000. local heat=RFire.Enabled and 3 or (Smoking and 2 or 1)
  1001. if OVERHEAT2>tick() and heat==3 then heat=2 end
  1002. framt.Text=({'Heat Gauge','Warning!','OVERHEAT!'})[heat]
  1003. fram.Position=ud(0.4,0,0,10)+(heat==3 and ud(0,mran(-6,6),0,mran(-6,6)) or ud(0,0,0,0))
  1004. framt.TextColor=heat==1 and bn'White' or bn(math.floor(Count/4)%2==0 and 'White' or 'Bright red')
  1005. -----------------------------------------
  1006. frambtz.Text=Block.v.Value==0 and (Block.cd<tick() and '' or math.floor(Block.cd-tick()+0.5)) or ('Defense '..Block.v.Value..' / '..Block.vm)
  1007. if BGFace and mouse then BG.maxTorque=v3(1,1,1)/0 BG.cframe=cn(Torso.Position,v3(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z)) else BG.maxTorque=v3(0,0,0) end
  1008. if mouse then getX=GetX(cn(Torso.Position,mouse.hit.p)) end
  1009. if getX then getx=getX getx=getx>65 and 65 or getx getx=getx<-65 and -65 or getx end
  1010. -----------------
  1011. for mp,gf in pairs(meshpack) do
  1012. if gf[1]>=1 then mp:Remove() meshpack[mp]=nil end
  1013. gf[1]=gf[1]+gf[2]
  1014. local i,adj,x,y,z,ms=gf[1],gf[3],gf[4],gf[5],gf[6],gf[7]
  1015. mp.Transparency=0.2+(0.7*i)
  1016. mp.CFrame=mp.CFrame*adj
  1017. ms.Scale=v3(x,y,z)*(0.3+(0.7*i))
  1018. end
  1019. -----------------
  1020. for Do,gf in pairs(anipack) do
  1021. local i,sined,ty,c0,c1,d,e,f=gf[1],gf[3],gf[4],gf[5],gf[6],gf[7],gf[8],gf[9]
  1022. Do(sined and math.sin(math.pi/2*i) or i)
  1023. gf[1]=gf[1]+gf[2]
  1024. if gf[1]>=1 then Do(1) anipack[Do]=nil
  1025. if ty==0 then c0[4],c0[5],c0[6]=d,e,f else c1[4],c1[5],c1[6]=d,e,f end end
  1026. end
  1027. -----------------
  1028. for trp,gf in pairs(trailpack) do
  1029. if gf[1]<=0 then trp:Remove() trailpack[trp]=nil end
  1030. gf[1]=gf[1]-gf[2]
  1031. local i,trpm,th,mag=gf[1],gf[3],gf[4],gf[5]
  1032. trp.Transparency=0.3+(0.7*(1-i))
  1033. trpm.Scale=v3(th*i,th*i,mag)
  1034. end
  1035. ------------------
  1036.  
  1037. wait() end
  1038.  
  1039.  
  1040. --local/Chrono.Trail(Chrono.LA,0.5,'Really black',0.1,0.03)
  1041.  
  1042. --c/script.Parent==nil workspace.ChildAdded:connect(function(a) if a.Name=='Dummy' then a:Destroy() end end)
  1043. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement