Advertisement
memberhero

moon dssj3 black color edit

Oct 22nd, 2016
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Since you damned fmers are so enraptured by this script
  3. i might aswell release THIS!
  4. DSSJ3 baby
  5. ]]
  6.  
  7. --[[
  8. User: TheDarkRevenant
  9. Script: DSSJ3
  10. Pass: QNAh3g8U
  11.  
  12. ]]
  13.  
  14. local p = game.Players.LocalPlayer
  15. local char = p.Character
  16. local mouse = p:GetMouse()
  17. local larm = char["Left Arm"]
  18. local rarm = char["Right Arm"]
  19. local lleg = char["Left Leg"]
  20. local rleg = char["Right Leg"]
  21. local hed = char.Head
  22. local torso = char.Torso
  23. local hum = char.Humanoid
  24. local cam = game.Workspace.CurrentCamera
  25. local root = char.HumanoidRootPart
  26. local deb = false
  27. local shot = 0
  28. local debris=game:service"Debris"
  29. local l = game:GetService("Lighting")
  30. local rs = game:GetService("RunService").RenderStepped
  31. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  32. math.randomseed(os.time())
  33. for i,v in pairs(char:children()) do
  34. if v:IsA("Hat") then
  35. v:Destroy()
  36. end
  37. end
  38. for i,v in pairs (hed:GetChildren()) do
  39. if v:IsA("Sound") then
  40. v:Destroy()
  41. end
  42. end
  43. ----------------------------------------------------
  44. Debounces = {
  45. CanAttack = true;
  46. NoIdl = false;
  47. Slashing = false;
  48. Slashed = false;
  49. RPunch = false;
  50. RPunched = false;
  51. LPunch = false;
  52. LPunched = false;
  53. }
  54. local Touche = {char.Name, }
  55. ----------------------------------------------------
  56. hed.face.Texture = "rbxassetid://416805592"
  57. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  58. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  59. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  60. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  61. ----------------------------------------------------
  62. ypcall(function()
  63. char.Shirt:Destroy()
  64. char.Pants:Destroy()
  65. shirt = Instance.new("Shirt", char)
  66. shirt.Name = "Shirt"
  67. pants = Instance.new("Pants", char)
  68. pants.Name = "Pants"
  69. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=418376720"
  70. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=417511796"
  71. end)
  72. ----------------------------------------------------
  73. function lerp(a, b, t) -- Linear interpolation
  74. return a + (b - a)*t
  75. end
  76.  
  77. function slerp(a, b, t) --Spherical interpolation
  78. dot = a:Dot(b)
  79. if dot > 0.99999 or dot < -0.99999 then
  80. return t <= 0.5 and a or b
  81. else
  82. r = math.acos(dot)
  83. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  84. end
  85. end
  86.  
  87. function matrixInterpolate(a, b, t)
  88. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  89. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  90. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  91. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  92. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  93. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  94. local t = v1:Dot(v2)
  95. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  96. return CFrame.new()
  97. end
  98. return CFrame.new(
  99. v0.x, v0.y, v0.z,
  100. v1.x, v1.y, v1.z,
  101. v2.x, v2.y, v2.z,
  102. v3.x, v3.y, v3.z)
  103. end
  104. ----------------------------------------------------
  105. function genWeld(a,b)
  106. local w = Instance.new("Weld",a)
  107. w.Part0 = a
  108. w.Part1 = b
  109. return w
  110. end
  111. function weld(a, b)
  112. local weld = Instance.new("Weld")
  113. weld.Name = "W"
  114. weld.Part0 = a
  115. weld.Part1 = b
  116. weld.C0 = a.CFrame:inverse() * b.CFrame
  117. weld.Parent = a
  118. return weld;
  119. end
  120. ----------------------------------------------------
  121. function Lerp(c1,c2,al)
  122. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  123. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  124. for i,v in pairs(com1) do
  125. com1[i] = v+(com2[i]-v)*al
  126. end
  127. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  128. end
  129. ----------------------------------------------------
  130. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  131. local wld = Instance.new("Weld", wp1)
  132. wld.Part0 = wp0
  133. wld.Part1 = wp1
  134. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  135. end
  136. ----------------------------------------------------
  137. function weld5(part0, part1, c0, c1)
  138. weeld=Instance.new("Weld", part0)
  139. weeld.Part0=part0
  140. weeld.Part1=part1
  141. weeld.C0=c0
  142. weeld.C1=c1
  143. return weeld
  144. end
  145. ----------------------------------------------------
  146. function HasntTouched(plrname)
  147. local ret = true
  148. for _, v in pairs(Touche) do
  149. if v == plrname then
  150. ret = false
  151. end
  152. end
  153. return ret
  154. end
  155. ----------------------------------------------------
  156. newWeld(torso, larm, -1.5, 0.5, 0)
  157. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  158. newWeld(torso, rarm, 1.5, 0.5, 0)
  159. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  160. newWeld(torso, hed, 0, 1.5, 0)
  161. newWeld(torso, lleg, -0.5, -1, 0)
  162. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  163. newWeld(torso, rleg, 0.5, -1, 0)
  164. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  165. newWeld(root, torso, 0, -1, 0)
  166. torso.Weld.C1 = CFrame.new(0, -1, 0)
  167. ----------------------------------------------------
  168. z = Instance.new("Sound", char)
  169. z.SoundId = "rbxassetid://229173952"
  170. z.Looped = true
  171. z.Pitch = 1.5
  172. z.Volume = 1
  173. wait(.1)
  174. z:Play()
  175. ----------------------------------------------------
  176. local Transforming = true
  177. hum.WalkSpeed = 0
  178. local fx = Instance.new("Part",torso)
  179. fx.Anchored = true
  180. fx.Material = "Neon"
  181. fx.CanCollide = false
  182. fx.Locked = true
  183. fx.Transparency = 1
  184. fx.Material = "SmoothPlastic"
  185. fx.Size = Vector3.new(1,1,1)
  186. fx.TopSurface = "SmoothNoOutlines"
  187. fx.BottomSurface = "SmoothNoOutlines"
  188. fx.BrickColor = BrickColor.new("Black")
  189. fxm = Instance.new("SpecialMesh",fx)
  190. fxm.MeshType = "Sphere"
  191. fxm.Scale = Vector3.new(1,1,1)
  192. for i = 1, 20 do rs:wait()
  193. fx.Transparency = fx.Transparency - (1/20)
  194. fx.CFrame = torso.CFrame
  195. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  196. rs:wait()
  197. end
  198. ----------------------------------------------------
  199. local m = Instance.new("Model")
  200. m.Name = "Hair"
  201. p1 = Instance.new("Part", m)
  202. p1.BrickColor = BrickColor.new("")
  203. p1.FormFactor = Enum.FormFactor.Symmetric
  204. p1.Size = Vector3.new(1.061, 1.887, 2.008)
  205. p1.CFrame = CFrame.new(-4.49043155, .24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  206. p1.CanCollide = false
  207. p1.Locked = true
  208. p1.BottomSurface = Enum.SurfaceType.Smooth
  209. p1.TopSurface = Enum.SurfaceType.Smooth
  210. b1 = Instance.new("SpecialMesh", p1)
  211. b1.MeshId = ""
  212. b1.TextureId = ""
  213. b1.MeshType = Enum.MeshType.FileMesh
  214. b1.Name = "Mesh"
  215. b1.VertexColor = Vector3.new(0, 0, 0)
  216. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  217. p2 = Instance.new("Part", m)
  218. p2.BrickColor = BrickColor.new("Institutional white")
  219. p2.Transparency = 1
  220. p2.Name = "Head"
  221. p2.FormFactor = Enum.FormFactor.Symmetric
  222. p2.Size = Vector3.new(1, 1, 1)
  223. 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)
  224. p2.CanCollide = false
  225. p2.Locked = true
  226. p2.TopSurface = Enum.SurfaceType.Smooth
  227. --------------------------- sans hat mesh
  228. local hat = Instance.new("Part", char)
  229. local hm = Instance.new("SpecialMesh", hat)
  230. hm.MeshId = "http://www.roblox.com/asset/?id=430379191"
  231. hm.TextureId = "http://www.roblox.com/asset/?id=430379210"
  232. local hatw = Instance.new("Weld", char)
  233. hatw.Part0 = char.Head
  234. hatw.Part1 = hat
  235. hatw.C1 = CFrame.new(0,-.25,0)
  236. hat.BrickColor = BrickColor.new("Medium stone grey")
  237. ---------------------------- sans hat mesh
  238. b4 = Instance.new("SpecialMesh", p4)
  239. b4.MeshId = "http://www.roblox.com/asset/?id=430379191"
  240. b4.TextureId = ""
  241. b4.MeshType = Enum.MeshType.FileMesh
  242. b4.Name = "Mesh"
  243. b4.VertexColor = Vector3.new(0, 0, 0)
  244. p5 = Instance.new("Part", m)
  245. p5.BrickColor = BrickColor.new("Institutional white")
  246. p5.FormFactor = Enum.FormFactor.Symmetric
  247. p5.Size = Vector3.new(1, 1, 1)
  248. 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)
  249. p5.CanCollide = false
  250. p5.Locked = true
  251. p5.BottomSurface = Enum.SurfaceType.Smooth
  252. p5.TopSurface = Enum.SurfaceType.Smooth
  253. b5 = Instance.new("SpecialMesh", p5)
  254. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  255. b5.TextureId = ""
  256. b5.MeshType = Enum.MeshType.FileMesh
  257. b5.Name = "Mesh"
  258. b5.VertexColor = Vector3.new(0, 0, 0)
  259. b5.Scale = Vector3.new(1, 0.899999976, 1)
  260. p6 = Instance.new("Part", m)
  261. p6.BrickColor = BrickColor.new("Black")
  262. p6.FormFactor = Enum.FormFactor.Symmetric
  263. p6.Size = Vector3.new(1, 1, 1)
  264. 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)
  265. p6.CanCollide = false
  266. p6.Locked = true
  267. p6.BottomSurface = Enum.SurfaceType.Smooth
  268. p6.TopSurface = Enum.SurfaceType.Smooth
  269. b6 = Instance.new("SpecialMesh", p6)
  270. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  271. b6.TextureId = ""
  272. b6.MeshType = Enum.MeshType.FileMesh
  273. b6.Name = "Mesh"
  274. b6.VertexColor = Vector3.new(0, 0, 0)
  275. p7 = Instance.new("Part", m)
  276. p7.BrickColor = BrickColor.new("Black")
  277. p7.FormFactor = Enum.FormFactor.Symmetric
  278. p7.Size = Vector3.new(1, 1, 1)
  279. 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)
  280. p7.CanCollide = false
  281. p7.Locked = true
  282. p7.BottomSurface = Enum.SurfaceType.Smooth
  283. p7.TopSurface = Enum.SurfaceType.Smooth
  284. b7 = Instance.new("SpecialMesh", p7)
  285. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  286. b7.TextureId = ""
  287. b7.MeshType = Enum.MeshType.FileMesh
  288. b7.Name = "Mesh"
  289. b7.VertexColor = Vector3.new(0, 0, 0)
  290. p8 = Instance.new("Part", m)
  291. p8.BrickColor = BrickColor.new("Black")
  292. p8.FormFactor = Enum.FormFactor.Symmetric
  293. p8.Size = Vector3.new(1, 1, 1)
  294. 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)
  295. p8.CanCollide = false
  296. p8.Locked = true
  297. p8.BottomSurface = Enum.SurfaceType.Smooth
  298. p8.TopSurface = Enum.SurfaceType.Smooth
  299. b8 = Instance.new("SpecialMesh", p8)
  300. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  301. b8.TextureId = ""
  302. b8.MeshType = Enum.MeshType.FileMesh
  303. b8.Name = "Mesh"
  304. b8.VertexColor = Vector3.new(0, 0, 0)
  305. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  306. p9 = Instance.new("Part", m)
  307. p9.BrickColor = BrickColor.new("Institutional white")
  308. p9.FormFactor = Enum.FormFactor.Symmetric
  309. p9.Size = Vector3.new(2, 1, 2)
  310. 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)
  311. p9.CanCollide = false
  312. p9.Locked = true
  313. p9.BottomSurface = Enum.SurfaceType.Smooth
  314. p9.TopSurface = Enum.SurfaceType.Smooth
  315. b9 = Instance.new("SpecialMesh", p9)
  316. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  317. b9.TextureId = ""
  318. b9.MeshType = Enum.MeshType.FileMesh
  319. b9.Name = "Mesh"
  320. b9.VertexColor = Vector3.new(0, 0, 0)
  321. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  322. p10 = Instance.new("Part", m)
  323. p10.BrickColor = BrickColor.new("Black")
  324. p10.FormFactor = Enum.FormFactor.Symmetric
  325. p10.Size = Vector3.new(1, 1, 1)
  326. 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)
  327. p10.CanCollide = false
  328. p10.Locked = true
  329. p10.BottomSurface = Enum.SurfaceType.Smooth
  330. p10.TopSurface = Enum.SurfaceType.Smooth
  331. b10 = Instance.new("SpecialMesh", p10)
  332. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  333. b10.TextureId = ""
  334. b10.MeshType = Enum.MeshType.FileMesh
  335. b10.Name = "Mesh"
  336. b10.VertexColor = Vector3.new(0, 0, 0)
  337. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  338. p11 = Instance.new("Part", m)
  339. p11.BrickColor = BrickColor.new("Black")
  340. p11.FormFactor = Enum.FormFactor.Symmetric
  341. p11.Size = Vector3.new(1, 1, 1)
  342. 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)
  343. p11.CanCollide = false
  344. p11.Locked = true
  345. p11.BottomSurface = Enum.SurfaceType.Smooth
  346. p11.TopSurface = Enum.SurfaceType.Smooth
  347. b11 = Instance.new("SpecialMesh", p11)
  348. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  349. b11.TextureId = ""
  350. b11.MeshType = Enum.MeshType.FileMesh
  351. b11.Name = "Mesh"
  352. b11.VertexColor = Vector3.new(0, 0, 0)
  353. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  354. p12 = Instance.new("Part", m)
  355. p12.BrickColor = BrickColor.new("Black")
  356. p12.FormFactor = Enum.FormFactor.Custom
  357. p12.Size = Vector3.new(1, 3.5, 1)
  358. 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)
  359. p12.CanCollide = false
  360. p12.Locked = true
  361. p12.BottomSurface = Enum.SurfaceType.Smooth
  362. p12.TopSurface = Enum.SurfaceType.Smooth
  363. b12 = Instance.new("SpecialMesh", p12)
  364. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  365. b12.TextureId = ""
  366. b12.MeshType = Enum.MeshType.FileMesh
  367. b12.Name = "Mesh"
  368. b12.VertexColor = Vector3.new(0, 0, 0)
  369. b12.Scale = Vector3.new(1, 3, 1.29999995)
  370. p13 = Instance.new("Part", m)
  371. p13.BrickColor = BrickColor.new("Institutional white")
  372. p13.FormFactor = Enum.FormFactor.Custom
  373. p13.Size = Vector3.new(1, 2, 1)
  374. 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)
  375. p13.CanCollide = false
  376. p13.Locked = true
  377. p13.BottomSurface = Enum.SurfaceType.Smooth
  378. p13.TopSurface = Enum.SurfaceType.Smooth
  379. b13 = Instance.new("SpecialMesh", p13)
  380. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  381. b13.TextureId = ""
  382. b13.MeshType = Enum.MeshType.FileMesh
  383. b13.Name = "Mesh"
  384. b13.VertexColor = Vector3.new(0, 0, 0)
  385. b13.Scale = Vector3.new(1, 3, 1.29999995)
  386. p14 = Instance.new("Part", m)
  387. p14.BrickColor = BrickColor.new("Black")
  388. p14.FormFactor = Enum.FormFactor.Custom
  389. p14.Size = Vector3.new(1, 2, 1)
  390. 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)
  391. p14.CanCollide = false
  392. p14.Locked = true
  393. p14.BottomSurface = Enum.SurfaceType.Smooth
  394. p14.TopSurface = Enum.SurfaceType.Smooth
  395. b14 = Instance.new("SpecialMesh", p14)
  396. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  397. b14.TextureId = ""
  398. b14.MeshType = Enum.MeshType.FileMesh
  399. b14.Name = "Mesh"
  400. b14.VertexColor = Vector3.new(0, 0, 0)
  401. b14.Scale = Vector3.new(1, 3, 1.29999995)
  402. p15 = Instance.new("Part", m)
  403. p15.BrickColor = BrickColor.new("Black")
  404. p15.FormFactor = Enum.FormFactor.Custom
  405. p15.Size = Vector3.new(1, 2.5, 1)
  406. 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)
  407. p15.CanCollide = false
  408. p15.Locked = true
  409. p15.BottomSurface = Enum.SurfaceType.Smooth
  410. p15.TopSurface = Enum.SurfaceType.Smooth
  411. b15 = Instance.new("SpecialMesh", p15)
  412. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  413. b15.TextureId = ""
  414. b15.MeshType = Enum.MeshType.FileMesh
  415. b15.Name = "Mesh"
  416. b15.VertexColor = Vector3.new(0, 0, 0)
  417. b15.Scale = Vector3.new(1, 3, 1.29999995)
  418. p16 = Instance.new("Part", m)
  419. p16.BrickColor = BrickColor.new("Black")
  420. p16.FormFactor = Enum.FormFactor.Custom
  421. p16.Size = Vector3.new(1, 2.5, 1)
  422. 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)
  423. p16.CanCollide = false
  424. p16.Locked = true
  425. p16.BottomSurface = Enum.SurfaceType.Smooth
  426. p16.TopSurface = Enum.SurfaceType.Smooth
  427. b16 = Instance.new("SpecialMesh", p16)
  428. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  429. b16.TextureId = ""
  430. b16.MeshType = Enum.MeshType.FileMesh
  431. b16.Name = "Mesh"
  432. b16.VertexColor = Vector3.new(0, 0, 0)
  433. b16.Scale = Vector3.new(1, 3, 1.29999995)
  434. p17 = Instance.new("Part", m)
  435. p17.BrickColor = BrickColor.new("Black")
  436. p17.FormFactor = Enum.FormFactor.Custom
  437. p17.Size = Vector3.new(1, 2.4000001, 1)
  438. 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)
  439. p17.CanCollide = false
  440. p17.Locked = true
  441. p17.BottomSurface = Enum.SurfaceType.Smooth
  442. p17.TopSurface = Enum.SurfaceType.Smooth
  443. b17 = Instance.new("SpecialMesh", p17)
  444. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  445. b17.TextureId = ""
  446. b17.MeshType = Enum.MeshType.FileMesh
  447. b17.Name = "Mesh"
  448. b17.VertexColor = Vector3.new(0, 0, 0)
  449. b17.Scale = Vector3.new(1, 3, 1.29999995)
  450. p18 = Instance.new("Part", m)
  451. p18.BrickColor = BrickColor.new("Black")
  452. p18.FormFactor = Enum.FormFactor.Custom
  453. p18.Size = Vector3.new(2, 2, 2)
  454. 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)
  455. p18.CanCollide = false
  456. p18.Locked = true
  457. p18.BottomSurface = Enum.SurfaceType.Smooth
  458. p18.TopSurface = Enum.SurfaceType.Smooth
  459. b18 = Instance.new("SpecialMesh", p18)
  460. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  461. b18.TextureId = ""
  462. b18.MeshType = Enum.MeshType.FileMesh
  463. b18.Name = "Mesh"
  464. b18.VertexColor = Vector3.new(0, 0, 0)
  465. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  466. w1 = Instance.new("Weld", p1)
  467. w1.Name = "Head_Weld"
  468. w1.Part0 = p1
  469. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  470. w1.Part1 = p2
  471. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  472. w2 = Instance.new("Weld", p2)
  473. w2.Name = "Part_Weld"
  474. w2.Part0 = p2
  475. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  476. w2.Part1 = p3
  477. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  478. w3 = Instance.new("Weld", p3)
  479. w3.Name = "Part_Weld"
  480. w3.Part0 = p3
  481. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  482. w3.Part1 = p4
  483. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  484. w4 = Instance.new("Weld", p4)
  485. w4.Name = "Part_Weld"
  486. w4.Part0 = p4
  487. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  488. w4.Part1 = p5
  489. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  490. w5 = Instance.new("Weld", p5)
  491. w5.Name = "Part_Weld"
  492. w5.Part0 = p5
  493. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  494. w5.Part1 = p6
  495. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  496. w6 = Instance.new("Weld", p6)
  497. w6.Name = "Part_Weld"
  498. w6.Part0 = p6
  499. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  500. w6.Part1 = p7
  501. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  502. w7 = Instance.new("Weld", p7)
  503. w7.Name = "Part_Weld"
  504. w7.Part0 = p7
  505. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  506. w7.Part1 = p8
  507. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  508. w8 = Instance.new("Weld", p8)
  509. w8.Name = "Part_Weld"
  510. w8.Part0 = p8
  511. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  512. w8.Part1 = p9
  513. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  514. w9 = Instance.new("Weld", p9)
  515. w9.Name = "Part_Weld"
  516. w9.Part0 = p9
  517. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  518. w9.Part1 = p10
  519. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  520. w10 = Instance.new("Weld", p10)
  521. w10.Name = "Part_Weld"
  522. w10.Part0 = p10
  523. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  524. w10.Part1 = p11
  525. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  526. w11 = Instance.new("Weld", p11)
  527. w11.Name = "Part_Weld"
  528. w11.Part0 = p11
  529. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  530. w11.Part1 = p12
  531. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  532. w12 = Instance.new("Weld", p12)
  533. w12.Name = "Part_Weld"
  534. w12.Part0 = p12
  535. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  536. w12.Part1 = p13
  537. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  538. w13 = Instance.new("Weld", p13)
  539. w13.Name = "Part_Weld"
  540. w13.Part0 = p13
  541. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  542. w13.Part1 = p14
  543. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  544. w14 = Instance.new("Weld", p14)
  545. w14.Name = "Part_Weld"
  546. w14.Part0 = p14
  547. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  548. w14.Part1 = p15
  549. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  550. w15 = Instance.new("Weld", p15)
  551. w15.Name = "Part_Weld"
  552. w15.Part0 = p15
  553. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  554. w15.Part1 = p16
  555. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  556. w16 = Instance.new("Weld", p16)
  557. w16.Name = "Part_Weld"
  558. w16.Part0 = p16
  559. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  560. w16.Part1 = p17
  561. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  562. w17 = Instance.new("Weld", p17)
  563. w17.Name = "Part_Weld"
  564. w17.Part0 = p17
  565. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  566. w17.Part1 = p18
  567. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  568. m.Parent = char
  569. m:MakeJoints()
  570. ----------------------------------------------------
  571. local cor = Instance.new("Part", char.Hair)
  572. cor.Name = "Link"
  573. cor.Locked = true
  574. cor.BottomSurface = 0
  575. cor.CanCollide = false
  576. cor.Size = Vector3.new(1, 9, 1)
  577. cor.Transparency = 1
  578. cor.TopSurface = 0
  579. corw = Instance.new("Weld", cor)
  580. corw.Part0 = hed
  581. corw.Part1 = cor
  582. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  583. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  584. weld1 = Instance.new("Weld", char.Hair)
  585. weld1.Part0 = cor
  586. weld1.Part1 = char.Hair.Head
  587. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  588. ----------------------------------------------------
  589. GroundWave1 = function()
  590. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  591. local Colors = {"Black", "Really black"}
  592. local wave = Instance.new("Part", torso)
  593. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  594. wave.Anchored = true
  595. wave.CanCollide = false
  596. wave.Locked = true
  597. wave.Size = Vector3.new(1, 1, 1)
  598. wave.TopSurface = "Smooth"
  599. wave.BottomSurface = "Smooth"
  600. wave.Transparency = 0.35
  601. wave.CFrame = HandCF
  602. wm = Instance.new("SpecialMesh", wave)
  603. wm.MeshId = "rbxassetid://3270017"
  604. coroutine.wrap(function()
  605. for i = 1, 30, 1 do
  606. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  607. wave.Size = wm.Scale
  608. wave.CFrame = HandCF
  609. wave.Transparency = i/30
  610. wait()
  611. end
  612. wait()
  613. wave:Destroy()
  614. end)()
  615. end
  616. ----------------------------------------------------
  617. GroundWave = function()
  618. if Transforming == true then
  619. local wave = Instance.new("Part", torso)
  620. wave.BrickColor = BrickColor.new("Black")
  621. wave.Anchored = true
  622. wave.CanCollide = false
  623. wave.Locked = true
  624. wave.Size = Vector3.new(1, 1, 1)
  625. wave.TopSurface = "Smooth"
  626. wave.BottomSurface = "Smooth"
  627. wave.Transparency = 0.35
  628. wave.CFrame = fx.CFrame
  629. wm = Instance.new("SpecialMesh", wave)
  630. wm.MeshType = "Sphere"
  631. wm.Scale = Vector3.new(1,1,1)
  632. coroutine.wrap(function()
  633. for i = 1, 18, 1 do
  634. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  635. --wave.Size = wm.Scale
  636. wave.CFrame = fx.CFrame
  637. wave.Transparency = i/14
  638. wait()
  639. end
  640. wait()
  641. wave:Destroy()
  642. end)()
  643. elseif Transforming == false then
  644. wait()
  645. end
  646. end
  647.  
  648. for i = 1, 100 do rs:wait()
  649. fx.CFrame = torso.CFrame
  650. end
  651.  
  652. Spawn(function()
  653. while wait(1) do
  654. GroundWave()
  655. end
  656. end)
  657.  
  658. wait(1)
  659.  
  660. Transforming = false
  661.  
  662. for i = 1, 20 do rs:wait()
  663. fx.Transparency = fx.Transparency + (1/20)
  664. fx.CFrame = torso.CFrame
  665. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  666. rs:wait()
  667. end
  668.  
  669. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  670. local wave = Instance.new("Part", torso)
  671. wave.BrickColor = BrickColor.new("Institutional white")
  672. wave.Anchored = true
  673. wave.CanCollide = false
  674. wave.Locked = true
  675. wave.Size = Vector3.new(1, 1, 1)
  676. wave.TopSurface = "Smooth"
  677. wave.BottomSurface = "Smooth"
  678. wave.Transparency = 0.35
  679. wave.CFrame = HandCF
  680. wm = Instance.new("SpecialMesh", wave)
  681. wm.MeshId = "rbxassetid://3270017"
  682. coroutine.wrap(function()
  683. for i = 1, 14, 1 do
  684. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  685. wave.Size = wm.Scale
  686. wave.CFrame = HandCF
  687. wave.Transparency = i/14
  688. wait()
  689. end
  690. wait()
  691. wave:Destroy()
  692. end)()
  693. hum.WalkSpeed = 16
  694. ----------------------------------------------------
  695. Blast = function()
  696. local Colors = {"Really black", "Really black"}
  697. local wave = Instance.new("Part", torso)
  698. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  699. wave.Anchored = true
  700. wave.CanCollide = false
  701. wave.Locked = true
  702. wave.Size = Vector3.new(1, 1, 1)
  703. wave.TopSurface = "Smooth"
  704. wave.BottomSurface = "Smooth"
  705. wave.Transparency = 0.35
  706. wave.CFrame = rarm.CFrame
  707. wm = Instance.new("SpecialMesh", wave)
  708. wm.MeshType = "Sphere"
  709. wm.Scale = Vector3.new(1,1,1)
  710. z = Instance.new("Sound",wave)
  711. z.SoundId = "rbxassetid://237035051"
  712. z.Volume = 1
  713. z.Pitch = .9
  714. z:Play()
  715. coroutine.wrap(function()
  716. for i = 1, 30, 1 do
  717. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  718. --wave.Size = wm.Scale
  719. wave.CFrame = rarm.CFrame
  720. wave.Transparency = (1/14)
  721. rs:wait()
  722. end
  723. rs:wait()
  724. wave:Destroy()
  725. z:Destroy()
  726. end)()
  727. end
  728. ----------------------------------------------------
  729. rarm.Touched:connect(function(ht)
  730. hit = ht.Parent
  731. if ht and hit:IsA("Model") then
  732. if hit:FindFirstChild("Humanoid") then
  733. if hit.Name ~= p.Name then
  734. if Debounces.RPunch == true and Debounces.RPunched == false then
  735. Debounces.RPunched = true
  736. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  737. if Debounces.ks==true then
  738. z = Instance.new("Sound",hed)
  739. z.SoundId = "rbxassetid://169380525"
  740. z.Pitch = ptz[math.random(1,#ptz)]
  741. z.Volume = 1
  742. z:Play()
  743. end
  744. wait(.2)
  745. Debounces.RPunched = false
  746. end
  747. end
  748. end
  749. elseif ht and hit:IsA("Hat") then
  750. if hit.Parent.Name ~= p.Name then
  751. if hit.Parent:FindFirstChild("Humanoid") then
  752. if Debounces.RPunch == true and Debounces.RPunched == false then
  753. Debounces.RPunched = true
  754. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  755. if Debounces.ks==true then
  756. z = Instance.new("Sound",hed)
  757. z.SoundId = "rbxassetid://169380525"
  758. z.Pitch = ptz[math.random(1,#ptz)]
  759. z.Volume = 1
  760. z:Play()
  761. end
  762. wait(.2)
  763. Debounces.RPunched = false
  764. end
  765. end
  766. end
  767. end
  768. end)
  769. larm.Touched:connect(function(ht)
  770. hit = ht.Parent
  771. if ht and hit:IsA("Model") then
  772. if hit:FindFirstChild("Humanoid") then
  773. if hit.Name ~= p.Name then
  774. if Debounces.LPunch == true and Debounces.LPunched == false then
  775. Debounces.LPunched = true
  776. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  777. if Debounces.ks2==true then
  778. z = Instance.new("Sound",hed)
  779. z.SoundId = "rbxassetid://169380525"
  780. z.Pitch = ptz[math.random(1,#ptz)]
  781. z.Volume = 1
  782. z:Play()
  783. end
  784. wait(.2)
  785. Debounces.LPunched = false
  786. end
  787. end
  788. end
  789. elseif ht and hit:IsA("Hat") then
  790. if hit.Parent.Name ~= p.Name then
  791. if hit.Parent:FindFirstChild("Humanoid") then
  792. if Debounces.LPunch == true and Debounces.LPunched == false then
  793. Debounces.LPunched = true
  794. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  795. if Debounces.ks2==true then
  796. z = Instance.new("Sound",hed)
  797. z.SoundId = "rbxassetid://169380525"
  798. z.Pitch = ptz[math.random(1,#ptz)]
  799. z.Volume = 1
  800. z:Play()
  801. end
  802. wait(.2)
  803. Debounces.LPunched = false
  804. end
  805. end
  806. end
  807. end
  808. end)
  809. ----------------------------------------------------
  810. mod4 = Instance.new("Model",char)
  811.  
  812. ptez = {0.7, 0.8, 0.9, 1}
  813.  
  814. function FindNearestTorso(Position,Distance,SinglePlayer)
  815. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  816. local List = {}
  817. for i,v in pairs(workspace:GetChildren())do
  818. if v:IsA("Model")then
  819. if v:findFirstChild("Torso")then
  820. if v ~= char then
  821. if(v.Torso.Position -Position).magnitude <= Distance then
  822. table.insert(List,v)
  823. end
  824. end
  825. end
  826. end
  827. end
  828. return List
  829. end
  830.  
  831. function Punch()
  832. part=Instance.new('Part',mod4)
  833. part.Anchored=true
  834. part.CanCollide=false
  835. part.FormFactor='Custom'
  836. part.Size=Vector3.new(.2,.2,.2)
  837. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  838. part.Transparency=.7
  839. part.BrickColor=BrickColor.new('Really black')
  840. mesh=Instance.new('SpecialMesh',part)
  841. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  842. mesh.Scale=Vector3.new(3,3,3)
  843. part2=Instance.new('Part',mod4)
  844. part2.Anchored=true
  845. part2.CanCollide=false
  846. part2.FormFactor='Custom'
  847. part2.Size=Vector3.new(.2,.2,.2)
  848. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  849. part2.Transparency=.7
  850. part2.BrickColor=BrickColor.new('Really black')
  851. mesh2=Instance.new('SpecialMesh',part2)
  852. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  853. mesh2.Scale=Vector3.new(3,1.5,3)
  854. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  855. if v:FindFirstChild('Humanoid') then
  856. v.Humanoid:TakeDamage(math.random(2,6))
  857. end
  858. end
  859. coroutine.resume(coroutine.create(function()
  860. for i=0,0.62,0.4 do
  861. wait()
  862. part.CFrame=part.CFrame
  863. part.Transparency=i
  864. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  865. part2.CFrame=part2.CFrame
  866. part2.Transparency=i
  867. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  868. end
  869. part.Parent=nil
  870. part2.Parent=nil
  871. end))
  872. end
  873. ----------------------------------------------------
  874. rarm.Touched:connect(function(ht)
  875. hit = ht.Parent
  876. if ht and hit:IsA("Model") then
  877. if hit:FindFirstChild("Humanoid") then
  878. if hit.Name ~= p.Name then
  879. if Debounces.RPunch == true and Debounces.RPunched == false then
  880. Debounces.RPunched = true
  881. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  882. if Debounces.ks==true then
  883. z = Instance.new("Sound",hed)
  884. z.SoundId = "rbxassetid://169380525"
  885. z.Pitch = ptz[math.random(1,#ptz)]
  886. z.Volume = 1
  887. z:Play()
  888. end
  889. wait(.2)
  890. Debounces.RPunched = false
  891. end
  892. end
  893. end
  894. elseif ht and hit:IsA("Hat") then
  895. if hit.Parent.Name ~= p.Name then
  896. if hit.Parent:FindFirstChild("Humanoid") then
  897. if Debounces.RPunch == true and Debounces.RPunched == false then
  898. Debounces.RPunched = true
  899. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  900. if Debounces.ks==true then
  901. z = Instance.new("Sound",hed)
  902. z.SoundId = "rbxassetid://169380525"
  903. z.Pitch = ptz[math.random(1,#ptz)]
  904. z.Volume = 1
  905. z:Play()
  906. end
  907. wait(.2)
  908. Debounces.RPunched = false
  909. end
  910. end
  911. end
  912. end
  913. end)
  914. larm.Touched:connect(function(ht)
  915. hit = ht.Parent
  916. if ht and hit:IsA("Model") then
  917. if hit:FindFirstChild("Humanoid") then
  918. if hit.Name ~= p.Name then
  919. if Debounces.LPunch == true and Debounces.LPunched == false then
  920. Debounces.LPunched = true
  921. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  922. if Debounces.ks2==true then
  923. z = Instance.new("Sound",hed)
  924. z.SoundId = "rbxassetid://169380525"
  925. z.Pitch = ptz[math.random(1,#ptz)]
  926. z.Volume = 1
  927. z:Play()
  928. end
  929. wait(.2)
  930. Debounces.LPunched = false
  931. end
  932. end
  933. end
  934. elseif ht and hit:IsA("Hat") then
  935. if hit.Parent.Name ~= p.Name then
  936. if hit.Parent:FindFirstChild("Humanoid") then
  937. if Debounces.LPunch == true and Debounces.LPunched == false then
  938. Debounces.LPunched = true
  939. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  940. if Debounces.ks2==true then
  941. z = Instance.new("Sound",hed)
  942. z.SoundId = "rbxassetid://169380525"
  943. z.Pitch = ptz[math.random(1,#ptz)]
  944. z.Volume = 1
  945. z:Play()
  946. end
  947. wait(.2)
  948. Debounces.LPunched = false
  949. end
  950. end
  951. end
  952. end
  953. end)
  954. ----------------------------------------------------
  955. local player = game.Players.LocalPlayer
  956. local pchar = player.Character
  957. local mouse = player:GetMouse()
  958. local cam = workspace.CurrentCamera
  959.  
  960. local rad = math.rad
  961.  
  962. local keysDown = {}
  963. local flySpeed = 0
  964. local MAX_FLY_SPEED = 150
  965.  
  966. local canFly = false
  967. local flyToggled = false
  968.  
  969. local forward, side = 0, 0
  970. local lastForward, lastSide = 0, 0
  971.  
  972. local floatBP = Instance.new("BodyPosition")
  973. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  974. local flyBV = Instance.new("BodyVelocity")
  975. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  976. local turnBG = Instance.new("BodyGyro")
  977. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  978.  
  979. mouse.KeyDown:connect(function(key)
  980. keysDown[key] = true
  981.  
  982. if key == "f" then
  983. flyToggled = not flyToggled
  984.  
  985. if not flyToggled then
  986. stanceToggle = "Normal"
  987. floatBP.Parent = nil
  988. flyBV.Parent = nil
  989. turnBG.Parent = nil
  990. root.Velocity = Vector3.new()
  991. pchar.Humanoid.PlatformStand = false
  992. end
  993. end
  994.  
  995. end)
  996. mouse.KeyUp:connect(function(key)
  997. keysDown[key] = nil
  998. end)
  999.  
  1000. local function updateFly()
  1001.  
  1002. if not flyToggled then return end
  1003.  
  1004. lastForward = forward
  1005. lastSide = side
  1006.  
  1007. forward = 0
  1008. side = 0
  1009.  
  1010. if keysDown.w then
  1011. forward = forward + 1
  1012. end
  1013. if keysDown.s then
  1014. forward = forward - 1
  1015. end
  1016. if keysDown.a then
  1017. side = side - 1
  1018. end
  1019. if keysDown.d then
  1020. side = side + 1
  1021. end
  1022.  
  1023. canFly = (forward ~= 0 or side ~= 0)
  1024.  
  1025. if canFly then
  1026. stanceToggle = "Floating"
  1027. turnBG.Parent = root
  1028. floatBP.Parent = nil
  1029. flyBV.Parent = root
  1030.  
  1031. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1032. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1033. else
  1034. floatBP.position = root.Position
  1035. floatBP.Parent = root
  1036.  
  1037. flySpeed = flySpeed - 1
  1038. if flySpeed < 0 then flySpeed = 0 end
  1039. end
  1040.  
  1041. local camCF = cam.CoordinateFrame
  1042. local in_forward = canFly and forward or lastForward
  1043. local in_side = canFly and side or lastSide
  1044.  
  1045. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1046. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1047.  
  1048. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1049. 0)
  1050. end
  1051.  
  1052. game:service'RunService'.RenderStepped:connect(function()
  1053. if flyToggled then
  1054. pchar.Humanoid.PlatformStand = true
  1055. end
  1056. updateFly()
  1057. end)
  1058. -------------------------------
  1059. mouse.KeyDown:connect(function(key)
  1060. if key == "q" then
  1061. if Debounces.CanAttack == true then
  1062. Debounces.CanAttack = false
  1063. Debounces.NoIdl = true
  1064. Debounces.on = true
  1065. function FindNearestTorso(Position,Distance,SinglePlayer)
  1066. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1067. local List = {}
  1068. for i,v in pairs(workspace:GetChildren())do
  1069. if v:IsA("Model")then
  1070. if v:findFirstChild("Torso")then
  1071. if v ~= char then
  1072. if(v.Torso.Position -Position).magnitude <= Distance then
  1073. table.insert(List,v)
  1074. end
  1075. end
  1076. end
  1077. end
  1078. end
  1079. return List
  1080. end
  1081. z = Instance.new("Sound",hed)
  1082. z.SoundId = "rbxassetid://232213955"
  1083. z.Pitch = 1
  1084. z.Volume = 1
  1085. wait(0.2)
  1086. z:Play()
  1087. sp = Instance.new("Part",rarm)
  1088. sp.Anchored = true
  1089. sp.CanCollide = false
  1090. sp.Locked = true
  1091. sp.Transparency = 0
  1092. sp.Material = "Neon"
  1093. sp.Size = Vector3.new(1,1,1)
  1094. sp.TopSurface = "SmoothNoOutlines"
  1095. sp.BottomSurface = "SmoothNoOutlines"
  1096. sp.BrickColor = BrickColor.new("Black")
  1097. spm = Instance.new("SpecialMesh",sp)
  1098. spm.MeshType = "Sphere"
  1099. spm.Scale = Vector3.new(21,21,21)
  1100. sp2 = Instance.new("Part", rarm)
  1101. sp2.Name = "Energy"
  1102. sp2.BrickColor = BrickColor.new("Black")
  1103. sp2.Size = Vector3.new(1, 1, 1)
  1104. sp2.Shape = "Ball"
  1105. sp2.CanCollide = false
  1106. sp2.Anchored = true
  1107. sp2.Locked = true
  1108. sp2.TopSurface = 0
  1109. sp2.BottomSurface = 0
  1110. sp2.Transparency = 1
  1111. spm2 = Instance.new("SpecialMesh",sp2)
  1112. spm2.MeshId = "rbxassetid://9982590"
  1113. spm2.Scale = Vector3.new(2,2,2)
  1114. for i = 1, 20 do
  1115. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1116. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1117. 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)
  1118. 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)
  1119. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1120. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1121. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1122. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1123. if Debounces.on == false then break end
  1124. rs:wait()
  1125. end
  1126. for i = 1, 100, 20 do rs:wait()
  1127. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1128. end
  1129. for i = 1, 20 do
  1130. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1131. 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)
  1132. 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)
  1133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1137. if Debounces.on == false then break end
  1138. rs:wait()
  1139. end
  1140. sp.Transparency = 1
  1141. for i = 1, 20 do
  1142. 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)
  1143. 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)
  1144. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1145. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1146. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1147. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1148. if Debounces.on == false then break end
  1149. rs:wait()
  1150. end
  1151. wait(1)
  1152. sp.Transparency = 0
  1153. sp2.Transparency = 0.84
  1154. for i = 1, 20 do
  1155. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1156. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1157. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1158. 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)
  1159. 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)
  1160. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1161. 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)
  1162. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1163. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1164. if Debounces.on == false then break end
  1165. rs:wait()
  1166. end
  1167. for i = 1, 2880, 50 do
  1168. rs:wait()
  1169. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1170. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1171. rs:wait()
  1172. end
  1173. sp:Destroy()
  1174. sp2:Destroy()
  1175. local X = Instance.new("Part",char)
  1176. local O = Instance.new("ObjectValue",X)
  1177. O.Name = "creator"
  1178. X.Locked = true
  1179. X.Name = "Shell"
  1180. X.Anchored = false
  1181. X.CanCollide = false
  1182. X.Transparency = 0
  1183. X.Reflectance = 0
  1184. X.BottomSurface = 0
  1185. X.TopSurface = 0
  1186. X.Shape = 0
  1187. local V = Instance.new("ObjectValue",X)
  1188. V.Value = char
  1189. V.Name = "creator"
  1190. X.BrickColor = BrickColor.new("Black")
  1191. X.Size = Vector3.new(2,2,2)
  1192. X.Material = "Neon"
  1193. local Z = Instance.new("SpecialMesh",X)
  1194. Z.MeshType = "Sphere"
  1195. Z.Scale = Vector3.new(0.5,0.5,1)
  1196. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1197. local bv = Instance.new("BodyVelocity",X)
  1198. bv.maxForce = Vector3.new(99999,99999,99999)
  1199. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1200. bv.velocity = X.CFrame.lookVector*65
  1201.  
  1202. Explode = X.Touched:connect(function(hit)
  1203. if hit ~= char and hit.Name ~= "Shell" then
  1204. local cf = X.CFrame
  1205. bv:Destroy()
  1206. X.Anchored = true
  1207. Z:Remove()
  1208. Explode:disconnect()
  1209. X.Size = Vector3.new(3,3,3)
  1210. X.Touched:connect(function(hit) end)
  1211. X.CanCollide = false
  1212. local part3 = Instance.new("Part", rarm)
  1213. part3.Anchored=true
  1214. part3.CanCollide=false
  1215. part3.Locked = true
  1216. part3.TopSurface = "SmoothNoOutlines"
  1217. part3.BottomSurface = "SmoothNoOutlines"
  1218. part3.FormFactor='Custom'
  1219. part3.Size=Vector3.new(1,1, 1)
  1220. part3.CFrame=X.CFrame
  1221. part3.Transparency=0
  1222. part3.BrickColor=BrickColor.new("Black")
  1223. local mesh3 = Instance.new("SpecialMesh",part3)
  1224. mesh3.MeshType = "Sphere"
  1225. mesh3.Scale = Vector3.new(1,1,1)
  1226. --debris:AddItem(X,8)
  1227. local part4 = Instance.new("Part", rarm)
  1228. part4.Material = "Neon"
  1229. part4.Anchored=true
  1230. part4.CanCollide=false
  1231. part4.Locked = true
  1232. part4.TopSurface = "SmoothNoOutlines"
  1233. part4.BottomSurface = "SmoothNoOutlines"
  1234. part4.FormFactor='Custom'
  1235. part4.Size=Vector3.new(1,1, 1)
  1236. part4.CFrame=X.CFrame
  1237. part4.Transparency=0
  1238. part4.BrickColor=BrickColor.new("Hot pink")
  1239. local mesh4 = Instance.new("SpecialMesh",part4)
  1240. mesh4.MeshType = "Sphere"
  1241. mesh4.Scale = Vector3.new(.5,.5,.5)
  1242. local part7 = Instance.new("Part", rarm)
  1243. part7.Material = "Neon"
  1244. part7.Anchored=true
  1245. part7.CanCollide=false
  1246. part7.Locked = true
  1247. part7.TopSurface = "SmoothNoOutlines"
  1248. part7.BottomSurface = "SmoothNoOutlines"
  1249. part7.FormFactor='Custom'
  1250. part7.Size=Vector3.new(1,1, 1)
  1251. part7.CFrame=X.CFrame
  1252. part7.Transparency=0
  1253. part7.BrickColor=BrickColor.new("Really black")
  1254. local mesh7 = Instance.new("SpecialMesh",part7)
  1255. mesh7.MeshType = "Sphere"
  1256. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1257. --[[X.Touched:connect(function(ht)
  1258. hit = ht.Parent
  1259. if ht and hit:IsA("Model") then
  1260. if hit:FindFirstChild("Humanoid") then
  1261. if hit.Name ~= p.Name then
  1262. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1263. wait(.3)
  1264. end
  1265. end
  1266. elseif ht and hit:IsA("Hat") then
  1267. if hit.Parent.Name ~= p.Name then
  1268. if hit.Parent:FindFirstChild("Humanoid") then
  1269. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1270. wait(.3)
  1271. end
  1272. end
  1273. end
  1274. end)
  1275. part3.Touched:connect(function(ht)
  1276. hit = ht.Parent
  1277. if ht and hit:IsA("Model") then
  1278. if hit:FindFirstChild("Humanoid") then
  1279. if hit.Name ~= p.Name then
  1280. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1281. wait(.3)
  1282. end
  1283. end
  1284. elseif ht and hit:IsA("Hat") then
  1285. if hit.Parent.Name ~= p.Name then
  1286. if hit.Parent:FindFirstChild("Humanoid") then
  1287. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1288. wait(.3)
  1289. end
  1290. end
  1291. end
  1292. end)]]--
  1293. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1294. if v:FindFirstChild('Humanoid') then
  1295. v.Humanoid:TakeDamage(math.random(60,90))
  1296. v.Humanoid.PlatformStand = true
  1297. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1298. end
  1299. end
  1300.  
  1301. local acos = math.acos
  1302. local sqrt = math.sqrt
  1303. local Vec3 = Vector3.new
  1304. local fromAxisAngle = CFrame.fromAxisAngle
  1305.  
  1306. local function toAxisAngle(CFr)
  1307. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1308. local Angle = math.acos((R00+R11+R22-1)/2)
  1309. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1310. A = A == 0 and 0.00001 or A
  1311. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1312. B = B == 0 and 0.00001 or B
  1313. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1314. C = C == 0 and 0.00001 or C
  1315. local x = (R21-R12)/sqrt(A)
  1316. local y = (R02-R20)/sqrt(B)
  1317. local z = (R10-R01)/sqrt(C)
  1318. return Vec3(x,y,z),Angle
  1319. end
  1320.  
  1321. function ApplyTrig(Num,Func)
  1322. local Min,Max = Func(0),Func(1)
  1323. local i = Func(Num)
  1324. return (i-Min)/(Max-Min)
  1325. end
  1326.  
  1327. function LerpCFrame(CFrame1,CFrame2,Num)
  1328. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1329. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1330. end
  1331.  
  1332. function Crater(Torso,Radius)
  1333. Spawn(function()
  1334. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1335. local Ignore = {}
  1336. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1337. if v.Character ~= nil then
  1338. Ignore[#Ignore+1] = v.Character
  1339. end
  1340. end
  1341. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1342. if Hit == nil then return end
  1343. local Parts = {}
  1344. for i = 1,360,10 do
  1345. local P = Instance.new("Part",Torso.Parent)
  1346. P.Anchored = true
  1347. P.FormFactor = "Custom"
  1348. P.BrickColor = Hit.BrickColor
  1349. P.Material = Hit.Material
  1350. P.TopSurface = "Smooth"
  1351. P.BottomSurface = "Smooth"
  1352. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1353. 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)))
  1354. 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}
  1355. if math.random(0,5) == 0 then -- rubble
  1356. local P = Instance.new("Part",Torso.Parent)
  1357. P.Anchored = true
  1358. P.FormFactor = "Custom"
  1359. P.BrickColor = Hit.BrickColor
  1360. P.Material = Hit.Material
  1361. P.TopSurface = "Smooth"
  1362. P.BottomSurface = "Smooth"
  1363. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1364. 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)))
  1365. 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}
  1366. end
  1367. end
  1368. for i = 0,1,0.05 do
  1369. for i2,v in pairs(Parts) do
  1370. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1371. end
  1372. wait(0.02)
  1373. end
  1374. for i,v in pairs(Parts) do
  1375. if v[1].Size.X > 2.1 then
  1376. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1377. end
  1378. v[1].Anchored = false
  1379. end
  1380. for i = 0,1,0.05 do
  1381. for i2,v in pairs(Parts) do
  1382. v[1].Transparency = i
  1383. if i == 1 then
  1384. v[1]:Destroy()
  1385. elseif i >= 0.25 then
  1386. v[1].CanCollide = false
  1387. end
  1388. end
  1389. wait(0.02)
  1390. end
  1391. Parts = nil
  1392. end)
  1393. end
  1394.  
  1395. ROW = function(out, trans, s, wt, t, ang, plus)
  1396. for i = 1, 360, 360/t do
  1397. local c = Instance.new("Part", game.Workspace)
  1398. c.FormFactor = 3
  1399. c.TopSurface = 0
  1400. c.BottomSurface = 0
  1401. c.Size = s
  1402. c.Anchored = true
  1403. c.CanCollide = wt
  1404. c.Material=workspace.Base.Material
  1405. c.Transparency = trans
  1406. c.BrickColor = workspace.Base.BrickColor
  1407. 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
  1408. c.Locked=true
  1409. game.Debris:AddItem(c,15)
  1410. end
  1411. end
  1412.  
  1413. Part = function(x,y,z,color,tr,cc,an,parent)
  1414. local p = Instance.new('Part',parent or Weapon)
  1415. p.formFactor = 'Custom'
  1416. p.Size = Vector3.new(x,y,z)
  1417. p.BrickColor = BrickColor.new(color)
  1418. p.CanCollide = cc
  1419. p.Transparency = tr
  1420. p.Anchored = an
  1421. p.TopSurface,p.BottomSurface = 0,0
  1422. p.Locked=true
  1423. p:BreakJoints()
  1424. return p end
  1425.  
  1426. Mesh = function(par,num,x,y,z)
  1427. local msh = _
  1428. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1429. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1430. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1431. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1432. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1433. end msh.Scale = Vector3.new(x,y,z)
  1434. return msh end
  1435.  
  1436. function explosion(col1,col2,cfr,sz,rng,dmg)
  1437. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1438. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1439. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1440. v1,v2,v3=sz.x,sz.y,sz.z
  1441. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1442. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1443. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1444. a.CFrame=cfr
  1445. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1446. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1447.  
  1448. Spawn(function()
  1449. while wait() do
  1450. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1451. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1452. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1453. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1454. a.Transparency=a.Transparency+0.05
  1455. a2.Transparency=a2.Transparency+0.05
  1456. a3.Transparency=a3.Transparency+0.05
  1457. end
  1458. end)
  1459. end
  1460.  
  1461. Crater(X,20)
  1462. 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)
  1463. z = Instance.new("Sound",X)
  1464. z.SoundId = "rbxassetid://231917744"
  1465. z.Pitch = .5
  1466. z.Volume = 10
  1467. z1 = Instance.new("Sound",X)
  1468. z1.SoundId = "rbxassetid://231917744"
  1469. z1.Pitch = .5
  1470. z1.Volume = 10
  1471. z2 = Instance.new("Sound",X)
  1472. z2.SoundId = "rbxassetid://231917744"
  1473. z2.Pitch = .5
  1474. z2.Volume = 10
  1475. z3 = Instance.new("Sound",X)
  1476. z3.SoundId = "rbxassetid://245537790"
  1477. z3.Pitch = .7
  1478. z3.Volume = 1
  1479. z4 = Instance.new("Sound",X)
  1480. z4.SoundId = "rbxassetid://245537790"
  1481. z4.Pitch = .7
  1482. z4.Volume = 1
  1483. wait(0.1)
  1484. z:Play()
  1485. z1:Play()
  1486. z2:Play()
  1487. z3:Play()
  1488. z4:Play()
  1489.  
  1490. local part=Instance.new('Part',rarm)
  1491. part.Anchored=true
  1492. part.CanCollide=false
  1493. part.Locked = true
  1494. part.FormFactor='Custom'
  1495. part.Size=Vector3.new(1,1,1)
  1496. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1497. part.Transparency=0
  1498. part.BrickColor=BrickColor.new('Really black')
  1499. local mesh=Instance.new('SpecialMesh',part)
  1500. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1501. mesh.Scale=Vector3.new(2,2,2)
  1502. local part2=part:clone()
  1503. part2.Parent = rarm
  1504. part2.BrickColor=BrickColor.new("Black")
  1505. local part5=part:clone()
  1506. part5.Parent = rarm
  1507. part5.BrickColor=BrickColor.new("Magenta")
  1508. local part6=part:clone()
  1509. part6.Parent = rarm
  1510. part6.BrickColor=BrickColor.new("Black")
  1511. local mesh2=mesh:clone()
  1512. mesh2.Parent=part2
  1513. mesh2.Scale=Vector3.new(3, 3, 3)
  1514. local mesh5=mesh:clone()
  1515. mesh5.Parent=part5
  1516. mesh5.Scale=Vector3.new(3, 3, 3)
  1517. local mesh6=mesh:clone()
  1518. mesh6.Parent=part6
  1519. mesh6.Scale=Vector3.new(3, 3, 3)
  1520. local blast = Instance.new("Part", rarm)
  1521. blast.BrickColor = BrickColor.new("Really black")
  1522. blast.Anchored = true
  1523. blast.CanCollide = false
  1524. blast.Locked = true
  1525. blast.Size = Vector3.new(1, 1, 1)
  1526. blast.TopSurface = "Smooth"
  1527. blast.BottomSurface = "Smooth"
  1528. blast.Transparency = 0
  1529. blast.CFrame = HandCF
  1530. local bm = Instance.new("SpecialMesh", blast)
  1531. bm.Scale = Vector3.new(5,1,5)
  1532. bm.MeshId = "rbxassetid://3270017"
  1533. local blast2 = Instance.new("Part", rarm)
  1534. blast2.BrickColor = BrickColor.new("Really black")
  1535. blast2.Anchored = true
  1536. blast2.CanCollide = false
  1537. blast2.Locked = true
  1538. blast2.Size = Vector3.new(1, 1, 1)
  1539. blast2.TopSurface = "Smooth"
  1540. blast2.BottomSurface = "Smooth"
  1541. blast2.Transparency = 0
  1542. blast2.CFrame = HandCF
  1543. local bm2 = Instance.new("SpecialMesh", blast2)
  1544. bm2.Scale = Vector3.new(3,1,3)
  1545. bm2.MeshId = "rbxassetid://3270017"
  1546. local blast3 = Instance.new("Part", rarm)
  1547. blast3.BrickColor = BrickColor.new("Really black")
  1548. blast3.Anchored = true
  1549. blast3.CanCollide = false
  1550. blast3.Locked = true
  1551. blast3.Size = Vector3.new(1, 1, 1)
  1552. blast3.TopSurface = "Smooth"
  1553. blast3.BottomSurface = "Smooth"
  1554. blast3.Transparency = 0
  1555. blast3.CFrame = HandCF
  1556. local bm3 = Instance.new("SpecialMesh", blast3)
  1557. bm3.Scale = Vector3.new(3,1,3)
  1558. bm3.MeshId = "rbxassetid://3270017"
  1559. for i = 1,120 do rs:wait()
  1560. X.Transparency = X.Transparency + (1/120)
  1561. part.Transparency = part.Transparency + (1/120)
  1562. part2.Transparency = part2.Transparency + (1/120)
  1563. part3.Transparency = part3.Transparency + (1/120)
  1564. part4.Transparency = part4.Transparency + (1/120)
  1565. part5.Transparency = part5.Transparency + (1/120)
  1566. part6.Transparency = part6.Transparency + (1/120)
  1567. part7.Transparency = part7.Transparency + (1/120)
  1568. blast.Transparency = blast.Transparency + (1/120)
  1569. blast2.Transparency = blast2.Transparency + (1/120)
  1570. blast3.Transparency = blast3.Transparency + (1/120)
  1571. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1572. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1573. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1574. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1575. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1576. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1577. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1578. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1579. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1580. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1581. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1582. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1583. X.CFrame = cf
  1584. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1585. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1586. part3.CFrame=X.CFrame
  1587. part4.CFrame=X.CFrame
  1588. part7.CFrame=X.CFrame
  1589. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1590. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1591. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1592. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1593. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1594. rs:wait()
  1595. end
  1596. X:Destroy()
  1597. part:Destroy()
  1598. part2:Destroy()
  1599. part3:Destroy()
  1600. part4:Destroy()
  1601. part5:Destroy()
  1602. part6:Destroy()
  1603. blast:Destroy()
  1604. blast2:Destroy()
  1605. blast3:Destroy()
  1606. z:Destroy()
  1607. z1:Destroy()
  1608. z2:Destroy()
  1609. z3:Destroy()
  1610. z4:Destroy()
  1611. end
  1612. end)
  1613. for i = 1, 20 do
  1614. 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)
  1615. 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)
  1616. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1617. 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)
  1618. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1619. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1620. if Debounces.on == false then break end
  1621. rs:wait()
  1622. end
  1623. if Debounces.CanAttack == false then
  1624. Debounces.CanAttack = true
  1625. Debounces.NoIdl = false
  1626. Debounces.on = false
  1627. end
  1628. end
  1629. end
  1630. end)
  1631. ----------------------------------------------------
  1632. mouse.KeyDown:connect(function(key)
  1633. if key == "e" then
  1634. if Debounces.CanAttack == true then
  1635. Debounces.CanAttack = false
  1636. Debounces.on = true
  1637. Debounces.NoIdl = true
  1638. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1639. z = Instance.new("Sound", rarm)
  1640. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1641. z.Volume = .6
  1642. z.Pitch = pt[math.random(1,#pt)]
  1643. z.Looped = false
  1644. z:Play()
  1645. Debounces.RPunch = true
  1646. Debounces.LPunch = true
  1647. Debounces.ks = true
  1648. Debounces.ks2 = true
  1649. for i = 1, 3 do
  1650. 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)
  1651. 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)
  1652. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1653. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1654. 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)
  1655. 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)
  1656. if Debounces.on == false then break end
  1657. wait()
  1658. end
  1659. z2 = Instance.new("Sound", larm)
  1660. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1661. z2.Volume = .6
  1662. z2.Pitch = pt[math.random(1,#pt)]
  1663. z2.Looped = false
  1664. z2:Play()
  1665. for i = 1, 3 do
  1666. 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)
  1667. 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)
  1668. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1669. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1670. 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)
  1671. 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)
  1672. if Debounces.on == false then break end
  1673. wait()
  1674. end
  1675. z3 = Instance.new("Sound", rarm)
  1676. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1677. z3.Volume = 0.6
  1678. z3.Pitch = pt[math.random(1,#pt)]
  1679. z3.Looped = false
  1680. z3:Play()
  1681. for i = 1, 3 do
  1682. 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)
  1683. 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)
  1684. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1685. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1686. 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)
  1687. 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)
  1688. if Debounces.on == false then break end
  1689. wait()
  1690. end
  1691. z4 = Instance.new("Sound", larm)
  1692. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1693. z4.Volume = .6
  1694. z4.Pitch = pt[math.random(1,#pt)]
  1695. z4.Looped = false
  1696. z4:Play()
  1697. for i = 1, 3 do
  1698. 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)
  1699. 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)
  1700. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1701. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1702. 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)
  1703. 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)
  1704. if Debounces.on == false then break end
  1705. wait()
  1706. end
  1707. z5 = Instance.new("Sound", rarm)
  1708. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1709. z5.Volume = .6
  1710. z5.Pitch = pt[math.random(1,#pt)]
  1711. z5.Looped = false
  1712. z5:Play()
  1713. for i = 1, 3 do
  1714. 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)
  1715. 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)
  1716. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1717. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1718. 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)
  1719. 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)
  1720. if Debounces.on == false then break end
  1721. wait()
  1722. end
  1723. z6 = Instance.new("Sound", larm)
  1724. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1725. z6.Volume = .6
  1726. z6.Pitch = pt[math.random(1,#pt)]
  1727. z6.Looped = false
  1728. z6:Play()
  1729. for i = 1, 3 do
  1730. 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)
  1731. 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)
  1732. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1733. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1734. 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)
  1735. 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)
  1736. if Debounces.on == false then break end
  1737. wait()
  1738. end
  1739. z7 = Instance.new("Sound", rarm)
  1740. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1741. z7.Volume = .6
  1742. z7.Pitch = pt[math.random(1,#pt)]
  1743. z7.Looped = false
  1744. z7:Play()
  1745. for i = 1, 3 do
  1746. 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)
  1747. 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)
  1748. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1749. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1750. 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)
  1751. 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)
  1752. if Debounces.on == false then break end
  1753. wait()
  1754. end
  1755. z8 = Instance.new("Sound", larm)
  1756. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1757. z8.Volume = .6
  1758. z8.Pitch = pt[math.random(1,#pt)]
  1759. z8.Looped = false
  1760. z8:Play()
  1761. for i = 1, 3 do
  1762. 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)
  1763. 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)
  1764. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1765. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1766. 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)
  1767. 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)
  1768. if Debounces.on == false then break end
  1769. wait()
  1770. end
  1771. z9 = Instance.new("Sound", rarm)
  1772. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1773. z9.Volume = 0.6
  1774. z9.Pitch = pt[math.random(1,#pt)]
  1775. z9.Looped = false
  1776. z9:Play()
  1777. for i = 1, 3 do
  1778. 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)
  1779. 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)
  1780. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1781. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1782. 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)
  1783. 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)
  1784. if Debounces.on == false then break end
  1785. wait()
  1786. end
  1787. z10 = Instance.new("Sound", larm)
  1788. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1789. z10.Volume = .6
  1790. z10.Pitch = pt[math.random(1,#pt)]
  1791. z10.Looped = false
  1792. z10:Play()
  1793. for i = 1, 3 do
  1794. 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)
  1795. 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)
  1796. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1797. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1798. 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)
  1799. 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)
  1800. if Debounces.on == false then break end
  1801. wait()
  1802. end
  1803. z11 = Instance.new("Sound", rarm)
  1804. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1805. z11.Volume = .6
  1806. z11.Pitch = pt[math.random(1,#pt)]
  1807. z11.Looped = false
  1808. z11:Play()
  1809. for i = 1, 3 do
  1810. 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)
  1811. 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)
  1812. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1813. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1814. 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)
  1815. 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)
  1816. if Debounces.on == false then break end
  1817. wait()
  1818. end
  1819. z12 = Instance.new("Sound", larm)
  1820. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1821. z12.Volume = .6
  1822. z12.Pitch = pt[math.random(1,#pt)]
  1823. z12.Looped = false
  1824. z12:Play()
  1825. for i = 1, 3 do
  1826. 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)
  1827. 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)
  1828. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1829. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1830. 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)
  1831. 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)
  1832. if Debounces.on == false then break end
  1833. wait()
  1834. end
  1835. z13 = Instance.new("Sound", rarm)
  1836. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1837. z13.Volume = 0.6
  1838. z13.Pitch = pt[math.random(1,#pt)]
  1839. z13.Looped = false
  1840. z13:Play()
  1841. for i = 1, 3 do
  1842. 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)
  1843. 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)
  1844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1846. 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)
  1847. 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)
  1848. if Debounces.on == false then break end
  1849. wait()
  1850. end
  1851. z14 = Instance.new("Sound", larm)
  1852. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1853. z14.Volume = .6
  1854. z14.Pitch = pt[math.random(1,#pt)]
  1855. z14.Looped = false
  1856. z14:Play()
  1857. for i = 1, 3 do
  1858. 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)
  1859. 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)
  1860. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1861. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1862. 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)
  1863. 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)
  1864. if Debounces.on == false then break end
  1865. wait()
  1866. end
  1867. z15 = Instance.new("Sound", rarm)
  1868. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1869. z15.Volume = .6
  1870. z15.Pitch = pt[math.random(1,#pt)]
  1871. z15.Looped = false
  1872. z15:Play()
  1873. for i = 1, 3 do
  1874. 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)
  1875. 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)
  1876. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1877. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1878. 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)
  1879. 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)
  1880. if Debounces.on == false then break end
  1881. wait()
  1882. end
  1883. z16 = Instance.new("Sound", larm)
  1884. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1885. z16.Volume = .6
  1886. z16.Pitch = pt[math.random(1,#pt)]
  1887. z16.Looped = false
  1888. z16:Play()
  1889. for i = 1, 3 do
  1890. 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)
  1891. 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)
  1892. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1893. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1894. 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)
  1895. 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)
  1896. if Debounces.on == false then break end
  1897. wait()
  1898. end
  1899. z17 = Instance.new("Sound", rarm)
  1900. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1901. z17.Volume = .6
  1902. z17.Pitch = pt[math.random(1,#pt)]
  1903. z17.Looped = false
  1904. z17:Play()
  1905. for i = 1, 3 do
  1906. 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)
  1907. 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)
  1908. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1909. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1910. 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)
  1911. 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)
  1912. if Debounces.on == false then break end
  1913. wait()
  1914. end
  1915. z18 = Instance.new("Sound", larm)
  1916. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1917. z18.Volume = .6
  1918. z18.Pitch = pt[math.random(1,#pt)]
  1919. z18.Looped = false
  1920. z18:Play()
  1921. for i = 1, 3 do
  1922. 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)
  1923. 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)
  1924. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1925. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1926. 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)
  1927. 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)
  1928. if Debounces.on == false then break end
  1929. wait()
  1930. end
  1931. z19 = Instance.new("Sound", rarm)
  1932. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1933. z19.Volume = 0.6
  1934. z19.Pitch = pt[math.random(1,#pt)]
  1935. z19.Looped = false
  1936. z19:Play()
  1937. for i = 1, 3 do
  1938. 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)
  1939. 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)
  1940. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1941. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1942. 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)
  1943. 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)
  1944. if Debounces.on == false then break end
  1945. wait()
  1946. end
  1947. z20 = Instance.new("Sound", larm)
  1948. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1949. z20.Volume = .6
  1950. z20.Pitch = pt[math.random(1,#pt)]
  1951. z20.Looped = false
  1952. z20:Play()
  1953. for i = 1, 3 do
  1954. 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)
  1955. 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)
  1956. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1957. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1958. 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)
  1959. 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)
  1960. if Debounces.on == false then break end
  1961. wait()
  1962. end
  1963. z:Destroy()
  1964. z2:Destroy()
  1965. z3:Destroy()
  1966. z4:Destroy()
  1967. z5:Destroy()
  1968. z6:Destroy()
  1969. z7:Destroy()
  1970. z8:Destroy()
  1971. z9:Destroy()
  1972. z10:Destroy()
  1973. z11:Destroy()
  1974. z12:Destroy()
  1975. z13:Destroy()
  1976. z14:Destroy()
  1977. z15:Destroy()
  1978. z16:Destroy()
  1979. z17:Destroy()
  1980. z18:Destroy()
  1981. z19:Destroy()
  1982. z20:Destroy()
  1983. Debounces.LPunch = false
  1984. Debounces.RPunch = false
  1985. Debounces.ks = false
  1986. Debounces.ks2 = false
  1987. if Debounces.CanAttack == false then
  1988. Debounces.CanAttack = true
  1989. Debounces.on = false
  1990. Debounces.NoIdl = false
  1991. end
  1992. end
  1993. end
  1994. end)
  1995. -------------------------------
  1996. mouse.KeyDown:connect(function(key)
  1997. if key == "t" then
  1998. if Debounces.CanAttack == true then
  1999. Debounces.CanAttack = false
  2000. Debounces.NoIdl = true
  2001. Debounces.on = true
  2002. Debounces.ks = true
  2003. kik = rleg.Touched:connect(function(ht)
  2004. hit = ht.Parent
  2005. if ht and hit:IsA("Model") then
  2006. if hit:FindFirstChild("Humanoid") then
  2007. if hit.Name ~= p.Name then
  2008. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2009. Debounces.Slashed = true]]--
  2010. if Debounces.ks==true then
  2011. z = Instance.new("Sound",hed)
  2012. z.SoundId = "rbxassetid://169380525"
  2013. z.Volume = 1
  2014. z:Play()
  2015. Debounces.ks=false
  2016. end
  2017. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2018. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2019. --Debounces.Slashed = false
  2020. --end
  2021. end
  2022. end
  2023. elseif ht and hit:IsA("Hat") then
  2024. if hit.Parent.Name ~= p.Name then
  2025. if hit.Parent:FindFirstChild("Humanoid") then
  2026. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2027. Debounces.Slashed = true]]--
  2028. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2029. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2030. --Debounces.Slashed = false
  2031. --end
  2032. end
  2033. end
  2034. end
  2035. end)
  2036. for i = 1,20 do
  2037. 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)
  2038. 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)
  2039. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2040. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2041. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2042. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2043. if Debounces.on == false then break end
  2044. rs:wait()
  2045. end
  2046. kik:disconnect()
  2047. if Debounces.CanAttack == false then
  2048. Debounces.CanAttack = true
  2049. Debounces.NoIdl = false
  2050. Debounces.on = false
  2051. end
  2052. end
  2053. end
  2054. end)
  2055. ----------------------------------------------------
  2056. mouse.KeyDown:connect(function(key)
  2057. if key == "y" then
  2058. if Debounces.CanAttack == true then
  2059. Debounces.CanAttack = false
  2060. Debounces.on = true
  2061. Debounces.NoIdl = true
  2062. for i = 1, 15 do
  2063. 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)
  2064. 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)
  2065. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2066. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2067. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2068. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2069. if Debounces.on == false then break end
  2070. rs:wait(2.7)
  2071. end
  2072. x = Instance.new("Sound",char)
  2073. x.SoundId = "rbxassetid://228343271"
  2074. x.Pitch = 1
  2075. x.Volume = .8
  2076. wait(.1)
  2077. x:Play()
  2078. Debounces.on = false
  2079. Debounces.Here = false
  2080. shot = shot + 1
  2081. local rng = Instance.new("Part", larm)
  2082. rng.Anchored = true
  2083. rng.BrickColor = BrickColor.new("Black")
  2084. rng.CanCollide = false
  2085. rng.FormFactor = 3
  2086. rng.Name = "Ring"
  2087. rng.Size = Vector3.new(1, 1, 1)
  2088. rng.Transparency = 0.35
  2089. rng.TopSurface = 0
  2090. rng.BottomSurface = 0
  2091. rng2 = rng:clone()
  2092. rng3 = rng2:clone()
  2093. rng4 = rng2:clone()
  2094. local rngm = Instance.new("SpecialMesh", rng)
  2095. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2096. rngm.Scale = Vector3.new(10, 10, 1)
  2097. rngm2 = rngm:clone()
  2098. rngm2.Scale = Vector3.new(5, 5, 3)
  2099. rngm3=rngm2:clone()
  2100. rngm3.Parent = rng3
  2101. rngm3.Scale = Vector3.new(8, 8, 1)
  2102. rngm4 = rngm2:clone()
  2103. rngm4.Parent = rng4
  2104. rngm4.Scale = Vector3.new(6, 6, 1)
  2105. local bem = Instance.new("Part", larm)
  2106. bem.Anchored = true
  2107. bem.BrickColor = BrickColor.new("Really black")
  2108. bem.CanCollide = false
  2109. bem.FormFactor = 3
  2110. bem.Name = "Beam" .. shot
  2111. bem.Size = Vector3.new(1, 1, 1)
  2112. bem.Transparency = 0.35
  2113. bem.TopSurface = 0
  2114. bem.BottomSurface = 0
  2115. local bemm = Instance.new("SpecialMesh", bem)
  2116. bemm.MeshType = 4
  2117. bemm.Scale = Vector3.new(1, 4, 4)
  2118. local out = Instance.new("Part", larm)
  2119. out.Anchored = true
  2120. out.BrickColor = BrickColor.new("Really black")
  2121. out.CanCollide = false
  2122. out.FormFactor = 3
  2123. out.Name = "Out"
  2124. out.Size = Vector3.new(4, 4, 4)
  2125. out.Transparency = 0.35
  2126. out.TopSurface = 0
  2127. out.BottomSurface = 0
  2128. local outm = Instance.new("SpecialMesh", out)
  2129. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2130. outm.Scale = Vector3.new(6, 4, 6)
  2131. local bnd = Instance.new("Part", larm)
  2132. bnd.Anchored = true
  2133. bnd.BrickColor = BrickColor.new("Really black")
  2134. bnd.CanCollide = false
  2135. bnd.FormFactor = 3
  2136. bnd.Name = "Bend"
  2137. bnd.Size = Vector3.new(1, 1, 1)
  2138. bnd.Transparency = 1
  2139. bnd.TopSurface = 0
  2140. bnd.BottomSurface = 0
  2141. local bndm = Instance.new("SpecialMesh", bnd)
  2142. bndm.MeshType = 3
  2143. bndm.Scale = Vector3.new(8, 8, 8)
  2144. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2145. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2146. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2147. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2148. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2149. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2150. Debounces.Shewt = true
  2151. coroutine.wrap(function()
  2152. for i = 1, 20, 0.2 do
  2153. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2154. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2155. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2156. rng.Transparency = i/20
  2157. rng3.Transparency = 1/24
  2158. rng4.Transparency = i/26
  2159. wait()
  2160. end
  2161. wait()
  2162. rng:Destroy()
  2163. end)()
  2164. if Debounces.Shewt == true then
  2165. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2166. hit = ht.Parent
  2167. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2168. if HasntTouched(hit.Name) == true and deb == false then
  2169. deb = true
  2170. coroutine.wrap(function()
  2171. hit:FindFirstChild("Humanoid").PlatformStand = true
  2172. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2173. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2174. end)()
  2175. table.insert(Touche, hit.Name)
  2176. deb = false
  2177. end
  2178. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2179. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2180. deb = true
  2181. coroutine.wrap(function()
  2182. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2183. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2184. wait(1)
  2185. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2186. end)()
  2187. table.insert(Touche, hit.Parent.Name)
  2188. deb = false
  2189. for i, v in pairs(Touche) do
  2190. print(v)
  2191. end
  2192. end
  2193. end
  2194. end)
  2195. end
  2196. for i = 0, 260, 8 do
  2197. bem.Size = Vector3.new(i, 3, 3)
  2198. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2199. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2200. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2201. bnd.Size = Vector3.new(1,1,1)
  2202. bndm.Scale = Vector3.new(8,8,8)
  2203. if i % 10 == 0 then
  2204. local newRng = rng2:Clone()
  2205. newRng.Parent = larm
  2206. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2207. local newRngm = rngm2:clone()
  2208. newRngm.Parent=newRng
  2209. coroutine.wrap(function()
  2210. for i = 1, 10, 0.2 do
  2211. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2212. newRng.Transparency = i/10
  2213. wait()
  2214. end
  2215. wait()
  2216. newRng:Destroy()
  2217. end)()
  2218. end
  2219. wait()
  2220. end
  2221. wait()
  2222. Debounces.Shewt = false
  2223. bem:Destroy()
  2224. out:Destroy()
  2225. bnd:Destroy()
  2226. Debounces.Ready = false
  2227. for i, v in pairs(Touche) do
  2228. table.remove(Touche, i)
  2229. end
  2230. wait()
  2231. table.insert(Touche, char.Name)
  2232. Debounces.NoIdl = false
  2233. if Debounces.CanAttack == false then
  2234. Debounces.CanAttack = true
  2235. end
  2236. end
  2237. end
  2238. end)
  2239. ----------------------------------------------------
  2240. --[[mouse.KeyDown:connect(function(key)
  2241. if key == "y" then
  2242. if Debounces.CanAttack == true then
  2243. Debounces.CanAttack = false
  2244. Debounces.NoIdl = true
  2245. Debounces.on = true
  2246. local shell = Instance.new("Part",torso)
  2247. shell.BrickColor = BrickColor.new("Black")
  2248. shell.Anchored = false
  2249. shell.CanCollide = false
  2250. shell.Locked = true
  2251. shell.TopSurface = "SmoothNoOutlines"
  2252. shell.BottomSurface = "SmoothNoOutlines"
  2253. shell.Size = Vector3.new(1.2,1.2,1.2)
  2254. shell.FormFactor = 3
  2255. local shellm = Instance.new("SpecialMesh",shell)
  2256. shellm.MeshType = "Sphere"
  2257. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2258. Omega = function()
  2259. local X = Instance.new("Part",char)
  2260. local O = Instance.new("ObjectValue",X)
  2261. O.Name = "creator"
  2262. X.Locked = true
  2263. X.Name = "Shell"
  2264. X.Anchored = false
  2265. X.CanCollide = false
  2266. X.Transparency = 0.5
  2267. X.Reflectance = 0
  2268. X.BottomSurface = 0
  2269. X.TopSurface = 0
  2270. X.Shape = 0
  2271. local V = Instance.new("ObjectValue",X)
  2272. V.Value = char
  2273. V.Name = "creator"
  2274. X.BrickColor = BrickColor.new("Black")
  2275. X.Size = Vector3.new(40,40,40)
  2276. --X.Material = "Neon"
  2277. local Z = Instance.new("SpecialMesh",X)
  2278. Z.MeshType = "Sphere"
  2279. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2280. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2281. local bv = Instance.new("BodyVelocity",X)
  2282. bv.maxForce = Vector3.new(99999,99999,99999)
  2283. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2284. bv.velocity = root.CFrame.lookVector*10
  2285. Explode = X.Touched:connect(function(hit)
  2286. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2287. local cf = X.CFrame
  2288. bv:Destroy()
  2289. X.Anchored = true
  2290. Z:Remove()
  2291. Explode:disconnect()
  2292. X.Size = Vector3.new(3,3,3)
  2293. X.Touched:connect(function(hit) end)
  2294. X.CanCollide = false
  2295. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2296. if v:FindFirstChild('Humanoid') then
  2297. v.Humanoid:TakeDamage(math.random(80,120))
  2298. end
  2299. end
  2300. for i = 1, (40) do rs:wait()
  2301. X.Transparency = X.Transparency + (1/40)
  2302. X.Size = X.Size + Vector3.new(1,1,1)
  2303. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2304. end
  2305. X:Destroy()
  2306. end
  2307. end)
  2308. end
  2309. for i = 1,200 do
  2310. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2311. 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)
  2312. 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)
  2313. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2314. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2315. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2316. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2317. if Debounces.on == false then break end
  2318. rs:wait()
  2319. end
  2320. for i = 1,30 do
  2321. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2322. 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)
  2323. 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)
  2324. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2325. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2326. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2327. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2328. if Debounces.on == false then break end
  2329. rs:wait()
  2330. end
  2331. for i = 1,40 do
  2332. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2333. shell.Size = shell.Size + Vector3.new(1,1,1)
  2334. 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)
  2335. 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)
  2336. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2337. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2338. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2339. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2340. if Debounces.on == false then break end
  2341. rs:wait()
  2342. end
  2343. for i = 1,40 do
  2344. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2345. 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)
  2346. 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)
  2347. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2348. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2349. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2350. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2351. if Debounces.on == false then break end
  2352. rs:wait()
  2353. end
  2354. for i = 1,60 do
  2355. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2356. 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)
  2357. 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)
  2358. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2359. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2360. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2361. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2362. if Debounces.on == false then break end
  2363. rs:wait()
  2364. end
  2365. for i = 1,60 do
  2366. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2367. shell.Size = shell.Size + Vector3.new(1,1,1)
  2368. 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)
  2369. 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)
  2370. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2371. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2372. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2373. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2374. if Debounces.on == false then break end
  2375. rs:wait()
  2376. end
  2377. if Debounces.CanAttack == false then
  2378. Debounces.CanAttack = true
  2379. Debounces.NoIdl = false
  2380. Debounces.on = false
  2381. end
  2382. end
  2383. end
  2384. end)]]--
  2385. ----------------------------------------------------
  2386. Charging = false
  2387. mouse.KeyDown:connect(function(key)
  2388. if key == "r" then
  2389. if Charging == false then
  2390. Charging = true
  2391. if Debounces.CanAttack == true then
  2392. Debounces.CanAttack = false
  2393. Debounces.NoIdl = true
  2394. Debounces.on = true
  2395. for i = 1,20 do
  2396. 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)
  2397. 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)
  2398. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2399. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2400. 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)
  2401. 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)
  2402. if Debounces.on == false then break end
  2403. rs:wait()
  2404. end
  2405. --[[for i = 1,20 do
  2406. 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)
  2407. 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)
  2408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2409. 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)
  2410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2412. if Debounces.on == false then break end
  2413. rs:wait()
  2414. end]]--
  2415. pt=Instance.new('Part',torso)
  2416. pt.Anchored=true
  2417. pt.CanCollide=false
  2418. pt.Locked = true
  2419. pt.FormFactor='Custom'
  2420. pt.Size=Vector3.new(1,1,1)
  2421. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2422. pt.Transparency=.6
  2423. pt.BrickColor=BrickColor.new('Really black')
  2424. msh=Instance.new('SpecialMesh',pt)
  2425. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2426. msh.Scale=Vector3.new(8,4,8)
  2427. pt2=pt:clone()
  2428. pt2.Parent = torso
  2429. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2430. pt2.BrickColor=BrickColor.new("Black")
  2431. msh2=msh:clone()
  2432. msh2.Parent=pt2
  2433. msh2.Scale=Vector3.new(10,5,10)
  2434.  
  2435. 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}
  2436.  
  2437. bl = Instance.new("Part", char)
  2438. bl.Locked = true
  2439. bl.Name = "Shell"
  2440. bl.BrickColor = BrickColor.new("Really black")
  2441. bl.Anchored = true
  2442. bl.CanCollide = false
  2443. bl.Transparency = 0
  2444. bl.Reflectance = 0
  2445. bl.BottomSurface = 0
  2446. bl.TopSurface = 0
  2447. bl.Shape = 0
  2448. blm = Instance.new("SpecialMesh",bl)
  2449. blm.MeshType = "Sphere"
  2450. blm.Scale = Vector3.new(1,1,1)
  2451. blm.MeshId = "rbxassetid://9982590"
  2452.  
  2453. coroutine.resume(coroutine.create(function()
  2454. for i=1, math.huge, 4 do
  2455. if Charging == true then
  2456. rs:wait()
  2457. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2458. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2459. bl.Transparency = bl.Transparency + 0.005
  2460. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2461. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2462. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2463. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2464. elseif Charging == false then break
  2465. end
  2466. end
  2467. end))
  2468.  
  2469. repeat
  2470. local p = Instance.new('Part',torso)
  2471. p.formFactor = 'Custom'
  2472. p.Size = Vector3.new(1,1,1)
  2473. p.BrickColor = workspace.Base.BrickColor
  2474. p.CanCollide = false
  2475. p.Transparency = 0
  2476. p.Anchored = true
  2477. p.Locked=true
  2478. p.Material = workspace.Base.Material
  2479. s = math.random(1,40)/10
  2480. local m = Instance.new("BlockMesh",p)
  2481. m.Scale = Vector3.new(s,s,s)
  2482. 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())
  2483. --[[coroutine.wrap(function()
  2484. wait(2)
  2485. while Charging == true do
  2486. wait(2)
  2487. GroundWave1()
  2488. wait(2)
  2489. end
  2490. end)()]]--
  2491. Spawn(function()
  2492. while rs:wait() do
  2493. if Charging == true then
  2494. 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)))
  2495. 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)))
  2496. 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))
  2497. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2498. 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)))
  2499. 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)))
  2500. elseif Charging == false then break
  2501. end
  2502. end
  2503. end)
  2504. Spawn(function()
  2505. while rs:wait() do
  2506. if p.Transparency >= 1 then p:Destroy() break end
  2507. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2508. p.Transparency = p.Transparency+0.01
  2509. end
  2510. end)
  2511. wait(.3)
  2512. until Charging == false
  2513. end
  2514. end
  2515. end
  2516. end)
  2517. ----------------------------------------------------
  2518. mouse.KeyUp:connect(function(key)
  2519. if key == "r" then
  2520. if Charging == true then
  2521. Charging = false
  2522. pt:Destroy()
  2523. pt2:Destroy()
  2524. bl:Destroy()
  2525. if Debounces.CanAttack == false then
  2526. Debounces.CanAttack = true
  2527. Debounces.NoIdl = false
  2528. Debounces.on = false
  2529. end
  2530. end
  2531. end
  2532. end)
  2533. ----------------------------------------------------
  2534. mouse.KeyDown:connect(function(key)
  2535. if key == "g" then
  2536. if Debounces.CanAttack == true then
  2537. Debounces.CanAttack = false
  2538. Debounces.NoIdl = true
  2539. Debounces.on = true
  2540. local shell = Instance.new("Part",torso)
  2541. shell.BrickColor = BrickColor.new("Black")
  2542. shell.Anchored = true
  2543. shell.CanCollide = false
  2544. shell.Locked = true
  2545. shell.TopSurface = "SmoothNoOutlines"
  2546. shell.BottomSurface = "SmoothNoOutlines"
  2547. shell.Size = Vector3.new(1,1,1)
  2548. shellm = Instance.new("SpecialMesh",shell)
  2549. shellm.MeshType = "Sphere"
  2550. shellm.Scale = Vector3.new(1,1,1)
  2551. local shell2 = Instance.new("Part",torso)
  2552. shell2.BrickColor = BrickColor.new("Black")
  2553. shell2.Anchored = true
  2554. shell2.CanCollide = false
  2555. shell2.Locked = true
  2556. shell2.TopSurface = "SmoothNoOutlines"
  2557. shell2.BottomSurface = "SmoothNoOutlines"
  2558. shell2.Size = Vector3.new(1,1,1)
  2559. shellm2 = Instance.new("SpecialMesh",shell2)
  2560. shellm2.MeshType = "Sphere"
  2561. shellm2.Scale = Vector3.new(1,1,1)
  2562.  
  2563. function FindNearestTorso(Position,Distance,SinglePlayer)
  2564. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2565. local List = {}
  2566. for i,v in pairs(workspace:GetChildren())do
  2567. if v:IsA("Model")then
  2568. if v:findFirstChild("Torso")then
  2569. if v ~= char then
  2570. if(v.Torso.Position -Position).magnitude <= Distance then
  2571. table.insert(List,v)
  2572. end
  2573. end
  2574. end
  2575. end
  2576. end
  2577. return List
  2578. end
  2579.  
  2580. Shell = function()
  2581. local X = Instance.new("Part",char)
  2582. local O = Instance.new("ObjectValue",X)
  2583. O.Name = "creator"
  2584. X.Locked = true
  2585. X.Name = "Shell"
  2586. X.Anchored = false
  2587. X.CanCollide = false
  2588. X.Transparency = 0
  2589. X.Reflectance = 0
  2590. X.BottomSurface = 0
  2591. X.TopSurface = 0
  2592. X.Shape = 0
  2593. local V = Instance.new("ObjectValue",X)
  2594. V.Value = char
  2595. V.Name = "creator"
  2596. X.BrickColor = BrickColor.new("Black")
  2597. X.Size = Vector3.new(1,1,1)
  2598. --X.Material = "Neon"
  2599. local Z = Instance.new("SpecialMesh",X)
  2600. Z.MeshType = "Sphere"
  2601. Z.Scale = Vector3.new(1,1,1)
  2602. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2603. local bv = Instance.new("BodyVelocity",X)
  2604. bv.maxForce = Vector3.new(99999,99999,99999)
  2605. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2606. bv.velocity = root.CFrame.lookVector*65
  2607. Explode = X.Touched:connect(function(hit)
  2608. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2609. local cf = X.CFrame
  2610. bv:Destroy()
  2611. X.Anchored = true
  2612. Z:Remove()
  2613. Explode:disconnect()
  2614. X.Size = Vector3.new(3,3,3)
  2615. X.Touched:connect(function(hit) end)
  2616. X.CanCollide = false
  2617. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2618. if v:FindFirstChild('Humanoid') then
  2619. v.Humanoid:TakeDamage(math.random(6,12))
  2620. end
  2621. end
  2622. for i = 1, (40) do rs:wait()
  2623. X.Transparency = X.Transparency + (1/40)
  2624. X.Size = X.Size + Vector3.new(1,1,1)
  2625. X.CFrame = cf
  2626. end
  2627. X:Destroy()
  2628. end
  2629. end)
  2630. end
  2631. Shell()
  2632. for i = 1, 10 do
  2633. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2634. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2635. 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)
  2636. 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)
  2637. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2638. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2639. 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)
  2640. 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)
  2641. if Debounces.on == false then break end
  2642. rs:wait()
  2643. end
  2644. Shell()
  2645. shell.Transparency = 1
  2646. for i = 1, 10 do
  2647. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2648. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2649. 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)
  2650. 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)
  2651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2653. 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)
  2654. 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)
  2655. if Debounces.on == false then break end
  2656. rs:wait()
  2657. end
  2658. Shell()
  2659. shell.Transparency = 0
  2660. shell2.Transparency = 1
  2661. for i = 1, 10 do
  2662. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2663. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2664. 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)
  2665. 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)
  2666. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2667. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2668. 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)
  2669. 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)
  2670. if Debounces.on == false then break end
  2671. rs:wait()
  2672. end
  2673. Shell()
  2674. shell2.Transparency = 0
  2675. shell.Transparency = 1
  2676. for i = 1, 10 do
  2677. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2678. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2679. 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)
  2680. 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)
  2681. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2682. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2683. 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)
  2684. 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)
  2685. if Debounces.on == false then break end
  2686. rs:wait()
  2687. end
  2688. Shell()
  2689. shell.Transparency = 0
  2690. shell2.Transparency = 1
  2691. for i = 1, 10 do
  2692. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2693. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2694. 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)
  2695. 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)
  2696. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2697. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2698. 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)
  2699. 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)
  2700. if Debounces.on == false then break end
  2701. rs:wait()
  2702. end
  2703. Shell()
  2704. shell2.Transparency = 0
  2705. shell.Transparency = 1
  2706. for i = 1, 10 do
  2707. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2708. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2709. 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)
  2710. 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)
  2711. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2712. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2713. 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)
  2714. 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)
  2715. if Debounces.on == false then break end
  2716. rs:wait()
  2717. end
  2718. Shell()
  2719. shell.Transparency = 0
  2720. shell2.Transparency = 1
  2721. for i = 1, 10 do
  2722. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2723. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2724. 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)
  2725. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2726. 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)
  2727. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2728. 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)
  2729. 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)
  2730. if Debounces.on == false then break end
  2731. rs:wait()
  2732. end
  2733. Shell()
  2734. shell2.Transparency = 0
  2735. shell.Transparency = 1
  2736. for i = 1, 10 do
  2737. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2738. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2739. 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)
  2740. 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)
  2741. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2742. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2743. 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)
  2744. 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)
  2745. if Debounces.on == false then break end
  2746. rs:wait()
  2747. end
  2748. Shell()
  2749. shell.Transparency = 0
  2750. shell2.Transparency = 1
  2751. for i = 1, 10 do
  2752. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2753. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2754. 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)
  2755. 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)
  2756. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2757. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2758. 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)
  2759. 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)
  2760. if Debounces.on == false then break end
  2761. rs:wait()
  2762. end
  2763. Shell()
  2764. shell2.Transparency = 0
  2765. shell.Transparency = 1
  2766. for i = 1, 10 do
  2767. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2768. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2769. 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)
  2770. 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)
  2771. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2772. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2773. 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)
  2774. 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)
  2775. if Debounces.on == false then break end
  2776. rs:wait()
  2777. end
  2778. Shell()
  2779. shell.Transparency = 0
  2780. shell2.Transparency = 1
  2781. for i = 1, 10 do
  2782. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2783. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2784. 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)
  2785. 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)
  2786. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2788. 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)
  2789. 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)
  2790. if Debounces.on == false then break end
  2791. rs:wait()
  2792. end
  2793. Shell()
  2794. shell2.Transparency = 0
  2795. shell.Transparency = 1
  2796. for i = 1, 10 do
  2797. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2798. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2799. 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)
  2800. 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)
  2801. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2802. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2803. 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)
  2804. 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)
  2805. if Debounces.on == false then break end
  2806. rs:wait()
  2807. end
  2808. Shell()
  2809. shell.Transparency = 0
  2810. shell2.Transparency = 1
  2811. for i = 1, 10 do
  2812. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2813. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2814. 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)
  2815. 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)
  2816. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2817. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2818. 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)
  2819. 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)
  2820. if Debounces.on == false then break end
  2821. rs:wait()
  2822. end
  2823. shell.Transparency = 1
  2824. if Debounces.CanAttack == false then
  2825. Debounces.CanAttack = true
  2826. Debounces.NoIdl = false
  2827. Debounces.on = false
  2828. end
  2829. end
  2830. end
  2831. end)
  2832. ----------------------------------------------------
  2833. Search = false
  2834. mouse.KeyDown:connect(function(key)
  2835. if key == "n" then
  2836. if Search == false then
  2837. Search = true
  2838. for i,v in pairs(game.Players:getPlayers()) do
  2839. if v.Name~=char.Name then
  2840. for j,k in pairs(v.Character:GetChildren()) do
  2841. if k:IsA("BasePart") and k.Transparency >= 1 then
  2842. bawx=Instance.new("SelectionBox",cam)
  2843. bawx.Color = BrickColor.new("Bright red")
  2844. bawx.Transparency = .5
  2845. bawx.Adornee = k
  2846. end
  2847. end
  2848. end
  2849. end
  2850. elseif Search == true then
  2851. Search = false
  2852. for i, v in pairs(cam:GetChildren()) do
  2853. if v:IsA("SelectionBox") then
  2854. v:Destroy()
  2855. end
  2856. end
  2857. end
  2858. end
  2859. end)
  2860. ----------------------------------------------------
  2861. Grab = false
  2862. mouse.KeyDown:connect(function(key)
  2863. if key == "z" then
  2864. Debounces.on = true
  2865. Debounces.NoIdl = true
  2866. Debounces.ks = true
  2867. if Grab == false then
  2868. gp = nil
  2869. for i = 1, 20 do
  2870. 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)
  2871. 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)
  2872. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2873. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2874. 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)
  2875. 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)
  2876. if Debounces.on == false then break end
  2877. rs:wait()
  2878. end
  2879. con1=larm.Touched:connect(function(hit) -- this is grab
  2880. ht = hit.Parent
  2881. hum1=ht:FindFirstChild('Humanoid')
  2882. if hum1 ~= nil then
  2883. if Debounces.ks==true then
  2884. z = Instance.new("Sound",hed)
  2885. z.SoundId = "rbxassetid://169380525"
  2886. z.Volume = 1
  2887. z:Play()
  2888. Debounces.ks=false
  2889. end
  2890. hum1.PlatformStand=true
  2891. gp = ht
  2892. Grab = true
  2893. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  2894. asd.Parent = larm
  2895. asd.Name = "asd"
  2896. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  2897. --[[elseif hum1 == nil then
  2898. con1:disconnect()
  2899. wait() return]]--
  2900. end
  2901. end)
  2902. for i = 1, 20 do
  2903. 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)
  2904. 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)
  2905. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2906. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2907. 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)
  2908. 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)
  2909. if Debounces.on == false then break end
  2910. rs:wait()
  2911. end
  2912. if hum1 == nil then
  2913. Debounces.on = false
  2914. Debounces.NoIdl = false
  2915. end
  2916. con1:disconnect()
  2917. elseif Grab == true then
  2918. Grab = false
  2919. Punch()
  2920. z = Instance.new("Sound",hed)
  2921. z.SoundId = "rbxassetid://169380525"
  2922. z.Pitch = ptz[math.random(1,#ptz)]
  2923. z.Volume = 1
  2924. z:Play()
  2925. for i = 1, 10 do
  2926. 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)
  2927. 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)
  2928. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2929. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2930. 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)
  2931. 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)
  2932. if Debounces.on == false then break end
  2933. rs:wait()
  2934. end
  2935. Punch()
  2936. z = Instance.new("Sound",hed)
  2937. z.SoundId = "rbxassetid://169380525"
  2938. z.Pitch = ptz[math.random(1,#ptz)]
  2939. z.Volume = 1
  2940. z:Play()
  2941. for i = 1, 10 do
  2942. 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)
  2943. 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)
  2944. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2945. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2946. 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)
  2947. 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)
  2948. if Debounces.on == false then break end
  2949. rs:wait()
  2950. end
  2951. Punch()
  2952. z = Instance.new("Sound",hed)
  2953. z.SoundId = "rbxassetid://169380525"
  2954. z.Pitch = ptz[math.random(1,#ptz)]
  2955. z.Volume = 1
  2956. z:Play()
  2957. for i = 1, 10 do
  2958. 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)
  2959. 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)
  2960. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2961. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2962. 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)
  2963. 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)
  2964. if Debounces.on == false then break end
  2965. rs:wait()
  2966. end
  2967. Punch()
  2968. z = Instance.new("Sound",hed)
  2969. z.SoundId = "rbxassetid://169380525"
  2970. z.Pitch = ptz[math.random(1,#ptz)]
  2971. z.Volume = 1
  2972. z:Play()
  2973. for i = 1, 10 do
  2974. 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)
  2975. 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)
  2976. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2977. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2978. 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)
  2979. 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)
  2980. if Debounces.on == false then break end
  2981. rs:wait()
  2982. end
  2983. Punch()
  2984. z = Instance.new("Sound",hed)
  2985. z.SoundId = "rbxassetid://169380525"
  2986. z.Pitch = ptz[math.random(1,#ptz)]
  2987. z.Volume = 1
  2988. z:Play()
  2989. for i = 1, 10 do
  2990. 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)
  2991. 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)
  2992. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2993. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2994. 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)
  2995. 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)
  2996. if Debounces.on == false then break end
  2997. rs:wait()
  2998. end
  2999. Punch()
  3000. z = Instance.new("Sound",hed)
  3001. z.SoundId = "rbxassetid://169380525"
  3002. z.Pitch = ptz[math.random(1,#ptz)]
  3003. z.Volume = 1
  3004. z:Play()
  3005. for i = 1, 10 do
  3006. 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)
  3007. 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)
  3008. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3009. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3010. 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)
  3011. 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)
  3012. if Debounces.on == false then break end
  3013. rs:wait()
  3014. end
  3015. Punch()
  3016. z = Instance.new("Sound",hed)
  3017. z.SoundId = "rbxassetid://169380525"
  3018. z.Pitch = ptz[math.random(1,#ptz)]
  3019. z.Volume = 1
  3020. z:Play()
  3021. for i = 1, 10 do
  3022. 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)
  3023. 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)
  3024. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3025. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3026. 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)
  3027. 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)
  3028. if Debounces.on == false then break end
  3029. rs:wait()
  3030. end
  3031. Punch()
  3032. z = Instance.new("Sound",hed)
  3033. z.SoundId = "rbxassetid://169380525"
  3034. z.Pitch = ptz[math.random(1,#ptz)]
  3035. z.Volume = 1
  3036. z:Play()
  3037. for i = 1, 10 do
  3038. 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)
  3039. 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)
  3040. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3041. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3042. 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)
  3043. 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)
  3044. if Debounces.on == false then break end
  3045. rs:wait()
  3046. end
  3047. Punch()
  3048. z = Instance.new("Sound",hed)
  3049. z.SoundId = "rbxassetid://169380525"
  3050. z.Pitch = ptz[math.random(1,#ptz)]
  3051. z.Volume = 1
  3052. z:Play()
  3053. for i = 1, 10 do
  3054. 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)
  3055. 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)
  3056. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3057. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3058. 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)
  3059. 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)
  3060. if Debounces.on == false then break end
  3061. rs:wait()
  3062. end
  3063. Punch()
  3064. z = Instance.new("Sound",hed)
  3065. z.SoundId = "rbxassetid://169380525"
  3066. z.Pitch = ptz[math.random(1,#ptz)]
  3067. z.Volume = 1
  3068. z:Play()
  3069. for i = 1, 10 do
  3070. 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)
  3071. 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)
  3072. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3073. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3074. 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)
  3075. 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)
  3076. if Debounces.on == false then break end
  3077. rs:wait()
  3078. end
  3079. Punch()
  3080. z = Instance.new("Sound",hed)
  3081. z.SoundId = "rbxassetid://169380525"
  3082. z.Pitch = ptz[math.random(1,#ptz)]
  3083. z.Volume = 1
  3084. z:Play()
  3085. for i = 1, 10 do
  3086. 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)
  3087. 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)
  3088. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3089. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3090. 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)
  3091. 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)
  3092. if Debounces.on == false then break end
  3093. rs:wait()
  3094. end
  3095. Punch()
  3096. z = Instance.new("Sound",hed)
  3097. z.SoundId = "rbxassetid://169380525"
  3098. z.Pitch = ptz[math.random(1,#ptz)]
  3099. z.Volume = 1
  3100. z:Play()
  3101. for i = 1, 10 do
  3102. 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)
  3103. 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)
  3104. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3105. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3106. 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)
  3107. 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)
  3108. if Debounces.on == false then break end
  3109. rs:wait()
  3110. end
  3111. con1:disconnect()
  3112. Debounces.on = false
  3113. Debounces.NoIdl = false
  3114. if gp ~= nil then
  3115. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3116. for i,v in pairs(larm:GetChildren()) do
  3117. if v.Name == "asd" and v:IsA("Weld") then
  3118. v:Remove()
  3119. end
  3120. end
  3121. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3122. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3123. bv.P = 125000
  3124. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3125. hum1=nil
  3126. ht=nil
  3127. Debounces.on = false
  3128. Debounces.NoIdl = false
  3129. elseif ht == nil then wait()
  3130. Grab = false
  3131. Debounces.on = false
  3132. Debounces.NoIdl = false
  3133. end
  3134. end
  3135. end
  3136. end)
  3137. ----------------------------------------------------
  3138. mouse.KeyDown:connect(function(key)
  3139. if string.byte(key) == 52 then
  3140. char.Humanoid.WalkSpeed = 60
  3141. end
  3142. end)
  3143. mouse.KeyUp:connect(function(key)
  3144. if string.byte(key) == 52 then
  3145. char.Humanoid.WalkSpeed = 8
  3146. end
  3147. end)
  3148. -------------------------------
  3149. local animpose = "Idle"
  3150. local lastanimpose = "Idle"
  3151. local sine = 0
  3152. local change = 1
  3153. local val = 0
  3154. local ffing = false
  3155. -------------------------------
  3156. game:GetService("RunService").RenderStepped:connect(function()
  3157. --[[if char.Humanoid.Jump == true then
  3158. jump = true
  3159. else
  3160. jump = false
  3161. end]]
  3162. char.Humanoid.FreeFalling:connect(function(f)
  3163. if f then
  3164. ffing = true
  3165. else
  3166. ffing = false
  3167. end
  3168. end)
  3169. sine = sine + change
  3170. if jumpn == true then
  3171. animpose = "Jumping"
  3172. elseif ffing == true then
  3173. animpose = "Freefalling"
  3174. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3175. animpose = "Idle"
  3176. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3177. animpose = "Walking"
  3178. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3179. animpose = "Running"
  3180. end
  3181. if animpose ~= lastanimpose then
  3182. sine = 0
  3183. if Debounces.NoIdl == false then
  3184. if animpose == "Idle" then
  3185. for i = 1, 2 do
  3186. 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)
  3187. 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)
  3188. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3189. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3190. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3191. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3192. end
  3193. elseif animpose == "Walking" then
  3194. for i = 1, 2 do
  3195. 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)
  3196. 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)
  3197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3201. end
  3202. elseif animpose == "Running" then
  3203. for i = 1, 2 do
  3204. 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)
  3205. 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)
  3206. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3207. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3208. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3209. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3210. wait()
  3211. end
  3212. end
  3213. else
  3214. end
  3215. end
  3216. lastanimpose = animpose
  3217. if Debounces.NoIdl == false then
  3218. if animpose == "Idle" then
  3219. change = 0.5
  3220. 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)
  3221. 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)
  3222. 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)
  3223. 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)
  3224. 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)
  3225. 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)
  3226. elseif animpose == "Walking" then
  3227. change = 1
  3228. 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)
  3229. 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)
  3230. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3231. 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)
  3232. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3233. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3234. elseif animpose == "Running" then
  3235. change = 1
  3236. 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)
  3237. 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)
  3238. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3239. 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)
  3240. 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)
  3241. 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)
  3242. end
  3243. end
  3244. end)
  3245.  
  3246. hum.MaxHealth = 1000000
  3247. wait(3)
  3248. hum.Health = 9001
  3249.  
  3250. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3251. --[[Part0 = Vector3 (Start pos)
  3252. Part1 = Vector3 (End pos)
  3253. Times = number (Amount of lightning parts)
  3254. Offset = number (Offset)
  3255. Color = color (brickcolor value)
  3256. Thickness = number (thickness)
  3257. Trans = number (transparency)
  3258. ]]--
  3259. local magz = (Part0 - Part1).magnitude
  3260. local curpos = Part0
  3261. local trz = {-Offset,Offset}
  3262. for i=1,Times do
  3263. local li = Instance.new("Part", torso)
  3264. li.Name = "Lightning"
  3265. li.TopSurface =0
  3266. li.Material = "Neon"
  3267. li.BottomSurface = 0
  3268. li.Anchored = true
  3269. li.Locked = true
  3270. li.Transparency = Trans or 0.4
  3271. li.BrickColor = BrickColor.new(Color)
  3272. li.formFactor = "Custom"
  3273. li.CanCollide = false
  3274. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3275. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3276. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3277. if Times == i then
  3278. local magz2 = (curpos - Part1).magnitude
  3279. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3280. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3281. else
  3282. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3283. end
  3284. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3285. game.Debris:AddItem(li,.1)
  3286. end
  3287. end
  3288.  
  3289. BodyParts = {} -- Parts to emit lightning effects from
  3290. for _, v in pairs(char:GetChildren()) do
  3291. if v:IsA("Part") then
  3292. table.insert(BodyParts, v)
  3293. end
  3294. end
  3295.  
  3296. Bounding = {} -- Calculate the bounding boxes
  3297. for _, v in pairs(BodyParts) do
  3298. local temp = {X=nil, Y=nil, Z=nil}
  3299. temp.X = v.Size.X/2 * 10
  3300. temp.Y = v.Size.Y/2 * 10
  3301. temp.Z = v.Size.Z/2 * 10
  3302. Bounding[v.Name] = temp
  3303. --table.insert(Bounding, v.Name, temp)
  3304. end
  3305.  
  3306. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  3307. local Body1 = BodyParts[math.random(#BodyParts)]
  3308. local Body2 = BodyParts[math.random(#BodyParts)]
  3309. local Pos1 = Vector3.new(
  3310. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3311. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3312. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3313. )
  3314. local Pos2 = Vector3.new(
  3315. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3316. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3317. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3318. )
  3319. local SPos1 = Body1.Position + Pos1
  3320. local SPos2 = Body2.Position + Pos2
  3321. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  3322. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement