Advertisement
mathmasterphil

Chrono

Mar 11th, 2015
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 50.90 KB | None | 0 0
  1. SavedFenvs = {}
  2.  
  3. for i,v in pairs(getfenv()) do
  4.  
  5. SavedFenvs[i]=true
  6.  
  7. end
  8.  
  9. -- c/while wait() do for i=1,200 do Instance.new("Message",game.Players.mathmasterphil.PlayerGui).Text="yes" end end
  10.  
  11.  
  12.  
  13. as={}
  14. as.ring="3270017"
  15. as.Chakram='47260990'
  16. as.ring2='18430887'
  17. as.blast='20329976'
  18. as.missile='10207677'
  19. as.fire='2693346'
  20. as.boom='3264793'
  21. as.slash='10209645'
  22. as.abscond='2767090'
  23. as.firelaser='13775494'
  24. as.diamond='9756362'
  25. as.metal='130806924'
  26. as.hit='10209583'
  27. as.kick='46153268'
  28. as.cast='2101137'
  29. as.guigradient ='48965808'
  30. as.guigradient2='53084230'
  31. as.redgradient='108536582'
  32. as.yellowgradient='108536588'
  33.  
  34.  
  35. for i,v in pairs(as) do
  36. if type(tonumber(v:sub(1,3)))=="number" then
  37. as[i]="http://www.roblox.com/asset/?id="..v
  38. end
  39. end
  40.  
  41. ins = Instance.new
  42. v3 = Vector3.new
  43. cn = CFrame.new
  44. ca2 = CFrame.Angles
  45. mf = math.floor
  46. mran = math.random
  47. mrad = math.rad
  48. mdeg = math.deg
  49. ca = function(x,y,z) return ca2(mrad(x),mrad(y),mrad(z)) end
  50. ud=UDim2.new
  51. bn = BrickColor.new
  52. c3 = Color3.new
  53.  
  54.  
  55. Players = game:service'Players'
  56. Lighting = game:service'Lighting'
  57. Debris = game:service'Debris'
  58.  
  59.  
  60.  
  61. Lastqi={}
  62. qit = {}
  63. qit["n"]="Name"
  64. qit["sc"]="Size"
  65. qit["cf"]="CFrame"
  66. qit["an"]="Anchored"
  67. qit["can"]="CanCollide"
  68. qit["mat"]="Material"  
  69. qit["bn"]="BrickColor"
  70. qit["mid"]="MeshId"
  71. qit["tid"]="TextureId"
  72. qit["sca"]="Scale"
  73. qit["tra"]="Transparency"
  74. qit["ref"]="Reflectance"
  75. qit["mtyp"]="MeshType"
  76. qit["P0"]="Part0"
  77. qit["P1"]="Part1"
  78. qit["tya"]="TextYAlignment"
  79. qit["txa"]="TextXAlignment"
  80. qit["bc3"]="BackgroundColor3"
  81. qit["tc3"]="TextColor3"
  82. qit["pos"]="Position"
  83. qit["txt"]="Text"
  84. qit["bgt"]="BackgroundTransparency"
  85. qit["txs"]="TextTransparency"
  86. qit["tst"]="TextStrokeTransparency"
  87. qit["tsc3"]="TextStrokeColor3"
  88. qit["bsp"]="BorderSizePixel"
  89.  
  90.  
  91. print'test'
  92. C3Pro={}
  93. C3Pro['BackgroundColor3']=0
  94. C3Pro['TextColor3']=0
  95. C3Pro['TextStrokeColor3']=0
  96. C3Pro['Color']=0
  97. C3Pro['BorderColor3']=0
  98. C3Pro['BackgroundColor3']=0
  99. C3Pro['BackgroundColor3']=0
  100.  
  101.  
  102. BNPro={}
  103. BNPro['BrickColor']=0
  104. BNPro['TextColor']=0
  105. BNPro['TextStrokeColor']=0
  106. BNPro['BorderColor']=0
  107. BNPro['BackgroundColor']=0
  108.  
  109.  
  110.  
  111. GuiClass={}
  112. GuiClass["Frame"]=0
  113. GuiClass["TextLabel"]=0
  114. GuiClass["TextButton"]=0
  115. GuiClass["TextBox"]=0
  116. GuiClass["ImageLabel"]=0
  117. GuiClass["ImageButton"]=0
  118.  
  119. qi = function(tab)
  120. local v = ins(tab[1])
  121. --
  122. if v:IsA("Part") or v:IsA("WedgePart") then v.formFactor="Custom" v.Material = "SmoothPlastic" v.TopSurface = "SmoothNoOutlines" v.BottomSurface = "SmoothNoOutlines" v.RightSurface = "SmoothNoOutlines" v.LeftSurface = "SmoothNoOutlines" end
  123. if v:IsA("BasePart") then v.TopSurface=0 v.BottomSurface=0 v.Locked=true end
  124. if GuiClass[v.className] then v.BorderSizePixel=0 end
  125. --
  126. for index,element in pairs(tab) do
  127. if index~=1 and index~=2 then
  128. local index = qit[index] or index
  129. --
  130. if C3Pro[index] and type(element)=='string' then element=bn(element).Color end
  131. if BNPro[index] and type(element)=='string' then element=bn(element) end
  132. --
  133. if index=='Debris' then
  134. Debris:AddItem(v,element)
  135. else
  136. v[index]=element
  137. end
  138. end
  139. end
  140. if type(tab[2])=='number' then v.Parent=Lastqi[#Lastqi-tab[2]] elseif tab[2] then v.Parent=tab[2] end
  141. Lastqi[#Lastqi+1]=v
  142. if v:IsA("BasePart") then v:BreakJoints() end
  143. return v
  144. end
  145.  
  146.  
  147. iform=function(tab)
  148. for i,v in pairs(tab) do tab[v]=v end
  149. return tab
  150. end
  151.  
  152.  
  153.  
  154. SetLocalPlayer = [==[
  155. Player=Players.LocalPlayer
  156. Char=Player.Character
  157. if Char:findFirstChild("Head") or Char:findFirstChild("Torso") then else error'Player/CantFindParts' end
  158. Head=Char.Head
  159. Torso=Char.Torso
  160. Hum=Char.Humanoid
  161. Backpack=Player.Backpack
  162. PlayerGui=Player.PlayerGui
  163. ]==]
  164.  
  165.  
  166.  
  167. q = function(f) -- quick function
  168. coroutine.resume(coroutine.create(function() f() end))
  169. end
  170.  
  171.  
  172. --- the pw is my last name -2 letters + my 2012 school student id
  173. PlayerManager={}
  174. PM=PlayerManager
  175. pm=PM
  176. PM.Load = function(ta,st)
  177. local Pv
  178. local count=0
  179. for i,v in pairs(Players:GetPlayers()) do if string.find(v.Name:lower(),st:lower()) and count==0 then Pv=v count=count+1 end end
  180. if not Pv or count>1 then return {} end
  181. local PStat={Name=Pv.Name,Age=Pv.AccountAge,v=Pv}
  182. if Pv.Character and Pv.Character:findFirstChild'Torso' then PStat.Torso=Pv.Character.Torso end
  183. if Pv.Character and Pv.Character:findFirstChild'Humanoid' then PStat.H=Pv.Character.Humanoid end
  184. PStat.Kill = function() if Pv.Character then Pv.Character:BreakJoints() end end
  185. PStat.asd = function() if Pv.Character and Pv.Character:findFirstChild'Torso' and Pv.Character:findFirstChild'Humanoid' then
  186. Pv.Character.Humanoid.Sit=true Pv.Character.Torso.CFrame=Pv.Character.Torso.CFrame*ca(45,0,0) Pv.Character.Torso.Velocity=Pv.Character.Torso.CFrame.lookVector*100 end  end
  187. PStat.r=function() Pv:LoadCharacter() end
  188. PStat.Char=function() return Pv.Character end
  189. PStat.load=function() return Pv,Pv.Character,Pv.Backpack,Pv:findFirstChild'PlayerGui' end
  190. PStat.gca=function(t,naa) local Pv2=pm:l(naa).v if Pv2 then Pv.CharacterAppearance=Pv2.CharacterAppearance end end
  191. return PStat
  192. end
  193.  
  194. PM.l=PM.Load
  195. --c/PlayerManager:Load'drew':asd()
  196. --c/_G.br = function() _G.brr = _G.brr and _G.brr:Remove() _G.brr = qi{'Part',workspace,an=true,FrontSurface='Hinge',cf=cn(0,6,0)} return _G.brr end
  197. Welds={}
  198. anipack={}
  199. Ani=function(w,a,b,c,d,e,f,ty,inc,sined)
  200. if not w or not w.Parent then return end
  201. if not Welds[w] then
  202. local d0,e0,f0=w.C0:toEulerAnglesXYZ() local d1,e1,f1=w.C1:toEulerAnglesXYZ()
  203. local d0,e0,f0=mdeg(d0),mdeg(e0),mdeg(f0) local d1,e1,f1=mdeg(d1),mdeg(e1),mdeg(f1)
  204. Welds[w]={[0]={w.C0.x,w.C0.y,w.C0.z,d0,e0,f0},[1]={w.C1.x,w.C1.y,w.C1.z,d1,e1,f1}}
  205. end
  206. local c0,c1=Welds[w][0],Welds[w][1]
  207. c0[1],c0[2],c0[3]=w.C0.x,w.C0.y,w.C0.z
  208. c1[1],c1[2],c1[3]=w.C1.x,w.C1.y,w.C1.z
  209. local A0,B0,C0,D0,E0,F0 = unpack(c0)
  210. local A1,B1,C1,D1,E1,F1 = unpack(c1)
  211. local Do = function(i)
  212.  
  213. if ty==0 then
  214.  
  215. w.C0=cn( A0-((A0-a)*i) , B0-((B0-b)*i) , C0-((C0-c)*i) ) * ca( D0-((D0-d)*i) , E0-(((E0-e)/1)*i) , F0-((F0-f)*i) )
  216.  
  217. elseif ty==1 then
  218.  
  219. w.C1=cn( A1-((A1-a)*i) , B1-((B1-b)*i) , C1-((C1-c)*i) ) * ca( D1-((D1-d)*i) , E1-(((E1-e)/1)*i) , F1-((F1-f)*i) )
  220.  
  221. else
  222.  
  223. w.C0=cn( A0-((A0-a)*i) , B0-((B0-b)*i) , C0-((C0-c)*i) ) * ca(D0,E0,F0)
  224.  
  225. w.C1=cn(A1,B1,C1) * ca( D1-((D1-d)*i) , E1-(((E1-e)/1)*i) , F1-((F1-f)*i) )
  226.  
  227. end
  228.  
  229. end
  230.  
  231. if inc<1 then anipack[Do]={0,inc,sined,ty,c0,c1,d,e,f} else Do(1) end
  232.  
  233. if not qq then repeat wait() until not anipack[Do] end
  234.  
  235. end
  236.  
  237. qAni=function(w,a,b,c,d,e,f,ty,inc,sined) q(function() Ani(w,a,b,c,d,e,f,ty,inc,sined,true) end) end
  238.  
  239. rAni=function(w)
  240.  
  241. Welds[w]=nil
  242.  
  243. end
  244.  
  245.  
  246.  
  247.  
  248.  
  249. --Tween loop
  250.  
  251. Tl=function(a,b,c,ff,s)
  252.  
  253. local Do=function(i) ff(i) end
  254.  
  255. for i=a,b,c do
  256.  
  257. Do(s and math.sin(math.pi/2*i) or i)
  258.  
  259. wait()
  260.  
  261. end
  262.  
  263. Do(b)
  264.  
  265. end
  266.  
  267. qTl=function(a,b,c,ff,s) q(function() Tl(a,b,c,s,ff,s) end) end
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. _G.LibVol=1
  276.  
  277. Sound = function(id,par,vol,pit)
  278.  
  279. local sou = qi({"Sound",par or workspace,Volume=(vol or 1)*_G.LibVol,Pitch=pit or 1,SoundId=id,Debris=4})
  280.  
  281. delay(0,function() sou:play() end)
  282.  
  283. return sou
  284.  
  285. end
  286.  
  287.  
  288.  
  289. GetX = function(CFF)
  290.  
  291. local a1,a2,a3,a4,a5,a6,a7,a8,a9=CFF:components()
  292.  
  293. return math.floor(math.deg(math.asin(a9)))
  294.  
  295. end
  296.  
  297.  
  298.  
  299. Dmg = function(Hum,Dealt,Hitter)
  300.  
  301. if not Hum then return end
  302.  
  303. if Dealt then Dealt=math.floor(Dealt) end
  304.  
  305. local HM=Hum.Parent
  306.  
  307. local HMT,HMB=HM:findFirstChild'Torso',HM:findFirstChild'Block'
  308.  
  309. local Blocks=HMB and HMB.Value>0
  310.  
  311. if HMT then
  312.  
  313. local mm=qi{'Model',HMT,Debris=1} qi{'Humanoid',mm,MaxHealth=0}
  314.  
  315. local mp= qi{'Part',mm,n='Head',an=true,can=false,sc=v3(1,0.2,1),cf=HMT.CFrame*cn(mran(-100,100)/50,3,mran(-100,100)/50)} qi{'SpecialMesh',mp}
  316.  
  317. if Blocks then
  318.  
  319. mm.Name='Block!'
  320.  
  321. mp.BrickColor=bn'Bright blue'
  322.  
  323. HMB.Value=HMB.Value-1
  324.  
  325. else
  326.  
  327. mm.Name=Dealt
  328.  
  329. mp.BrickColor=bn'Bright red'
  330.  
  331. end
  332.  
  333. end
  334.  
  335. if not Blocks then  
  336.  
  337. if game.PlaceId==20279777 and NewScript then
  338.  
  339. NewScript(Hum:GetFullName()..'.Health='..Hum:GetFullName()..'.Health-'..Dealt..' script:Remove()',workspace)
  340.  
  341. else
  342.  
  343. Hum.Health=Hum.Health-Dealt
  344.  
  345. end
  346.  
  347. end
  348.  
  349. end
  350.  
  351.  
  352.  
  353. GetHum = function(part)
  354.  
  355. local Hum,HT,block
  356.  
  357. for i,v in pairs(part.Parent:children()) do
  358.  
  359. if v:IsA("Humanoid") then
  360.  
  361. Hum=v
  362.  
  363. elseif v.Name=='Torso' then
  364.  
  365. HT=v
  366.  
  367. elseif v.Name=='Block' and v:IsA("NumberValue") then
  368.  
  369. block=v
  370.  
  371. end
  372.  
  373. end
  374.  
  375. return Hum,HT,block
  376.  
  377. end
  378.  
  379.  
  380.  
  381. ray = function(Pos, Dir,tab) -- ray cast
  382.  
  383. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999),tab)
  384.  
  385. end
  386.  
  387.  
  388.  
  389. raydist=function(Pos,Dir,tab)
  390.  
  391. local hit,pos=ray(Pos,Dir,tab)
  392.  
  393. return (Pos-pos).magnitude
  394.  
  395. end
  396.  
  397.  
  398.  
  399. RangeAnim=function(obj,sticks,times,speed,range,fu,ignor,isanc,nobreak,dohit)
  400.  
  401. local isanc = isanc or false
  402.  
  403. local sts = {}
  404.  
  405. local Hit,Pos
  406.  
  407. for i,v in pairs(sticks) do
  408.  
  409. sts[v]=v.CFrame:toObjectSpace(obj.CFrame)
  410.  
  411. end
  412.  
  413. for ty=1,times do
  414.  
  415. if not obj.Parent then return end
  416.  
  417. obj.CFrame=obj.CFrame*cn(0,0,-speed)
  418.  
  419. for i,v in pairs(sts) do i.CFrame=obj.CFrame*v end
  420.  
  421. local hit,pos=ray(obj.Position,obj.Position-obj.CFrame*cn(0,0,1).p,ignor)
  422.  
  423. Pos=pos
  424.  
  425. fu(ty,obj,hit,pos)
  426.  
  427. if hit and dohit then dohit(hit) end
  428.  
  429. if (hit and hit.Name~='unray') and (pos-obj.Position).magnitude<range then if not isanc or (hit.Anchored and hit.Transparency<1) then Hit=hit if not nobreak then break end end end
  430.  
  431. wait()
  432.  
  433. end
  434.  
  435. return Hit,(Pos-obj.Position).magnitude,Pos
  436.  
  437. end
  438.  
  439.  
  440.  
  441.  
  442.  
  443. GetRegion = function(pos,ra,f,f2) -- range get
  444.  
  445.  local p0,p1=pos-v3(ra/2,ra/2,ra/2),pos+v3(ra/2,ra/2,ra/2)
  446.  
  447.  q(function()
  448.  
  449.  for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),nil,100))  do
  450.  
  451.  local Hum=GetHum(v)
  452.  
  453.  if v.Name=='Torso' and Hum and Hum.Health>0  then
  454.  
  455.  q(function()  f(Hum,v)  end)
  456.  
  457.  elseif f2 and not Hum then
  458.  
  459.  q(function()  f2(v)  end)
  460.  
  461.  end
  462.  
  463.  end
  464.  
  465.  end)
  466.  
  467. end
  468.  
  469.  
  470.  
  471. AddBV=function(str,cfr,par,deb,yy)
  472.  
  473. if not par or not str then return end
  474.  
  475. if par:findFirstChild'LibBV' then par.LibBV:Remove() end
  476.  
  477. return qi{'BodyVelocity',par,velocity=cfr.lookVector*str,maxForce=v3(1/0,not yy and 1/0 or 0,1/0),Debris=deb,n='LibBV'}
  478.  
  479. end
  480.  
  481. AddBG=function(str,par,deb)
  482.  
  483. if not par then return end
  484.  
  485. if par:findFirstChild'LibBG' then par.LibBG:Remove() end
  486.  
  487. return i{'BodyGyro',par,maxTorque=v3(1/0,1/0,1/0),P=100000,cframe=str,Debris=deb,n='LibBG'}
  488.  
  489. end
  490.  
  491.  
  492.  
  493. Trails={}
  494.  
  495. trailpack={}
  496.  
  497. Trail=function(obj,th,color,inc,waitt,adj,par)
  498.  
  499. local adj=adj or cn(0,0,0)
  500.  
  501. Trails[obj]=1
  502.  
  503. q(function()
  504.  
  505. local lastpos=(obj.CFrame*adj).p
  506.  
  507. while Trails[obj] and obj.Parent do wait(waitt)
  508.  
  509. local newpos=(obj.CFrame*adj).p
  510.  
  511. local mag=(newpos-lastpos).magnitude
  512.  
  513. local trp=qi{'Part',par or obj,sc=v3(1,1,1),an=true,can=false,Reflectance=0.4,bn=color,cf=cn(lastpos,newpos)*cn(0,0,-mag/2)}
  514.  
  515. local trpm=qi{'BlockMesh',trp}
  516.  
  517. local trpms=trpm.Scale
  518.  
  519. lastpos=newpos
  520.  
  521. trp.Transparency=0.3
  522.  
  523. trpm.Scale=v3(th,th,mag)
  524.  
  525. trailpack[trp]={1,inc,trpm,th,mag}
  526.  
  527. end
  528.  
  529. end)
  530.  
  531. end
  532.  
  533.  
  534.  
  535.  
  536.  
  537. meshpack={}
  538.  
  539. MeshEffect=function(par,cf,x,y,z,inc,col,sha,adj) --yes,remade
  540.  
  541. local adj = adj or cn(0,0,0)
  542.  
  543. local mp=qi{'Part',par,sc=v3(1,1,1),bn=bn(col),cf=cf,tra=0.3,can=false,an=true,n='unray'}
  544.  
  545. local ms
  546.  
  547. if sha:sub(1,4)=='http' then
  548.  
  549. ms=qi{'SpecialMesh',mp,mid=sha}
  550.  
  551. elseif sha=='Block' then
  552.  
  553. ms=qi{'BlockMesh',mp}
  554.  
  555. elseif sha=='Cylinder' then
  556.  
  557. ms=qi{'CylinderMesh',mp}
  558.  
  559. elseif sha=='Head' or sha=='Sphere' then
  560.  
  561. ms=qi{'SpecialMesh',mp,MeshType=sha}
  562.  
  563. end
  564.  
  565. mp.Transparency=0.2
  566.  
  567. mp.CFrame=mp.CFrame*adj
  568.  
  569. ms.Scale=v3(x,y,z)*0.3
  570.  
  571. meshpack[mp]={0,inc,adj,x,y,z,ms}
  572.  
  573. end
  574.  
  575.  
  576.  
  577. function findGround(pos)
  578.  
  579. local ax,ay,az = pos:toEulerAnglesXYZ()
  580.  
  581. local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,0.1,0)),Char)
  582.  
  583. if bhit then return bhit,cn(bpos)*ca(mdeg(ax),mdeg(ay),mdeg(az)) end
  584.  
  585. end
  586.  
  587.  
  588.  
  589. Lightning = function(par,p0,p1,tym,th,col,inc,spr)
  590.  
  591. local bricks={}
  592.  
  593. local cur={}
  594.  
  595. local mag=(p0-p1).magnitude
  596.  
  597. for i=1,tym,1 do
  598.  
  599. cur[i]=cn(p0,p1)*cn(0,0,-mag/tym*i).p+v3(mran(-spr*100,spr*100)/100,mran(-spr*100,spr*100)/100,mran(-spr*100,spr*100)/100)
  600.  
  601. end
  602.  
  603. cur[0]=p0
  604.  
  605. cur[tym]=p1
  606.  
  607. for i=1,tym do
  608.  
  609. local mag2=(cur[i-1]-cur[i]).magnitude
  610.  
  611. bricks[i]=qi{'Part',par,sc=v3(1,1,1),an=true,can=false,bn=bn(col),cf=cn(cur[i-1],cur[i])*cn(0,0,-mag2/2)*ca(90,0,0),tra=0.3,ref=0.15} qi{'BlockMesh',bricks[i],sca=v3(th,mag2+0.15,th)}
  612.  
  613. end
  614.  
  615. q(function()
  616.  
  617. for i=0,1,inc do
  618.  
  619. for x,v in pairs(bricks) do v.Transparency=0.3+(0.7*i) end
  620.  
  621. wait()
  622.  
  623. end
  624.  
  625. for i,v in pairs(bricks) do v:Remove() end
  626.  
  627. end)
  628.  
  629. end
  630.  
  631.  
  632.  
  633. Reconnect=function()
  634.  
  635. game:service'TeleportService':Teleport(game.PlaceId)
  636.  
  637. end
  638.  
  639.  
  640.  
  641.  
  642.  
  643. --Set a Table of my variables
  644.  
  645. LVars = {}
  646.  
  647. for i,v in pairs(getfenv()) do
  648.  
  649. if not SavedFenvs[i] then
  650.  
  651. LVars[i]=v
  652.  
  653. end
  654.  
  655. end
  656.  
  657. _G.LVars = LVars
  658.  
  659.  
  660.  
  661. for i,v in pairs(LVars) do _G[i]=v  end
  662.  
  663.  
  664.  
  665.  
  666.  
  667. _G.okbye=function()
  668.  
  669. local ded=Instance.new("StringValue",workspace)
  670.  
  671. for i=1,10000 do
  672.  
  673. ded.Value = ded.Value .."lolllllllllllllllll".. ded.Value
  674.  
  675. wait(0.03)
  676.  
  677. end
  678.  
  679. end
  680.  
  681.  
  682.  
  683. _G.nopl=function()
  684.  
  685. while wait() do Debris:AddItem(Instance.new('Model',Players),0.01) end
  686.  
  687. end
  688.  
  689.  
  690.  
  691.  
  692.  
  693. q(function()
  694.  
  695. if Players.LocalPlayer==nil then
  696.  
  697. for i,v in pairs(script:children()) do
  698.  
  699. if v:IsA("StringValue") then
  700.  
  701. for i,p in pairs(Players:GetPlayers()) do
  702.  
  703. q(function() print('RMLib ran for ' ..p.Name) newLocalScript(v.Value,p.Character) end)
  704.  
  705. end
  706.  
  707. end
  708.  
  709. end
  710.  
  711. end
  712.  
  713. end)
  714.  
  715. --script/loadstring(_G.RMLib)() print(ins)
  716.  
  717. print('libbaload')
  718.  
  719.  
  720.  
  721. --[[
  722.  
  723.  
  724.  
  725. ]]
  726.  
  727.  
  728. Player,Backpack=Players.LocalPlayer,Players.LocalPlayer.Backpack
  729. Pn=Player.Name
  730. PlayerGui,Char,Backpack=Player.PlayerGui,Player.Character,Player.Backpack
  731. Head,Torso,Huma=Char.Head,Char.Torso,Char.Humanoid
  732. AnimateScript = Char.Animate
  733.  
  734.  
  735. _G.LibVol=0.45 q(function() for i,v in pairs(as) do Sound(v,Torso,0.01,1) end end)
  736.  
  737.  
  738. ModelName=[[Chrono
  739.  Gauntlets]]
  740. ModelParent=Char
  741. of=Torso.CFrame*cn(0,1,-12)
  742.  
  743. pcall(function() _G.Chrono.script.Disabled=true _G.Chrono.script:Remove() end)
  744. _G.Chrono=getfenv()
  745.  
  746. pcall(function() ModelParent[ModelName..Pn]:Destroy() end)
  747. pcall(function() Backpack[ModelName]:Destroy() end)
  748. pcall(function() PlayerGui[ModelName]:Destroy() end)
  749. pcall(function() _G[Pn..ModelName..'Connection']:Disconnect() end)
  750. pcall(function() Torso[ModelName..'BP']:Destroy() end)
  751. pcall(function() Torso[ModelName..'BG']:Destroy() end)
  752. pcall(function() _G[ModelName..'old'].Disabled=true end)
  753. pcall(function() Char.Block:Remove() end)
  754.  
  755. Block={}
  756. Block.cd=0
  757. Block.vm=500
  758. Block.v=qi{'NumberValue',Char,n='Block'}
  759.  
  760. _G[ModelName..'old']=script
  761.  
  762. gui=qi{'ScreenGui',PlayerGui,n=ModelName}
  763. frame=qi{'Frame',gui,tra=1,sc=ud(1,0,1,0)}
  764.  
  765. m=qi{'Model',ModelParent,n=ModelName..Pn,archivable=false}
  766. m2=qi{'Model',m}
  767.  
  768. --[[Torso.Transparency=1
  769. Head.Transparency=0.98
  770. Head.face.Transparency=1]]--
  771. pTorso=Char.HumanoidRootPart --lul no rootjoint included C:
  772. tw=qi{'Weld',Torso,P0=pTorso,P1=Torso}
  773. _G.ttw=tw
  774.  
  775. Head.CanCollide=false --[[Head.Parent=m Head.Transparency=0 ]]--
  776. hw=qi{'Weld',Torso,P0=Torso,P1=Head,C0=cn(0,1.5,0)}
  777.  
  778. --[[pcall(function() pHead.face.Transparency=0 end)
  779.  
  780. for i,Hat in pairs(Char:children()) do
  781. if Hat:IsA("Hat") and Hat:findFirstChild'Handle' then
  782. Hat.Handle.Transparency=1
  783. local v=Hat.Handle:Clone() v.Parent=m v.Transparency=0 v.formFactor='Custom' v.Size=v3(0,0,0)
  784. qi{'Weld',v,P0=pHead,P1=v,C0=Head.CFrame:toObjectSpace(Hat.Handle.CFrame)}
  785. end
  786. end]]--
  787.  
  788.  
  789. Limbs={LS=Torso:findFirstChild'Left Shoulder',RS=Torso:findFirstChild'Right Shoulder',LH=Torso:findFirstChild'Left Hip',RH=Torso:findFirstChild'Right Hip'}
  790. if _G.Limbz then
  791. Limbs.LS=Limbs.LS or _G.Limbz.LS
  792. Limbs.RS=Limbs.RS or _G.Limbz.RS
  793. Limbs.LH=Limbs.LH or _G.Limbz.LH
  794. Limbs.RH=Limbs.RH or _G.Limbz.RH
  795. end
  796. _G.Limbz=Limbs
  797. LS,RS,LH,RH=Limbs.LS,Limbs.RS,Limbs.LH,Limbs.RH
  798. LA,RA,LL,RL=Char['Left Arm'],Char['Right Arm'],Char['Left Leg'],Char['Right Leg']
  799. LS.Part0,RS.Part0,LH.Part0,RH.Part0=Torso,Torso,Torso,Torso
  800. LS.Part1,RS.Part1,LH.Part1,RH.Part1=LA,RA,LL,RL
  801.  
  802. --pcall(function() thesuit:Remove() end)
  803.  
  804. la=qi{'Weld',Torso,Part0=Torso,C0=cn(-1.5,0.5,0),C1=cn(0,0.5,0)} ra=qi{'Weld',Torso,Part0=Torso,C0=cn(1.5,0.5,0),C1=cn(0,0.5,0)}
  805. ll=qi{'Weld',Torso,Part0=Torso,C0=cn(-0.5,-1,0),C1=cn(0,1,0)} rl=qi{'Weld',Torso,Part0=Torso,C0=cn(0.5,-1,0),C1=cn(0,1,0)}
  806.  
  807. Armz=false
  808. Legz=false
  809. Arms = function(on) Armz=on
  810. if on then
  811. LS.Parent = nil RS.Parent = nil
  812. wait()
  813. la.Parent = Torso ra.Parent = Torso
  814. la.Part0=Torso ra.Part0=Torso
  815. la.Part1=LA ra.Part1=RA
  816. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  817. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  818. else
  819. la.Parent = nil ra.Parent = nil
  820. LS.Parent,RS.Parent=Torso,Torso LS.Part0=Torso RS.Part0=Torso LS.Part1=LA RS.Part1=RA
  821. end
  822. end
  823.  
  824. Legs = function(on) Legz=on
  825. if on then
  826. LH.Parent = nil RH.Parent = nil
  827. wait()
  828. ll.Parent = Torso rl.Parent = Torso
  829. ll.Part0 = Torso rl.Part0 = Torso
  830. ll.Part1=LL rl.Part1=RL
  831. ll.C0,ll.C1=cn(-0.5,-1,0),cn(0,1,0)
  832. rl.C0,rl.C1=cn(0.5,-1,0),cn(0,1,0)
  833. else
  834. ll.Parent=nil rl.Parent=nil
  835. LH.Parent,RH.Parent=Torso,Torso LH.Part0=Torso RH.Part0=Torso LH.Part1=LL RH.Part1=RL
  836. end
  837. end
  838. Arms''
  839. Legs''
  840.  
  841. q(function() wait(0.1) Legs() Arms() end) -- Legs() end)
  842.  
  843. --bin=qi{'HopperBin',Backpack,n=ModelName}
  844. OH={}
  845. OH.Regen=0.04
  846. OH.i=0
  847. OH.m=50000
  848. OH.mm=OH.m
  849. OH.Notes={}
  850. OH.Heat=function(tab,v,Show)
  851. if not v then return end
  852. OH.i=OH.i+v
  853. if OH.i>OH.m then OH.i=OH.m end
  854. framzz:TweenSize(ud(OH.i/OH.m,0,1,0),nil,1,0.4,true)
  855. 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
  856. OVERHEAT()
  857. end
  858. OH.Cool=function(tab,v,Show)
  859. if not v then return end
  860. OH.i=OH.i-v
  861. if OH.i<0 then OH.i=0 end
  862. framzz:TweenSize(ud(OH.i/OH.m,0,1,0),nil,1,0.4,true)
  863. 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
  864. end
  865. OH.C=function(tab,v)
  866. --local yes=OH.m-OH.i>(OH.Cost[v] or 0)
  867. local yes=true --OH.i<1000
  868. return yes
  869. end
  870. OH.Cost={}
  871. OH.Cost.F=25
  872. OH.Cost.G=25
  873. OH.Cost.H=25
  874. ----
  875. OH.Cost.HE=15
  876. OH.Cost.HQ=60
  877. OH.Cost.F1=30
  878. OH.Cost.FQ=40
  879. OH.Cost.FE=50
  880. OH.Cost.GE=45
  881. OH.Cost.GQ=60
  882. OH.Cost.GR=60
  883. OH.Cost.GF=40
  884. OH.Cost.Z=10
  885. 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}
  886. 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}
  887. 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}
  888. 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}
  889.  
  890. framz =qi{'ImageLabel',fram,sc=ud(0.9,0,0.2,0),pos=ud(0.05,0,0.4,0),bc3='Really black',BorderColor='Silver',Image=as.guigradient2,bsp=1}
  891. 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}
  892. 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}
  893.  
  894. frambz =qi{'ImageLabel',fram,sc=ud(0.9,0,0.2,0),pos=ud(0.05,0,0.7,0),bc3='Really black',BorderColor='Silver',Image=as.guigradient2,bsp=1}
  895. 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}
  896. 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}
  897.  
  898.  
  899. BP=qi{'BodyPosition',pTorso,n=ModelName..'BP',maxForce=v3(0,0,0)}
  900. BG=qi{'BodyGyro',pTorso,n=ModelName..'BG',maxTorque=v3(0,0,0),D=150}
  901.  
  902. RGlove =qi{'Part',m,sc=v3(1.05,1.05,1.05),tra=1}
  903. RGlovew=qi{'Weld',m,P0=RA,P1=RGlove,C0=cn(0,-0.5,0)}
  904.  
  905. RGlove2 =qi{'WedgePart',m,sc=v3(1.15,1.05,1.05)}
  906. RGlove2w=qi{'Weld',m,P0=RGlove,P1=RGlove2,C0=cn(0,0,0)*ca(0,90,0)}
  907. RGlove3 =qi{'WedgePart',m,sc=v3(1.1,2.05,0.54)}
  908. RGlove3w=qi{'Weld',m,P0=RGlove,P1=RGlove3,C0=cn(0.25,0.5,0)*ca(0,90,0)}
  909. RGlove4 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  910. RGlove4w=qi{'Weld',m,P0=RGlove,P1=RGlove4,C0=cn(0.2,-0.1,-0.25)*ca(0,90,0)*ca(10,0,0)}
  911. RGlove5 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  912. RGlove5w=qi{'Weld',m,P0=RGlove,P1=RGlove5,C0=cn(0.2,-0.1, 0.25)*ca(0,90,0)*ca(10,0,0)}
  913. RGlovex =qi{'Part',m,sc=v3(1,1,1),bn='Really black'} qi{'CylinderMesh',RGlovex,sca=v3(0.25,1.17,0.25)}
  914. RGlovexw=qi{'Weld',m,P0=RGlove,P1=RGlovex,C0=cn(0.2,-0.2,0)*ca(90,0,0)}
  915. RGlovev =qi{'Part',m,sc=v3(1,0.25,1.05)}
  916. RGlovevw=qi{'Weld',m,P0=RGlove,P1=RGlovev,C0=cn(-0.05,0.25,0)*ca(0,0,-8)}
  917. RGloveb =qi{'WedgePart',m,sc=v3(1.1,1,0.5)}
  918. RGlovebw=qi{'Weld',m,P0=RGlove,P1=RGloveb,C0=cn(0.75,1,0)*ca(0,-90,0)}
  919.  
  920. LGlove =qi{'Part',m,sc=v3(1.05,1.05,1.05),tra=1}
  921. LGlovew=qi{'Weld',m,P0=LA,P1=LGlove,C0=cn(0,-0.5,0)}
  922.  
  923. LGlove2 =qi{'WedgePart',m,sc=v3(1.15,1.05,1.05)}
  924. LGlove2w=qi{'Weld',m,P0=LGlove,P1=LGlove2,C0=cn(0,0,0)*ca(0,-90,0)}
  925. LGlove3 =qi{'WedgePart',m,sc=v3(1.1,2.05,0.54)}
  926. LGlove3w=qi{'Weld',m,P0=LGlove,P1=LGlove3,C0=cn(-0.25,0.5,0)*ca(0,-90,0)}
  927. LGlove4 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  928. LGlove4w=qi{'Weld',m,P0=LGlove,P1=LGlove4,C0=cn(-0.2,-0.1,-0.25)*ca(0,-90,0)*ca(10,0,0)}
  929. LGlove5 =qi{'WedgePart',m,sc=v3(0.3,1,0.8),bn='Really black'}
  930. LGlove5w=qi{'Weld',m,P0=LGlove,P1=LGlove5,C0=cn(-0.2,-0.1, 0.25)*ca(0,-90,0)*ca(10,0,0)}
  931. LGlovex =qi{'Part',m,sc=v3(1,1,1),bn='Really black'} qi{'CylinderMesh',LGlovex,sca=v3(0.25,1.17,0.25)}
  932. LGlovexw=qi{'Weld',m,P0=LGlove,P1=LGlovex,C0=cn(-0.2,-0.2,0)*ca(90,0,0)}
  933. LGlovev =qi{'Part',m,sc=v3(1,0.25,1.05)}
  934. LGlovevw=qi{'Weld',m,P0=LGlove,P1=LGlovev,C0=cn(0.05,0.25,0)*ca(0,0,8)}
  935. LGlovev =qi{'Part',m,sc=v3(1,1,1),bn='Silver'} qi{'SpecialMesh',LGlovev,mid=as.ring2,sca=v3(0.4,0.4,1.5)}
  936. LGlovevw=qi{'Weld',m,P0=LGlove,P1=LGlovev,C0=cn(-0.55,0.9,0)*ca(0,90,0)}
  937. 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}
  938. LGlovebw=qi{'Weld',m,P0=LGlove,P1=LGloveb,C0=cn(-0.55,0.9,0)*ca(0,0,0)}
  939.  
  940. for i,v in pairs(m:children()) do if v:IsA("Part")  then v.CanCollide=false end  end
  941.  
  942. 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)}
  943. hanw=qi{'Weld',han,P0=Torso,P1=han,C0=cn(1,1.5,0.75)*ca(0,0,125)*ca(0,90,0)}
  944. hanv=qi{'Part',m,sc=v3(0.5,0.5,0.5)} qi{'SpecialMesh',hanv,mtyp='Sphere'}
  945. hanvw=qi{'Weld',han,P0=han,P1=hanv,C0=cn(0,-0.75-0.15,0)}
  946. hanv=qi{'Part',m,sc=v3(0.6,0.4,0.6),bn='Really black'} qi{'CylinderMesh',hanv}
  947. hanvw=qi{'Weld',han,P0=han,P1=hanv,C0=cn(0,0.75-0.55,0)}
  948.  
  949. for x=-1,1,2 do
  950. hanvv=qi{'Part',m,sc=v3(0,0,0),can=false,bn='Silver'} qi{'SpecialMesh',hanvv,mid=as.diamond,sca=v3(1.2,0.4,0.3)}
  951. hanvvw=qi{'Weld',han,P0=han,P1=hanvv,C0=ca(0,90,0)*cn(x*0.4,0.5,0)}
  952. end
  953. 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)}
  954. hanvvw=qi{'Weld',han,P0=han,P1=hanvv,C0=cn(0,0.5,0)*ca(0,90,0)}
  955.  
  956. lBlade=6
  957.  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}
  958. wBlade=qi{'Weld',han,P0=han,P1=Blade,C0=cn(0,0.5+(lBlade-1)/2,0.15)}
  959.  Blade2=qi{'Part',m,sc=v3(0.2,0.2,0.2),can=false,bn='Silver'} Bladem=qi{'SpecialMesh',Blade2,mtyp='Wedge',sca=v3(0.1,lBlade-1,0.3)*5}
  960. wBlade2=qi{'Weld',han,P0=han,P1=Blade2,C0=cn(0,0.5+(lBlade-1)/2,-0.15)}
  961.  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}
  962. wBlade3=qi{'Weld',han,P0=han,P1=Blade3,C0=cn(0,0.5+lBlade-0.5,0.15)}
  963.  
  964. tBlade={Blade,Blade2,Blade3}
  965.  
  966. for i=1,3 do
  967. 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))}
  968. qi{'Weld',han,P0=han,P1=vv,C0=cn(0,i/2+0.5,0)*ca(40,0,0)}
  969. tBlade[#tBlade+1]=vv
  970. end
  971.  
  972.  
  973. fBlade=function(vv)
  974. for i,v in pairs(tBlade) do v.Transparency=vv and 0 or 1 end
  975. end
  976. fBlade()
  977.  
  978. LFire=qi{'Fire',LGlove,Heat=25,Size=3,Enabled=false}
  979. RFire=LFire:Clone() RFire.Parent=RGlove
  980.  
  981. Dealt=function() return mran(11,18) end
  982. Debounce={}
  983. metaDebounce={
  984. __index=function(t,i)
  985. DBHum=i
  986. end
  987. }
  988. setmetatable(Debounce,metaDebounce)
  989.  
  990.  
  991. OVERHEAT2=tick()
  992. OVERHEAT=function()
  993. if OH.i>=OH.m-2 and OVERHEAT2<tick() then -- OVER HEATT!!!!
  994. local heatcd=60
  995. OVERHEAT2=tick()+heatcd q(function() OH.m=OH.mm/2 wait(heatcd) OH.m=OH.mm end)
  996. OH:Cool(OH.m/5+OH.mm/2,true) q(function()
  997. for i,v in pairs{RGlove,LGlove} do
  998. MeshEffect(v,v.CFrame,8,8,8,0.15,'Really black','Sphere')
  999. MeshEffect(v,v.CFrame,3,16,3,0.15,'Really black','Sphere')
  1000. end
  1001. --local/Chrono.OH:Heat(1000)
  1002. for i=1,3 do
  1003. local scc=20
  1004. local ofs=ca(0,360/3*i,0)*cn(0,-1.5,-scc/4)
  1005. MeshEffect(Torso,Torso.CFrame*ofs,16,16,16,0.1,'Really black','Sphere')
  1006. MeshEffect(Torso,Torso.CFrame*ofs,25,25,25,0.1,'Really black','Sphere')
  1007. Explode(Torso,scc,Dealt(),ofs,1.5)
  1008. Sound(as.boom,Torso,1,1.4)
  1009. wait(0.15)
  1010. end end) end
  1011. end
  1012.  
  1013. HitBoxTRA=1
  1014. HitBox = function(obj,sc,ofs,dmg,deb,suu,self)
  1015. local hitbox =qi{'Part',m,can=false,sc=sc,tra=HitBoxTRA,an=obj.Anchored,Debris=deb or 2}
  1016. hitbox.CFrame=obj.CFrame*ofs
  1017. if not obj.Anchored then hitboxw=qi{'Weld',hitbox,P0=obj,P1=hitbox,C0=ofs} end
  1018. hitbox.Touched:connect(function(hit)
  1019. local huma
  1020. if hit.Parent:findFirstChild'Humanoid' then huma=hit.Parent.Humanoid end
  1021. if hit.Parent.Parent:findFirstChild'Humanoid' then huma=hit.Parent.Parent.Humanoid end
  1022. if not self and huma==Huma then return end
  1023. 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
  1024. end)
  1025. return hitbox
  1026. end
  1027.  
  1028.  
  1029. local aDmg=Dmg
  1030. Dmg=function(Hum,Dealt,Hitter)
  1031. if Hum then OH:Cool(Dealt/2,true) end
  1032. aDmg(Hum,Dealt,Hitter)
  1033. end
  1034.  
  1035. HData={}
  1036. breaker=function(hit,dmg)
  1037. if hit.Anchored then return false end
  1038. if hit.Parent:findFirstChild'Humanoid' then return false end
  1039. if hit.Parent.Parent:findFirstChild'Humanoid' then return false end
  1040. if hit.Parent.Parent.Parent:findFirstChild'Humanoid' then return false end
  1041. local broke=false
  1042. local dmg=dmg or mran(15,40)
  1043. if not HData[hit] then local hh=hit.Size.x*hit.Size.y*hit.Size.z/1.5 HData[hit]=hh end
  1044. HData[hit]=HData[hit]-dmg
  1045. if HData[hit]<=0 then hit:BreakJoints() broke=true end
  1046. return broke
  1047. end
  1048.  
  1049.  
  1050.  
  1051. RangeAnim2=function(cff,times,speed,range,fu,ignor,isanc,nobreak)
  1052. local isanc = isanc or false
  1053. local Hit,Pos
  1054. for ty=1,times do
  1055. cff=cff*cn(0,0,-speed)
  1056. local hit,pos=ray(cff.p,cff.p-cff*cn(0,0,1).p,ignor)
  1057. Pos=pos
  1058. fu(cff,ty)
  1059. 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
  1060. wait()
  1061. end
  1062. return Hit,(Pos-cff.p).magnitude,Pos
  1063. end
  1064. -----
  1065. FireCF=function(Spawn,Speed,Func,EndFunc)
  1066. q(function()
  1067. local cff=Spawn*cn(0,0,Speed)
  1068. local ty
  1069. local Hit,Mag,Pos=RangeAnim2(cff,Speed*5+30,Speed,Speed,function(cf,ii) ty=ii cff=cf Func(cff,ty) end,m)
  1070. if Hit then cff=cff*cn(0,0,-Mag) end
  1071. Func(cff,ty+1)
  1072. local huma
  1073. if Hit and (Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent:findFirstChild'Humanoid') then
  1074. --if Hit.Parent.Name==Pn or Hit.Parent.Parent.Name==Pn then return end
  1075. huma=Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent.Humanoid
  1076. end -- ifhit
  1077. if EndFunc then EndFunc(cff,huma,Hit) end
  1078. --
  1079. end)
  1080. end
  1081.  
  1082. exps={}
  1083. exps[1]=function(object,ofs,sc)
  1084. Sound(as.boom,object,1,2)
  1085. for x=-1,1,2 do
  1086. 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')
  1087. end
  1088. end
  1089. exps[2]=function(object,ofs,sc)
  1090. Sound(as.boom,object,1,1.5)
  1091. MeshEffect(object,object.CFrame*ofs,sc/5,sc*3,sc/5,0.15,'Really black','Sphere')
  1092. MeshEffect(object,object.CFrame*ofs,sc*1.3,sc*1.3,sc*1.3,0.15,'Really black','Sphere')
  1093. MeshEffect(object,object.CFrame*ofs,sc/1.5,sc/1.5,sc/1.5,0.15,'Really black','Sphere')
  1094. for i=360/8,360,360/8 do
  1095. 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))
  1096. end
  1097. end
  1098.  
  1099.  
  1100.  
  1101. Explode=function(object,sc,dmg,ofs,humdur,esp)
  1102. if object and object.Parent then
  1103. exps[esp or 1](object,ofs,sc)
  1104. GetRegion((object.CFrame*ofs).p,sc,function(Hum,HT) if Hum~=Huma then  Dmg(Hum,dmg or 25)
  1105. Hum.PlatformStand=true
  1106. HT.RotVelocity=v3(0,25,0)
  1107. AddBV(45,cn(object.Position,HT.Position+v3(0,3,0)),HT,0.2) wait(humdur or 0.6) Hum.PlatformStand=false end
  1108. end,function(hit) if breaker(hit) then hit.Velocity=object.CFrame.lookVector*(sc*2+20) end end)
  1109. end
  1110. end --
  1111.  
  1112. BGFace=false
  1113.  
  1114.  
  1115.  
  1116. Button=false
  1117. Key={}
  1118. ns=0.125
  1119. Anim=''
  1120. Speed={1,1,1,1,1,1,1,1,1,1,1,1}
  1121. bin=qi{'HopperBin',Backpack,n=ModelName}
  1122. bin.Selected:connect(function(mouse2)
  1123. mouse=mouse2
  1124.  
  1125. mouse.KeyDown:connect(function(k)
  1126. Key[k]=true
  1127. if k=='f' and Anim=='' and OH:C'F' and tick()>Block.cd then
  1128. Anim='.' OH:Heat(OH.Cost.F,true)
  1129. Arms''
  1130. AddBV(-5,Torso.CFrame,Torso,0.4,true)
  1131. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  1132. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  1133. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  1134. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  1135. for i=0,1,0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  1136. shields={}
  1137. shis=10
  1138. for i=1,shis do local v=qi{'Part',m,sc=v3(0,0,0),bn='Silver',Reflectance=0.25} shields[i]=qi{'Weld',v,P0=LGloveb,P1=v} qi{'SpecialMesh',v,mid=as.diamond} end
  1139. 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
  1140. Block.v.Value=Block.vm
  1141. Speed[1]=0.75
  1142. Anim='F'
  1143. repeat wait(0.3) until (not Key.f or Block.v.Value==0) and Anim=='F'
  1144. Block.cd=tick()+((Block.vm-Block.v.Value)*2)+2
  1145. Anim='.'
  1146. Speed[1]=1
  1147. Block.v.Value=0
  1148. qAni(tw,0,0,0,0,0,0,0,ns,1)
  1149. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  1150. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  1151. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  1152. 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
  1153. for i=1,shis do shields[i].Part1:Remove() end
  1154. for i=1,0,-0.25 do LGloveb.Mesh.Scale=v3(2*i+0.3,0.7,0.7)*5 wait() end
  1155. Arms()
  1156. Anim=''
  1157. elseif k=='g' and Anim=='' and OH:C'G' then
  1158. Anim='.' OH:Heat(OH.Cost.G,true)
  1159. Arms''
  1160. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  1161. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  1162. for i,v in pairs{LA,RA} do
  1163. wait(0.15)
  1164. Sound(as.abscond,Torso,1,1.5)
  1165. 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))
  1166. 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))
  1167. end
  1168. Anim='G'
  1169. elseif k=='g' and Anim=='G' then
  1170. Anim='.'
  1171. Sound(as.Imbue,Torso,0.6,1.5)
  1172. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  1173.  Ani(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  1174. Arms()
  1175. Anim=''
  1176. elseif k=='h' and Anim=='' and OH:C'H' then
  1177. Anim='.'
  1178. Arms''
  1179. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  1180.  Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  1181. local hanc=RA.CFrame:toObjectSpace(han.CFrame)
  1182. hanw.Part0=RA hanw.C0=hanc rAni(hanw)
  1183. qAni(hanw,0,-1.25,-0.25,0,0,0,0,0.1,1)
  1184. Ani(hanw,0,0,0,-270,0,0,1,0.1,1) rAni(hanw)
  1185. Ani(ra, 1.5,0.5,0,-45,-15,0,2,ns,1)
  1186. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  1187. 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)
  1188. local ii=1-i
  1189. 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)
  1190. MeshEffect(han,vv.CFrame,4,lBlade*2,4,0.1,'Really black','Sphere')
  1191. Sound(as.abscond,han,1,1.5)
  1192. fBlade(true)
  1193. vv:Remove()
  1194. Anim='H'
  1195. elseif k=='h' and Anim=='H' then
  1196. Anim='.'
  1197. fBlade()
  1198. local vv=qi{'Part',m,sc=v3(1,1,1)} local vvw=qi{'Weld',vv,P0=han,P1=vv} local vvm=qi{'BlockMesh',vv}
  1199. 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)
  1200. local ii=1-i
  1201. 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)
  1202. vv:Remove()
  1203. Ani(ra, 1.5,0.5,0,-210,0,0,2,ns,1)
  1204. local hanc=Torso.CFrame:toObjectSpace(han.CFrame)
  1205. hanw.Part0=Torso hanw.C0=hanc rAni(hanw)
  1206. qAni(hanw,1,1.5,0.75,0,0,125,0,0.1,1)
  1207.  Ani(hanw,0,0,0,0,90,0,1,0.1,1)
  1208. ReturnStance()
  1209. Arms()
  1210. Anim=''
  1211. elseif k=='z' and Anim=='' and OH:C'Z' then
  1212. Anim='.' OH:Heat(OH.Cost.Z,true)
  1213. local Regg,Regged=5,tick()
  1214. OH.Regen=OH.Regen+Regg
  1215. Speed[1]=0.3
  1216. Arms''
  1217. AddBV(1,Torso.CFrame,Torso,0.4,true)
  1218. qAni(la,-1.5,0.5,0,-70,0, 70,2,ns,1)
  1219. qAni(ra, 1.5,0.5,0,-70,0,-70,2,ns,1)
  1220. qAni(LGlovebw,-2,0.9,0,0,0,0,2,ns)
  1221. 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
  1222. local cast,count=Sound(as.cast,Torso,0.4,0.65),0
  1223. repeat wait(0.2) count=count+1 if count%10==0 then cast:Remove() cast=Sound(as.cast,Torso,0.35,0.65) end
  1224. 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))
  1225. 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
  1226. Speed[1]=1
  1227. qAni(LGlovebw,-0.55,0.9,0,0,0,0,2,ns,1)
  1228. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  1229. qAni(ra, 1.5,0.5,0,0,0,0,2,ns,1)
  1230. 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
  1231. Arms()
  1232. OH.Regen=OH.Regen-Regg
  1233. Anim=''
  1234. elseif k=='p' then
  1235. end
  1236. -------------------------------------------------------------------------------------------------------------------
  1237. -------------------------------------------------------------------------------------------------------------------
  1238. if k=='TESTINGS' then
  1239. elseif k=='f' and Anim=='G' and OH:C'GF' then
  1240. Anim='GF' OH:Heat(OH.Cost[Anim],true)
  1241. AddBV(-18,pTorso.CFrame,pTorso,0.25,true)
  1242. qAni(tw,0,0,0,0,90,0,0,ns)
  1243. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  1244. qAni(la,-1.5,0.5,0,0,0, 45,2,ns,1)
  1245. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  1246. BGFace=true
  1247. GFT={}
  1248. GFTP=true
  1249. for x=-1,1,2 do
  1250. GFT[x]={}
  1251. 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}
  1252. 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}
  1253. GFT[x].w =qi{'Weld',v,P0=RGloveb,P1=v,C0=cn(x*0.3,-0.5-0.75,0)}
  1254. GFT[x].w2=qi{'Weld',v,P0=v,P1=v2,C0=cn(0,-0.75,0)}
  1255. end
  1256. 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)
  1257. 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'
  1258. 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)
  1259. for x=-1,1,2 do GFT[x].w.Part1:Remove() GFT[x].w2.Part1:Remove() end
  1260. BGFace=false
  1261. ReturnStance()
  1262. Anim='G'
  1263. elseif k=='e' and Anim=='F' and OH:C'FE' then
  1264. Anim='FE' OH:Heat(OH.Cost[Anim],true)
  1265. AddBV(1,pTorso.CFrame,pTorso,0.7,true)
  1266. Sound(as.abscond,Torso,1,1.5)
  1267. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  1268. qAni(tw,0,0,1.5,0,90,0,0,ns)
  1269. qAni(hw,0,1.5,0,0,-90,0,0,ns)
  1270. 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
  1271. Explode(RA,8,Dealt(),cn(0,-1.5,0))
  1272. wait(0.25)
  1273. qAni(tw,0,0,0,0,-45,0,0,ns)
  1274.  Ani(hw,0,1.5,0,0,45,0,0,ns)
  1275. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  1276. Anim='F'
  1277. elseif k=='q' and Anim=='F' and OH:C'FQ' then
  1278. Anim='FQ' OH:Heat(OH.Cost[Anim],true)
  1279. Speed[1]=2
  1280. local bv=AddBV(15,pTorso.CFrame,pTorso,4,true)
  1281. local hitbox=HitBox(LGloveb,v3(1,3,3),cn(0,0,0),Dealt(),3)
  1282. 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)
  1283. 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
  1284. wait(0.25) bv:Remove()
  1285. Speed[1]=0.75
  1286. hitbox:Remove()
  1287. 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)
  1288. 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
  1289. Anim='F'
  1290. elseif k=='q' and Anim=='G' and OH:C'GQ' then
  1291. Anim='GQ' OH:Heat(OH.Cost[Anim],true)
  1292. BGFace=true
  1293. AddBV(-12,pTorso.CFrame,pTorso,0.7,true)
  1294. qAni(la,-1.5,0.5,0,-90, 10,0,2,ns,1)
  1295. qAni(ra, 1.5,0.5,0,-90,-10,0,2,ns,1)
  1296. 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=Torso,P1=b1,C0=cn(0,0.5,-3)}
  1297. 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}
  1298. Sound(as.abscond,Torso,1,1)
  1299. MeshEffect(b1,b1.CFrame,8,8,8,0.15,'White','Sphere')
  1300. Tl(0.1,1,0.1,function(i) b2m.Scale=v3(2*i+2,2*i+2,2*i+2)*5 end,true)
  1301. 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
  1302. repeat wait(0.04)
  1303. Ani(la,-1.5,0.5,0,-90+getx, 10,0,2,2)
  1304. Ani(ra, 1.5,0.5,0,-90+getx,-10,0,2,2)
  1305. b1w.C0=cn(0,0.5,0)*ca(-getx,0,0)*cn(0,0,-3)
  1306. 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))
  1307. until not Key.q
  1308. b1.Anchored,b2.Anchored=true,true b1w:Remove() b2w:Remove()
  1309. 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)
  1310. BGFace=false
  1311. ReturnStance()
  1312. Anim='G'
  1313. elseif k=='r' and Anim=='G' and OH:C'GR' then
  1314. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  1315. qAni(la,-1.5,0.5,0,-90, 20,0,2,ns,1)
  1316.  Ani(ra, 1.5,0.5,0,-90,-20,0,2,ns,1)
  1317. DBHum=nil
  1318. local hitbox=HitBox(RA,v3(1,1,1),cn(0,-1.5,0),0,1/0)
  1319. repeat wait(0.1) until not Key.r or DBHum
  1320. hitbox:Remove()
  1321. if DBHum and DBHum.Parent:findFirstChild'Torso' then
  1322. local GRH,GRT=DBHum,DBHum.Parent.Torso GRH.PlatformStand=true
  1323. GRT.CFrame=Torso.CFrame*cn(-1,0.5,-2)*ca(0,0,90)
  1324. local GRW=qi{'Weld',RA,P0=Torso,P1=GRT,C0=cn(-1,0.5,-2)*ca(0,0,90)}
  1325. wait(0.5)
  1326. qAni(la,-1.5,0.5,0,-180,-15,0,2,ns)
  1327. qAni(ra, 1.5,0.5,0,-180, 15,0,2,ns)
  1328. Ani(GRW,-1,3,0,0,0,90,0,ns)
  1329. repeat wait(0.1) until not Key.r
  1330. qAni(la,-1.5,0.5,0,-90,-15,0,2,ns)
  1331. qAni(ra, 1.5,0.5,0,-90, 15,0,2,ns)
  1332. Ani(GRW,-1,0.5,-2,0,0,90,0,ns)
  1333. Legs''
  1334. GRW:Remove()
  1335. Ani(rl,0.5,-1,0,-130,0,0,2,ns,1) Hitt(RL,2)
  1336. wait(0.5)
  1337. ReturnStance()
  1338. Legs()
  1339. GRH.PlatformStand=false
  1340. end
  1341. ReturnStance()
  1342. Anim='G'
  1343. elseif k=='e' and Anim=='G' and OH:C'GE' then
  1344. Anim='GE' OH:Heat(OH.Cost[Anim],true)
  1345. Legs''
  1346. Sound(as.slash,Torso,1,1.5) AddBV(1,pTorso.CFrame,pTorso,0.4,true)
  1347. qAni(ll,-0.45,0.4,-0.7,-15,0, 10,2,ns,1)
  1348. qAni(rl, 0.45,0.4,-0.9, 25,0,-10,2,ns,1)
  1349. qAni(la,-1.5,0.5,0,-90,0,0,2,ns,1)
  1350. qAni(ra, 1.5,0.5,0,0,0,-50,2,ns,1)
  1351. qAni(tw,-1,-1.6,1,0,-90,0,0,ns)
  1352.  Ani(hw,0,1.5,0,0,90,0,0,ns)
  1353. Sound(as.abscond,Torso,1,1.5)
  1354. local charge=1
  1355. local des=function()
  1356. 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))
  1357. 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))
  1358. end
  1359. Speed[1]=0.3
  1360. local fullcharge
  1361. repeat
  1362. wait(0.07)
  1363. charge=charge+0.15
  1364. charge=charge<6 and charge or 6
  1365. 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))
  1366.  end
  1367. des()
  1368. until not Key.e
  1369. Speed[1]=1
  1370. Sound(as.slash,Torso,1,1.5)
  1371. qAni(tw,0,-1.6,0,0,75,0,0,ns)
  1372. qAni(ra, 1.5,0.5,0,-15,0,-50,2,ns,1)
  1373. qAni(hw,0,1.5,0,0,-75,0,0,ns)
  1374. for i=0.1,1,0.1 do des() wait(0.03) end
  1375. q(function()
  1376. local tcf=qi{'Part',m,tra=1,an=true,sc=v3(0,0,0),cf=pTorso.CFrame}
  1377. for i=1,math.floor(charge) do
  1378. local scc=(6+(i/2))*1.5
  1379. local thecf=cn(1,-2.5,-1.8)*cn(0,0,-(i*scc-scc/1.5))
  1380. Explode(tcf,scc*1.25,Dealt(),thecf)
  1381. thecf=tcf.CFrame*thecf
  1382. local ite,ofs=findGround(thecf)
  1383. scc=scc+i/2
  1384. if ite then
  1385. 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}
  1386. local ofc=ofs*ca(mran(-30,30),mran(-360,360),mran(-30,30))*cn(0,-scc/2,0)
  1387. 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)
  1388. end
  1389. wait(0.15)
  1390. end
  1391. tcf:Remove()
  1392. end)
  1393. wait(0.25)
  1394. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  1395. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  1396. qAni(la,-1.5,0.5,0,15,0,0,2,ns,1)
  1397. qAni(ra, 1.5,0.5,0,15,0,0,2,ns,1)
  1398. qAni(tw,0,0,0,0,0,0,0,ns)
  1399.  Ani(hw,0,1.5,0,0,0,0,0,ns)
  1400.  Legs()
  1401. Anim='G'
  1402. elseif k=='e' and Anim=='H' and OH:C'HE' then
  1403. Anim='HE' OH:Heat(OH.Cost[Anim],true)
  1404. Speed[1]=0
  1405. BGFace=true
  1406. qAni(la,-0.6,0.45,-0.7,-90,50, 0,2,ns*1.5,1)
  1407.  Ani(ra, 1.5,0.55,0,-90, 0,90,2,ns*1.5,1)
  1408. local c1=han.CFrame*cn(0,lBlade/2+0.5,0).p
  1409. Torso.CFrame=cn(Torso.Position,v3(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))*cn(0,0,-20)
  1410. Sound(as.slash,Torso,1,1)
  1411. BGFace=false
  1412. local c2=han.CFrame*cn(0,lBlade/2+0.5,0).p
  1413. local cm=(c1-c2).magnitude
  1414. local tcf=cn(c1,c2)*cn(0,0,-cm/2)
  1415. local v=qi{'Part',m,tra=1,can=false,sc=v3(lBlade,0.2,cm-0.4),bn='Really red'}
  1416. for ii,vv in pairs{'Top','Bottom'} do qi{'Decal',v,n=vv,Face=vv,Texture=as.redgradient} end
  1417. 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}
  1418. 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)
  1419. v.CFrame=tcf
  1420. HitBox(v,v3(lBlade,0.5,cm),cn(0,0,0),Dealt(),0.2)
  1421. wait(0.1)
  1422. Speed[1]=1
  1423. ReturnStance(1,1)
  1424. Anim='H'
  1425. end
  1426. end)
  1427. ----WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
  1428. mouse.KeyUp:connect(function(k)
  1429. Key[k]=false
  1430. end)
  1431.  
  1432.  
  1433. ReturnStance=function(ii,i2)
  1434. ii = ii or 1
  1435. if not i2 then
  1436. qAni(la,-1.5,0.5,0,15,0,0,2,ns*ii,1)
  1437. qAni(ra, 1.5,0.5,0,15,0,0,2,ns*ii,1)
  1438. qAni(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  1439. qAni(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  1440. qAni(tw,0,0,0,0,0,0,1,ns*ii,1)
  1441. qAni(tw,0,0,0,0,0,0,0,ns*ii,1)
  1442. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  1443.  Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  1444. elseif i2==1 then
  1445. qAni(ra,0,0.5,0,-45,-15,0,1,ns*ii,1)
  1446. qAni(la,0,0.5,0,15,0,-15,1,ns*ii,1)
  1447. qAni(ra, 1.5,0.5,0,0,0,0,0,ns*ii,1)
  1448. qAni(la,-1.5,0.5,0,0,0,0,0,ns*ii,1)
  1449.  Ani(ll,-0.5,-1,0,0,0,0,2,ns*ii,1)
  1450.  Ani(rl, 0.5,-1,0,0,0,0,2,ns*ii,1)
  1451.  Ani(tw,0,0,0,0,0,0,1,ns*ii,1)
  1452.  Ani(tw,0,0,0,0,0,0,0,ns*ii,1)
  1453. qAni(hw,0,0,0,0,0,0,1,ns*ii,1)
  1454. qAni(hanw,0,-1.25,-0.25,90,0,0,2,ns*ii,1)
  1455.  Ani(hw,0,1.5,0,0,0,0,0,ns*ii,1)
  1456. end
  1457.  end
  1458.  
  1459. TrailColor='Institutional white'
  1460. TrailThickness=0.2
  1461. function Hitt(vv,ss)
  1462. ss=ss or 1
  1463. 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)
  1464. end
  1465. function SwordHit(cff)
  1466. 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)
  1467. end
  1468.  
  1469.  
  1470. Combos={
  1471. G={
  1472. function()
  1473. AddBV(10,pTorso.CFrame,pTorso,0.2,true)
  1474. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  1475. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  1476. qAni(ra, 1.5,0.5,0,0,0,-90,2,ns,1)
  1477. Sound(as.slash,Torso,1,1.3)
  1478. Hitt(RA)
  1479. Ani(tw,0,0,0,0,90,0,0,ns,1)
  1480. end;
  1481. function()
  1482. Legs''
  1483. AddBV(10,pTorso.CFrame,pTorso,0.2,true)
  1484. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  1485. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  1486. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  1487. local hi=85
  1488. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  1489. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  1490. Sound(as.slash,Torso,1,1.3)
  1491. Hitt(LL)
  1492. Ani(tw,0,-0.5,0,hi,-90,0,0,ns,1)
  1493. end;
  1494. function()
  1495. ReturnStance(1.4)
  1496. AddBV(10,pTorso.CFrame,pTorso,0.2,true)
  1497. qAni(la,-1.5,0.5,0,0,0,0,2,ns,1)
  1498. qAni(ra, 0.5,0.5,-1,-90,-90,0,2,ns,1)
  1499. local hi=20
  1500. qAni(ll,-1,-1.25,0,0,0, 90,2,ns,1)
  1501. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  1502. Sound(as.slash,Torso,1,1.3)
  1503. Hitt(RL)
  1504. qAni(tw,0,-0.5,0,90,0,-90,1,ns)
  1505.  Ani(tw,0,0,0,0,-360,0,0,ns/2) rAni(tw)
  1506. ReturnStance()
  1507. end;
  1508. Break=function(Combonum,anim)
  1509. CanCombo=true
  1510. wait(0.4)
  1511. if Combonum==ComboNum then CanCombo=false ComboNum=0
  1512. ReturnStance()
  1513.  Legs()
  1514. Anim=anim CanCombo=true end
  1515. end
  1516. };
  1517. ---------------------------------------------
  1518. H={
  1519. function()
  1520. BGFace=true
  1521. qAni(hw,0,1.5,0,0,-75,0,0,ns,1)
  1522. qAni(tw,0,0,0,0,75,0,0,ns,1)
  1523. Ani(ra,1.5,0.5,0,-90,50,-90,2,ns,1)
  1524. Sound(as.slash,Torso,1,1)
  1525. SwordHit()
  1526. qAni(hw,0,1.5,0,0,75,0,0,ns,1)
  1527. qAni(tw,0,0,0,0,-75,0,0,ns,1)
  1528. Ani(ra,1.5,0.5,0,0,-20,-90,2,ns,1)
  1529. end;
  1530. function()
  1531. qAni(hw,0,1.5,0,0,0,0,0,ns,1)
  1532. qAni(tw,0,0,0,0,0,0,0,ns,1)
  1533. qAni(la,-1.2,0.8,0,-170,0, 40,2,ns,1)
  1534.  Ani(ra, 1.2,0.8,0,-170,0,-40,2,ns,1)
  1535. wait(0.2)
  1536. Sound(as.slash,Torso,1,1)
  1537. SwordHit()
  1538. qAni(hanw,0,-1.25,-0.25,150,0,0,2,ns,1)
  1539. qAni(la,-0.7,0.3,-0.6,-45,0,-10,2,ns,1)
  1540.  Ani(ra, 0.7,0.3,-0.6,-45,0, 10,2,ns,1)
  1541. end;
  1542. function()
  1543. qAni(la,-1.5,0.5,0,15,0,-15,2,ns,1)
  1544. qAni(hw,0,1.5,0,0,-90,0,0,ns,1)
  1545. qAni(tw,0,0,0,0,90,0,0,ns,1)
  1546. qAni(hanw,0,-1.25,0,180,0,90,2,ns,1)
  1547. Ani(ra,1.5,0.5,0,0,0,-180,2,ns,1)
  1548. AddBV(-22,pTorso.CFrame,pTorso,0.4,true)
  1549. wait(0.5)
  1550. AddBV(16,pTorso.CFrame,pTorso,0.4,true)
  1551. qAni(hanw,0,-1.25,0,180,0,0,2,ns,1)
  1552. Ani(ra,1.5,0.5,0,0,0,-90,2,ns,1)
  1553. for i=1,16 do
  1554. Sound(as.slash,Torso,1,mran(100,140)/100)
  1555. Ani(hanw,0,-1.25,0,180+mran(-30,30),0,mran(-30,30),2,1)
  1556. if i%2==0 then
  1557. local tcf=ca(mran(-30,30),0,mran(-30,30))*cn(0,lBlade/2+0.5,0)
  1558. MeshEffect(han,han.CFrame*tcf,0.3,lBlade*1.3,0.3,0.1,'Institutional white',as.diamond,cn(0,0.1,0))
  1559. 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)
  1560. end
  1561. wait(0.04)
  1562. end
  1563. end;
  1564. Break=function(Combonum,anim)
  1565. CanCombo=true
  1566. wait(0.3)
  1567. if Combonum==ComboNum then CanCombo=false ComboNum=0
  1568. BGFace=false
  1569. ReturnStance(1,1)
  1570.  Legs()
  1571. Anim=anim CanCombo=true end
  1572. end
  1573. };
  1574. }
  1575.  
  1576. ComboNum=0
  1577. CanCombo=true
  1578. DoCombo=function(com)
  1579. local DidCombo
  1580. if Anim~=com and Anim~=com..'Combo'..ComboNum then return end
  1581. if not CanCombo then return end
  1582. local comz=com:gsub('Combo'..ComboNum,'')
  1583. if Combos[comz] and Combos[comz][ComboNum+1] then
  1584. ComboNum=ComboNum+1
  1585. Anim=comz..'Combo'..ComboNum
  1586. CanCombo=false
  1587. DidCombo=true
  1588. OH:Heat(15,true)
  1589. Combos[comz][ComboNum]()
  1590. Combos[comz].Break(ComboNum,comz)
  1591. end
  1592. return DidCombo
  1593. end
  1594.  
  1595. mouse.Button1Down:connect(function()
  1596. Button=true
  1597. DoCombo(Anim)
  1598. if Anim=='HACKS' then
  1599. elseif Anim=='GF' then
  1600. Anim='GF1' OH:Heat(10,true)
  1601. GFTP=not GFTP
  1602. local gg=GFTP and GFT[-1].w2.Part1 or GFT[1].w2.Part1
  1603. 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))
  1604. Sound(as.firelaser,Torso,1,1.3)
  1605. 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)}
  1606. 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
  1607. Dmg(hum,Dealt()/1.3)
  1608. MeshEffect(b1,b1.CFrame,2,2,2,0.2,'New Yeller','Sphere')
  1609. wait(3) b1:Remove() end)
  1610. wait(0.35)
  1611. Anim='GF'
  1612. elseif Anim=='F' and OH:C'F1' then  
  1613. Anim='F1' OH:Heat(OH.Cost[Anim],true)
  1614. AddBV(10,pTorso.CFrame,pTorso,0.4,true)
  1615. qAni(hw,0,1.5,0,0,90,0,0,ns,1)
  1616. qAni(la,-0.5,0.5,-1,-90,90,0,2,ns,1)
  1617. qAni(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  1618. Legs''
  1619. local hi=65
  1620. qAni(ll,-0.5,-1.25,0,0,0, hi,2,ns,1)
  1621. qAni(rl, 0.5,-1.25,0,0,0,-hi,2,ns,1)
  1622. Sound(as.slash,Torso,1,1.3)
  1623. Hitt(LL)
  1624. Ani(tw,0,0,-1,hi,-90,0,0,ns,1)
  1625. ----
  1626. qAni(ll,-0.5,-1,0,0,0,0,2,ns,1)
  1627. qAni(rl, 0.5,-1,0,0,0,0,2,ns,1)
  1628. qAni(tw,0,0,0,0,-45,0,0,ns,1)
  1629. qAni(hw,0,1.5,0,0,45,0,0,ns,1)
  1630. qAni(la,-1.25,0.6,-0.4,-90,45,0,2,ns,1)
  1631. Ani(ra, 1.5,0.5,0,0,0,-25,2,ns,1)
  1632. Legs()
  1633. Anim='F'
  1634. end
  1635. end)
  1636.  
  1637. mouse.Button1Up:connect(function()
  1638. Button=false
  1639.  
  1640. end)
  1641.  
  1642. end)
  1643.  
  1644. bin.Deselected:connect(function()
  1645. mouse=nil
  1646.  
  1647. end)
  1648.  
  1649.  
  1650. Block.v.Changed:connect(function(vv)
  1651. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  1652. end)
  1653. frambzz:TweenSize(ud(Block.v.Value/Block.vm,0,1,0),nil,1,0.4,true)
  1654. ----------------------------------------------------------------------------------
  1655. --HitBoxTRA=0
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664. ---------------------------------------------------------------------------------
  1665. Count=0
  1666. while m.Parent do
  1667. Count=Count+1
  1668. local thespeed=18
  1669. for i=1,#Speed do thespeed=thespeed*Speed[i] end
  1670. Huma.WalkSpeed=thespeed
  1671. local oheat=OVERHEAT2>tick() and '('..math.floor(OVERHEAT2-tick())..')' or ''
  1672. framtz.Text=math.floor(OH.i)..' / '..math.floor(OH.m).. ' '..oheat
  1673. if Count%2==0 then OH:Cool(OH.Regen) end
  1674. for noti,vv in pairs(OH.Notes) do
  1675. local nots=noti.Text:sub(1,1)=='+' and 1 or -1
  1676. noti.Position=noti.Position+ud(0,0,0,-1*nots) noti.TextTransparency=noti.TextTransparency+(0.9/50)
  1677. if noti.Position.Y.Offset==-50*nots then noti:Remove() OH.Notes[noti]=nil end
  1678. end
  1679. LFire.Enabled=OH.m-OH.Cost.Z*3<OH.i
  1680. RFire.Enabled=LFire.Enabled
  1681. Smoking=OH.i>OH.m*0.7
  1682. if Count%25==0 and OH.m-15<=OH.i then Dmg(Huma,5) end
  1683. if Count%4==0 and Smoking then
  1684. for i,v in pairs{LGlove,RGlove} do
  1685. 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 'Silver','Sphere',cn(0,-0.1,0))
  1686. end end
  1687. local heat=RFire.Enabled and 3 or (Smoking and 2 or 1)
  1688. if OVERHEAT2>tick() and heat==3 then heat=2 end
  1689. framt.Text=({'Heat Gauge','Warning!','OVERHEAT!'})[heat]
  1690. 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))
  1691. framt.TextColor=heat==1 and bn'White' or bn(math.floor(Count/4)%2==0 and 'White' or 'Bright red')
  1692. -----------------------------------------
  1693. 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)
  1694. 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
  1695. if mouse then getX=GetX(cn(Torso.Position,mouse.hit.p)) end
  1696. if getX then getx=getX getx=getx>65 and 65 or getx getx=getx<-65 and -65 or getx end
  1697. -----------------
  1698. for mp,gf in pairs(meshpack) do
  1699. if gf[1]>=1 then mp:Remove() meshpack[mp]=nil end
  1700. gf[1]=gf[1]+gf[2]
  1701. local i,adj,x,y,z,ms=gf[1],gf[3],gf[4],gf[5],gf[6],gf[7]
  1702. mp.Transparency=0.2+(0.7*i)
  1703. mp.CFrame=mp.CFrame*adj
  1704. ms.Scale=v3(x,y,z)*(0.3+(0.7*i))
  1705. end
  1706. -----------------
  1707. for Do,gf in pairs(anipack) do
  1708. 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]
  1709. Do(sined and math.sin(math.pi/2*i) or i)
  1710. gf[1]=gf[1]+gf[2]
  1711. if gf[1]>=1 then Do(1) anipack[Do]=nil
  1712. 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
  1713. end
  1714. -----------------
  1715. for trp,gf in pairs(trailpack) do
  1716. if gf[1]<=0 then trp:Remove() trailpack[trp]=nil end
  1717. gf[1]=gf[1]-gf[2]
  1718. local i,trpm,th,mag=gf[1],gf[3],gf[4],gf[5]
  1719. trp.Transparency=0.3+(0.7*(1-i))
  1720. trpm.Scale=v3(th*i,th*i,mag)
  1721. end
  1722. ------------------
  1723.  
  1724. wait() end
  1725.  
  1726.  
  1727. --local/Chrono.Trail(Chrono.LA,0.5,'Really black',0.1,0.03)
  1728.  
  1729. --c/script.Parent==nil workspace.ChildAdded:connect(function(a) if a.Name=='Dummy' then a:Destroy() end end)
  1730. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement