Advertisement
DustyThomas

SSJ3 Script V3 (2)

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