EmeraldIT

Eliatrope God Form

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