Advertisement
refrop

master hand remastered

Aug 25th, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 175.91 KB | None | 0 0
  1. wt = 0.05 s = script it = Instance.new v3 = Vector3.new c3 = Color3.new ud = UDim2.new cf = CFrame.new ca = CFrame.Angles pi = math.pi rd = math.rad
  2. bc = BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti = table.insert tr = table.remove
  3. cr = coroutine.resume cc = coroutine.create
  4. asset = "http://www.roblox.com/asset/?id="
  5. sr = string.reverse sl = string.lower su = string.upper
  6. Serv = {} Serv.p = game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL"))
  7. Serv.is = game:GetService(sr("ecivreStresnI")) if game:findFirstChild(sr("revreSkrowteN")) then Serv.ns = game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end
  8. Serv.sg = game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS")) Serv.d = game:GetService(sr("sirbeD"))
  9. Decs = {}
  10. Decs.Crack = "49173398" Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown = "1323306"
  11. function ft(tablez,item) if not tablez or not item then return nil end for i=1,#tablez do if tablez[i] == item then return i end end return nil end
  12. function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove() end end
  13. function pa(pa,sh,x,y,z,c,a,tr,re,bc2) local fp = nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp = it("Part",pa) fp.Shape = sh fp.formFactor = "Custom" elseif sh == "Wedge" then fp = it("WedgePart",pa) fp.formFactor = "Custom"
  14. elseif sh == "CornerWedge" then fp = it("CornerWedgePart",pa) end fp.Size = v3(x,y,z) fp.CanCollide = c fp.Anchored = false fp.BrickColor = bc(bc2) fp.Transparency = tr fp.Reflectance = re fp.BottomSurface = 0
  15. fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity = Vector3.new(0,10,0) fp:BreakJoints() return fp end
  16. function clearit(tab) for xx=1,#tab do tab[xx]:Remove() end end
  17. function weld(pa,p0,p1,x,y,z,a,b,c) local fw = it("Weld",pa) fw.Part0 = p0 fw.Part1 = p1 fw.C0 = cf(x,y,z) *ca(a,b,c) return fw end
  18. function spm(ty,pa,ss) local sp = it("SpecialMesh",pa) sp.MeshType = ty sp.Scale = Vector3.new(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm = Instance.new("BlockMesh",pa) bm.Scale = Vector3.new(sx,sy,sz) end
  19. function ra(mn,mx,dc) local tms = 1 if dc == nil then dc = 0 end if type(dc) == "number" and dc > 5 then dc = 5 end for zx=1,dc do tms = tms*10 end return math.random(mn*tms,mx*tms)/tms end
  20. p = Serv.p.LocalPlayer -----Your Name Here
  21. bp = p.Backpack
  22. pg = p.PlayerGui
  23. c = p.Character
  24. he = c.Head
  25. t = c.Torso
  26. hu = c.Humanoid
  27. mou = nil
  28. re(c,"Hand")
  29. s = 2
  30.  
  31. --tool var
  32. Equip = false
  33. HTrans = 0
  34. HRef = 0
  35. HCol = "a"
  36. LaserCol = "New Yeller"
  37. LaserCol2 = "Really red"
  38. LaserCol3 = "Alder"
  39. Posing = "Follow"
  40. Facing = "Owner"
  41. Anim = {}
  42. Anim.a = "None"
  43. Anim.b = "None"
  44. Anim.Welding = 0
  45. local fingwide = 1.5*s
  46. local finghei = 2.8
  47. local tiphei = 2.55
  48. handoffset = v3(5,18,-8)*s
  49. bgx,bgy,bgz = -90,0,0
  50. w = {}
  51. Button = false
  52. --
  53. BlastMesh = it("FileMesh")
  54. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  55. RingMesh = it("FileMesh")
  56. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  57. RockMesh = it("FileMesh")
  58. DiamondMesh = it("FileMesh")
  59. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  60. m = Instance.new("Model",c) m.Name = "Hand"
  61. Palm = pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol) mbm(Palm,1,1,0.6)
  62. local x,y,z = Palm.Size.x,Palm.Size.y,Palm.Size.z
  63. bPoint1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  64. Point1 = weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0)
  65. pPoint1 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint1,0.9,1,0.9)
  66. wPoint1 = weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0)
  67. bPoint2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  68. Point2 = weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  69. pPoint2 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint2,0.9,1,0.9)
  70. wPoint2 = weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  71. bPoint3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  72. Point3 = weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0)
  73. pPoint3 = pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint3,0.9,1,0.9)
  74. wPoint3 = weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0)
  75. bMid1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  76. Mid1 = weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0)
  77. pMid1 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid1,0.9,1,0.9)
  78. wMid1 = weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0)
  79. bMid2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  80. Mid2 = weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0)
  81. pMid2 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid2,0.9,1,0.9)
  82. wMid2 = weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0)
  83. bMid3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  84. Mid3 = weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0)
  85. pMid3 = pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid3,0.9,1,0.9)
  86. wMid3 = weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0)
  87. bRing1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  88. Ring1 = weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0)
  89. pRing1 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing1,0.9,1,0.9)
  90. wRing1 = weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0)
  91. bRing2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  92. Ring2 = weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0)
  93. pRing2 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing2,0.9,1,0.9)
  94. wRing2 = weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0)
  95. bRing3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  96. Ring3 = weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0)
  97. pRing3 = pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing3,0.9,1,0.9)
  98. wRing3 = weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0)
  99. bPinkie1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  100. Pinkie1 = weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0)
  101. pPinkie1 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie1,0.9,1,0.9)
  102. wPinkie1 = weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0)
  103. bPinkie2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  104. Pinkie2 = weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  105. pPinkie2 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie2,0.9,1,0.9)
  106. wPinkie2 = weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  107. bPinkie3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  108. Pinkie3 = weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0)
  109. pPinkie3 = pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie3,0.9,1,0.9)
  110. wPinkie3 = weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0)
  111. bThumb1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  112. Thumb1 = weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0)
  113. pThumb1 = pa(m,"Block",fingwide*1.4,(finghei*1)*s,fingwide*1.4,true,false,HTrans,HRef,HCol) mbm(pThumb1,0.9,1,0.9)
  114. wThumb1 = weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0)
  115. bThumb2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  116. Thumb2 = weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  117. pThumb2 = pa(m,"Block",fingwide*1.3,(finghei*1)*s,fingwide*1.3,true,false,HTrans,HRef,HCol) mbm(pThumb2,0.9,1,0.9)
  118. wThumb2 = weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  119. bThumb3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  120. Thumb3 = weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0)
  121. pThumb3 = pa(m,"Block",fingwide*1.25,(tiphei*1)*s,fingwide*1.25,true,false,HTrans,HRef,HCol) mbm(pThumb3,0.9,1,0.9)
  122. wThumb3 = weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0)
  123. w["a1"] = Pinkie1
  124. w["a2"] = Pinkie2
  125. w["a3"] = Pinkie3
  126. w["b1"] = Ring1
  127. w["b2"] = Ring2
  128. w["b3"] = Ring3
  129. w["c1"] = Mid1
  130. w["c2"] = Mid2
  131. w["c3"] = Mid3
  132. w["d1"] = Point1
  133. w["d2"] = Point2
  134. w["d3"] = Point3
  135. w["e1"] = Thumb1
  136. w["e2"] = Thumb2
  137. w["e3"] = Thumb3
  138. w.e1.C1 = ca(0,rd(35),rd(-20))
  139. w.e2.C1 = ca(rd(20),0,0)
  140. w.e3.C1 = ca(rd(20),0,0)
  141. w.d1.C1 = ca(0,0,rd(-3))
  142. w.c1.C1 = ca(0,0,rd(-1))
  143. w.b1.C1 = ca(0,0,rd(1))
  144. w.a1.C1 = ca(0,0,rd(3))
  145. function c1(wexx,smmx,xx,yy,zz)
  146. coroutine.resume(coroutine.create(function()
  147. local xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ()
  148. local aa,bb,cc = wexx.C0.x,wexx.C0.y,wexx.C0.z
  149. local twa = smmx/wt
  150. Anim.Welding = Anim.Welding + 1
  151. for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc)
  152. wexx.C1 = ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  153. wait()
  154. end
  155. Anim.Welding = Anim.Welding - 1
  156. end))
  157. end
  158. function CloseFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,80,0,0) c1(w[fingz.. "2"],spee,110,0,0) c1(w[fingz.. "3"],spee,30,0,0) end
  159. function OpenFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,2,0,0) c1(w[fingz.. "2"],spee,2,0,0) c1(w[fingz.. "3"],spee,2,0,0) end
  160. function HandSign(form,spee) form = form:lower() if spee == nil then spee = 1 end
  161. if form == "f" then
  162. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee)
  163. c1(w["c1"],spee,0,0,0) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  164. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  165. elseif form == "fist" then
  166. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee)
  167. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  168. elseif form == "pointer" then
  169. CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee)
  170. c1(w["d1"],spee,5,0,0) c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0)
  171. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  172. elseif form == "v" then
  173. CloseFing("a",spee) CloseFing("b",spee)
  174. c1(w["c1"],spee,1,0,15) c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0)
  175. c1(w["d1"],spee,1,0,-15) c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0)
  176. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  177. elseif form == "free" or form == "five" then
  178. OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee) OpenFing("d",spee)
  179. c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,20,0,0)
  180. elseif form == "ride" then
  181. c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0)
  182. c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0)
  183. c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0)
  184. c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0)
  185. c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  186. elseif form == "gun" then
  187. CloseFing("a",spee) CloseFing("b",spee)
  188. c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  189. c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0) c1(w["d3"],spee,0,0,0)
  190. c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,-20,0,0)
  191. elseif form == "wide" then
  192. c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0)
  193. c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0)
  194. c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0)
  195. c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0)
  196. c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0)
  197. elseif form == "wide2" then
  198. c1(w["a1"],spee,-18,0,45) c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0)
  199. c1(w["b1"],spee,-18,0,15) c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0)
  200. c1(w["c1"],spee,-18,0,-15) c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0)
  201. c1(w["d1"],spee,-18,0,-45) c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0)
  202. c1(w["e1"],spee,-50,90,-10) c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40)
  203. elseif form == "grab2" then
  204. c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0) c1(w["a3"],spee,20,0,0)
  205. c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0) c1(w["b3"],spee,20,0,0)
  206. c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0) c1(w["c3"],spee,20,0,0)
  207. c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0) c1(w["d3"],spee,20,0,0)
  208. c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  209. elseif form == "grab3" then
  210. c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0) c1(w["a3"],spee,35,0,0)
  211. c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0) c1(w["b3"],spee,35,0,0)
  212. c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0) c1(w["c3"],spee,35,0,0)
  213. c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0) c1(w["d3"],spee,35,0,0)
  214. c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  215. end
  216. end
  217. function ColFings(iscol)
  218. pPinkie1.CanCollide = iscol
  219. pPinkie2.CanCollide = iscol
  220. pPinkie3.CanCollide = iscol
  221. pRing1.CanCollide = iscol
  222. pRing2.CanCollide = iscol
  223. pRing3.CanCollide = iscol
  224. pMid1.CanCollide = iscol
  225. pMid2.CanCollide = iscol
  226. pMid3.CanCollide = iscol
  227. pPoint1.CanCollide = iscol
  228. pPoint2.CanCollide = iscol
  229. pPoint3.CanCollide = iscol
  230. pThumb1.CanCollide = iscol
  231. pThumb2.CanCollide = iscol
  232. pThumb3.CanCollide = iscol
  233. end
  234. function ray(Pos, Dir)
  235. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c)
  236. end
  237. function Earthsplosion(pos,siz,dmg,rndmg,forc,eos) local colz22 = "Earth green" if eos == nil or eos == "earth" then eos = "earth" else colz22 = "Pastel brown" eos = "sand" end
  238. coroutine.resume(coroutine.create(function()
  239. if eos == "earth" then local cr = pa(m,"Block",((14*siz)/10)*s,0,((14*siz)/10)*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = pos *ca(rd(0),rd(ra(-360,360)),rd(0)) cr.CFrame = cr.CFrame + v3(ra(-siz*10,siz*10)/22,0,ra(-siz*10,siz*10)/22)
  240. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25) end
  241. for i=1,4 do
  242. coroutine.resume(coroutine.create(function()
  243. local sw = pa(m,"Block",(siz/3)*s,(siz*1.3)*s,(siz/3)*s,true,true,0,0,colz22) sw.Anchored = true sw.CFrame = pos *cf(ra(-3*s,3*s),0,ra(-3*s,3*s)) *ca(rd(ra(-27,27)),rd(ra(-360,360)),rd(ra(-27,27))) local swm = it("SpecialMesh",sw) if eos == "earth" then swm.MeshType = "FileMesh"
  244. swm.MeshId = asset .. Decs.Spike else swm.MeshType = "Sphere" end if eos == "earth" then swm.Scale = v3(sw.Size.x/1.3,sw.Size.y*1.2,sw.Size.z/1.3)
  245. else swm.Scale = v3(sw.Size.x/10,sw.Size.y/37,sw.Size.z/10) end sw.CFrame = sw.CFrame + v3(ra(-0.3*siz*s,0.3*siz*s,7),0,ra(-0.3*siz*s,0.3*siz*s)) sw.CFrame = sw.CFrame * cf(0,-sw.Size.y/1.4,0)
  246. Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Dark green","Bright green","Brown"},1)
  247. if eos == "earth" then
  248. for x=1,8 do
  249. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5))
  250. for x=1,20 do
  251. sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait()
  252. end sw:Remove()
  253. else
  254. for x=1,25 do
  255. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/25,0) sw.Transparency = x/25 - 0.1 swm.Scale = swm.Scale + v3(0.025,0.025,0.025) wait() end
  256. end sw:Remove()
  257. end)) end
  258. wait(0.3)
  259. DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc)
  260. end))
  261. end
  262. function Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function()
  263. for x=1,cls do coroutine.resume(coroutine.create(function()
  264. local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col[ra(1,#col)]) sw.Anchored = true sw.CFrame = onb *ca(rd(ra(-35,35)),rd(ra(-360,360)),rd(ra(-35,35))) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh"
  265. swm.MeshId = asset .. Decs.Cloud sw.CFrame = sw.CFrame + v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8)
  266. for i=1,scale,0.25 do
  267. swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency = ((i/scale)/2) + 0.45
  268. wait()
  269. end
  270. sw:Remove()
  271. end)) end
  272. end)) end
  273. function ShockWave(onb,scale,col) coroutine.resume(coroutine.create(function() local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(90),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" swm.MeshId = RingMesh.MeshId
  274. for i=1,scale,0.75 do swm.Scale = v3(i*1.5,i*1.5,i*1.5) sw.Transparency = (i/scale) + 0 wait() end sw:Remove() end)) end
  275. function BlastWave(onb,scale,ymes,col) coroutine.resume(coroutine.create(function()
  276. local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(0),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh"
  277. swm.MeshId = BlastMesh.MeshId
  278. for i=1,scale,scale/11 do
  279. swm.Scale = v3(i*1.25,i*ymes,i*1.25) sw.CFrame = sw.CFrame *ca(0,rd(720*(i/scale)),0) sw.Transparency = (i/scale) + 0
  280. wait()
  281. end
  282. sw:Remove()
  283. end))
  284. end
  285. function Explode(onb,scale,col) local Torm = m coroutine.resume(coroutine.create(function() local e1 = Instance.new("Part") e1.Anchored = true e1.formFactor = "Custom" e1.CanCollide = false e1.Size = Vector3.new(1,1,1) e1.BrickColor = BrickColor.new(col)
  286. e1.Transparency = 0.6 e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local e1m = Instance.new("SpecialMesh")
  287. e1m.MeshType = "Sphere" e1m.Parent = e1 local r1 = Instance.new("Part") r1.Anchored = true r1.formFactor = "Custom" r1.CanCollide = false r1.Size = Vector3.new(1,1,1) r1.BrickColor = BrickColor.new(col) r1.Transparency = 0.6 r1.TopSurface = 0 r1.BottomSurface = 0 r1.Parent = Torm r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0) local r1m = Instance.new("SpecialMesh") r1m.MeshType = "FileMesh"
  288. r1m.Scale = Vector3.new(3,3,3) r1m.Parent = r1 r1m.MeshId = RingMesh.MeshId local r2 = Instance.new("Part") r2.Anchored = true r2.formFactor = "Custom" r2.CanCollide = false r2.Size = Vector3.new(1,1,1) r2.BrickColor = BrickColor.new(col) r2.Transparency = 0.6 r2.TopSurface = 0 r2.BottomSurface = 0 r2.Parent = Torm r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0) local r2m = Instance.new("SpecialMesh") r2m.MeshType = "FileMesh"
  289. r2m.Parent = r2 r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla = Instance.new("Part") bla.Anchored = true
  290. bla.formFactor = "Custom" bla.CanCollide = false bla.Size = Vector3.new(1,1,1) bla.BrickColor = BrickColor.new(col) bla.Transparency = 0.6 bla.TopSurface = 0 bla.BottomSurface = 0 bla.Parent = Torm bla.CFrame = onb local blam = Instance.new("SpecialMesh")
  291. blam.MeshType = "FileMesh" blam.Parent = bla blam.Scale = Vector3.new(5,5,5) blam.MeshId = BlastMesh.MeshId for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  292. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  293. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) wait() end for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  294. blam.Scale = blam.Scale + Vector3.new(pluscal/3,pluscal/3,pluscal/3) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) bla.Transparency = bla.Transparency + 0.1 e1.Transparency = e1.Transparency + 0.1 r1.Transparency = r1.Transparency + 0.1 r2.Transparency = r2.Transparency + 0.1 wait() end e1:Remove() r1:Remove() r2:Remove() end)) end
  295. function Hurtsplosion(pos,dmg,rndmg,siz,forc)
  296. coroutine.resume(coroutine.create(function() local boomcol = {"Bright red","New Yeller","Neon orange"}
  297. for i=1,3 do
  298. coroutine.resume(coroutine.create(function()
  299. local plos = pa(m,"Block",1*s*siz,1.5*s*siz,0.7*s*siz,false,false,0.3,0,boomcol[i]) spm("Sphere",plos,1) plos.Anchored = true
  300. plos.CFrame = cf(pos + v3(0,0,0)) * ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360)))
  301. plos.Mesh.Scale = v3(0.1,0.1,0.1)
  302. for i=0.3,1,0.03 do local plc = plos.CFrame
  303. plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i plos.CFrame = plc * ca(rd(3),rd(3),0)
  304. wait()
  305. end
  306. plos:Remove()
  307. end))
  308. end
  309. end))
  310. wait(0.1)
  311. DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc)
  312. end
  313. function DmgHumanoidsNear(pos,dmg,rndmg,mag,forc)
  314. local function kidive(ob)
  315. for i,v in pairs(ob:children()) do
  316. if v:IsA("BasePart") and v.Parent.Parent:findFirstChild("Humanoid") == nil and v.Parent:findFirstChild("Humanoid") == nil and (v.Position - pos).magnitude < mag*1.3 and v.Anchored == false and v:GetMass() < 150 then
  317. v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc
  318. end
  319. if v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then
  320. if (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg = dmg*ra(1,rndmg)
  321. if v.Parent:findFirstChild("Hh") == nil then local hh= Instance.new("NumberValue",v.Parent) hh.Name = "Hh"
  322. hh.Value = v.Health - tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end
  323. v.Health = v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end
  324. end
  325. end
  326. if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end end end
  327. kidive(workspace)
  328. end
  329. function Fire(bullet,typez,siz,dmg,rndmg,forc)
  330. if typez == 1 then
  331. bullet.Anchored = true
  332. local bullethit = false
  333. local tyms = 0
  334. repeat
  335. tyms = tyms + 2
  336. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  337. if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-1*s) *ca(rd(-0.0025),rd(0),0) end
  338. if tyms%32 == 0 then wait() end
  339. until bullethit or bullet.Position.y < -300 or tyms > 800
  340. bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove()
  341. if bullet.Position.y < -300 then
  342. else
  343. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  344. end
  345. elseif typez == 2 then
  346. bullet.Anchored = true
  347. local bullethit = false
  348. local tyms = 0
  349. local ming = 0.001
  350. repeat
  351. if tyms > 70 and (ming == 0.001 or ming == -2.5) then ming = -2.5
  352. local bpos = (bullet.CFrame *cf(0,0,-300)).p if (bpos - v3(Palm.Position.x,bpos.y,Palm.Position.z)).magnitude < 25*s then ming = 0 end
  353. end
  354. tyms = tyms + 2
  355. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  356. if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-0.5) *ca(rd(ming),rd(0),0) end
  357. if tyms%16 == 0 then wait() end
  358. until bullethit or bullet.Position.y < -300 or tyms > 500
  359. bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove()
  360. if bullet.Position.y < -300 then
  361. else
  362. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  363. end
  364. elseif typez == 3 then
  365. end
  366. end
  367. function ShortifiedAnim(theanim)
  368. if theanim == "Beam" then
  369. local crom = pa(m,"Block",0,0,0,true,true,0.5,0,LaserCol3) local cromm = it("SpecialMesh",crom) cromm.MeshType = "FileMesh" cromm.MeshId = asset .. Decs.Crown
  370. cromm.Scale = v3(15*s,5*s,15*s) crom.Anchored = true --local cromw = weld(crom,Palm,crom,0,Palm.Size.y/3.6,-Palm.Size.z*1.8,rd(-90),0,0)
  371. dias = {} loldiv = 360/8 for x=0,360,loldiv do
  372. local dia = pa(m,"Block",0,0,0,false,false,0,0,LaserCol2) dia.Anchored = true local diam = it("SpecialMesh",dia) diam.MeshType = "FileMesh" diam.MeshId = DiamondMesh.MeshId
  373. diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia)
  374. end Button = true coroutine.resume(coroutine.create(function() local tardz = 0 repeat wait() tardz = tardz+ 15
  375. crom.CFrame = Palm.CFrame *ca(rd(-90),0,0) *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0)
  376. for rofl=1,#dias do dias[rofl].CFrame = crom.CFrame *ca(0,rd(rofl*loldiv),0) *cf(0,-19*s,0) *ca(rd(25),0,0) *cf(0,32*s,0) end
  377. until not Button for x2=0.5,1,0.05 do wait() crom.Transparency = x2 end end))
  378. coroutine.resume(coroutine.create(function() for xk=1,0.5,-0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end))
  379. wait(1) local beamoffset = v3(0,0,0)
  380. local b1 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true
  381. local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored = true local b2m = it("CylinderMesh",b2)
  382. local b3 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true
  383. local bpos = nil local bhit = nil local ts = 0
  384. repeat beamoffset = v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1
  385. bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p)
  386. if bhit == nil or (Palm.Position - bpos).magnitude > 1500 then break end
  387. b1.CFrame = Palm.CFrame *cf(0,3*s,-11*s)
  388. b3.CFrame = cf(bpos) local lenz = (b1.Position - b3.Position).magnitude
  389. b2.CFrame = cf(b1.Position,b3.Position) *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1)
  390. b1.CFrame = b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame + beamoffset
  391. if ts%10 == 0 then DmgHumanoidsNear(b3.Position,3,10,(14*s)+2,100) Explode(b3.CFrame*cf(0,b3.Size.y/3,0),25*s,LaserCol2) end
  392. wait() until not Button or ts > 600
  393. coroutine.resume(coroutine.create(function() for xk=0.1,1.1,0.08 do wait() b1.Transparency = xk b2.Transparency = xk b3.Transparency = xk end b1:Remove() b2:Remove() b3:Remove() end))
  394. coroutine.resume(coroutine.create(function() for xk=0.5,1.1,0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end))
  395. wait(1) clearit(dias) crom:Remove()
  396. end
  397. end
  398. PalmLev = it("BodyPosition",Palm)
  399. PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque = v3(0,0,0)
  400. coroutine.resume(coroutine.create(function()
  401. PalmLev.position = (t.CFrame *cf(handoffset)).p
  402. local yspi = 0
  403. while true do yspi = yspi + 8
  404. if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then
  405. Facing = "Mouse" bgx = -90 bgy = 90 bgz = 0
  406. elseif Anim.a == "Fu" or Anim.a == "Fist" or Anim.a == "GroundGrip" then
  407. Facing = "Mouse" bgx = -90 bgy = 0 bgz = 0
  408. elseif Anim.a == "Splat" or Anim.a == "Beam" then
  409. Facing = "Mouse" bgx = 0 bgy = 0 bgz = 0
  410. elseif Anim.a == "None" then
  411. Facing = "Owner" bgx = -90 bgy = 0 bgz = 0 Posing = "Follow"
  412. elseif Anim.a == "Shower" then
  413. Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner"
  414. end
  415. if Posing == "Follow" then
  416. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p
  417. elseif Posing == "TopOwner" then
  418. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(0,12*s,0)).p
  419. end
  420. if Facing == "Owner" then
  421. PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe = cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz))
  422. elseif Facing == "Mouse" and mou ~= nil and Equip then
  423. if Anim.a == "Gun" or Anim.a == "Beam" or Anim.a == "Ride" or Anim.a == "GroundGrip" or Anim.a == "Fu" or Anim.a == "Pound" or Anim.a == "Splat" or Anim.a == "Fist" then
  424. if Anim.b == "None" or Anim.a == "Beam" or Anim.a == "Ride" then
  425. PalmFace.cframe = cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05)
  426. end end end
  427. wait(0.05)
  428. end
  429. end))
  430. function FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc) coroutine.resume(coroutine.create(function()
  431. local laser = pa(m,"Block",fingwide*1.3,fingwide*1.3,fingwide*2.5,true,false,0,0,lasercol) spm("Sphere",laser,1+(siz/5.5)) laser.Name = "Projectile"
  432. local lw = weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0)
  433. for i=1,0.4,-0.05 do laser.Transparency = i wait() end
  434. BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2)
  435. lw:Remove() laser.CFrame = cf(laser.Position,targ)
  436. Fire(laser,typez,siz,dmg,rndmg,forc)
  437. end))
  438. end
  439. GrabWeld = it("Weld",m)
  440. Palm.Touched:connect(function(touch)
  441. if Anim.a == "Ride" and GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and touch.Parent:findFirstChild("Humanoid") then
  442. local tor = touch.Parent.Torso touch.Parent.Humanoid.PlatformStand = true
  443. GrabWeld.Part0 = Palm GrabWeld.Part1 = tor GrabWeld.C0 = cf(-3*s,4.5*s,-Palm.Size.x/2) GrabWeld.C1 = ca(0,rd(90),rd(-90)) *ca(0,rd(0),0)
  444. end
  445. end)
  446. re(bp,"Hand")
  447. hb = it("HopperBin",bp) hb.Name = "Hand"
  448. hb.Selected:connect(function(mouse) mou = mouse Equip = true
  449. mouse.KeyDown:connect(function(k) k = k:lower()
  450. if Anim.a == "Ride" and k == "f" then FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end
  451. if Anim.b ~= "None" or Anim.Welding ~= 0 then return end
  452. if Anim.a == "None" then
  453. if k == "f" then -- on anim on
  454. Anim.a = "Gun" HandSign("Gun",0.7)
  455. elseif k == "p" then
  456. Anim.a = "Fu" HandSign("f",1)
  457. elseif k == "g" then
  458. Anim.a = "Fist" HandSign("fist",1)
  459. elseif k == "c" then
  460. Anim.a = "Splat" HandSign("wide",1)
  461. elseif k == "r" then
  462. Anim.a = "Ride" HandSign("ride",1) Posing = "None"
  463. elseif k == "v" then
  464. Anim.a = "Shower" HandSign("grab2",1) PalmFace.cframe = cf(0,0,0) *ca(0,0,0)
  465. elseif k == "b" then
  466. Anim.a = "Pound" HandSign("fist",1)
  467. elseif k == "x" then
  468. Anim.a = "GroundGrip" HandSign("grab2",1)
  469. elseif k == "z" then
  470. Anim.a = "Beam" HandSign("wide2",1)
  471. end
  472. else
  473. if k == "f" and Anim.a == "Gun" then -- on anim off
  474. Anim.a = "None" HandSign("five",0.8)
  475. elseif k == "p" and Anim.a == "Fu" then
  476. Anim.a = "None" HandSign("five",0.8)
  477. elseif k == "g" and Anim.a == "Fist" then
  478. Anim.a = "None" HandSign("five",0.8)
  479. elseif k == "c" and Anim.a == "Splat" then
  480. Anim.a = "None" HandSign("five",0.8)
  481. elseif k == "r" and Anim.a == "Ride" then
  482. Anim.a = "None" HandSign("five",0.8) GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner"
  483. if GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~= nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1 = nil
  484. elseif k == "v" and Anim.a == "Shower" then
  485. Anim.a = "None" HandSign("five",0.8) Posing = "Follow" Facing = "Owner"
  486. elseif k == "b" and Anim.a == "Pound" then
  487. Anim.a = "None" HandSign("five",0.8)
  488. elseif k == "x" and Anim.a == "GroundGrip" then
  489. Anim.a = "None" HandSign("five",0.8)
  490. elseif k == "z" and Anim.a == "Beam" then
  491. Anim.a = "None" HandSign("five",0.8)
  492. end
  493. end
  494. end)
  495. mouse.Button1Down:connect(function()
  496. if Anim.a == "None" or Anim.b ~= "None" then return end
  497. if Anim.a == "Gun" then
  498. Anim.b = "Gun" FireFinger(LaserCol,pPoint3,mouse.Hit.p,1,2.25,1,10,60) FireFinger(LaserCol,pMid3,mouse.Hit.p,1,2.25) wait(1) Anim.b = "None"
  499. elseif Anim.a == "Fu" then
  500. Anim.b = "Fu" FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b = "None"
  501. elseif Anim.a == "Fist" then
  502. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  503. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  504. Anim.b = "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos) *ca(rd(-90),0,0)
  505. PalmLev.position = (Palm.CFrame *cf(0,-15*s,0)).p
  506. wait(0.45)
  507. PalmLev.position = bpos + ((Palm.CFrame *cf(0,1*s,0)).p - Palm.Position)
  508. local tz = 0 repeat wait() BlastWave(Palm.CFrame*ca(rd(180),0,0),8*s,3.5,HCol) tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1
  509. Explode(Palm.CFrame *cf(0,6*s,0) *ca(rd(180),0,0),15*s,ts(bhit.BrickColor))
  510. DmgHumanoidsNear((Palm.CFrame *cf(0,8,0)).p,3,10,(12*s)+2,105)
  511. if not bhit.Anchored then PalmLev.position = (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end
  512. wait(1) Posing = "Follow" Anim.b = "None"
  513. elseif Anim.a == "Splat" then
  514. if mouse.Target == nil and (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos = mouse.Hit.p
  515. Anim.b = "Splat" Posing = "None"
  516. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(-90),0,0) PalmLev.position = bpos + v3(0,10*s,0)
  517. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3
  518. for i=-90,0,5 do
  519. PalmLev.position = PalmLev.position + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(i),0,0)
  520. wait()
  521. end wait(0.2)
  522. for i=0,-100,-10 do
  523. local lewd = i
  524. if lewd < -50 then lewd = -95 end
  525. PalmLev.position = PalmLev.position - v3(0,4.7*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(lewd),0,0)
  526. wait()
  527. end wait(0.2)
  528. local cr = pa(m,"Block",16*s,0,16*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0)
  529. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16)
  530. DmgHumanoidsNear((Palm.CFrame *cf(0,0,-1)).p,3,20,(15*s)+2,110)
  531. ShockWave(Palm.CFrame *ca(rd(90),0,0),25*s,LaserCol)
  532. wait(1) Posing = "Follow" Anim.b = "None"
  533. elseif Anim.a == "Ride" and Button == false then
  534. Posing = "None" Anim.b = "Ride"
  535. Button = true
  536. repeat PalmLev.position = (Palm.CFrame *cf(0,10,0)).p wait() until Button == false
  537. Anim.b = "None"
  538. elseif Anim.a == "Shower" and Button == false then
  539. Anim.b = "Shower" Button = true
  540. repeat
  541. local targz = Palm.Position + v3(0,20*s,0)
  542. if ra(1,12) == 1 then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end
  543. if ra(1,13) == 1 then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end
  544. if ra(1,12) == 1 then FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end
  545. if ra(1,13) == 1 then FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end
  546. if ra(1,12) == 1 then FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end
  547. PalmFace.cframe = PalmFace.cframe *ca(0,rd(10),0)
  548. wait()
  549. until Button == false
  550. Anim.b = "None"
  551. elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None" Anim.b = "Pound"
  552. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  553. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  554. PalmLev.position = bpos + v3(0,15*s,0)
  555. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = ca(ya,yb,yc)
  556. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 wait(0.1)
  557. for i=-90,-10,10 do
  558. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0)
  559. wait() end wait(0.25) local realcf = cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z))
  560. for i=-10,-90,-10 do
  561. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position - v3(0,4*s,0)
  562. wait() end PalmFace.cframe = realcf *ca(rd(-90),rd(90),0) wait(0.25)
  563. local cr = pa(m,"Block",22*s,0,22*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0)
  564. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16)
  565. Dustplosion(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),30*s,{"Dark green","Bright green","Brown"},3)
  566. ShockWave(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor))
  567. DmgHumanoidsNear((Palm.CFrame *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2)
  568. local palmcf = cf(bpos) local earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0) *ca(rd(-90),0,rd(0))
  569. for i=1,earthsplos do Earthsplosion(palmcf *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end
  570. Earthsplosion(palmcf *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75)
  571. wait(1) Posing = "Follow" wait(0.25) Anim.b = "None"
  572. elseif Anim.a == "GroundGrip" then Posing = "None" Anim.b = "GroundGrip"
  573. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  574. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  575. PalmLev.position = bpos + v3(0,27*s,0) ColFings(false)
  576. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1)
  577. local thepos = (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position
  578. PalmFace.cframe = cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0)
  579. for i=27,1,-3 do PalmLev.position = bpos + v3(0,i*s,0) wait(0.07) end HandSign("grab3",0.4) wait(0.55)
  580. local ro = pa(m,"Ball",0,0,0,false,false,0,0,"Earth green") ro.Name = "Rock" local row = it("SpecialMesh",ro) row.MeshType = "FileMesh" row.MeshId = asset .. Decs.Rock
  581. local rowe = weld(ro,Palm,ro,0,Palm.Size.y,-Palm.Size.z*1.2,0,0,0) row.Scale = v3(9*s,10*s,9*s)
  582. coroutine.resume(coroutine.create(function() for xz=1,70,7 do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end))
  583. wait(0.25) Dustplosion(cf(bpos),30*s,{"Dark green","Bright green","Brown"},3) local lolra = ra(-360,360)
  584. Earthsplosion(cf(bpos),25,1,20,125,"sand") for yyy=0,360,60 do coroutine.resume(coroutine.create(function()
  585. for zzz=1,4 do
  586. Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75) wait(0.14)
  587. end wait(0.25) Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,5*18*s),25,1,20,120) end)) end
  588. wait(0.3) HandSign("grab2",0.5) wait(0.75) Serv.d:AddItem(ro,20) rowe:Remove() ro.CanCollide = true local rocf = ro.CFrame ro.Size=v3(14*s,14*s,14*s) ro.CFrame = rocf wait(0.75) ColFings(true) Posing = "Follow" Anim.b = "None"
  589. elseif Anim.a == "Beam" and not Button and Anim.b == "None" then Anim.b = "Beam"
  590. ShortifiedAnim("Beam") wait(0.5) Anim.b = "None"
  591. end
  592. end)
  593. mouse.Button1Up:connect(function()
  594. Button = false
  595. end)
  596. mouse.Move:connect(function()
  597. end)
  598. end)
  599. hb.Deselected:connect(function(mouse)
  600. Equip = false
  601. end)
  602. --[[
  603. User: TheDarkRevenant
  604. Script: DSSJ3
  605. Pass: QNAh3g8U
  606.  
  607. ]]
  608.  
  609. local p = game.Players.LocalPlayer
  610. local char = p.Character
  611. local mouse = p:GetMouse()
  612. local larm = char["Left Arm"]
  613. local rarm = char["Right Arm"]
  614. local lleg = char["Left Leg"]
  615. local rleg = char["Right Leg"]
  616. local hed = char.Head
  617. local torso = char.Torso
  618. local hum = char.Humanoid
  619. local cam = game.Workspace.CurrentCamera
  620. local root = char.HumanoidRootPart
  621. local deb = false
  622. local shot = 0
  623. local debris=game:service"Debris"
  624. local l = game:GetService("Lighting")
  625. local rs = game:GetService("RunService").RenderStepped
  626. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  627. math.randomseed(os.time())
  628. for i,v in pairs(char:children()) do
  629. if v:IsA("Hat") then
  630. v:Destroy()
  631. end
  632. end
  633. for i,v in pairs (hed:GetChildren()) do
  634. if v:IsA("Sound") then
  635. v:Destroy()
  636. end
  637. end
  638. ----------------------------------------------------
  639. Debounces = {
  640. CanAttack = true;
  641. NoIdl = false;
  642. Slashing = false;
  643. Slashed = false;
  644. RPunch = false;
  645. RPunched = false;
  646. LPunch = false;
  647. LPunched = false;
  648. }
  649. local Touche = {char.Name, }
  650. ----------------------------------------------------
  651. hed.face.Texture = "rbxassetid://382682899"
  652. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  653. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  654. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  655. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  656. ----------------------------------------------------
  657. ypcall(function()
  658. char.Shirt:Destroy()
  659. char.Pants:Destroy()
  660. shirt = Instance.new("Shirt", char)
  661. shirt.Name = "Shirt"
  662. pants = Instance.new("Pants", char)
  663. pants.Name = "Pants"
  664. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=28738770"
  665. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=28738770"
  666. end)
  667. ----------------------------------------------------
  668. function lerp(a, b, t) -- Linear interpolation
  669. return a + (b - a)*t
  670. end
  671.  
  672. function slerp(a, b, t) --Spherical interpolation
  673. dot = a:Dot(b)
  674. if dot > 0.99999 or dot < -0.99999 then
  675. return t <= 0.5 and a or b
  676. else
  677. r = math.acos(dot)
  678. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  679. end
  680. end
  681.  
  682. function matrixInterpolate(a, b, t)
  683. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  684. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  685. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  686. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  687. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  688. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  689. local t = v1:Dot(v2)
  690. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  691. return CFrame.new()
  692. end
  693. return CFrame.new(
  694. v0.x, v0.y, v0.z,
  695. v1.x, v1.y, v1.z,
  696. v2.x, v2.y, v2.z,
  697. v3.x, v3.y, v3.z)
  698. end
  699. ----------------------------------------------------
  700. function genWeld(a,b)
  701. local w = Instance.new("Weld",a)
  702. w.Part0 = a
  703. w.Part1 = b
  704. return w
  705. end
  706. function weld(a, b)
  707. local weld = Instance.new("Weld")
  708. weld.Name = "W"
  709. weld.Part0 = a
  710. weld.Part1 = b
  711. weld.C0 = a.CFrame:inverse() * b.CFrame
  712. weld.Parent = a
  713. return weld;
  714. end
  715. ----------------------------------------------------
  716. function Lerp(c1,c2,al)
  717. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  718. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  719. for i,v in pairs(com1) do
  720. com1[i] = v+(com2[i]-v)*al
  721. end
  722. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  723. end
  724. ----------------------------------------------------
  725. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  726. local wld = Instance.new("Weld", wp1)
  727. wld.Part0 = wp0
  728. wld.Part1 = wp1
  729. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  730. end
  731. ----------------------------------------------------
  732. function weld5(part0, part1, c0, c1)
  733. weeld=Instance.new("Weld", part0)
  734. weeld.Part0=part0
  735. weeld.Part1=part1
  736. weeld.C0=c0
  737. weeld.C1=c1
  738. return weeld
  739. end
  740. ----------------------------------------------------
  741. function HasntTouched(plrname)
  742. local ret = true
  743. for _, v in pairs(Touche) do
  744. if v == plrname then
  745. ret = false
  746. end
  747. end
  748. return ret
  749. end
  750. ----------------------------------------------------
  751. newWeld(torso, larm, -1.5, 0.5, 0)
  752. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  753. newWeld(torso, rarm, 1.5, 0.5, 0)
  754. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  755. newWeld(torso, hed, 0, 1.5, 0)
  756. newWeld(torso, lleg, -0.5, -1, 0)
  757. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  758. newWeld(torso, rleg, 0.5, -1, 0)
  759. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  760. newWeld(root, torso, 0, -1, 0)
  761. torso.Weld.C1 = CFrame.new(0, -1, 0)
  762. ----------------------------------------------------
  763. z = Instance.new("Sound", char)
  764. z.SoundId = "rbxassetid://447205625"
  765. z.Looped = true
  766. z.Pitch = 1
  767. z.Volume = 1
  768. wait(.3)
  769. z:Play()
  770. ----------------------------------------------------
  771. local Transforming = true
  772. hum.WalkSpeed = 0
  773. local fx = Instance.new("Part",torso)
  774. fx.Anchored = true
  775. fx.Material = "Neon"
  776. fx.CanCollide = false
  777. fx.Locked = true
  778. fx.Transparency = 1
  779. fx.Material = "SmoothPlastic"
  780. fx.Size = Vector3.new(1,1,1)
  781. fx.TopSurface = "SmoothNoOutlines"
  782. fx.BottomSurface = "SmoothNoOutlines"
  783. fx.BrickColor = BrickColor.new("Cyan")
  784. fxm = Instance.new("SpecialMesh",fx)
  785. fxm.MeshType = "Sphere"
  786. fxm.Scale = Vector3.new(1,1,1)
  787. for i = 1, 20 do rs:wait()
  788. fx.Transparency = fx.Transparency - (1/20)
  789. fx.CFrame = torso.CFrame
  790. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  791. rs:wait()
  792. end
  793. ----------------------------------------------------
  794. local m = Instance.new("Model")
  795. m.Name = "Hair"
  796. p1 = Instance.new("Part", m)
  797. p1.BrickColor = BrickColor.new("Bright white")
  798. p1.FormFactor = Enum.FormFactor.Symmetric
  799. p1.Size = Vector3.new(1, 1, 1)
  800. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  801. p1.CanCollide = false
  802. p1.Locked = true
  803. p1.BottomSurface = Enum.SurfaceType.Smooth
  804. p1.TopSurface = Enum.SurfaceType.Smooth
  805. b1 = Instance.new("SpecialMesh", p1)
  806. b1.MeshId = "http://www.roblox.com/asset/?id=0"
  807. b1.TextureId = ""
  808. b1.MeshType = Enum.MeshType.FileMesh
  809. b1.Name = "Mesh"
  810. b1.VertexColor = Vector3.new(0, 0, 0)
  811. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  812. p2 = Instance.new("Part", m)
  813. p2.BrickColor = BrickColor.new("Pastel brown")
  814. p2.Transparency = 1
  815. p2.Name = "Head"
  816. p2.FormFactor = Enum.FormFactor.Symmetric
  817. p2.Size = Vector3.new(2, 1, 1)
  818. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  819. p2.CanCollide = false
  820. p2.Locked = true
  821. p2.TopSurface = Enum.SurfaceType.Smooth
  822. b2 = Instance.new("SpecialMesh", p2)
  823. b2.MeshType = Enum.MeshType.Head
  824. b2.Name = "Mesh"
  825. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  826. p3 = Instance.new("Part", m)
  827. p3.BrickColor = BrickColor.new("Bright white")
  828. p3.FormFactor = Enum.FormFactor.Symmetric
  829. p3.Size = Vector3.new(2, 2, 2)
  830. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  831. p3.CanCollide = false
  832. p3.Locked = true
  833. p3.BottomSurface = Enum.SurfaceType.Smooth
  834. p3.TopSurface = Enum.SurfaceType.Smooth
  835. b3 = Instance.new("SpecialMesh", p3)
  836. b3.MeshId = "http://www.roblox.com/asset/?id=0"
  837. b3.TextureId = ""
  838. b3.MeshType = Enum.MeshType.FileMesh
  839. b3.Name = "Mesh"
  840. b3.VertexColor = Vector3.new(0, 0, 0)
  841. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  842. p4 = Instance.new("Part", m)
  843. p4.BrickColor = BrickColor.new("Bright white")
  844. p4.FormFactor = Enum.FormFactor.Symmetric
  845. p4.Size = Vector3.new(1, 1, 1)
  846. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  847. p4.CanCollide = false
  848. p4.Locked = true
  849. p4.BottomSurface = Enum.SurfaceType.Smooth
  850. p4.TopSurface = Enum.SurfaceType.Smooth
  851. b4 = Instance.new("SpecialMesh", p4)
  852. b4.MeshId = "http://www.roblox.com/asset/?id=0"
  853. b4.TextureId = ""
  854. b4.MeshType = Enum.MeshType.FileMesh
  855. b4.Name = "Mesh"
  856. b4.VertexColor = Vector3.new(0, 0, 0)
  857. p5 = Instance.new("Part", m)
  858. p5.BrickColor = BrickColor.new("Bright white")
  859. p5.FormFactor = Enum.FormFactor.Symmetric
  860. p5.Size = Vector3.new(1, 1, 1)
  861. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  862. p5.CanCollide = false
  863. p5.Locked = true
  864. p5.BottomSurface = Enum.SurfaceType.Smooth
  865. p5.TopSurface = Enum.SurfaceType.Smooth
  866. b5 = Instance.new("SpecialMesh", p5)
  867. b5.MeshId = "http://www.roblox.com/asset/?id=0"
  868. b5.TextureId = ""
  869. b5.MeshType = Enum.MeshType.FileMesh
  870. b5.Name = "Mesh"
  871. b5.VertexColor = Vector3.new(0, 0, 0)
  872. b5.Scale = Vector3.new(1, 0.899999976, 1)
  873. p6 = Instance.new("Part", m)
  874. p6.BrickColor = BrickColor.new("Bright white")
  875. p6.FormFactor = Enum.FormFactor.Symmetric
  876. p6.Size = Vector3.new(1, 1, 1)
  877. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  878. p6.CanCollide = false
  879. p6.Locked = true
  880. p6.BottomSurface = Enum.SurfaceType.Smooth
  881. p6.TopSurface = Enum.SurfaceType.Smooth
  882. b6 = Instance.new("SpecialMesh", p6)
  883. b6.MeshId = "http://www.roblox.com/asset/?id=0"
  884. b6.TextureId = ""
  885. b6.MeshType = Enum.MeshType.FileMesh
  886. b6.Name = "Mesh"
  887. b6.VertexColor = Vector3.new(0, 0, 0)
  888. p7 = Instance.new("Part", m)
  889. p7.BrickColor = BrickColor.new("Bright white")
  890. p7.FormFactor = Enum.FormFactor.Symmetric
  891. p7.Size = Vector3.new(1, 1, 1)
  892. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  893. p7.CanCollide = false
  894. p7.Locked = true
  895. p7.BottomSurface = Enum.SurfaceType.Smooth
  896. p7.TopSurface = Enum.SurfaceType.Smooth
  897. b7 = Instance.new("SpecialMesh", p7)
  898. b7.MeshId = "http://www.roblox.com/asset/?id=0"
  899. b7.TextureId = ""
  900. b7.MeshType = Enum.MeshType.FileMesh
  901. b7.Name = "Mesh"
  902. b7.VertexColor = Vector3.new(0, 0, 0)
  903. p8 = Instance.new("Part", m)
  904. p8.BrickColor = BrickColor.new("Bright white")
  905. p8.FormFactor = Enum.FormFactor.Symmetric
  906. p8.Size = Vector3.new(1, 1, 1)
  907. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  908. p8.CanCollide = false
  909. p8.Locked = true
  910. p8.BottomSurface = Enum.SurfaceType.Smooth
  911. p8.TopSurface = Enum.SurfaceType.Smooth
  912. b8 = Instance.new("SpecialMesh", p8)
  913. b8.MeshId = "http://www.roblox.com/asset/?id=0"
  914. b8.TextureId = ""
  915. b8.MeshType = Enum.MeshType.FileMesh
  916. b8.Name = "Mesh"
  917. b8.VertexColor = Vector3.new(0, 0, 0)
  918. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  919. p9 = Instance.new("Part", m)
  920. p9.BrickColor = BrickColor.new("Bright white")
  921. p9.FormFactor = Enum.FormFactor.Symmetric
  922. p9.Size = Vector3.new(2, 1, 2)
  923. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  924. p9.CanCollide = false
  925. p9.Locked = true
  926. p9.BottomSurface = Enum.SurfaceType.Smooth
  927. p9.TopSurface = Enum.SurfaceType.Smooth
  928. b9 = Instance.new("SpecialMesh", p9)
  929. b9.MeshId = "http://www.roblox.com/asset/?id=0"
  930. b9.TextureId = ""
  931. b9.MeshType = Enum.MeshType.FileMesh
  932. b9.Name = "Mesh"
  933. b9.VertexColor = Vector3.new(0, 0, 0)
  934. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  935. p10 = Instance.new("Part", m)
  936. p10.BrickColor = BrickColor.new("Bright white")
  937. p10.FormFactor = Enum.FormFactor.Symmetric
  938. p10.Size = Vector3.new(1, 1, 1)
  939. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  940. p10.CanCollide = false
  941. p10.Locked = true
  942. p10.BottomSurface = Enum.SurfaceType.Smooth
  943. p10.TopSurface = Enum.SurfaceType.Smooth
  944. b10 = Instance.new("SpecialMesh", p10)
  945. b10.MeshId = "http://www.roblox.com/asset/?id=0"
  946. b10.TextureId = ""
  947. b10.MeshType = Enum.MeshType.FileMesh
  948. b10.Name = "Mesh"
  949. b10.VertexColor = Vector3.new(0, 0, 0)
  950. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  951. p11 = Instance.new("Part", m)
  952. p11.BrickColor = BrickColor.new("Bright white")
  953. p11.FormFactor = Enum.FormFactor.Symmetric
  954. p11.Size = Vector3.new(1, 1, 1)
  955. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  956. p11.CanCollide = false
  957. p11.Locked = true
  958. p11.BottomSurface = Enum.SurfaceType.Smooth
  959. p11.TopSurface = Enum.SurfaceType.Smooth
  960. b11 = Instance.new("SpecialMesh", p11)
  961. b11.MeshId = "http://www.roblox.com/asset/?id=0"
  962. b11.TextureId = ""
  963. b11.MeshType = Enum.MeshType.FileMesh
  964. b11.Name = "Mesh"
  965. b11.VertexColor = Vector3.new(0, 0, 0)
  966. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  967. p12 = Instance.new("Part", m)
  968. p12.BrickColor = BrickColor.new("Bright white")
  969. p12.FormFactor = Enum.FormFactor.Custom
  970. p12.Size = Vector3.new(1, 3.5, 1)
  971. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  972. p12.CanCollide = false
  973. p12.Locked = true
  974. p12.BottomSurface = Enum.SurfaceType.Smooth
  975. p12.TopSurface = Enum.SurfaceType.Smooth
  976. b12 = Instance.new("SpecialMesh", p12)
  977. b12.MeshId = "http://www.roblox.com/asset/?id=0"
  978. b12.TextureId = ""
  979. b12.MeshType = Enum.MeshType.FileMesh
  980. b12.Name = "Mesh"
  981. b12.VertexColor = Vector3.new(0, 0, 0)
  982. b12.Scale = Vector3.new(1, 3, 1.29999995)
  983. p13 = Instance.new("Part", m)
  984. p13.BrickColor = BrickColor.new("Bright white")
  985. p13.FormFactor = Enum.FormFactor.Custom
  986. p13.Size = Vector3.new(1, 2, 1)
  987. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  988. p13.CanCollide = false
  989. p13.Locked = true
  990. p13.BottomSurface = Enum.SurfaceType.Smooth
  991. p13.TopSurface = Enum.SurfaceType.Smooth
  992. b13 = Instance.new("SpecialMesh", p13)
  993. b13.MeshId = "http://www.roblox.com/asset/?id=0"
  994. b13.TextureId = ""
  995. b13.MeshType = Enum.MeshType.FileMesh
  996. b13.Name = "Mesh"
  997. b13.VertexColor = Vector3.new(0, 0, 0)
  998. b13.Scale = Vector3.new(1, 3, 1.29999995)
  999. p14 = Instance.new("Part", m)
  1000. p14.BrickColor = BrickColor.new("Bright white")
  1001. p14.FormFactor = Enum.FormFactor.Custom
  1002. p14.Size = Vector3.new(1, 2, 1)
  1003. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  1004. p14.CanCollide = false
  1005. p14.Locked = true
  1006. p14.BottomSurface = Enum.SurfaceType.Smooth
  1007. p14.TopSurface = Enum.SurfaceType.Smooth
  1008. b14 = Instance.new("SpecialMesh", p14)
  1009. b14.MeshId = "http://www.roblox.com/asset/?id=0"
  1010. b14.TextureId = ""
  1011. b14.MeshType = Enum.MeshType.FileMesh
  1012. b14.Name = "Mesh"
  1013. b14.VertexColor = Vector3.new(0, 0, 0)
  1014. b14.Scale = Vector3.new(1, 3, 1.29999995)
  1015. p15 = Instance.new("Part", m)
  1016. p15.BrickColor = BrickColor.new("Bright white")
  1017. p15.FormFactor = Enum.FormFactor.Custom
  1018. p15.Size = Vector3.new(1, 2.5, 1)
  1019. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  1020. p15.CanCollide = false
  1021. p15.Locked = true
  1022. p15.BottomSurface = Enum.SurfaceType.Smooth
  1023. p15.TopSurface = Enum.SurfaceType.Smooth
  1024. b15 = Instance.new("SpecialMesh", p15)
  1025. b15.MeshId = "http://www.roblox.com/asset/?id=0"
  1026. b15.TextureId = ""
  1027. b15.MeshType = Enum.MeshType.FileMesh
  1028. b15.Name = "Mesh"
  1029. b15.VertexColor = Vector3.new(0, 0, 0)
  1030. b15.Scale = Vector3.new(1, 3, 1.29999995)
  1031. p16 = Instance.new("Part", m)
  1032. p16.BrickColor = BrickColor.new("Bright white")
  1033. p16.FormFactor = Enum.FormFactor.Custom
  1034. p16.Size = Vector3.new(1, 2.5, 1)
  1035. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  1036. p16.CanCollide = false
  1037. p16.Locked = true
  1038. p16.BottomSurface = Enum.SurfaceType.Smooth
  1039. p16.TopSurface = Enum.SurfaceType.Smooth
  1040. b16 = Instance.new("SpecialMesh", p16)
  1041. b16.MeshId = "http://www.roblox.com/asset/?id=0"
  1042. b16.TextureId = ""
  1043. b16.MeshType = Enum.MeshType.FileMesh
  1044. b16.Name = "Mesh"
  1045. b16.VertexColor = Vector3.new(0, 0, 0)
  1046. b16.Scale = Vector3.new(1, 3, 1.29999995)
  1047. p17 = Instance.new("Part", m)
  1048. p17.BrickColor = BrickColor.new("Bright white")
  1049. p17.FormFactor = Enum.FormFactor.Custom
  1050. p17.Size = Vector3.new(1, 2.4000001, 1)
  1051. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  1052. p17.CanCollide = false
  1053. p17.Locked = true
  1054. p17.BottomSurface = Enum.SurfaceType.Smooth
  1055. p17.TopSurface = Enum.SurfaceType.Smooth
  1056. b17 = Instance.new("SpecialMesh", p17)
  1057. b17.MeshId = "http://www.roblox.com/asset/?id=0"
  1058. b17.TextureId = ""
  1059. b17.MeshType = Enum.MeshType.FileMesh
  1060. b17.Name = "Mesh"
  1061. b17.VertexColor = Vector3.new(0, 0, 0)
  1062. b17.Scale = Vector3.new(1, 3, 1.29999995)
  1063. p18 = Instance.new("Part", m)
  1064. p18.BrickColor = BrickColor.new("Bright white")
  1065. p18.FormFactor = Enum.FormFactor.Custom
  1066. p18.Size = Vector3.new(2, 2, 2)
  1067. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  1068. p18.CanCollide = false
  1069. p18.Locked = true
  1070. p18.BottomSurface = Enum.SurfaceType.Smooth
  1071. p18.TopSurface = Enum.SurfaceType.Smooth
  1072. b18 = Instance.new("SpecialMesh", p18)
  1073. b18.MeshId = "http://www.roblox.com/asset/?id=0"
  1074. b18.TextureId = ""
  1075. b18.MeshType = Enum.MeshType.FileMesh
  1076. b18.Name = "Mesh"
  1077. b18.VertexColor = Vector3.new(0, 0, 0)
  1078. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  1079. w1 = Instance.new("Weld", p1)
  1080. w1.Name = "Head_Weld"
  1081. m.Parent = char
  1082. m:MakeJoints()
  1083. ----------------------------------------------------
  1084. local cor = Instance.new("Part", char.Hair)
  1085. cor.Name = "Link"
  1086. cor.Locked = true
  1087. cor.BottomSurface = 0
  1088. cor.CanCollide = false
  1089. cor.Size = Vector3.new(1, 9, 1)
  1090. cor.Transparency = 1
  1091. cor.TopSurface = 0
  1092. corw = Instance.new("Weld", cor)
  1093. corw.Part0 = hed
  1094. corw.Part1 = cor
  1095. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1096. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1097. weld1 = Instance.new("Weld", char.Hair)
  1098. weld1.Part0 = cor
  1099. weld1.Part1 = char.Hair.Head
  1100. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1101. ----------------------------------------------------
  1102. GroundWave1 = function()
  1103. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1104. local Colors = {"Bright white", "Really red"}
  1105. local wave = Instance.new("Part", torso)
  1106. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1107. wave.Anchored = true
  1108. wave.CanCollide = false
  1109. wave.Locked = true
  1110. wave.Size = Vector3.new(1, 1, 1)
  1111. wave.TopSurface = "Smooth"
  1112. wave.BottomSurface = "Smooth"
  1113. wave.Transparency = 0.35
  1114. wave.CFrame = HandCF
  1115. wm = Instance.new("SpecialMesh", wave)
  1116. wm.MeshId = "rbxassetid://3270017"
  1117. coroutine.wrap(function()
  1118. for i = 1, 30, 1 do
  1119. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  1120. wave.Size = wm.Scale
  1121. wave.CFrame = HandCF
  1122. wave.Transparency = i/30
  1123. wait()
  1124. end
  1125. wait()
  1126. wave:Destroy()
  1127. end)()
  1128. end
  1129. ----------------------------------------------------
  1130. GroundWave = function()
  1131. if Transforming == true then
  1132. local wave = Instance.new("Part", torso)
  1133. wave.BrickColor = BrickColor.new("Electric blue")
  1134. wave.Anchored = true
  1135. wave.CanCollide = false
  1136. wave.Locked = true
  1137. wave.Size = Vector3.new(1, 1, 1)
  1138. wave.TopSurface = "Smooth"
  1139. wave.BottomSurface = "Smooth"
  1140. wave.Transparency = 0.35
  1141. wave.CFrame = fx.CFrame
  1142. wm = Instance.new("SpecialMesh", wave)
  1143. wm.MeshType = "Sphere"
  1144. wm.Scale = Vector3.new(1,1,1)
  1145. coroutine.wrap(function()
  1146. for i = 1, 18, 1 do
  1147. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1148. --wave.Size = wm.Scale
  1149. wave.CFrame = fx.CFrame
  1150. wave.Transparency = i/14
  1151. wait()
  1152. end
  1153. wait()
  1154. wave:Destroy()
  1155. end)()
  1156. elseif Transforming == false then
  1157. wait()
  1158. end
  1159. end
  1160.  
  1161. for i = 1, 100 do rs:wait()
  1162. fx.CFrame = torso.CFrame
  1163. end
  1164.  
  1165. Spawn(function()
  1166. while wait(1) do
  1167. GroundWave()
  1168. end
  1169. end)
  1170.  
  1171. wait(4)
  1172.  
  1173. Transforming = false
  1174.  
  1175. for i = 1, 20 do rs:wait()
  1176. fx.Transparency = fx.Transparency + (1/20)
  1177. fx.CFrame = torso.CFrame
  1178. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1179. rs:wait()
  1180. end
  1181.  
  1182. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1183. local wave = Instance.new("Part", torso)
  1184. wave.BrickColor = BrickColor.new("Institutional white")
  1185. wave.Anchored = true
  1186. wave.CanCollide = false
  1187. wave.Locked = true
  1188. wave.Size = Vector3.new(1, 1, 1)
  1189. wave.TopSurface = "Smooth"
  1190. wave.BottomSurface = "Smooth"
  1191. wave.Transparency = 0.35
  1192. wave.CFrame = HandCF
  1193. wm = Instance.new("SpecialMesh", wave)
  1194. wm.MeshId = "rbxassetid://3270017"
  1195. coroutine.wrap(function()
  1196. for i = 1, 14, 1 do
  1197. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1198. wave.Size = wm.Scale
  1199. wave.CFrame = HandCF
  1200. wave.Transparency = i/14
  1201. wait()
  1202. end
  1203. wait()
  1204. wave:Destroy()
  1205. end)()
  1206. hum.WalkSpeed = 16
  1207. ----------------------------------------------------
  1208. Blast = function()
  1209. local Colors = {"Really red", "Really black"}
  1210. local wave = Instance.new("Part", torso)
  1211. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1212. wave.Anchored = true
  1213. wave.CanCollide = false
  1214. wave.Locked = true
  1215. wave.Size = Vector3.new(1, 1, 1)
  1216. wave.TopSurface = "Smooth"
  1217. wave.BottomSurface = "Smooth"
  1218. wave.Transparency = 0.35
  1219. wave.CFrame = rarm.CFrame
  1220. wm = Instance.new("SpecialMesh", wave)
  1221. wm.MeshType = "Sphere"
  1222. wm.Scale = Vector3.new(1,1,1)
  1223. z = Instance.new("Sound",wave)
  1224. z.SoundId = "rbxassetid://1280414"
  1225. z.Volume = 8
  1226. z.Pitch = .9
  1227. z:Play()
  1228. coroutine.wrap(function()
  1229. for i = 1, 30, 1 do
  1230. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1231. --wave.Size = wm.Scale
  1232. wave.CFrame = rarm.CFrame
  1233. wave.Transparency = (1/14)
  1234. rs:wait()
  1235. end
  1236. rs:wait()
  1237. wave:Destroy()
  1238. z:Destroy()
  1239. end)()
  1240. end
  1241. ----------------------------------------------------
  1242. rarm.Touched:connect(function(ht)
  1243. hit = ht.Parent
  1244. if ht and hit:IsA("Model") then
  1245. if hit:FindFirstChild("Humanoid") then
  1246. if hit.Name ~= p.Name then
  1247. if Debounces.RPunch == true and Debounces.RPunched == false then
  1248. Debounces.RPunched = true
  1249. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1250. if Debounces.ks==true then
  1251. z = Instance.new("Sound",hed)
  1252. z.SoundId = "rbxassetid://169380525"
  1253. z.Pitch = ptz[math.random(1,#ptz)]
  1254. z.Volume = 1
  1255. z:Play()
  1256. end
  1257. wait(.2)
  1258. Debounces.RPunched = false
  1259. end
  1260. end
  1261. end
  1262. elseif ht and hit:IsA("Hat") then
  1263. if hit.Parent.Name ~= p.Name then
  1264. if hit.Parent:FindFirstChild("Humanoid") then
  1265. if Debounces.RPunch == true and Debounces.RPunched == false then
  1266. Debounces.RPunched = true
  1267. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1268. if Debounces.ks==true then
  1269. z = Instance.new("Sound",hed)
  1270. z.SoundId = "rbxassetid://169380525"
  1271. z.Pitch = ptz[math.random(1,#ptz)]
  1272. z.Volume = 1
  1273. z:Play()
  1274. end
  1275. wait(.2)
  1276. Debounces.RPunched = false
  1277. end
  1278. end
  1279. end
  1280. end
  1281. end)
  1282. larm.Touched:connect(function(ht)
  1283. hit = ht.Parent
  1284. if ht and hit:IsA("Model") then
  1285. if hit:FindFirstChild("Humanoid") then
  1286. if hit.Name ~= p.Name then
  1287. if Debounces.LPunch == true and Debounces.LPunched == false then
  1288. Debounces.LPunched = true
  1289. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1290. if Debounces.ks2==true then
  1291. z = Instance.new("Sound",hed)
  1292. z.SoundId = "rbxassetid://169380525"
  1293. z.Pitch = ptz[math.random(1,#ptz)]
  1294. z.Volume = 1
  1295. z:Play()
  1296. end
  1297. wait(.2)
  1298. Debounces.LPunched = false
  1299. end
  1300. end
  1301. end
  1302. elseif ht and hit:IsA("Hat") then
  1303. if hit.Parent.Name ~= p.Name then
  1304. if hit.Parent:FindFirstChild("Humanoid") then
  1305. if Debounces.LPunch == true and Debounces.LPunched == false then
  1306. Debounces.LPunched = true
  1307. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1308. if Debounces.ks2==true then
  1309. z = Instance.new("Sound",hed)
  1310. z.SoundId = "rbxassetid://169380525"
  1311. z.Pitch = ptz[math.random(1,#ptz)]
  1312. z.Volume = 1
  1313. z:Play()
  1314. end
  1315. wait(.2)
  1316. Debounces.LPunched = false
  1317. end
  1318. end
  1319. end
  1320. end
  1321. end)
  1322. ----------------------------------------------------
  1323. mod4 = Instance.new("Model",char)
  1324.  
  1325. ptez = {0.7, 0.8, 0.9, 1}
  1326.  
  1327. function FindNearestTorso(Position,Distance,SinglePlayer)
  1328. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1329. local List = {}
  1330. for i,v in pairs(workspace:GetChildren())do
  1331. if v:IsA("Model")then
  1332. if v:findFirstChild("Torso")then
  1333. if v ~= char then
  1334. if(v.Torso.Position -Position).magnitude <= Distance then
  1335. table.insert(List,v)
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. return List
  1342. end
  1343.  
  1344. function Punch()
  1345. part=Instance.new('Part',mod4)
  1346. part.Anchored=true
  1347. part.CanCollide=false
  1348. part.FormFactor='Custom'
  1349. part.Size=Vector3.new(.2,.2,.2)
  1350. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1351. part.Transparency=.7
  1352. part.BrickColor=BrickColor.new('Really red')
  1353. mesh=Instance.new('SpecialMesh',part)
  1354. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1355. mesh.Scale=Vector3.new(3,3,3)
  1356. part2=Instance.new('Part',mod4)
  1357. part2.Anchored=true
  1358. part2.CanCollide=false
  1359. part2.FormFactor='Custom'
  1360. part2.Size=Vector3.new(.2,.2,.2)
  1361. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1362. part2.Transparency=.7
  1363. part2.BrickColor=BrickColor.new('Cyan')
  1364. mesh2=Instance.new('SpecialMesh',part2)
  1365. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1366. mesh2.Scale=Vector3.new(3,1.5,3)
  1367. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1368. if v:FindFirstChild('Humanoid') then
  1369. v.Humanoid:TakeDamage(math.random(2,6))
  1370. end
  1371. end
  1372. coroutine.resume(coroutine.create(function()
  1373. for i=0,0.62,0.4 do
  1374. wait()
  1375. part.CFrame=part.CFrame
  1376. part.Transparency=i
  1377. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1378. part2.CFrame=part2.CFrame
  1379. part2.Transparency=i
  1380. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1381. end
  1382. part.Parent=nil
  1383. part2.Parent=nil
  1384. end))
  1385. end
  1386. ----------------------------------------------------
  1387. rarm.Touched:connect(function(ht)
  1388. hit = ht.Parent
  1389. if ht and hit:IsA("Model") then
  1390. if hit:FindFirstChild("Humanoid") then
  1391. if hit.Name ~= p.Name then
  1392. if Debounces.RPunch == true and Debounces.RPunched == false then
  1393. Debounces.RPunched = true
  1394. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1395. if Debounces.ks==true then
  1396. z = Instance.new("Sound",hed)
  1397. z.SoundId = "rbxassetid://169380525"
  1398. z.Pitch = ptz[math.random(1,#ptz)]
  1399. z.Volume = 1
  1400. z:Play()
  1401. end
  1402. wait(.2)
  1403. Debounces.RPunched = false
  1404. end
  1405. end
  1406. end
  1407. elseif ht and hit:IsA("Hat") then
  1408. if hit.Parent.Name ~= p.Name then
  1409. if hit.Parent:FindFirstChild("Humanoid") then
  1410. if Debounces.RPunch == true and Debounces.RPunched == false then
  1411. Debounces.RPunched = true
  1412. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1413. if Debounces.ks==true then
  1414. z = Instance.new("Sound",hed)
  1415. z.SoundId = "rbxassetid://169380525"
  1416. z.Pitch = ptz[math.random(1,#ptz)]
  1417. z.Volume = 1
  1418. z:Play()
  1419. end
  1420. wait(.2)
  1421. Debounces.RPunched = false
  1422. end
  1423. end
  1424. end
  1425. end
  1426. end)
  1427. larm.Touched:connect(function(ht)
  1428. hit = ht.Parent
  1429. if ht and hit:IsA("Model") then
  1430. if hit:FindFirstChild("Humanoid") then
  1431. if hit.Name ~= p.Name then
  1432. if Debounces.LPunch == true and Debounces.LPunched == false then
  1433. Debounces.LPunched = true
  1434. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1435. if Debounces.ks2==true then
  1436. z = Instance.new("Sound",hed)
  1437. z.SoundId = "rbxassetid://169380525"
  1438. z.Pitch = ptz[math.random(1,#ptz)]
  1439. z.Volume = 1
  1440. z:Play()
  1441. end
  1442. wait(.2)
  1443. Debounces.LPunched = false
  1444. end
  1445. end
  1446. end
  1447. elseif ht and hit:IsA("Hat") then
  1448. if hit.Parent.Name ~= p.Name then
  1449. if hit.Parent:FindFirstChild("Humanoid") then
  1450. if Debounces.LPunch == true and Debounces.LPunched == false then
  1451. Debounces.LPunched = true
  1452. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1453. if Debounces.ks2==true then
  1454. z = Instance.new("Sound",hed)
  1455. z.SoundId = "rbxassetid://169380525"
  1456. z.Pitch = ptz[math.random(1,#ptz)]
  1457. z.Volume = 1
  1458. z:Play()
  1459. end
  1460. wait(.2)
  1461. Debounces.LPunched = false
  1462. end
  1463. end
  1464. end
  1465. end
  1466. end)
  1467. ----------------------------------------------------
  1468. local player = game.Players.LocalPlayer
  1469. local pchar = player.Character
  1470. local mouse = player:GetMouse()
  1471. local cam = workspace.CurrentCamera
  1472.  
  1473. local rad = math.rad
  1474.  
  1475. local keysDown = {}
  1476. local flySpeed = 0
  1477. local MAX_FLY_SPEED = 150
  1478.  
  1479. local canFly = false
  1480. local flyToggled = false
  1481.  
  1482. local forward, side = 0, 0
  1483. local lastForward, lastSide = 0, 0
  1484.  
  1485. local floatBP = Instance.new("BodyPosition")
  1486. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1487. local flyBV = Instance.new("BodyVelocity")
  1488. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1489. local turnBG = Instance.new("BodyGyro")
  1490. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1491.  
  1492. mouse.KeyDown:connect(function(key)
  1493. keysDown[key] = true
  1494.  
  1495. if key == "f" then
  1496. flyToggled = not flyToggled
  1497.  
  1498. if not flyToggled then
  1499. stanceToggle = "Normal"
  1500. floatBP.Parent = nil
  1501. flyBV.Parent = nil
  1502. turnBG.Parent = nil
  1503. root.Velocity = Vector3.new()
  1504. pchar.Humanoid.PlatformStand = false
  1505. end
  1506. end
  1507.  
  1508. end)
  1509. mouse.KeyUp:connect(function(key)
  1510. keysDown[key] = nil
  1511. end)
  1512.  
  1513. local function updateFly()
  1514.  
  1515. if not flyToggled then return end
  1516.  
  1517. lastForward = forward
  1518. lastSide = side
  1519.  
  1520. forward = 0
  1521. side = 0
  1522.  
  1523. if keysDown.w then
  1524. forward = forward + 1
  1525. end
  1526. if keysDown.s then
  1527. forward = forward - 1
  1528. end
  1529. if keysDown.a then
  1530. side = side - 1
  1531. end
  1532. if keysDown.d then
  1533. side = side + 1
  1534. end
  1535.  
  1536. canFly = (forward ~= 0 or side ~= 0)
  1537.  
  1538. if canFly then
  1539. stanceToggle = "Floating"
  1540. turnBG.Parent = root
  1541. floatBP.Parent = nil
  1542. flyBV.Parent = root
  1543.  
  1544. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1545. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1546. else
  1547. floatBP.position = root.Position
  1548. floatBP.Parent = root
  1549.  
  1550. flySpeed = flySpeed - 1
  1551. if flySpeed < 0 then flySpeed = 0 end
  1552. end
  1553.  
  1554. local camCF = cam.CoordinateFrame
  1555. local in_forward = canFly and forward or lastForward
  1556. local in_side = canFly and side or lastSide
  1557.  
  1558. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1559. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1560.  
  1561. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1562. 0)
  1563. end
  1564.  
  1565. game:service'RunService'.RenderStepped:connect(function()
  1566. if flyToggled then
  1567. pchar.Humanoid.PlatformStand = true
  1568. end
  1569. updateFly()
  1570. end)
  1571. -------------------------------
  1572. mouse.KeyDown:connect(function(key)
  1573. if key == "q" then
  1574. if Debounces.CanAttack == true then
  1575. Debounces.CanAttack = false
  1576. Debounces.NoIdl = true
  1577. Debounces.on = true
  1578. function FindNearestTorso(Position,Distance,SinglePlayer)
  1579. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1580. local List = {}
  1581. for i,v in pairs(workspace:GetChildren())do
  1582. if v:IsA("Model")then
  1583. if v:findFirstChild("Torso")then
  1584. if v ~= char then
  1585. if(v.Torso.Position -Position).magnitude <= Distance then
  1586. table.insert(List,v)
  1587. end
  1588. end
  1589. end
  1590. end
  1591. end
  1592. return List
  1593. end
  1594. z = Instance.new("Sound",hed)
  1595. z.SoundId = "rbxassetid://232213955"
  1596. z.Pitch = 1
  1597. z.Volume = 1
  1598. wait(0.2)
  1599. z:Play()
  1600. sp = Instance.new("Part",rarm)
  1601. sp.Anchored = true
  1602. sp.CanCollide = false
  1603. sp.Locked = true
  1604. sp.Transparency = 0
  1605. sp.Material = "Neon"
  1606. sp.Size = Vector3.new(1,1,1)
  1607. sp.TopSurface = "SmoothNoOutlines"
  1608. sp.BottomSurface = "SmoothNoOutlines"
  1609. sp.BrickColor = BrickColor.new("institutional white")
  1610. spm = Instance.new("SpecialMesh",sp)
  1611. spm.MeshType = "Sphere"
  1612. spm.Scale = Vector3.new(21,21,21)
  1613. sp2 = Instance.new("Part", rarm)
  1614. sp2.Name = "Energy"
  1615. sp2.BrickColor = BrickColor.new("institutional white")
  1616. sp2.Size = Vector3.new(1, 1, 1)
  1617. sp2.Shape = "Ball"
  1618. sp2.CanCollide = false
  1619. sp2.Anchored = true
  1620. sp2.Locked = true
  1621. sp2.TopSurface = 0
  1622. sp2.BottomSurface = 0
  1623. sp2.Transparency = 1
  1624. spm2 = Instance.new("SpecialMesh",sp2)
  1625. spm2.MeshId = "rbxassetid://9982590"
  1626. spm2.Scale = Vector3.new(2,2,2)
  1627. for i = 1, 20 do
  1628. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1629. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1630. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1631. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1632. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1633. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1634. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1635. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1636. if Debounces.on == false then break end
  1637. rs:wait()
  1638. end
  1639. for i = 1, 100, 20 do rs:wait()
  1640. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1641. end
  1642. for i = 1, 20 do
  1643. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1644. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1645. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1646. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1647. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1648. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1649. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1650. if Debounces.on == false then break end
  1651. rs:wait()
  1652. end
  1653. sp.Transparency = 1
  1654. for i = 1, 20 do
  1655. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1656. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1657. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1658. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1659. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1660. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1661. if Debounces.on == false then break end
  1662. rs:wait()
  1663. end
  1664. wait(1)
  1665. sp.Transparency = 0
  1666. sp2.Transparency = 0.84
  1667. for i = 1, 20 do
  1668. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1669. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1670. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1671. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1672. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1673. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1674. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1675. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1676. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1677. if Debounces.on == false then break end
  1678. rs:wait()
  1679. end
  1680. for i = 1, 2880, 50 do
  1681. rs:wait()
  1682. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1683. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1684. rs:wait()
  1685. end
  1686. sp:Destroy()
  1687. sp2:Destroy()
  1688. local X = Instance.new("Part",char)
  1689. local O = Instance.new("ObjectValue",X)
  1690. O.Name = "creator"
  1691. X.Locked = true
  1692. X.Name = "Shell"
  1693. X.Anchored = false
  1694. X.CanCollide = false
  1695. X.Transparency = 0
  1696. X.Reflectance = 0
  1697. X.BottomSurface = 0
  1698. X.TopSurface = 0
  1699. X.Shape = 0
  1700. local V = Instance.new("ObjectValue",X)
  1701. V.Value = char
  1702. V.Name = "creator"
  1703. X.BrickColor = BrickColor.new("institutional white")
  1704. X.Size = Vector3.new(2,2,2)
  1705. X.Material = "Neon"
  1706. local Z = Instance.new("SpecialMesh",X)
  1707. Z.MeshType = "Sphere"
  1708. Z.Scale = Vector3.new(0.5,0.5,1)
  1709. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1710. local bv = Instance.new("BodyVelocity",X)
  1711. bv.maxForce = Vector3.new(99999,99999,99999)
  1712. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1713. bv.velocity = X.CFrame.lookVector*65
  1714.  
  1715. Explode = X.Touched:connect(function(hit)
  1716. if hit ~= char and hit.Name ~= "Shell" then
  1717. local cf = X.CFrame
  1718. bv:Destroy()
  1719. X.Anchored = true
  1720. Z:Remove()
  1721. Explode:disconnect()
  1722. X.Size = Vector3.new(3,3,3)
  1723. X.Touched:connect(function(hit) end)
  1724. X.CanCollide = false
  1725. local part3 = Instance.new("Part", rarm)
  1726. part3.Anchored=true
  1727. part3.CanCollide=false
  1728. part3.Locked = true
  1729. part3.TopSurface = "SmoothNoOutlines"
  1730. part3.BottomSurface = "SmoothNoOutlines"
  1731. part3.FormFactor='Custom'
  1732. part3.Size=Vector3.new(1,1, 1)
  1733. part3.CFrame=X.CFrame
  1734. part3.Transparency=0
  1735. part3.BrickColor=BrickColor.new("institutional white")
  1736. local mesh3 = Instance.new("SpecialMesh",part3)
  1737. mesh3.MeshType = "Sphere"
  1738. mesh3.Scale = Vector3.new(1,1,1)
  1739. --debris:AddItem(X,8)
  1740. local part4 = Instance.new("Part", rarm)
  1741. part4.Material = "Neon"
  1742. part4.Anchored=true
  1743. part4.CanCollide=false
  1744. part4.Locked = true
  1745. part4.TopSurface = "SmoothNoOutlines"
  1746. part4.BottomSurface = "SmoothNoOutlines"
  1747. part4.FormFactor='Custom'
  1748. part4.Size=Vector3.new(1,1, 1)
  1749. part4.CFrame=X.CFrame
  1750. part4.Transparency=0
  1751. part4.BrickColor=BrickColor.new("Cyan")
  1752. local mesh4 = Instance.new("SpecialMesh",part4)
  1753. mesh4.MeshType = "Sphere"
  1754. mesh4.Scale = Vector3.new(.5,.5,.5)
  1755. local part7 = Instance.new("Part", rarm)
  1756. part7.Material = "Neon"
  1757. part7.Anchored=true
  1758. part7.CanCollide=false
  1759. part7.Locked = true
  1760. part7.TopSurface = "SmoothNoOutlines"
  1761. part7.BottomSurface = "SmoothNoOutlines"
  1762. part7.FormFactor='Custom'
  1763. part7.Size=Vector3.new(1,1, 1)
  1764. part7.CFrame=X.CFrame
  1765. part7.Transparency=0
  1766. part7.BrickColor=BrickColor.new("Really black")
  1767. local mesh7 = Instance.new("SpecialMesh",part7)
  1768. mesh7.MeshType = "Sphere"
  1769. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1770. --[[X.Touched:connect(function(ht)
  1771. hit = ht.Parent
  1772. if ht and hit:IsA("Model") then
  1773. if hit:FindFirstChild("Humanoid") then
  1774. if hit.Name ~= p.Name then
  1775. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1776. wait(.3)
  1777. end
  1778. end
  1779. elseif ht and hit:IsA("Hat") then
  1780. if hit.Parent.Name ~= p.Name then
  1781. if hit.Parent:FindFirstChild("Humanoid") then
  1782. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1783. wait(.3)
  1784. end
  1785. end
  1786. end
  1787. end)
  1788. part3.Touched:connect(function(ht)
  1789. hit = ht.Parent
  1790. if ht and hit:IsA("Model") then
  1791. if hit:FindFirstChild("Humanoid") then
  1792. if hit.Name ~= p.Name then
  1793. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1794. wait(.3)
  1795. end
  1796. end
  1797. elseif ht and hit:IsA("Hat") then
  1798. if hit.Parent.Name ~= p.Name then
  1799. if hit.Parent:FindFirstChild("Humanoid") then
  1800. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1801. wait(.3)
  1802. end
  1803. end
  1804. end
  1805. end)]]--
  1806. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1807. if v:FindFirstChild('Humanoid') then
  1808. v.Humanoid:TakeDamage(math.random(60,90))
  1809. v.Humanoid.PlatformStand = true
  1810. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1811. end
  1812. end
  1813.  
  1814. local acos = math.acos
  1815. local sqrt = math.sqrt
  1816. local Vec3 = Vector3.new
  1817. local fromAxisAngle = CFrame.fromAxisAngle
  1818.  
  1819. local function toAxisAngle(CFr)
  1820. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1821. local Angle = math.acos((R00+R11+R22-1)/2)
  1822. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1823. A = A == 0 and 0.00001 or A
  1824. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1825. B = B == 0 and 0.00001 or B
  1826. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1827. C = C == 0 and 0.00001 or C
  1828. local x = (R21-R12)/sqrt(A)
  1829. local y = (R02-R20)/sqrt(B)
  1830. local z = (R10-R01)/sqrt(C)
  1831. return Vec3(x,y,z),Angle
  1832. end
  1833.  
  1834. function ApplyTrig(Num,Func)
  1835. local Min,Max = Func(0),Func(1)
  1836. local i = Func(Num)
  1837. return (i-Min)/(Max-Min)
  1838. end
  1839.  
  1840. function LerpCFrame(CFrame1,CFrame2,Num)
  1841. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1842. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1843. end
  1844.  
  1845. function Crater(Torso,Radius)
  1846. Spawn(function()
  1847. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1848. local Ignore = {}
  1849. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1850. if v.Character ~= nil then
  1851. Ignore[#Ignore+1] = v.Character
  1852. end
  1853. end
  1854. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1855. if Hit == nil then return end
  1856. local Parts = {}
  1857. for i = 1,360,10 do
  1858. local P = Instance.new("Part",Torso.Parent)
  1859. P.Anchored = true
  1860. P.FormFactor = "Custom"
  1861. P.BrickColor = Hit.BrickColor
  1862. P.Material = Hit.Material
  1863. P.TopSurface = "Smooth"
  1864. P.BottomSurface = "Smooth"
  1865. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1866. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1867. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1868. if math.random(0,5) == 0 then -- rubble
  1869. local P = Instance.new("Part",Torso.Parent)
  1870. P.Anchored = true
  1871. P.FormFactor = "Custom"
  1872. P.BrickColor = Hit.BrickColor
  1873. P.Material = Hit.Material
  1874. P.TopSurface = "Smooth"
  1875. P.BottomSurface = "Smooth"
  1876. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1877. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1878. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1879. end
  1880. end
  1881. for i = 0,1,0.05 do
  1882. for i2,v in pairs(Parts) do
  1883. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1884. end
  1885. wait(0.02)
  1886. end
  1887. for i,v in pairs(Parts) do
  1888. if v[1].Size.X > 2.1 then
  1889. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1890. end
  1891. v[1].Anchored = false
  1892. end
  1893. for i = 0,1,0.05 do
  1894. for i2,v in pairs(Parts) do
  1895. v[1].Transparency = i
  1896. if i == 1 then
  1897. v[1]:Destroy()
  1898. elseif i >= 0.25 then
  1899. v[1].CanCollide = false
  1900. end
  1901. end
  1902. wait(0.02)
  1903. end
  1904. Parts = nil
  1905. end)
  1906. end
  1907.  
  1908. ROW = function(out, trans, s, wt, t, ang, plus)
  1909. for i = 1, 360, 360/t do
  1910. local c = Instance.new("Part", game.Workspace)
  1911. c.FormFactor = 3
  1912. c.TopSurface = 0
  1913. c.BottomSurface = 0
  1914. c.Size = s
  1915. c.Anchored = true
  1916. c.CanCollide = wt
  1917. c.Material=workspace.Base.Material
  1918. c.Transparency = trans
  1919. c.BrickColor = workspace.Base.BrickColor
  1920. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1921. c.Locked=true
  1922. game.Debris:AddItem(c,15)
  1923. end
  1924. end
  1925.  
  1926. Part = function(x,y,z,color,tr,cc,an,parent)
  1927. local p = Instance.new('Part',parent or Weapon)
  1928. p.formFactor = 'Custom'
  1929. p.Size = Vector3.new(x,y,z)
  1930. p.BrickColor = BrickColor.new(color)
  1931. p.CanCollide = cc
  1932. p.Transparency = tr
  1933. p.Anchored = an
  1934. p.TopSurface,p.BottomSurface = 0,0
  1935. p.Locked=true
  1936. p:BreakJoints()
  1937. return p end
  1938.  
  1939. Mesh = function(par,num,x,y,z)
  1940. local msh = _
  1941. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1942. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1943. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1944. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1945. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1946. end msh.Scale = Vector3.new(x,y,z)
  1947. return msh end
  1948.  
  1949. function explosion(col1,col2,cfr,sz,rng,dmg)
  1950. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1951. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1952. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1953. v1,v2,v3=sz.x,sz.y,sz.z
  1954. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1955. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1956. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1957. a.CFrame=cfr
  1958. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1959. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1960.  
  1961. Spawn(function()
  1962. while wait() do
  1963. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1964. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1965. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1966. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1967. a.Transparency=a.Transparency+0.05
  1968. a2.Transparency=a2.Transparency+0.05
  1969. a3.Transparency=a3.Transparency+0.05
  1970. end
  1971. end)
  1972. end
  1973.  
  1974. Crater(X,20)
  1975. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1976. z = Instance.new("Sound",X)
  1977. z.SoundId = "rbxassetid://231917744"
  1978. z.Pitch = .5
  1979. z.Volume = 10
  1980. z1 = Instance.new("Sound",X)
  1981. z1.SoundId = "rbxassetid://231917744"
  1982. z1.Pitch = .5
  1983. z1.Volume = 10
  1984. z2 = Instance.new("Sound",X)
  1985. z2.SoundId = "rbxassetid://231917744"
  1986. z2.Pitch = .5
  1987. z2.Volume = 10
  1988. z3 = Instance.new("Sound",X)
  1989. z3.SoundId = "rbxassetid://245537790"
  1990. z3.Pitch = .7
  1991. z3.Volume = 1
  1992. z4 = Instance.new("Sound",X)
  1993. z4.SoundId = "rbxassetid://245537790"
  1994. z4.Pitch = .7
  1995. z4.Volume = 1
  1996. wait(0.1)
  1997. z:Play()
  1998. z1:Play()
  1999. z2:Play()
  2000. z3:Play()
  2001. z4:Play()
  2002.  
  2003. local part=Instance.new('Part',rarm)
  2004. part.Anchored=true
  2005. part.CanCollide=false
  2006. part.Locked = true
  2007. part.FormFactor='Custom'
  2008. part.Size=Vector3.new(1,1,1)
  2009. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2010. part.Transparency=0
  2011. part.BrickColor=BrickColor.new('Really black')
  2012. local mesh=Instance.new('SpecialMesh',part)
  2013. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2014. mesh.Scale=Vector3.new(2,2,2)
  2015. local part2=part:clone()
  2016. part2.Parent = rarm
  2017. part2.BrickColor=BrickColor.new("institutional white")
  2018. local part5=part:clone()
  2019. part5.Parent = rarm
  2020. part5.BrickColor=BrickColor.new("Cyan")
  2021. local part6=part:clone()
  2022. part6.Parent = rarm
  2023. part6.BrickColor=BrickColor.new("Black")
  2024. local mesh2=mesh:clone()
  2025. mesh2.Parent=part2
  2026. mesh2.Scale=Vector3.new(3, 3, 3)
  2027. local mesh5=mesh:clone()
  2028. mesh5.Parent=part5
  2029. mesh5.Scale=Vector3.new(3, 3, 3)
  2030. local mesh6=mesh:clone()
  2031. mesh6.Parent=part6
  2032. mesh6.Scale=Vector3.new(3, 3, 3)
  2033. local blast = Instance.new("Part", rarm)
  2034. blast.BrickColor = BrickColor.new("Really black")
  2035. blast.Anchored = true
  2036. blast.CanCollide = false
  2037. blast.Locked = true
  2038. blast.Size = Vector3.new(1, 1, 1)
  2039. blast.TopSurface = "Smooth"
  2040. blast.BottomSurface = "Smooth"
  2041. blast.Transparency = 0
  2042. blast.CFrame = HandCF
  2043. local bm = Instance.new("SpecialMesh", blast)
  2044. bm.Scale = Vector3.new(5,1,5)
  2045. bm.MeshId = "rbxassetid://3270017"
  2046. local blast2 = Instance.new("Part", rarm)
  2047. blast2.BrickColor = BrickColor.new("Really black")
  2048. blast2.Anchored = true
  2049. blast2.CanCollide = false
  2050. blast2.Locked = true
  2051. blast2.Size = Vector3.new(1, 1, 1)
  2052. blast2.TopSurface = "Smooth"
  2053. blast2.BottomSurface = "Smooth"
  2054. blast2.Transparency = 0
  2055. blast2.CFrame = HandCF
  2056. local bm2 = Instance.new("SpecialMesh", blast2)
  2057. bm2.Scale = Vector3.new(3,1,3)
  2058. bm2.MeshId = "rbxassetid://3270017"
  2059. local blast3 = Instance.new("Part", rarm)
  2060. blast3.BrickColor = BrickColor.new("Really black")
  2061. blast3.Anchored = true
  2062. blast3.CanCollide = false
  2063. blast3.Locked = true
  2064. blast3.Size = Vector3.new(1, 1, 1)
  2065. blast3.TopSurface = "Smooth"
  2066. blast3.BottomSurface = "Smooth"
  2067. blast3.Transparency = 0
  2068. blast3.CFrame = HandCF
  2069. local bm3 = Instance.new("SpecialMesh", blast3)
  2070. bm3.Scale = Vector3.new(3,1,3)
  2071. bm3.MeshId = "rbxassetid://3270017"
  2072. for i = 1,120 do rs:wait()
  2073. X.Transparency = X.Transparency + (1/120)
  2074. part.Transparency = part.Transparency + (1/120)
  2075. part2.Transparency = part2.Transparency + (1/120)
  2076. part3.Transparency = part3.Transparency + (1/120)
  2077. part4.Transparency = part4.Transparency + (1/120)
  2078. part5.Transparency = part5.Transparency + (1/120)
  2079. part6.Transparency = part6.Transparency + (1/120)
  2080. part7.Transparency = part7.Transparency + (1/120)
  2081. blast.Transparency = blast.Transparency + (1/120)
  2082. blast2.Transparency = blast2.Transparency + (1/120)
  2083. blast3.Transparency = blast3.Transparency + (1/120)
  2084. X.Size = X.Size + Vector3.new(.8,.8,.8)
  2085. --part3.Size = part3.Size + Vector3.new(3,3,3)
  2086. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  2087. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  2088. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  2089. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  2090. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  2091. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  2092. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  2093. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  2094. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  2095. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  2096. X.CFrame = cf
  2097. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2098. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2099. part3.CFrame=X.CFrame
  2100. part4.CFrame=X.CFrame
  2101. part7.CFrame=X.CFrame
  2102. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2103. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2104. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2105. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2106. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2107. rs:wait()
  2108. end
  2109. X:Destroy()
  2110. part:Destroy()
  2111. part2:Destroy()
  2112. part3:Destroy()
  2113. part4:Destroy()
  2114. part5:Destroy()
  2115. part6:Destroy()
  2116. blast:Destroy()
  2117. blast2:Destroy()
  2118. blast3:Destroy()
  2119. z:Destroy()
  2120. z1:Destroy()
  2121. z2:Destroy()
  2122. z3:Destroy()
  2123. z4:Destroy()
  2124. end
  2125. end)
  2126. for i = 1, 20 do
  2127. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  2128. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  2129. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2130. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  2131. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2132. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2133. if Debounces.on == false then break end
  2134. rs:wait()
  2135. end
  2136. if Debounces.CanAttack == false then
  2137. Debounces.CanAttack = true
  2138. Debounces.NoIdl = false
  2139. Debounces.on = false
  2140. end
  2141. end
  2142. end
  2143. end)
  2144. ----------------------------------------------------
  2145. mouse.KeyDown:connect(function(key)
  2146. if key == "e" then
  2147. if Debounces.CanAttack == true then
  2148. Debounces.CanAttack = false
  2149. Debounces.on = true
  2150. Debounces.NoIdl = true
  2151. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2152. z = Instance.new("Sound", rarm)
  2153. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2154. z.Volume = .6
  2155. z.Pitch = pt[math.random(1,#pt)]
  2156. z.Looped = false
  2157. z:Play()
  2158. Debounces.RPunch = true
  2159. Debounces.LPunch = true
  2160. Debounces.ks = true
  2161. Debounces.ks2 = true
  2162. for i = 1, 3 do
  2163. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2164. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2165. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2166. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2167. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2168. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2169. if Debounces.on == false then break end
  2170. wait()
  2171. end
  2172. z2 = Instance.new("Sound", larm)
  2173. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2174. z2.Volume = .6
  2175. z2.Pitch = pt[math.random(1,#pt)]
  2176. z2.Looped = false
  2177. z2:Play()
  2178. for i = 1, 3 do
  2179. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2180. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2181. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2182. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2183. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2184. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2185. if Debounces.on == false then break end
  2186. wait()
  2187. end
  2188. z3 = Instance.new("Sound", rarm)
  2189. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2190. z3.Volume = 0.6
  2191. z3.Pitch = pt[math.random(1,#pt)]
  2192. z3.Looped = false
  2193. z3:Play()
  2194. for i = 1, 3 do
  2195. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2196. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2201. if Debounces.on == false then break end
  2202. wait()
  2203. end
  2204. z4 = Instance.new("Sound", larm)
  2205. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2206. z4.Volume = .6
  2207. z4.Pitch = pt[math.random(1,#pt)]
  2208. z4.Looped = false
  2209. z4:Play()
  2210. for i = 1, 3 do
  2211. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2212. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2213. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2214. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2215. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2216. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2217. if Debounces.on == false then break end
  2218. wait()
  2219. end
  2220. z5 = Instance.new("Sound", rarm)
  2221. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2222. z5.Volume = .6
  2223. z5.Pitch = pt[math.random(1,#pt)]
  2224. z5.Looped = false
  2225. z5:Play()
  2226. for i = 1, 3 do
  2227. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2228. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2229. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2230. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2231. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2232. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2233. if Debounces.on == false then break end
  2234. wait()
  2235. end
  2236. z6 = Instance.new("Sound", larm)
  2237. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2238. z6.Volume = .6
  2239. z6.Pitch = pt[math.random(1,#pt)]
  2240. z6.Looped = false
  2241. z6:Play()
  2242. for i = 1, 3 do
  2243. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2244. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2245. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2246. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2247. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2248. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2249. if Debounces.on == false then break end
  2250. wait()
  2251. end
  2252. z7 = Instance.new("Sound", rarm)
  2253. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2254. z7.Volume = .6
  2255. z7.Pitch = pt[math.random(1,#pt)]
  2256. z7.Looped = false
  2257. z7:Play()
  2258. for i = 1, 3 do
  2259. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2260. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2261. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2262. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2263. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2264. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2265. if Debounces.on == false then break end
  2266. wait()
  2267. end
  2268. z8 = Instance.new("Sound", larm)
  2269. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2270. z8.Volume = .6
  2271. z8.Pitch = pt[math.random(1,#pt)]
  2272. z8.Looped = false
  2273. z8:Play()
  2274. for i = 1, 3 do
  2275. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2276. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2277. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2278. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2279. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2280. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2281. if Debounces.on == false then break end
  2282. wait()
  2283. end
  2284. z9 = Instance.new("Sound", rarm)
  2285. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2286. z9.Volume = 0.6
  2287. z9.Pitch = pt[math.random(1,#pt)]
  2288. z9.Looped = false
  2289. z9:Play()
  2290. for i = 1, 3 do
  2291. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2292. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2293. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2294. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2295. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2296. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2297. if Debounces.on == false then break end
  2298. wait()
  2299. end
  2300. z10 = Instance.new("Sound", larm)
  2301. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2302. z10.Volume = .6
  2303. z10.Pitch = pt[math.random(1,#pt)]
  2304. z10.Looped = false
  2305. z10:Play()
  2306. for i = 1, 3 do
  2307. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2308. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2309. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2310. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2311. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2312. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2313. if Debounces.on == false then break end
  2314. wait()
  2315. end
  2316. z11 = Instance.new("Sound", rarm)
  2317. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2318. z11.Volume = .6
  2319. z11.Pitch = pt[math.random(1,#pt)]
  2320. z11.Looped = false
  2321. z11:Play()
  2322. for i = 1, 3 do
  2323. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2324. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2325. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2326. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2327. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2328. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2329. if Debounces.on == false then break end
  2330. wait()
  2331. end
  2332. z12 = Instance.new("Sound", larm)
  2333. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2334. z12.Volume = .6
  2335. z12.Pitch = pt[math.random(1,#pt)]
  2336. z12.Looped = false
  2337. z12:Play()
  2338. for i = 1, 3 do
  2339. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2340. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2341. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2342. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2343. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2344. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2345. if Debounces.on == false then break end
  2346. wait()
  2347. end
  2348. z13 = Instance.new("Sound", rarm)
  2349. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2350. z13.Volume = 0.6
  2351. z13.Pitch = pt[math.random(1,#pt)]
  2352. z13.Looped = false
  2353. z13:Play()
  2354. for i = 1, 3 do
  2355. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2356. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2357. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2358. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2359. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2360. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2361. if Debounces.on == false then break end
  2362. wait()
  2363. end
  2364. z14 = Instance.new("Sound", larm)
  2365. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2366. z14.Volume = .6
  2367. z14.Pitch = pt[math.random(1,#pt)]
  2368. z14.Looped = false
  2369. z14:Play()
  2370. for i = 1, 3 do
  2371. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2372. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2373. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2374. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2375. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2376. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2377. if Debounces.on == false then break end
  2378. wait()
  2379. end
  2380. z15 = Instance.new("Sound", rarm)
  2381. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2382. z15.Volume = .6
  2383. z15.Pitch = pt[math.random(1,#pt)]
  2384. z15.Looped = false
  2385. z15:Play()
  2386. for i = 1, 3 do
  2387. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2388. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2389. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2390. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2391. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2392. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2393. if Debounces.on == false then break end
  2394. wait()
  2395. end
  2396. z16 = Instance.new("Sound", larm)
  2397. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2398. z16.Volume = .6
  2399. z16.Pitch = pt[math.random(1,#pt)]
  2400. z16.Looped = false
  2401. z16:Play()
  2402. for i = 1, 3 do
  2403. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2404. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2405. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2406. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2407. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2408. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2409. if Debounces.on == false then break end
  2410. wait()
  2411. end
  2412. z17 = Instance.new("Sound", rarm)
  2413. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2414. z17.Volume = .6
  2415. z17.Pitch = pt[math.random(1,#pt)]
  2416. z17.Looped = false
  2417. z17:Play()
  2418. for i = 1, 3 do
  2419. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2420. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2421. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2422. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2423. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2424. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2425. if Debounces.on == false then break end
  2426. wait()
  2427. end
  2428. z18 = Instance.new("Sound", larm)
  2429. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2430. z18.Volume = .6
  2431. z18.Pitch = pt[math.random(1,#pt)]
  2432. z18.Looped = false
  2433. z18:Play()
  2434. for i = 1, 3 do
  2435. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2436. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2437. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2438. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2439. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2440. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2441. if Debounces.on == false then break end
  2442. wait()
  2443. end
  2444. z19 = Instance.new("Sound", rarm)
  2445. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2446. z19.Volume = 0.6
  2447. z19.Pitch = pt[math.random(1,#pt)]
  2448. z19.Looped = false
  2449. z19:Play()
  2450. for i = 1, 3 do
  2451. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2452. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2453. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2454. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2455. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2456. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2457. if Debounces.on == false then break end
  2458. wait()
  2459. end
  2460. z20 = Instance.new("Sound", larm)
  2461. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2462. z20.Volume = .6
  2463. z20.Pitch = pt[math.random(1,#pt)]
  2464. z20.Looped = false
  2465. z20:Play()
  2466. for i = 1, 3 do
  2467. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2468. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2469. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2470. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2471. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2472. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2473. if Debounces.on == false then break end
  2474. wait()
  2475. end
  2476. z:Destroy()
  2477. z2:Destroy()
  2478. z3:Destroy()
  2479. z4:Destroy()
  2480. z5:Destroy()
  2481. z6:Destroy()
  2482. z7:Destroy()
  2483. z8:Destroy()
  2484. z9:Destroy()
  2485. z10:Destroy()
  2486. z11:Destroy()
  2487. z12:Destroy()
  2488. z13:Destroy()
  2489. z14:Destroy()
  2490. z15:Destroy()
  2491. z16:Destroy()
  2492. z17:Destroy()
  2493. z18:Destroy()
  2494. z19:Destroy()
  2495. z20:Destroy()
  2496. Debounces.LPunch = false
  2497. Debounces.RPunch = false
  2498. Debounces.ks = false
  2499. Debounces.ks2 = false
  2500. if Debounces.CanAttack == false then
  2501. Debounces.CanAttack = true
  2502. Debounces.on = false
  2503. Debounces.NoIdl = false
  2504. end
  2505. end
  2506. end
  2507. end)
  2508. -------------------------------
  2509. mouse.KeyDown:connect(function(key)
  2510. if key == "t" then
  2511. if Debounces.CanAttack == true then
  2512. Debounces.CanAttack = false
  2513. Debounces.NoIdl = true
  2514. Debounces.on = true
  2515. Debounces.ks = true
  2516. kik = rleg.Touched:connect(function(ht)
  2517. hit = ht.Parent
  2518. if ht and hit:IsA("Model") then
  2519. if hit:FindFirstChild("Humanoid") then
  2520. if hit.Name ~= p.Name then
  2521. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2522. Debounces.Slashed = true]]--
  2523. if Debounces.ks==true then
  2524. z = Instance.new("Sound",hed)
  2525. z.SoundId = "rbxassetid://169380525"
  2526. z.Volume = 1
  2527. z:Play()
  2528. Debounces.ks=false
  2529. end
  2530. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2531. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2532. --Debounces.Slashed = false
  2533. --end
  2534. end
  2535. end
  2536. elseif ht and hit:IsA("Hat") then
  2537. if hit.Parent.Name ~= p.Name then
  2538. if hit.Parent:FindFirstChild("Humanoid") then
  2539. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2540. Debounces.Slashed = true]]--
  2541. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2542. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2543. --Debounces.Slashed = false
  2544. --end
  2545. end
  2546. end
  2547. end
  2548. end)
  2549. for i = 1,20 do
  2550. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2551. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2552. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2553. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2554. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2555. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2556. if Debounces.on == false then break end
  2557. rs:wait()
  2558. end
  2559. kik:disconnect()
  2560. if Debounces.CanAttack == false then
  2561. Debounces.CanAttack = true
  2562. Debounces.NoIdl = false
  2563. Debounces.on = false
  2564. end
  2565. end
  2566. end
  2567. end)
  2568. ----------------------------------------------------
  2569. mouse.KeyDown:connect(function(key)
  2570. if key == "y" then
  2571. if Debounces.CanAttack == true then
  2572. Debounces.CanAttack = false
  2573. Debounces.on = true
  2574. Debounces.NoIdl = true
  2575. for i = 1, 15 do
  2576. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2577. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2578. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2579. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2580. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2581. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2582. if Debounces.on == false then break end
  2583. rs:wait(2.7)
  2584. end
  2585. x = Instance.new("Sound",char)
  2586. x.SoundId = "rbxassetid://228343271"
  2587. x.Pitch = 1
  2588. x.Volume = .8
  2589. wait(.1)
  2590. x:Play()
  2591. Debounces.on = false
  2592. Debounces.Here = false
  2593. shot = shot + 1
  2594. local rng = Instance.new("Part", larm)
  2595. rng.Anchored = true
  2596. rng.BrickColor = BrickColor.new("institutional white")
  2597. rng.CanCollide = false
  2598. rng.FormFactor = 3
  2599. rng.Name = "Ring"
  2600. rng.Size = Vector3.new(1, 1, 1)
  2601. rng.Transparency = 0.35
  2602. rng.TopSurface = 0
  2603. rng.BottomSurface = 0
  2604. rng2 = rng:clone()
  2605. rng3 = rng2:clone()
  2606. rng4 = rng2:clone()
  2607. local rngm = Instance.new("SpecialMesh", rng)
  2608. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2609. rngm.Scale = Vector3.new(10, 10, 1)
  2610. rngm2 = rngm:clone()
  2611. rngm2.Scale = Vector3.new(5, 5, 3)
  2612. rngm3=rngm2:clone()
  2613. rngm3.Parent = rng3
  2614. rngm3.Scale = Vector3.new(8, 8, 1)
  2615. rngm4 = rngm2:clone()
  2616. rngm4.Parent = rng4
  2617. rngm4.Scale = Vector3.new(6, 6, 1)
  2618. local bem = Instance.new("Part", larm)
  2619. bem.Anchored = true
  2620. bem.BrickColor = BrickColor.new("Really black")
  2621. bem.CanCollide = false
  2622. bem.FormFactor = 3
  2623. bem.Name = "Beam" .. shot
  2624. bem.Size = Vector3.new(1, 1, 1)
  2625. bem.Transparency = 0.35
  2626. bem.TopSurface = 0
  2627. bem.BottomSurface = 0
  2628. local bemm = Instance.new("SpecialMesh", bem)
  2629. bemm.MeshType = 4
  2630. bemm.Scale = Vector3.new(1, 4, 4)
  2631. local out = Instance.new("Part", larm)
  2632. out.Anchored = true
  2633. out.BrickColor = BrickColor.new("Really black")
  2634. out.CanCollide = false
  2635. out.FormFactor = 3
  2636. out.Name = "Out"
  2637. out.Size = Vector3.new(4, 4, 4)
  2638. out.Transparency = 0.35
  2639. out.TopSurface = 0
  2640. out.BottomSurface = 0
  2641. local outm = Instance.new("SpecialMesh", out)
  2642. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2643. outm.Scale = Vector3.new(6, 4, 6)
  2644. local bnd = Instance.new("Part", larm)
  2645. bnd.Anchored = true
  2646. bnd.BrickColor = BrickColor.new("Cyan")
  2647. bnd.CanCollide = false
  2648. bnd.FormFactor = 3
  2649. bnd.Name = "Bend"
  2650. bnd.Size = Vector3.new(1, 1, 1)
  2651. bnd.Transparency = 1
  2652. bnd.TopSurface = 0
  2653. bnd.BottomSurface = 0
  2654. local bndm = Instance.new("SpecialMesh", bnd)
  2655. bndm.MeshType = 3
  2656. bndm.Scale = Vector3.new(8, 8, 8)
  2657. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2658. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2659. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2660. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2661. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2662. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2663. Debounces.Shewt = true
  2664. coroutine.wrap(function()
  2665. for i = 1, 20, 0.2 do
  2666. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2667. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2668. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2669. rng.Transparency = i/20
  2670. rng3.Transparency = 1/24
  2671. rng4.Transparency = i/26
  2672. wait()
  2673. end
  2674. wait()
  2675. rng:Destroy()
  2676. end)()
  2677. if Debounces.Shewt == true then
  2678. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2679. hit = ht.Parent
  2680. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2681. if HasntTouched(hit.Name) == true and deb == false then
  2682. deb = true
  2683. coroutine.wrap(function()
  2684. hit:FindFirstChild("Humanoid").PlatformStand = true
  2685. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2686. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2687. end)()
  2688. table.insert(Touche, hit.Name)
  2689. deb = false
  2690. end
  2691. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2692. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2693. deb = true
  2694. coroutine.wrap(function()
  2695. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2696. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2697. wait(1)
  2698. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2699. end)()
  2700. table.insert(Touche, hit.Parent.Name)
  2701. deb = false
  2702. for i, v in pairs(Touche) do
  2703. print(v)
  2704. end
  2705. end
  2706. end
  2707. end)
  2708. end
  2709. for i = 0, 260, 8 do
  2710. bem.Size = Vector3.new(i, 3, 3)
  2711. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2712. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2713. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2714. bnd.Size = Vector3.new(1,1,1)
  2715. bndm.Scale = Vector3.new(8,8,8)
  2716. if i % 10 == 0 then
  2717. local newRng = rng2:Clone()
  2718. newRng.Parent = larm
  2719. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2720. local newRngm = rngm2:clone()
  2721. newRngm.Parent=newRng
  2722. coroutine.wrap(function()
  2723. for i = 1, 10, 0.2 do
  2724. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2725. newRng.Transparency = i/10
  2726. wait()
  2727. end
  2728. wait()
  2729. newRng:Destroy()
  2730. end)()
  2731. end
  2732. wait()
  2733. end
  2734. wait()
  2735. Debounces.Shewt = false
  2736. bem:Destroy()
  2737. out:Destroy()
  2738. bnd:Destroy()
  2739. Debounces.Ready = false
  2740. for i, v in pairs(Touche) do
  2741. table.remove(Touche, i)
  2742. end
  2743. wait()
  2744. table.insert(Touche, char.Name)
  2745. Debounces.NoIdl = false
  2746. if Debounces.CanAttack == false then
  2747. Debounces.CanAttack = true
  2748. end
  2749. end
  2750. end
  2751. end)
  2752. ----------------------------------------------------
  2753. --[[mouse.KeyDown:connect(function(key)
  2754. if key == "y" then
  2755. if Debounces.CanAttack == true then
  2756. Debounces.CanAttack = false
  2757. Debounces.NoIdl = true
  2758. Debounces.on = true
  2759. local shell = Instance.new("Part",torso)
  2760. shell.BrickColor = BrickColor.new("Pastel blue")
  2761. shell.Anchored = false
  2762. shell.CanCollide = false
  2763. shell.Locked = true
  2764. shell.TopSurface = "SmoothNoOutlines"
  2765. shell.BottomSurface = "SmoothNoOutlines"
  2766. shell.Size = Vector3.new(1.2,1.2,1.2)
  2767. shell.FormFactor = 3
  2768. local shellm = Instance.new("SpecialMesh",shell)
  2769. shellm.MeshType = "Sphere"
  2770. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2771. Omega = function()
  2772. local X = Instance.new("Part",char)
  2773. local O = Instance.new("ObjectValue",X)
  2774. O.Name = "creator"
  2775. X.Locked = true
  2776. X.Name = "Shell"
  2777. X.Anchored = false
  2778. X.CanCollide = false
  2779. X.Transparency = 0.5
  2780. X.Reflectance = 0
  2781. X.BottomSurface = 0
  2782. X.TopSurface = 0
  2783. X.Shape = 0
  2784. local V = Instance.new("ObjectValue",X)
  2785. V.Value = char
  2786. V.Name = "creator"
  2787. X.BrickColor = BrickColor.new("Royal purple")
  2788. X.Size = Vector3.new(40,40,40)
  2789. --X.Material = "Neon"
  2790. local Z = Instance.new("SpecialMesh",X)
  2791. Z.MeshType = "Sphere"
  2792. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2793. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2794. local bv = Instance.new("BodyVelocity",X)
  2795. bv.maxForce = Vector3.new(99999,99999,99999)
  2796. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2797. bv.velocity = root.CFrame.lookVector*10
  2798. Explode = X.Touched:connect(function(hit)
  2799. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2800. local cf = X.CFrame
  2801. bv:Destroy()
  2802. X.Anchored = true
  2803. Z:Remove()
  2804. Explode:disconnect()
  2805. X.Size = Vector3.new(3,3,3)
  2806. X.Touched:connect(function(hit) end)
  2807. X.CanCollide = false
  2808. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2809. if v:FindFirstChild('Humanoid') then
  2810. v.Humanoid:TakeDamage(math.random(80,120))
  2811. end
  2812. end
  2813. for i = 1, (40) do rs:wait()
  2814. X.Transparency = X.Transparency + (1/40)
  2815. X.Size = X.Size + Vector3.new(1,1,1)
  2816. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2817. end
  2818. X:Destroy()
  2819. end
  2820. end)
  2821. end
  2822. for i = 1,200 do
  2823. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2824. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  2825. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  2826. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2827. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2828. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2829. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2830. if Debounces.on == false then break end
  2831. rs:wait()
  2832. end
  2833. for i = 1,30 do
  2834. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2835. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  2836. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  2837. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2838. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2839. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2840. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2841. if Debounces.on == false then break end
  2842. rs:wait()
  2843. end
  2844. for i = 1,40 do
  2845. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2846. shell.Size = shell.Size + Vector3.new(1,1,1)
  2847. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  2848. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  2849. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2850. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2851. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2852. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2853. if Debounces.on == false then break end
  2854. rs:wait()
  2855. end
  2856. for i = 1,40 do
  2857. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2858. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  2859. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  2860. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2861. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2862. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2863. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2864. if Debounces.on == false then break end
  2865. rs:wait()
  2866. end
  2867. for i = 1,60 do
  2868. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2869. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  2870. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  2871. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2872. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2873. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2874. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2875. if Debounces.on == false then break end
  2876. rs:wait()
  2877. end
  2878. for i = 1,60 do
  2879. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2880. shell.Size = shell.Size + Vector3.new(1,1,1)
  2881. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  2882. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  2883. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2884. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2885. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2886. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2887. if Debounces.on == false then break end
  2888. rs:wait()
  2889. end
  2890. if Debounces.CanAttack == false then
  2891. Debounces.CanAttack = true
  2892. Debounces.NoIdl = false
  2893. Debounces.on = false
  2894. end
  2895. end
  2896. end
  2897. end)]]--
  2898. ----------------------------------------------------
  2899. Charging = false
  2900. mouse.KeyDown:connect(function(key)
  2901. if key == "r" then
  2902. if Charging == false then
  2903. Charging = true
  2904. if Debounces.CanAttack == true then
  2905. Debounces.CanAttack = false
  2906. Debounces.NoIdl = true
  2907. Debounces.on = true
  2908. for i = 1,20 do
  2909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2911. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2912. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2913. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2914. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2915. if Debounces.on == false then break end
  2916. rs:wait()
  2917. end
  2918. --[[for i = 1,20 do
  2919. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2920. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2921. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2922. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2923. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2924. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2925. if Debounces.on == false then break end
  2926. rs:wait()
  2927. end]]--
  2928. pt=Instance.new('Part',torso)
  2929. pt.Anchored=true
  2930. pt.CanCollide=false
  2931. pt.Locked = true
  2932. pt.FormFactor='Custom'
  2933. pt.Size=Vector3.new(1,1,1)
  2934. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2935. pt.Transparency=.6
  2936. pt.BrickColor=BrickColor.new('Really black')
  2937. msh=Instance.new('SpecialMesh',pt)
  2938. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2939. msh.Scale=Vector3.new(8,4,8)
  2940. pt2=pt:clone()
  2941. pt2.Parent = torso
  2942. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2943. pt2.BrickColor=BrickColor.new("Cyan")
  2944. msh2=msh:clone()
  2945. msh2.Parent=pt2
  2946. msh2.Scale=Vector3.new(10,5,10)
  2947.  
  2948. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  2949.  
  2950. bl = Instance.new("Part", char)
  2951. bl.Locked = true
  2952. bl.Name = "Shell"
  2953. bl.BrickColor = BrickColor.new("Really black")
  2954. bl.Anchored = true
  2955. bl.CanCollide = false
  2956. bl.Transparency = 0
  2957. bl.Reflectance = 0
  2958. bl.BottomSurface = 0
  2959. bl.TopSurface = 0
  2960. bl.Shape = 0
  2961. blm = Instance.new("SpecialMesh",bl)
  2962. blm.MeshType = "Sphere"
  2963. blm.Scale = Vector3.new(1,1,1)
  2964. blm.MeshId = "rbxassetid://9982590"
  2965.  
  2966. coroutine.resume(coroutine.create(function()
  2967. for i=1, math.huge, 4 do
  2968. if Charging == true then
  2969. rs:wait()
  2970. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2971. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2972. bl.Transparency = bl.Transparency + 0.005
  2973. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2974. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2975. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2976. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2977. elseif Charging == false then break
  2978. end
  2979. end
  2980. end))
  2981.  
  2982. repeat
  2983. local p = Instance.new('Part',torso)
  2984. p.formFactor = 'Custom'
  2985. p.Size = Vector3.new(1,1,1)
  2986. p.BrickColor = workspace.Base.BrickColor
  2987. p.CanCollide = false
  2988. p.Transparency = 0
  2989. p.Anchored = true
  2990. p.Locked=true
  2991. p.Material = workspace.Base.Material
  2992. s = math.random(1,40)/10
  2993. local m = Instance.new("BlockMesh",p)
  2994. m.Scale = Vector3.new(s,s,s)
  2995. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  2996. --[[coroutine.wrap(function()
  2997. wait(2)
  2998. while Charging == true do
  2999. wait(2)
  3000. GroundWave1()
  3001. wait(2)
  3002. end
  3003. end)()]]--
  3004. Spawn(function()
  3005. while rs:wait() do
  3006. if Charging == true then
  3007. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3008. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3009. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3010. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3011. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3012. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3013. elseif Charging == false then break
  3014. end
  3015. end
  3016. end)
  3017. Spawn(function()
  3018. while rs:wait() do
  3019. if p.Transparency >= 1 then p:Destroy() break end
  3020. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3021. p.Transparency = p.Transparency+0.01
  3022. end
  3023. end)
  3024. wait(.3)
  3025. until Charging == false
  3026. end
  3027. end
  3028. end
  3029. end)
  3030. ----------------------------------------------------
  3031. mouse.KeyUp:connect(function(key)
  3032. if key == "r" then
  3033. if Charging == true then
  3034. Charging = false
  3035. pt:Destroy()
  3036. pt2:Destroy()
  3037. bl:Destroy()
  3038. if Debounces.CanAttack == false then
  3039. Debounces.CanAttack = true
  3040. Debounces.NoIdl = false
  3041. Debounces.on = false
  3042. end
  3043. end
  3044. end
  3045. end)
  3046. ----------------------------------------------------
  3047. mouse.KeyDown:connect(function(key)
  3048. if key == "g" then
  3049. if Debounces.CanAttack == true then
  3050. Debounces.CanAttack = false
  3051. Debounces.NoIdl = true
  3052. Debounces.on = true
  3053. local shell = Instance.new("Part",torso)
  3054. shell.BrickColor = BrickColor.new("Cyan")
  3055. shell.Anchored = true
  3056. shell.CanCollide = false
  3057. shell.Locked = true
  3058. shell.TopSurface = "SmoothNoOutlines"
  3059. shell.BottomSurface = "SmoothNoOutlines"
  3060. shell.Size = Vector3.new(1,1,1)
  3061. shellm = Instance.new("SpecialMesh",shell)
  3062. shellm.MeshType = "Sphere"
  3063. shellm.Scale = Vector3.new(1,1,1)
  3064. local shell2 = Instance.new("Part",torso)
  3065. shell2.BrickColor = BrickColor.new("Cyan")
  3066. shell2.Anchored = true
  3067. shell2.CanCollide = false
  3068. shell2.Locked = true
  3069. shell2.TopSurface = "SmoothNoOutlines"
  3070. shell2.BottomSurface = "SmoothNoOutlines"
  3071. shell2.Size = Vector3.new(1,1,1)
  3072. shellm2 = Instance.new("SpecialMesh",shell2)
  3073. shellm2.MeshType = "Sphere"
  3074. shellm2.Scale = Vector3.new(1,1,1)
  3075.  
  3076. function FindNearestTorso(Position,Distance,SinglePlayer)
  3077. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3078. local List = {}
  3079. for i,v in pairs(workspace:GetChildren())do
  3080. if v:IsA("Model")then
  3081. if v:findFirstChild("Torso")then
  3082. if v ~= char then
  3083. if(v.Torso.Position -Position).magnitude <= Distance then
  3084. table.insert(List,v)
  3085. end
  3086. end
  3087. end
  3088. end
  3089. end
  3090. return List
  3091. end
  3092.  
  3093. Shell = function()
  3094. local X = Instance.new("Part",char)
  3095. local O = Instance.new("ObjectValue",X)
  3096. O.Name = "creator"
  3097. X.Locked = true
  3098. X.Name = "Shell"
  3099. X.Anchored = false
  3100. X.CanCollide = false
  3101. X.Transparency = 0
  3102. X.Reflectance = 0
  3103. X.BottomSurface = 0
  3104. X.TopSurface = 0
  3105. X.Shape = 0
  3106. local V = Instance.new("ObjectValue",X)
  3107. V.Value = char
  3108. V.Name = "creator"
  3109. X.BrickColor = BrickColor.new("Cyan")
  3110. X.Size = Vector3.new(1,1,1)
  3111. --X.Material = "Neon"
  3112. local Z = Instance.new("SpecialMesh",X)
  3113. Z.MeshType = "Sphere"
  3114. Z.Scale = Vector3.new(1,1,1)
  3115. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3116. local bv = Instance.new("BodyVelocity",X)
  3117. bv.maxForce = Vector3.new(99999,99999,99999)
  3118. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3119. bv.velocity = root.CFrame.lookVector*65
  3120. Explode = X.Touched:connect(function(hit)
  3121. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  3122. local cf = X.CFrame
  3123. bv:Destroy()
  3124. X.Anchored = true
  3125. Z:Remove()
  3126. Explode:disconnect()
  3127. X.Size = Vector3.new(3,3,3)
  3128. X.Touched:connect(function(hit) end)
  3129. X.CanCollide = false
  3130. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  3131. if v:FindFirstChild('Humanoid') then
  3132. v.Humanoid:TakeDamage(math.random(6,12))
  3133. end
  3134. end
  3135. for i = 1, (40) do rs:wait()
  3136. X.Transparency = X.Transparency + (1/40)
  3137. X.Size = X.Size + Vector3.new(1,1,1)
  3138. X.CFrame = cf
  3139. end
  3140. X:Destroy()
  3141. end
  3142. end)
  3143. end
  3144. Shell()
  3145. for i = 1, 10 do
  3146. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3147. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3148. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3149. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3150. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  3151. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  3152. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  3153. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  3154. if Debounces.on == false then break end
  3155. rs:wait()
  3156. end
  3157. Shell()
  3158. shell.Transparency = 1
  3159. for i = 1, 10 do
  3160. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3161. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3162. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3163. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3164. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3165. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3166. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3167. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3168. if Debounces.on == false then break end
  3169. rs:wait()
  3170. end
  3171. Shell()
  3172. shell.Transparency = 0
  3173. shell2.Transparency = 1
  3174. for i = 1, 10 do
  3175. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3176. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3177. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3178. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3181. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3182. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3183. if Debounces.on == false then break end
  3184. rs:wait()
  3185. end
  3186. Shell()
  3187. shell2.Transparency = 0
  3188. shell.Transparency = 1
  3189. for i = 1, 10 do
  3190. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3191. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3192. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3193. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3194. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3195. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3196. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3197. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3198. if Debounces.on == false then break end
  3199. rs:wait()
  3200. end
  3201. Shell()
  3202. shell.Transparency = 0
  3203. shell2.Transparency = 1
  3204. for i = 1, 10 do
  3205. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3206. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3207. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3208. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3209. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3210. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3211. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3212. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3213. if Debounces.on == false then break end
  3214. rs:wait()
  3215. end
  3216. Shell()
  3217. shell2.Transparency = 0
  3218. shell.Transparency = 1
  3219. for i = 1, 10 do
  3220. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3221. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3222. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3223. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3224. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3225. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3226. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3227. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3228. if Debounces.on == false then break end
  3229. rs:wait()
  3230. end
  3231. Shell()
  3232. shell.Transparency = 0
  3233. shell2.Transparency = 1
  3234. for i = 1, 10 do
  3235. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3236. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3237. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3238. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  3239. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3240. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3241. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3242. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3243. if Debounces.on == false then break end
  3244. rs:wait()
  3245. end
  3246. Shell()
  3247. shell2.Transparency = 0
  3248. shell.Transparency = 1
  3249. for i = 1, 10 do
  3250. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3251. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3252. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3253. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3254. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3255. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3256. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3257. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3258. if Debounces.on == false then break end
  3259. rs:wait()
  3260. end
  3261. Shell()
  3262. shell.Transparency = 0
  3263. shell2.Transparency = 1
  3264. for i = 1, 10 do
  3265. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3266. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3267. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3268. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3269. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3270. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3271. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3272. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3273. if Debounces.on == false then break end
  3274. rs:wait()
  3275. end
  3276. Shell()
  3277. shell2.Transparency = 0
  3278. shell.Transparency = 1
  3279. for i = 1, 10 do
  3280. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3281. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3282. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3283. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3284. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3285. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3286. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3287. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3288. if Debounces.on == false then break end
  3289. rs:wait()
  3290. end
  3291. Shell()
  3292. shell.Transparency = 0
  3293. shell2.Transparency = 1
  3294. for i = 1, 10 do
  3295. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3296. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3297. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3298. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3299. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3300. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3301. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3302. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3303. if Debounces.on == false then break end
  3304. rs:wait()
  3305. end
  3306. Shell()
  3307. shell2.Transparency = 0
  3308. shell.Transparency = 1
  3309. for i = 1, 10 do
  3310. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3311. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3312. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3313. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3314. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3315. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3316. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3317. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3318. if Debounces.on == false then break end
  3319. rs:wait()
  3320. end
  3321. Shell()
  3322. shell.Transparency = 0
  3323. shell2.Transparency = 1
  3324. for i = 1, 10 do
  3325. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3326. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3327. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3328. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3329. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3330. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3331. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3332. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3333. if Debounces.on == false then break end
  3334. rs:wait()
  3335. end
  3336. shell.Transparency = 1
  3337. if Debounces.CanAttack == false then
  3338. Debounces.CanAttack = true
  3339. Debounces.NoIdl = false
  3340. Debounces.on = false
  3341. end
  3342. end
  3343. end
  3344. end)
  3345. ----------------------------------------------------
  3346. Search = false
  3347. mouse.KeyDown:connect(function(key)
  3348. if key == "n" then
  3349. if Search == false then
  3350. Search = true
  3351. for i,v in pairs(game.Players:getPlayers()) do
  3352. if v.Name~=char.Name then
  3353. for j,k in pairs(v.Character:GetChildren()) do
  3354. if k:IsA("BasePart") and k.Transparency >= 1 then
  3355. bawx=Instance.new("SelectionBox",cam)
  3356. bawx.Color = BrickColor.new("Bright red")
  3357. bawx.Transparency = .5
  3358. bawx.Adornee = k
  3359. end
  3360. end
  3361. end
  3362. end
  3363. elseif Search == true then
  3364. Search = false
  3365. for i, v in pairs(cam:GetChildren()) do
  3366. if v:IsA("SelectionBox") then
  3367. v:Destroy()
  3368. end
  3369. end
  3370. end
  3371. end
  3372. end)
  3373. ----------------------------------------------------
  3374. Grab = false
  3375. mouse.KeyDown:connect(function(key)
  3376. if key == "z" then
  3377. Debounces.on = true
  3378. Debounces.NoIdl = true
  3379. Debounces.ks = true
  3380. if Grab == false then
  3381. gp = nil
  3382. for i = 1, 20 do
  3383. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  3384. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  3385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3387. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3388. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3389. if Debounces.on == false then break end
  3390. rs:wait()
  3391. end
  3392. con1=larm.Touched:connect(function(hit) -- this is grab
  3393. ht = hit.Parent
  3394. hum1=ht:FindFirstChild('Humanoid')
  3395. if hum1 ~= nil then
  3396. if Debounces.ks==true then
  3397. z = Instance.new("Sound",hed)
  3398. z.SoundId = "rbxassetid://169380525"
  3399. z.Volume = 1
  3400. z:Play()
  3401. Debounces.ks=false
  3402. end
  3403. hum1.PlatformStand=true
  3404. gp = ht
  3405. Grab = true
  3406. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3407. asd.Parent = larm
  3408. asd.Name = "asd"
  3409. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3410. --[[elseif hum1 == nil then
  3411. con1:disconnect()
  3412. wait() return]]--
  3413. end
  3414. end)
  3415. for i = 1, 20 do
  3416. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  3417. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  3418. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3419. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3420. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3421. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3422. if Debounces.on == false then break end
  3423. rs:wait()
  3424. end
  3425. if hum1 == nil then
  3426. Debounces.on = false
  3427. Debounces.NoIdl = false
  3428. end
  3429. con1:disconnect()
  3430. elseif Grab == true then
  3431. Grab = false
  3432. Punch()
  3433. z = Instance.new("Sound",hed)
  3434. z.SoundId = "rbxassetid://169380525"
  3435. z.Pitch = ptz[math.random(1,#ptz)]
  3436. z.Volume = 1
  3437. z:Play()
  3438. for i = 1, 10 do
  3439. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3440. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3441. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3442. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3443. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3444. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3445. if Debounces.on == false then break end
  3446. rs:wait()
  3447. end
  3448. Punch()
  3449. z = Instance.new("Sound",hed)
  3450. z.SoundId = "rbxassetid://169380525"
  3451. z.Pitch = ptz[math.random(1,#ptz)]
  3452. z.Volume = 1
  3453. z:Play()
  3454. for i = 1, 10 do
  3455. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3456. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3457. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3458. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3459. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3460. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3461. if Debounces.on == false then break end
  3462. rs:wait()
  3463. end
  3464. Punch()
  3465. z = Instance.new("Sound",hed)
  3466. z.SoundId = "rbxassetid://169380525"
  3467. z.Pitch = ptz[math.random(1,#ptz)]
  3468. z.Volume = 1
  3469. z:Play()
  3470. for i = 1, 10 do
  3471. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3472. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3473. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3474. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3475. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3476. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3477. if Debounces.on == false then break end
  3478. rs:wait()
  3479. end
  3480. Punch()
  3481. z = Instance.new("Sound",hed)
  3482. z.SoundId = "rbxassetid://169380525"
  3483. z.Pitch = ptz[math.random(1,#ptz)]
  3484. z.Volume = 1
  3485. z:Play()
  3486. for i = 1, 10 do
  3487. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3488. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3489. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3490. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3491. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3492. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3493. if Debounces.on == false then break end
  3494. rs:wait()
  3495. end
  3496. Punch()
  3497. z = Instance.new("Sound",hed)
  3498. z.SoundId = "rbxassetid://169380525"
  3499. z.Pitch = ptz[math.random(1,#ptz)]
  3500. z.Volume = 1
  3501. z:Play()
  3502. for i = 1, 10 do
  3503. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3504. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3505. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3506. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3507. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3508. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3509. if Debounces.on == false then break end
  3510. rs:wait()
  3511. end
  3512. Punch()
  3513. z = Instance.new("Sound",hed)
  3514. z.SoundId = "rbxassetid://169380525"
  3515. z.Pitch = ptz[math.random(1,#ptz)]
  3516. z.Volume = 1
  3517. z:Play()
  3518. for i = 1, 10 do
  3519. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3520. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3521. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3522. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3523. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3524. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3525. if Debounces.on == false then break end
  3526. rs:wait()
  3527. end
  3528. Punch()
  3529. z = Instance.new("Sound",hed)
  3530. z.SoundId = "rbxassetid://169380525"
  3531. z.Pitch = ptz[math.random(1,#ptz)]
  3532. z.Volume = 1
  3533. z:Play()
  3534. for i = 1, 10 do
  3535. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3536. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3537. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3538. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3539. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3540. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3541. if Debounces.on == false then break end
  3542. rs:wait()
  3543. end
  3544. Punch()
  3545. z = Instance.new("Sound",hed)
  3546. z.SoundId = "rbxassetid://169380525"
  3547. z.Pitch = ptz[math.random(1,#ptz)]
  3548. z.Volume = 1
  3549. z:Play()
  3550. for i = 1, 10 do
  3551. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3552. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3553. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3554. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3555. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3556. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3557. if Debounces.on == false then break end
  3558. rs:wait()
  3559. end
  3560. Punch()
  3561. z = Instance.new("Sound",hed)
  3562. z.SoundId = "rbxassetid://169380525"
  3563. z.Pitch = ptz[math.random(1,#ptz)]
  3564. z.Volume = 1
  3565. z:Play()
  3566. for i = 1, 10 do
  3567. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3568. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3569. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3570. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3571. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3572. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3573. if Debounces.on == false then break end
  3574. rs:wait()
  3575. end
  3576. Punch()
  3577. z = Instance.new("Sound",hed)
  3578. z.SoundId = "rbxassetid://169380525"
  3579. z.Pitch = ptz[math.random(1,#ptz)]
  3580. z.Volume = 1
  3581. z:Play()
  3582. for i = 1, 10 do
  3583. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3584. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3585. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3586. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3587. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3588. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3589. if Debounces.on == false then break end
  3590. rs:wait()
  3591. end
  3592. Punch()
  3593. z = Instance.new("Sound",hed)
  3594. z.SoundId = "rbxassetid://169380525"
  3595. z.Pitch = ptz[math.random(1,#ptz)]
  3596. z.Volume = 1
  3597. z:Play()
  3598. for i = 1, 10 do
  3599. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3600. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3601. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3602. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3603. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3604. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3605. if Debounces.on == false then break end
  3606. rs:wait()
  3607. end
  3608. Punch()
  3609. z = Instance.new("Sound",hed)
  3610. z.SoundId = "rbxassetid://338700363"
  3611. z.Pitch = ptz[math.random(1,#ptz)]
  3612. z.Volume = 1
  3613. z:Play()
  3614. for i = 1, 10 do
  3615. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3616. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3617. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3618. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3619. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3620. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3621. if Debounces.on == false then break end
  3622. rs:wait()
  3623. end
  3624. con1:disconnect()
  3625. Debounces.on = false
  3626. Debounces.NoIdl = false
  3627. if gp ~= nil then
  3628. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3629. for i,v in pairs(larm:GetChildren()) do
  3630. if v.Name == "asd" and v:IsA("Weld") then
  3631. v:Remove()
  3632. end
  3633. end
  3634. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3635. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3636. bv.P = 125000
  3637. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3638. hum1=nil
  3639. ht=nil
  3640. Debounces.on = false
  3641. Debounces.NoIdl = false
  3642. elseif ht == nil then wait()
  3643. Grab = false
  3644. Debounces.on = false
  3645. Debounces.NoIdl = false
  3646. end
  3647. end
  3648. end
  3649. end)
  3650. ----------------------------------------------------
  3651. mouse.KeyDown:connect(function(key)
  3652. if string.byte(key) == 52 then
  3653. char.Humanoid.WalkSpeed = 60
  3654. end
  3655. end)
  3656. mouse.KeyUp:connect(function(key)
  3657. if string.byte(key) == 52 then
  3658. char.Humanoid.WalkSpeed = 8
  3659. end
  3660. end)
  3661. -------------------------------
  3662. local animpose = "Idle"
  3663. local lastanimpose = "Idle"
  3664. local sine = 0
  3665. local change = 1
  3666. local val = 0
  3667. local ffing = false
  3668. -------------------------------
  3669. game:GetService("RunService").RenderStepped:connect(function()
  3670. --[[if char.Humanoid.Jump == true then
  3671. jump = true
  3672. else
  3673. jump = false
  3674. end]]
  3675. char.Humanoid.FreeFalling:connect(function(f)
  3676. if f then
  3677. ffing = true
  3678. else
  3679. ffing = false
  3680. end
  3681. end)
  3682. sine = sine + change
  3683. if jumpn == true then
  3684. animpose = "Jumping"
  3685. elseif ffing == true then
  3686. animpose = "Freefalling"
  3687. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3688. animpose = "Idle"
  3689. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3690. animpose = "Walking"
  3691. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3692. animpose = "Running"
  3693. end
  3694. if animpose ~= lastanimpose then
  3695. sine = 0
  3696. if Debounces.NoIdl == false then
  3697. if animpose == "Idle" then
  3698. for i = 1, 2 do
  3699. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  3700. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  3701. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3702. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3703. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3704. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3705. end
  3706. elseif animpose == "Walking" then
  3707. for i = 1, 2 do
  3708. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3709. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3710. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3711. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3712. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3713. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3714. end
  3715. elseif animpose == "Running" then
  3716. for i = 1, 2 do
  3717. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  3718. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  3719. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3720. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3721. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3722. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3723. wait()
  3724. end
  3725. end
  3726. else
  3727. end
  3728. end
  3729. lastanimpose = animpose
  3730. if Debounces.NoIdl == false then
  3731. if animpose == "Idle" then
  3732. change = 0.5
  3733. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  3734. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  3735. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3736. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3737. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3739. elseif animpose == "Walking" then
  3740. change = 1
  3741. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3742. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3743. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3744. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3745. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3746. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3747. elseif animpose == "Running" then
  3748. change = 1
  3749. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  3750. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  3751. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3752. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  3753. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  3754. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  3755. end
  3756. end
  3757. end)
  3758.  
  3759. hum.MaxHealth = 9001
  3760. wait(3)
  3761. hum.Health = 9001
  3762.  
  3763. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3764. --[[Part0 = Vector3 (Start pos)
  3765. Part1 = Vector3 (End pos)
  3766. Times = number (Amount of lightning parts)
  3767. Offset = number (Offset)
  3768. Color = color (brickcolor value)
  3769. Thickness = number (thickness)
  3770. Trans = number (transparency)
  3771. ]]--
  3772. local magz = (Part0 - Part1).magnitude
  3773. local curpos = Part0
  3774. local trz = {-Offset,Offset}
  3775. for i=1,Times do
  3776. local li = Instance.new("Part", torso)
  3777. li.Name = "Lightning"
  3778. li.TopSurface =0
  3779. li.Material = "Neon"
  3780. li.BottomSurface = 0
  3781. li.Anchored = true
  3782. li.Locked = true
  3783. li.Transparency = Trans or 0.4
  3784. li.BrickColor = BrickColor.new(Color)
  3785. li.formFactor = "Custom"
  3786. li.CanCollide = false
  3787. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3788. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3789. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3790. if Times == i then
  3791. local magz2 = (curpos - Part1).magnitude
  3792. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3793. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3794. else
  3795. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3796. end
  3797. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3798. game.Debris:AddItem(li,.1)
  3799. end
  3800. end
  3801.  
  3802. BodyParts = {} -- Parts to emit lightning effects from
  3803. for _, v in pairs(char:GetChildren()) do
  3804. if v:IsA("Part") then
  3805. table.insert(BodyParts, v)
  3806. end
  3807. end
  3808.  
  3809. Bounding = {} -- Calculate the bounding boxes
  3810. for _, v in pairs(BodyParts) do
  3811. local temp = {X=nil, Y=nil, Z=nil}
  3812. temp.X = v.Size.X/2 * 10
  3813. temp.Y = v.Size.Y/2 * 10
  3814. temp.Z = v.Size.Z/2 * 10
  3815. Bounding[v.Name] = temp
  3816. --table.insert(Bounding, v.Name, temp)
  3817. end
  3818.  
  3819. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  3820. local Body1 = BodyParts[math.random(#BodyParts)]
  3821. local Body2 = BodyParts[math.random(#BodyParts)]
  3822. local Pos1 = Vector3.new(
  3823. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3824. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3825. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3826. )
  3827. local Pos2 = Vector3.new(
  3828. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3829. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3830. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3831. )
  3832. local SPos1 = Body1.Position + Pos1
  3833. local SPos2 = Body2.Position + Pos2
  3834. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  3835. end
  3836. -- ~Refrop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement