Advertisement
epicdude6951

Untitled

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