memberhero

Untitled

Jan 4th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.90 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.  
  11. for i,v in pairs(_G.LVars) do
  12. getfenv()[i]=v
  13. end
  14. Player,Backpack=Players.LocalPlayer,Players.LocalPlayer.Backpack
  15. Pn=Player.Name
  16. PlayerGui,Char,Backpack=Player.PlayerGui,Player.Character,Player.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. HitHealth=hit.Parent.Humanoid.Health
  337. if HitHealth~=hit.Parent.Humanoid.Health and HitHealth~=0 and hit.Parent.Humanoid.Health<=0 and hit.Parent.Humanoid.Parent.Name~="Hologram" then
  338. print("gained spree")
  339. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value=game.Players.LocalPlayer.leaderstats.Spree.Value+1
  340. end
  341. 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
  342. end)
  343. return hitbox
  344. end
  345.  
  346.  
  347. local aDmg=Dmg
  348. Dmg=function(Hum,Dealt,Hitter)
  349. if Hum then OH:Cool(Dealt/2,true) end
  350. aDmg(Hum,Dealt,Hitter)
  351. end
  352.  
  353. HData={}
  354. breaker=function(hit,dmg)
  355. if hit.Anchored then return false end
  356. if hit.Parent:findFirstChild'Humanoid' then return false end
  357. if hit.Parent.Parent:findFirstChild'Humanoid' then return false end
  358. if hit.Parent.Parent.Parent:findFirstChild'Humanoid' then return false end
  359. local broke=false
  360. local dmg=dmg or mran(15,40)
  361. if not HData[hit] then local hh=hit.Size.x*hit.Size.y*hit.Size.z/1.5 HData[hit]=hh end
  362. HData[hit]=HData[hit]-dmg
  363. if HData[hit]<=0 then print('pretendpow') broke=true end
  364. return broke
  365. end
  366.  
  367.  
  368.  
  369. RangeAnim2=function(cff,times,speed,range,fu,ignor,isanc,nobreak)
  370. local isanc = isanc or false
  371. local Hit,Pos
  372. for ty=1,times do
  373. cff=cff*cn(0,0,-speed)
  374. local hit,pos=ray(cff.p,cff.p-cff*cn(0,0,1).p,ignor)
  375. Pos=pos
  376. fu(cff,ty)
  377. 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
  378. wait()
  379. end
  380. return Hit,(Pos-cff.p).magnitude,Pos
  381. end
  382. -----
  383. FireCF=function(Spawn,Speed,Func,EndFunc)
  384. q(function()
  385. local cff=Spawn*cn(0,0,Speed)
  386. local ty
  387. local Hit,Mag,Pos=RangeAnim2(cff,Speed*5+30,Speed,Speed,function(cf,ii) ty=ii cff=cf Func(cff,ty) end,m)
  388. if Hit then cff=cff*cn(0,0,-Mag) end
  389. Func(cff,ty+1)
  390. local huma
  391. if Hit and (Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent:findFirstChild'Humanoid') then
  392. --if Hit.Parent.Name==Pn or Hit.Parent.Parent.Name==Pn then return end
  393. huma=Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent.Humanoid
  394. end -- ifhit
  395. if EndFunc then EndFunc(cff,huma,Hit) end
  396. --
  397. end)
  398. end
  399.  
  400. exps={}
  401. exps[1]=function(object,ofs,sc)
  402. Sound(as.boom,object,1,2)
  403. for x=-1,1,2 do
  404. 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')
  405. end
  406. end
  407. exps[2]=function(object,ofs,sc)
  408. Sound(as.boom,object,1,1.5)
  409. MeshEffect(object,object.CFrame*ofs,sc/5,sc*3,sc/5,0.15,'Really black','Sphere')
  410. MeshEffect(object,object.CFrame*ofs,sc*1.3,sc*1.3,sc*1.3,0.15,'Really black','Sphere')
  411. MeshEffect(object,object.CFrame*ofs,sc/1.5,sc/1.5,sc/1.5,0.15,'Really black','Sphere')
  412. for i=360/8,360,360/8 do
  413. 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))
  414. end
  415. end
  416.  
  417.  
  418.  
  419. Explode=function(object,sc,dmg,ofs,humdur,esp)
  420. if object and object.Parent then
  421. exps[esp or 1](object,ofs,sc)
  422. GetRegion((object.CFrame*ofs).p,sc,function(Hum,HT) if Hum~=Huma then Dmg(Hum,dmg or 25)
  423. Hum.PlatformStand=true
  424. HT.RotVelocity=v3(0,25,0)
  425. AddBV(45,cn(object.Position,HT.Position+v3(0,3,0)),HT,0.2) wait(humdur or 0.6) Hum.PlatformStand=false end
  426. end,function(hit) if breaker(hit) then hit.Velocity=object.CFrame.lookVector*(sc*2+20) end end)
  427. end
  428. end --
  429.  
  430. BGFace=false
  431.  
  432.  
  433.  
  434. Button=false
  435. Key={}
  436. ns=0.125
  437. Anim=''
  438. Speed={1,1,1,1,1,1,1,1,1,1,1,1}
  439. bin=qi{'HopperBin',Backpack,n=ModelName}
  440. bin.Selected:connect(function(mouse2)
  441. mouse=mouse2
  442.  
  443. mouse.KeyDown:connect(function(k)
  444. Key[k]=true
  445. if k=='f' and Anim=='' and OH:C'F' and tick()>Block.cd then
  446. Anim='.' OH:Heat(OH.Cost.F,true)
  447. Arms''
  448. AddBV(-5,Torso.CFrame,Torso,0.4,true)
  449. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  450. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  451. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  452. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  453. for i=0,1,0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  454. shields={}
  455. shis=10
  456. 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
  457. 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
  458. Block.v.Value=Block.vm
  459. Speed[1]=0.75
  460. Anim='F'
  461. repeat wait(0.3) until (not Key.f or Block.v.Value==0) and Anim=='F'
  462. Block.cd=tick()+((Block.vm-Block.v.Value)*2)+2
  463. Anim='.'
  464. Speed[1]=1
  465. Block.v.Value=0
  466. qAni(tw,0,0,0,0,0,0,0,ns,1)
  467. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  468. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  469. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  470. 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
  471. for i=1,shis do shields[i].Part1:Remove() end
  472. for i=1,0,-0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  473. Arms()
  474. Anim=''
  475. elseif k=='g' and Anim=='' and OH:C'G' then
  476. Anim='.' OH:Heat(OH.Cost.G,true)
  477. Arms''
  478. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  479. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  480. for i,v in pairs{LA,RA} do
  481. wait(0.15)
  482. Sound(as.abscond,Torso,1,1.5)
  483. 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))
  484. 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))
  485. end
  486. Anim='G'
  487. elseif k=='g' and Anim=='G' then
  488. Anim='.'
  489. Sound(as.Imbue,Torso,0.6,1.5)
  490. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  491. Ani(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  492. Arms()
  493. Anim=''
  494. elseif k=='h' and Anim=='' and OH:C'H' then
  495. Anim='.'
  496. Arms''
  497. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  498. Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  499. local hanc=RA.CFrame:toObjectSpace(han.CFrame)
  500. hanw.Part0=RA hanw.C0=hanc rAni(hanw)
  501. qAni(hanw,0,-1.25,-0.25,0,0,0,0,0.1,1)
  502. Ani(hanw,0,0,0,-270,0,0,1,0.1,1) rAni(hanw)
  503. Ani(ra, 1.5,0.5,0,-45,-15,0,2,ns,1)
  504. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  505. 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)
  506. local ii=1-i
  507. 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)
  508. MeshEffect(han,vv.CFrame,4,lBlade*2,4,0.1,'Really black','Sphere')
  509. Sound(as.abscond,han,1,1.5)
  510. fBlade(true)
  511. vv:Remove()
  512. Anim='H'
  513. elseif k=='h' and Anim=='H' then
  514. Anim='.'
  515. fBlade()
  516. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  517. 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)
  518. local ii=1-i
  519. 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)
  520. vv:Remove()
  521. Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  522. local hanc=pTorso.CFrame:toObjectSpace(han.CFrame)
  523. hanw.Part0=pTorso hanw.C0=hanc rAni(hanw)
  524. qAni(hanw,1,1.5,0.75,0,0,125,0,0.1,1)
  525. Ani(hanw,0,0,0,0,90,0,1,0.1,1)
  526. ReturnStance()
  527. Arms()
  528. Anim=''
  529. elseif k=='z' and Anim=='' and OH:C'Z' then
  530. Anim='.' OH:Heat(OH.Cost.Z,true)
  531. local Regg,Regged=5,tick()
  532. OH.Regen=OH.Regen+Regg
  533. Speed[1]=0.3
  534. Arms''
  535. AddBV(1,Torso.CFrame,Torso,0.4,true)
  536. qAni(la,-1.5,0.5,0,-70,0, 70,2,ns,1)
  537. qAni(ra, 1.5,0.5,0,-70,0,-70,2,ns,1)
  538. qAni(LGlovebw,-2,0.9,0,0,0,0,2,ns)
  539. 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
  540. local cast,count=Sound(as.cast,Torso,0.4,0.65),0
  541. repeat wait(0.2) count=count+1 if count%10==0 then cast:Remove() cast=Sound(as.cast,Torso,0.35,0.65) end
  542. 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))
  543. 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
  544. Speed[1]=1
  545. qAni(LGlovebw,-0.55,0.9,0,0,0,0,2,ns,1)
  546. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  547. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  548. 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
  549. Arms()
  550. OH.Regen=OH.Regen-Regg
  551. Anim=''
  552. elseif k=='p' then
  553. end
  554. -------------------------------------------------------------------------------------------------------------------
  555. -------------------------------------------------------------------------------------------------------------------
  556. if k=='TESTINGS' then
  557. elseif k=='f' and Anim=='G' and OH:C'GF' then
  558. Anim='GF' OH:Heat(OH.Cost[Anim],true)
  559. AddBV(-18,Torso.CFrame,Torso,0.25,true)
  560. qAni(tw,0,0,0,0,90,0,0,ns)
  561. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  562. qAni(la,-1.5,0.5,0,0,0, 45,2,ns,1)
  563. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  564. BGFace=true
  565. GFT={}
  566. GFTP=true
  567. for x=-1,1,2 do
  568. GFT[x]={}
  569. 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}
  570. 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}
  571. GFT[x].w =qi{'Weld',v,P0=RGloveb,P1=v,C0=cn(x*0.3,-0.5-0.75,0)}
  572. GFT[x].w2=qi{'Weld',v,P0=v,P1=v2,C0=cn(0,-0.75,0)}
  573. end
  574. 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)
  575. 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'
  576. 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)
  577. for x=-1,1,2 do GFT[x].w.Part1:Remove() GFT[x].w2.Part1:Remove() end
  578. BGFace=false
  579. ReturnStance()
  580. Anim='G'
  581. elseif k=='e' and Anim=='F' and OH:C'FE' then
  582. Anim='FE' OH:Heat(OH.Cost[Anim],true)
  583. AddBV(1,Torso.CFrame,Torso,0.7,true)
  584. Sound(as.abscond,Torso,1,1.5)
  585. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  586. qAni(tw,0,0,1.5,0,90,0,0,ns)
  587. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  588. 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
  589. Explode(RA,8,Dealt(),cn(0,-1.5,0))
  590. wait(0.25)
  591. qAni(tw,0,0,0,0,-45,0,0,ns)
  592. Ani(hw,0,1.5,0,0,45,0,0,ns)
  593. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  594. Anim='F'
  595. elseif k=='q' and Anim=='F' and OH:C'FQ' then
  596. Anim='FQ' OH:Heat(OH.Cost[Anim],true)
  597. Speed[1]=2
  598. local bv=AddBV(15,Torso.CFrame,Torso,4,true)
  599. local hitbox=HitBox(LGloveb,v3(1,3,3),cn(0,0,0),Dealt(),3)
  600. 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)
  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. wait(0.25) bv:Remove()
  603. Speed[1]=0.75
  604. hitbox:Remove()
  605. 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)
  606. 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
  607. Anim='F'
  608. elseif k=='q' and Anim=='G' and OH:C'GQ' then
  609. Anim='GQ' OH:Heat(OH.Cost[Anim],true)
  610. BGFace=true
  611. AddBV(-12,Torso.CFrame,Torso,0.7,true)
  612. qAni(la,-1.5,0.5,0,-90, 10,0,2,ns,1)
  613. qAni(ra, 1.5,0.5,0,-90,-10,0,2,ns,1)
  614. 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)}
  615. 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}
  616. Sound(as.abscond,Torso,1,1)
  617. MeshEffect(b1,b1.CFrame,8,8,8,0.15,'White','Sphere')
  618. Tl(0.1,1,0.1,function(i) b2m.Scale=v3(2*i+2,2*i+2,2*i+2)*5 end,true)
  619. 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
  620. repeat wait(0.04)
  621. Ani(la,-1.5,0.5,0,-90+getx, 10,0,2,2)
  622. Ani(ra, 1.5,0.5,0,-90+getx,-10,0,2,2)
  623. b1w.C0=cn(0,0.5,0)*ca(-getx,0,0)*cn(0,0,-3)
  624. 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))
  625. until not Key.q
  626. b1.Anchored,b2.Anchored=true,true b1w:Remove() b2w:Remove()
  627. 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,8,Dealt()*2,cn(0,0,0),1.2,2) wait(4) b1:Remove() end)
  628. BGFace=false
  629. ReturnStance()
  630. Anim='G'
  631. --[[elseif k=='r' and Anim=='G' and OH:C'GR' then
  632. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  633. qAni(la,-1.5,0.5,0,-90, 20,0,2,ns,1)
  634. Ani(ra, 1.5,0.5,0,-90,-20,0,2,ns,1)
  635. DBHum=nil
  636. local hitbox=HitBox(RA,v3(1,1,1),cn(0,-1.5,0),0,1/0)
  637. repeat wait(0.1) until not Key.r or DBHum
  638. hitbox:Remove()
  639. if DBHum and DBHum.Parent:findFirstChild'Torso' then
  640. local GRH,GRT=DBHum,DBHum.Parent.Torso GRH.PlatformStand=true
  641. GRT.CFrame=Torso.CFrame*cn(-1,0.5,-2)*ca(0,0,90)
  642. local GRW=qi{'Weld',RA,P0=Torso,P1=GRT,C0=cn(-1,0.5,-2)*ca(0,0,90)}
  643. wait(0.5)
  644. qAni(la,-1.5,0.5,0,-180,-15,0,2,ns)
  645. qAni(ra, 1.5,0.5,0,-180, 15,0,2,ns)
  646. Ani(GRW,-1,3,0,0,0,90,0,ns)
  647. repeat wait(0.1) until not Key.r
  648. qAni(la,-1.5,0.5,0,-90,-15,0,2,ns)
  649. qAni(ra, 1.5,0.5,0,-90, 15,0,2,ns)
  650. Ani(GRW,-1,0.5,-2,0,0,90,0,ns)
  651. Legs''
  652. GRW:Remove()
  653. Ani(rl,0.5,-1,0,-130,0,0,2,ns,1) Hitt(RL,2)
  654. wait(0.5)
  655. ReturnStance()
  656. Legs()
  657. GRH.PlatformStand=false
  658. end
  659. ReturnStance()
  660. Anim='G']]
  661. elseif k=='e' and Anim=='G' and OH:C'GE' then
  662. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  663. Legs''
  664. Sound(as.slash,Torso,1,1.5) AddBV(1,Torso.CFrame,Torso,0.4,true)
  665. qAni(ll,-0.45,0.4,-0.7,-15,0, 10,2,ns,1)
  666. qAni(rl, 0.45,0.4,-0.9, 25,0,-10,2,ns,1)
  667. qAni(la,-1.5,0.5,0,-90,0,0,2,ns,1)
  668. qAni(ra, 1.5,0.5,0,0,0,-50,2,ns,1)
  669. qAni(tw,-1,-1.6,1,0,-90,0,0,ns)
  670. Ani(hw,0,1.5,0,0,90,0,0,ns)
  671. Sound(as.abscond,Torso,1,1.5)
  672. local charge=1
  673. local des=function()
  674. 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))
  675. 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))
  676. end
  677. Speed[1]=0.3
  678. local fullcharge
  679. repeat
  680. wait(0.07)
  681. charge=charge+0.15
  682. charge=charge<6 and charge or 6
  683. 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))
  684. end
  685. des()
  686. until not Key.e
  687. Speed[1]=1
  688. Sound(as.slash,Torso,1,1.5)
  689. qAni(tw,0,-1.6,0,0,75,0,0,ns)
  690. qAni(ra, 1.5,0.5,0,-15,0,-50,2,ns,1)
  691. qAni(hw,0,1.5,0,0,-75,0,0,ns)
  692. for i=0.1,1,0.1 do des() wait(0.03) end
  693. q(function()
  694. local tcf=qi{'Part',m,tra=1,an=true,sc=v3(0,0,0),cf=Torso.CFrame}
  695. for i=1,math.floor(charge) do
  696. local scc=(6+(i/2))*1.5
  697. local thecf=cn(1,-2.5,-1.8)*cn(0,0,-(i*scc-scc/1.5))
  698. Explode(tcf,scc*1.25,Dealt(),thecf)
  699. thecf=tcf.CFrame*thecf
  700. local ite,ofs=findGround(thecf)
  701. scc=scc+i/2
  702. if ite then
  703. 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}
  704. local ofc=ofs*ca(mran(-30,30),mran(-360,360),mran(-30,30))*cn(0,-scc/2,0)
  705. 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)
  706. end
  707. wait(0.15)
  708. end
  709. tcf:Remove()
  710. end)
  711. wait(0.25)
  712. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  713. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  714. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  715. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  716. qAni(tw,0,0,0,0,0,0,0,ns)
  717. Ani(hw,0,1.5,0,0,0,0,0,ns)
  718. Legs()
  719. Anim='G'
  720. elseif k=='e' and Anim=='H' and OH:C'HE' then
  721. Anim='HE' OH:Heat(OH.Cost[Anim],true)
  722. Speed[1]=0
  723. BGFace=true
  724. qAni(la,-0.6,0.45,-0.7,-90,50, 0,2,ns*1.5,1)
  725. Ani(ra, 1.5,0.55,0,-90, 0,90,2,ns*1.5,1)
  726. local c1=han.CFrame*cn(0,lBlade/2+0.5,0).p
  727. Torso.CFrame=cn(Torso.Position,v3(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))*cn(0,0,-20)
  728. Sound(as.slash,Torso,1,1)
  729. BGFace=false
  730. local c2=han.CFrame*cn(0,lBlade/2+0.5,0).p
  731. local cm=(c1-c2).magnitude
  732. local tcf=cn(c1,c2)*cn(0,0,-cm/2)
  733. local v=qi{'Part',m,tra=1,can=false,sc=v3(lBlade,0.2,cm-0.4),bn='Really red'}
  734. for ii,vv in pairs{'Top','Bottom'} do qi{'Decal',v,n=vv,Face=vv,Texture=as.redgradient} end
  735. 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}
  736. 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)
  737. v.CFrame=tcf
  738. HitBox(v,v3(lBlade,0.5,cm),cn(0,0,0),Dealt(),0.2)
  739. wait(0.1)
  740. Speed[1]=1
  741. ReturnStance(1,1)
  742. Anim='H'
  743. end
  744. end)
  745. ----WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
  746. mouse.KeyUp:connect(function(k)
  747. Key[k]=false
  748. end)
  749.  
  750.  
  751. ReturnStance=function(ii,i2)
  752. ii = ii or 1
  753. if not i2 then
  754. qAni(la,-1.5,0.5,0,15,0,0,2,ns*ii,1)
  755. qAni(ra, 1.5,0.5,0,15,0,0,2,ns*ii,1)
  756. qAni(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  757. qAni(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  758. qAni(tw,0,0,0,0,0,0,1,ns*ii,1)
  759. qAni(tw,0,0,0,0,0,0,0,ns*ii,1)
  760. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  761. Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  762. elseif i2==1 then
  763. qAni(ra,0,0.5,0,-45,-15,0,1,ns*ii,1)
  764. qAni(la,0,0.5,0,15,0,-15,1,ns*ii,1)
  765. qAni(ra, 1.5,0.5,0,0,0,0,0,ns*ii,1)
  766. qAni(la,-1.5,0.5,0,0,0,0,0,ns*ii,1)
  767. Ani(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  768. Ani(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  769. Ani(tw,0,0,0,0,0,0,1,ns*ii,1)
  770. Ani(tw,0,0,0,0,0,0,0,ns*ii,1)
  771. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  772. qAni(hanw,0,-1.25,-0.25,90,0,0,2,ns*ii,1)
  773. Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  774. end
  775. end
  776.  
  777. TrailColor='Institutional white'
  778. TrailThickness=0.2
  779. function Hitt(vv,ss)
  780. ss=ss or 1
  781. 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)
  782. end
  783. function SwordHit(cff)
  784. 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)
  785. end
  786.  
  787.  
  788. Combos={
  789. G={
  790. function()
  791. AddBV(10,Torso.CFrame,Torso,0.2,true)
  792. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  793. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  794. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  795. Sound(as.slash,Torso,1,1.3)
  796. Hitt(RA)
  797. Ani(tw,0,0,0,0,90,0,0,ns,1)
  798. end;
  799. function()
  800. Legs''
  801. AddBV(10,Torso.CFrame,Torso,0.2,true)
  802. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  803. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  804. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  805. local hi=85
  806. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  807. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  808. Sound(as.slash,Torso,1,1.3)
  809. Hitt(LL)
  810. Ani(tw,0,-0.5,0,hi,-90,0,0,ns,1)
  811. end;
  812. function()
  813. ReturnStance(1.4)
  814. AddBV(10,Torso.CFrame,Torso,0.2,true)
  815. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  816. qAni(ra, 0.5,0.5,-1,-90,-90,0,2,ns,1)
  817. local hi=20
  818. qAni(ll,-1,-1.25,0,0,0, 90,2,ns,1)
  819. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  820. Sound(as.slash,Torso,1,1.3)
  821. Hitt(RL)
  822. qAni(tw,0,-0.5,0,90,0,-90,1,ns)
  823. Ani(tw,0,0,0,0,-360,0,0,ns/2) rAni(tw)
  824. ReturnStance()
  825. end;
  826. Break=function(Combonum,anim)
  827. CanCombo=true
  828. wait(0.4)
  829. if Combonum==ComboNum then CanCombo=false ComboNum=0
  830. ReturnStance()
  831. Legs()
  832. Anim=anim CanCombo=true end
  833. end
  834. };
  835. ---------------------------------------------
  836. H={
  837. function()
  838. BGFace=true
  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,-90,50,-90,2,ns,1)
  842. Sound(as.slash,Torso,1,1)
  843. SwordHit()
  844. qAni(hw,0,1.5,0,0,75,0,0,ns,1)
  845. qAni(tw,0,0,0,0,-75,0,0,ns,1)
  846. Ani(ra,1.5,0.5,0,0,-20,-90,2,ns,1)
  847. end;
  848. function()
  849. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  850. qAni(tw,0,0,0,0,0,0,0,ns,1)
  851. qAni(la,-1.2,0.8,0,-170,0, 40,2,ns,1)
  852. Ani(ra, 1.2,0.8,0,-170,0,-40,2,ns,1)
  853. wait(0.2)
  854. Sound(as.slash,Torso,1,1)
  855. SwordHit()
  856. qAni(hanw,0,-1.25,-0.25,150,0,0,2,ns,1)
  857. qAni(la,-0.7,0.3,-0.6,-45,0,-10,2,ns,1)
  858. Ani(ra, 0.7,0.3,-0.6,-45,0, 10,2,ns,1)
  859. end;
  860. function()
  861. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  862. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  863. qAni(tw,0,0,0,0,90,0,0,ns,1)
  864. qAni(hanw,0,-1.25,0,180,0,90,2,ns,1)
  865. Ani(ra,1.5,0.5,0,0,0,-180,2,ns,1)
  866. AddBV(-22,Torso.CFrame,Torso,0.4,true)
  867. wait(0.5)
  868. AddBV(16,Torso.CFrame,Torso,0.4,true)
  869. qAni(hanw,0,-1.25,0,180,0,0,2,ns,1)
  870. Ani(ra,1.5,0.5,0,0,0,-90,2,ns,1)
  871. for i=1,16 do
  872. Sound(as.slash,Torso,1,mran(100,140)/100)
  873. Ani(hanw,0,-1.25,0,180+mran(-30,30),0,mran(-30,30),2,1)
  874. if i%2==0 then
  875. local tcf=ca(mran(-30,30),0,mran(-30,30))*cn(0,lBlade/2+0.5,0)
  876. MeshEffect(han,han.CFrame*tcf,0.3,lBlade*1.3,0.3,0.1,'Institutional white',as.diamond,cn(0,0.1,0))
  877. 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)
  878. end
  879. wait(0.04)
  880. end
  881. end;
  882. Break=function(Combonum,anim)
  883. CanCombo=true
  884. wait(0.3)
  885. if Combonum==ComboNum then CanCombo=false ComboNum=0
  886. BGFace=false
  887. ReturnStance(1,1)
  888. Legs()
  889. Anim=anim CanCombo=true end
  890. end
  891. };
  892. }
  893.  
  894. ComboNum=0
  895. CanCombo=true
  896. DoCombo=function(com)
  897. local DidCombo
  898. if Anim~=com and Anim~=com..'Combo'..ComboNum then return end
  899. if not CanCombo then return end
  900. local comz=com:gsub('Combo'..ComboNum,'')
  901. if Combos[comz] and Combos[comz][ComboNum+1] then
  902. ComboNum=ComboNum+1
  903. Anim=comz..'Combo'..ComboNum
  904. CanCombo=false
  905. DidCombo=true
  906. OH:Heat(15,true)
  907. Combos[comz][ComboNum]()
  908. Combos[comz].Break(ComboNum,comz)
  909. end
  910. return DidCombo
  911. end
  912.  
  913. mouse.Button1Down:connect(function()
  914. Button=true
  915. DoCombo(Anim)
  916. if Anim=='HACKS' then
  917. elseif Anim=='GF' then
  918. Anim='GF1' OH:Heat(10,true)
  919. GFTP=not GFTP
  920. local gg=GFTP and GFT[-1].w2.Part1 or GFT[1].w2.Part1
  921. 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))
  922. Sound(as.firelaser,Torso,1,1.3)
  923. 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)}
  924. 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
  925. Dmg(hum,Dealt()/1.3)
  926. MeshEffect(b1,b1.CFrame,2,2,2,0.2,'New Yeller','Sphere')
  927. wait(3) b1:Remove() end)
  928. wait(0.35)
  929. Anim='GF'
  930. elseif Anim=='F' and OH:C'F1' then
  931. Anim='F1' OH:Heat(OH.Cost[Anim],true)
  932. AddBV(10,Torso.CFrame,Torso,0.4,true)
  933. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  934. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  935. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  936. Legs''
  937. local hi=65
  938. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  939. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  940. Sound(as.slash,Torso,1,1.3)
  941. Hitt(LL)
  942. Ani(tw,0,0,-1,hi,-90,0,0,ns,1)
  943. ----
  944. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  945. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  946. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  947. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  948. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  949. Ani(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  950. Legs()
  951. Anim='F'
  952. end
  953. end)
  954.  
  955. mouse.Button1Up:connect(function()
  956. Button=false
  957.  
  958. end)
  959.  
  960. end)
  961.  
  962. bin.Deselected:connect(function()
  963. mouse=nil
  964.  
  965. end)
  966.  
  967.  
  968. Block.v.Changed:connect(function(vv)
  969. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  970. end)
  971. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  972. ----------------------------------------------------------------------------------
  973. --HitBoxTRA=0
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982. ---------------------------------------------------------------------------------
  983. Count=0
  984. while m.Parent do
  985. Count=Count+1
  986. local thespeed=18
  987. for i=1,#Speed do thespeed=thespeed*Speed[i] end
  988. Huma.WalkSpeed=thespeed
  989. local oheat=OVERHEAT2>tick() and '('..math.floor(OVERHEAT2-tick())..')' or ''
  990. framtz.Text=math.floor(OH.i)..' / '..math.floor(OH.m).. ' '..oheat
  991. if Count%2==0 then OH:Cool(OH.Regen) end
  992. for noti,vv in pairs(OH.Notes) do
  993. local nots=noti.Text:sub(1,1)=='+' and 1 or -1
  994. noti.Position=noti.Position+ud(0,0,0,-1*nots) noti.TextTransparency=noti.TextTransparency+(0.9/50)
  995. if noti.Position.Y.Offset==-50*nots then noti:Remove() OH.Notes[noti]=nil end
  996. end
  997. LFire.Enabled=OH.m-OH.Cost.Z*3<OH.i
  998. RFire.Enabled=LFire.Enabled
  999. Smoking=OH.i>OH.m*0.7
  1000. if Count%25==0 and OH.m-15<=OH.i then Dmg(Huma,5) end
  1001. if Count%4==0 and Smoking then
  1002. for i,v in pairs{LGlove,RGlove} do
  1003. 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))
  1004. end end
  1005. local heat=RFire.Enabled and 3 or (Smoking and 2 or 1)
  1006. if OVERHEAT2>tick() and heat==3 then heat=2 end
  1007. framt.Text=({'Heat Gauge','Warning!','OVERHEAT!'})[heat]
  1008. 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))
  1009. framt.TextColor=heat==1 and bn'White' or bn(math.floor(Count/4)%2==0 and 'White' or 'Bright red')
  1010. -----------------------------------------
  1011. 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)
  1012. 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
  1013. if mouse then getX=GetX(cn(Torso.Position,mouse.hit.p)) end
  1014. if getX then getx=getX getx=getx>65 and 65 or getx getx=getx<-65 and -65 or getx end
  1015. -----------------
  1016. for mp,gf in pairs(meshpack) do
  1017. if gf[1]>=1 then mp:Remove() meshpack[mp]=nil end
  1018. gf[1]=gf[1]+gf[2]
  1019. local i,adj,x,y,z,ms=gf[1],gf[3],gf[4],gf[5],gf[6],gf[7]
  1020. mp.Transparency=0.2+(0.7*i)
  1021. mp.CFrame=mp.CFrame*adj
  1022. ms.Scale=v3(x,y,z)*(0.3+(0.7*i))
  1023. end
  1024. -----------------
  1025. for Do,gf in pairs(anipack) do
  1026. 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]
  1027. Do(sined and math.sin(math.pi/2*i) or i)
  1028. gf[1]=gf[1]+gf[2]
  1029. if gf[1]>=1 then Do(1) anipack[Do]=nil
  1030. 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
  1031. end
  1032. -----------------
  1033. for trp,gf in pairs(trailpack) do
  1034. if gf[1]<=0 then trp:Remove() trailpack[trp]=nil end
  1035. gf[1]=gf[1]-gf[2]
  1036. local i,trpm,th,mag=gf[1],gf[3],gf[4],gf[5]
  1037. trp.Transparency=0.3+(0.7*(1-i))
  1038. trpm.Scale=v3(th*i,th*i,mag)
  1039. end
  1040. ------------------
  1041.  
  1042. wait() end
  1043.  
  1044.  
  1045. --local/Chrono.Trail(Chrono.LA,0.5,'Really black',0.1,0.03)
  1046.  
  1047. --c/script.Parent==nil workspace.ChildAdded:connect(function(a) if a.Name=='Dummy' then a:Destroy() end end)
  1048. --
Add Comment
Please, Sign In to add comment