Advertisement
ethan15864

moon

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