Advertisement
Guest User

test

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