Advertisement
trickawsome

Mewtwo Script

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