Demonlord27

madara

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