Advertisement
PotatoSaiyan

Marshmello DSSJ Script

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