Advertisement
brandonflex123

my scustome

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