Advertisement
yougotoof

idkman

May 26th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.53 KB | None | 0 0
  1. -------Nuclear Hulk-------
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local mouse = p:GetMouse()
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local hum = char.Humanoid
  12. local cam = game.Workspace.CurrentCamera
  13. local root = char.HumanoidRootPart
  14. local deb = false
  15. local shot = 0
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. local stanceToggle = "Normal"
  19. local rad = math.rad
  20. local GroundShake = false
  21. local GroundShake2 = false
  22. math.randomseed(os.time())
  23. hum.WalkSpeed = 5
  24. char.Health:Destroy()
  25. hum.MaxHealth = math.huge
  26. wait(0.1)
  27. hum.Health = math.huge
  28. um = Instance.new("Part",char)
  29. um.Name = "Immune"
  30. um.CanCollide = false
  31. um.Anchored = true
  32. um.Transparency = 1
  33. dead = true
  34. ----------------------------------------------------
  35. Debounces = {
  36. on = false;
  37. ks = false;
  38. CanAttack = true;
  39. CanJoke = true;
  40. NoIdl = false;
  41. Slashing = false;
  42. Slashed = false;
  43. Grabbing = false;
  44. Grabbed = false;
  45. }
  46. local Touche = {char.Name, }
  47. ----------------------------------------------------
  48. function lerp(a, b, t) -- Linear interpolation
  49. return a + (b - a)*t
  50. end
  51.  
  52. function slerp(a, b, t) --Spherical interpolation
  53. dot = a:Dot(b)
  54. if dot > 0.99999 or dot < -0.99999 then
  55. return t <= 0.5 and a or b
  56. else
  57. r = math.acos(dot)
  58. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  59. end
  60. end
  61.  
  62. function matrixInterpolate(a, b, t)
  63. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  64. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  65. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  66. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  67. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  68. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  69. local t = v1:Dot(v2)
  70. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  71. return CFrame.new()
  72. end
  73. return CFrame.new(
  74. v0.x, v0.y, v0.z,
  75. v1.x, v1.y, v1.z,
  76. v2.x, v2.y, v2.z,
  77. v3.x, v3.y, v3.z)
  78. end
  79. ----------------------------------------------------
  80. function genWeld(a,b)
  81. local w = Instance.new("Weld",a)
  82. w.Part0 = a
  83. w.Part1 = b
  84. return w
  85. end
  86. function weld(a, b)
  87. local weld = Instance.new("Weld")
  88. weld.Name = "W"
  89. weld.Part0 = a
  90. weld.Part1 = b
  91. weld.C0 = a.CFrame:inverse() * b.CFrame
  92. weld.Parent = a
  93. return weld;
  94. end
  95. ----------------------------------------------------
  96. function Lerp(c1,c2,al)
  97. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  98. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  99. for i,v in pairs(com1) do
  100. com1[i] = v+(com2[i]-v)*al
  101. end
  102. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  103. end
  104. ----------------------------------------------------
  105. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  106. local wld = Instance.new("Weld", wp1)
  107. wld.Part0 = wp0
  108. wld.Part1 = wp1
  109. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  110. end
  111. ----------------------------------------------------
  112. for i,v in pairs(char:children()) do
  113. if v:IsA("Hat") then
  114. v:Destroy()
  115. end
  116. end
  117. for i,v in pairs(hed:children()) do
  118. if v:IsA("Sound") then
  119. v:Destroy()
  120. end
  121. end
  122. ----------------------------------------------------
  123. function HasntTouched(plrname)
  124. local ret = true
  125. for _, v in pairs(Touche) do
  126. if v == plrname then
  127. ret = false
  128. end
  129. end
  130. return ret
  131. end
  132. ----------------------------------------------------
  133. larm.Size = larm.Size * 2
  134. rarm.Size = rarm.Size * 2
  135. lleg.Size = lleg.Size * 2
  136. rleg.Size = rleg.Size * 2
  137. torso.Size = torso.Size * 2
  138. hed.Size = hed.Size * 2
  139. root.Size = root.Size * 2
  140. ----------------------------------------------------
  141. newWeld(torso, larm, -1.5, 0.5, 0)
  142. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  143. newWeld(torso, rarm, 1.5, 0.5, 0)
  144. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  145. newWeld(torso, hed, 0, 1.5, 0)
  146. newWeld(torso, lleg, -0.5, -1, 0)
  147. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  148. newWeld(torso, rleg, 0.5, -1, 0)
  149. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  150. newWeld(root, torso, 0, -1, 0)
  151. torso.Weld.C1 = CFrame.new(0, -1, 0)
  152.  
  153. ------------------------------ Cap ---------------------------------------
  154. Hats1 = Instance.new("Part")
  155. Hats1.Parent = char
  156. Hats1.BrickColor = BrickColor.new("White")
  157. Hats1.formFactor = "Symmetric"
  158. Hats1.Size = Vector3.new(1, 1, 1)
  159. Hats1.CFrame = hed.CFrame
  160. Hats1:BreakJoints()
  161. Hats1.CanCollide = false
  162. Hats1.TopSurface = "Smooth"
  163. Hats1.BottomSurface = "Smooth"
  164. Weld = Instance.new("Weld")
  165. Weld.Part0 = hed
  166. Weld.Part1 = Hats1
  167. Weld.Parent = hed
  168. Weld.C0 = CFrame.new(0, 1.5, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  169. Mesh = Instance.new("SpecialMesh")
  170. Mesh.Parent = Hats1
  171. Mesh.MeshId = "http://www.roblox.com/asset/?id=91673856"
  172. Mesh.TextureId = "http://www.roblox.com/asset/?id=91673893"
  173. Mesh.Scale = Vector3.new(2.2, 2.2, 2.2)
  174. ----------------------- Glasses --------------------------------
  175. Hats2 = Instance.new("Part")
  176. Hats2.Parent = char
  177. Hats2.formFactor = "Symmetric"
  178. Hats2.Size = Vector3.new(1, 1, 1)
  179. Hats2.CFrame = hed.CFrame
  180. Hats2:BreakJoints()
  181. Hats2.CanCollide = false
  182. Hats2.TopSurface = "Smooth"
  183. Hats2.BottomSurface = "Smooth"
  184. Weld = Instance.new("Weld")
  185. Weld.Part0 = hed
  186. Weld.Part1 = Hats2
  187. Weld.Parent = hed
  188. Weld.C0 = CFrame.new(0, 0, -0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  189. Mesh = Instance.new("SpecialMesh")
  190. Mesh.Parent = Hats2
  191. Mesh.MeshId = "http://www.roblox.com/asset/?id=124987271"
  192. Mesh.TextureId = "http://www.roblox.com/asset/?id=124987465"
  193. Mesh.Scale = Vector3.new(2.2, 2.2, 2.2)
  194. ----------------------------------------------------
  195. z = Instance.new("Sound", char)
  196. z.SoundId = "rbxassetid://1468547405"--209113706
  197. z.Looped = true
  198. z.Pitch = 1
  199. z.Volume = 1.3
  200. wait(.01)
  201. z:Play()
  202. ----------------------------------------------------
  203.  
  204.  
  205. p:ClearCharacterAppearance()
  206. wait(0.1)
  207. p.Character.Head.BrickColor = BrickColor.new("Brown")
  208. p.Character.Torso.BrickColor = BrickColor.new("Brown")
  209. p.Character["Right Arm"].BrickColor = BrickColor.new("Brown")
  210. p.Character["Right Leg"].BrickColor = BrickColor.new("Brown")
  211. p.Character["Left Leg"].BrickColor = BrickColor.new("Brown")
  212. p.Character["Left Arm"].BrickColor = BrickColor.new("Brown")
  213.  
  214. shirt = Instance.new("Shirt", char)
  215. shirt.Name = "Shirt"
  216. pants = Instance.new("Pants", char)
  217. pants.Name = "Pants"
  218. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=593699904"
  219. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=129458425"
  220. wait(.01)
  221.  
  222.  
  223. p.Character.Head.Material = "Neon"
  224. p.Character.Torso.Material = "Plastic"
  225. p.Character["Right Arm"].Material = "Plastic"
  226. p.Character["Right Leg"].Material = "Plastic"
  227. p.Character["Left Leg"].Material = "Plastic"
  228. p.Character["Left Arm"].Material = "Plastic"
  229.  
  230.  
  231. CV="Brown"
  232.  
  233. local txt = Instance.new("BillboardGui", char)
  234. txt.Adornee = hed
  235. txt.Name = "_status"
  236. txt.Size = UDim2.new(2, 0, 1.2, 0)
  237. txt.StudsOffset = Vector3.new(-9, 8, 0)
  238. local text = Instance.new("TextLabel", txt)
  239. text.Size = UDim2.new(10, 0, 7, 0)
  240. text.FontSize = "Size24"
  241. text.TextScaled = true
  242. text.TextTransparency = 0
  243. text.BackgroundTransparency = 1
  244. text.TextTransparency = 0
  245. text.TextStrokeTransparency = 0
  246. text.Font = "Antique"
  247. text.TextStrokeColor3 = Color3.new(0,0,0)
  248.  
  249. v=Instance.new("Part")
  250. v.Name = "ColorBrick"
  251. v.Parent=p.Character
  252. v.FormFactor="Symmetric"
  253. v.Anchored=true
  254. v.CanCollide=false
  255. v.BottomSurface="Smooth"
  256. v.TopSurface="Smooth"
  257. v.Size=Vector3.new(10,5,3)
  258. v.Transparency=1
  259. v.CFrame=char.Torso.CFrame
  260. v.BrickColor=BrickColor.new(CV)
  261. v.Transparency=1
  262. text.TextColor3 = Color3.new(0,2,0)
  263. v.Shape="Block"
  264. text.Text = "The Smoke"
  265.  
  266. ----------------------------------------------------
  267. local m = Instance.new("Model")
  268. m.Name = "Titanius"
  269.  
  270.  
  271.  
  272. p6 = Instance.new("Part", m)
  273. p6.Name = "Handle"
  274. p6.BrickColor = BrickColor.new("white")
  275. p6.FormFactor = Enum.FormFactor.Custom
  276. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  277. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  278. p6.CanCollide = false
  279. p6.Locked = true
  280. p6.Elasticity = 0
  281. p6.BottomSurface = Enum.SurfaceType.Smooth
  282. p6.TopSurface = Enum.SurfaceType.Smooth
  283. b6 = Instance.new("SpecialMesh",p6)
  284. b6.MeshId = "rbxassetid://54983181"
  285. b6.Offset = Vector3.new(0,0,0)
  286. b6.Scale = Vector3.new(4,4,4)
  287. b6.VertexColor = Vector3.new(100, 100, 100)
  288. b6.TextureId = "rbxassetid://54983107"
  289. p12 = Instance.new("Part", m)
  290. p12.Name = "BladeCenter"
  291. p12.BrickColor = BrickColor.new("Really red")
  292. p12.Material = "Neon"
  293. p12.FormFactor = Enum.FormFactor.Symmetric
  294. p12.Size = Vector3.new(1, 1, 1)
  295. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  296. p12.CanCollide = false
  297. p12.Locked = true
  298. p12.BottomSurface = Enum.SurfaceType.Smooth
  299. p12.TopSurface = Enum.SurfaceType.Smooth
  300. b12 = Instance.new("SpecialMesh", p12)
  301. b12.MeshType = Enum.MeshType.Brick
  302. b12.Name = "Mesh"
  303. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  304. p18 = Instance.new("WedgePart", m)
  305. p18.BrickColor = BrickColor.new("Really red")
  306. p18.Name = "BladePart1"
  307. p18.Material = "Neon"
  308. p18.Name = "Wedge"
  309. p18.FormFactor = Enum.FormFactor.Symmetric
  310. p18.Size = Vector3.new(1, 1, 1)
  311. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  312. p18.CanCollide = false
  313. p18.Locked = true
  314. p18.BottomSurface = Enum.SurfaceType.Smooth
  315. p18.TopSurface = Enum.SurfaceType.Smooth
  316. b18 = Instance.new("SpecialMesh", p18)
  317. b18.MeshType = Enum.MeshType.Wedge
  318. b18.Name = "Mesh"
  319. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  320. p19 = Instance.new("WedgePart", m)
  321. p19.BrickColor = BrickColor.new("Really red")
  322. p19.Name = "BladePart2"
  323. p19.Material = "Neon"
  324. p19.Name = "Wedge"
  325. p19.FormFactor = Enum.FormFactor.Symmetric
  326. p19.Size = Vector3.new(1, 4, 2)
  327. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  328. p19.CanCollide = false
  329. p19.Locked = true
  330. p19.BottomSurface = Enum.SurfaceType.Smooth
  331. p19.TopSurface = Enum.SurfaceType.Smooth
  332. b19 = Instance.new("SpecialMesh", p19)
  333. b19.MeshType = Enum.MeshType.Wedge
  334. b19.Name = "Mesh"
  335. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  336.  
  337.  
  338. w6 = Instance.new("Weld", p6)
  339. w6.Name = "Part_Weld"
  340. w6.Part0 = p6
  341. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  342.  
  343.  
  344. w12 = Instance.new("Weld", p12)
  345. w12.Name = "Part_Weld"
  346. w12.Part0 = p12
  347. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  348.  
  349.  
  350. w18 = Instance.new("Weld", p18)
  351. w18.Name = "Wedge_Weld"
  352. w18.Part0 = p18
  353. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  354. w18.Part1 = p19
  355. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  356. w19 = Instance.new("Weld", p19)
  357. w19.Name = "Part_Weld"
  358. w19.Part0 = p19
  359. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  360.  
  361. m.Parent = char
  362. m:MakeJoints()
  363. ----------------------------------------------------
  364. local cor = Instance.new("Part", char.Titanius)
  365. cor.Name = "Thingy"
  366. cor.Locked = true
  367. cor.BottomSurface = 0
  368. cor.CanCollide = false
  369. cor.Size = Vector3.new(1, 13, 1)
  370. cor.Transparency = 1
  371. cor.TopSurface = 0
  372. corw = Instance.new("Weld", cor)
  373. corw.Part0 = rarm
  374. corw.Part1 = cor
  375. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  376. corw.C1 = CFrame.new(0, 0, 0)
  377. weld1 = Instance.new("Weld", char.Titanius)
  378. weld1.Part0 = cor
  379. weld1.Part1 = p6
  380. weld1.C0 = CFrame.new(0, 0, 0)
  381. ----------------------------------------------------
  382. hitb = Instance.new("Part", char.Titanius)
  383. hitb.Name = "Thingy2"
  384. hitb.Locked = true
  385. hitb.BottomSurface = 0
  386. hitb.CanCollide = false
  387. hitb.Size = Vector3.new(0, 30, 0)
  388. hitb.Transparency = 1
  389. hitb.TopSurface = 0
  390. weld2 = Instance.new("Weld", char.Titanius)
  391. weld2.Part0 = hitb
  392. weld2.Part1 = p6
  393. weld2.C0 = CFrame.new(0, .6, 0)
  394. ----------------------------------------------------
  395.  
  396. Face = 'rbxassetid://0'
  397. local face=hed:FindFirstChild'face'
  398. face.Texture = Face
  399.  
  400. face=Instance.new("Decal",hed)
  401. face.Face="Front"
  402. face.Texture="rbxassetid://284672459"
  403.  
  404.  
  405. hum:SetStateEnabled("Dead",false)
  406. hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  407. if hum.Health < 5 and candie == true then
  408. hum.Name = "NOMOREDAMAGE"
  409. canheal = true
  410. done = false
  411.  
  412. done = true
  413. candie = false
  414. dead = true
  415. deathchat = true
  416. end
  417. if deathchat == true then
  418. deathchat = false
  419. idle = false
  420.  
  421. hed.face.Texture = "0"
  422. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  423. idle1 = false
  424. canattack = false
  425. gothitdecal2 = Instance.new("Decal",torso)
  426. gothitdecal2.Texture = "http://www.roblox.com/asset/?id=492675333"
  427. gothitdecal2.Face = "Back"
  428. gothitdecal1 = Instance.new("Decal",torso)
  429. gothitdecal1.Texture = "http://www.roblox.com/asset/?id=492675333"
  430. hed.Transparency = 1
  431. torso.Transparency = 1
  432. larm.Transparency = 1
  433. rarm.Transparency = 1
  434. lovecounter = false
  435. text.Text = ". . ."
  436.  
  437. lleg.Transparency = 1
  438. rleg.Transparency = 1
  439. handle.Transparency = 1
  440. Handle.Transparency = 1
  441. wait(1)
  442. refused:Stop()
  443. wait(2)
  444.  
  445. text.Text = "I am god... i refuse to die to people like you. . . try again, i dare you."
  446. wait(1.5)
  447. candie = true
  448. idle = true
  449. idle1 = true
  450. hed.face.Texture = "http://www.roblox.com/asset/?id=178913044"
  451. canattack = true
  452. lleg.Anchored = false
  453. rleg.Anchored = false
  454. larm.Anchored = false
  455. rarm.Anchored = false
  456. hed.Anchored = false
  457. torso.Anchored = false
  458. gothitdecal2:Destroy()
  459. gothitdecal1:Destroy()
  460. for i = 1,10 do
  461. wait()
  462. hed.Transparency = hed.Transparency - 0.1
  463. torso.Transparency = torso.Transparency - 0.1
  464. larm.Transparency = larm.Transparency - 0.1
  465. rarm.Transparency = rarm.Transparency - 0.1
  466. lleg.Transparency = lleg.Transparency - 0.1
  467. rleg.Transparency = rleg.Transparency - 0.1
  468. handle.Transparency = handle.Transparency - 0.1
  469. Handle.Transparency = Handle.Transparency - 0.1
  470. end
  471. dead = false
  472. deathchat1 = false
  473. canheal = false
  474. hum.Health = math.huge
  475. wait(1)
  476. hum.Name = "Humanoid"
  477. end
  478.  
  479.  
  480.  
  481.  
  482. if GroundShake == true then
  483. for i,v in pairs(workspace:GetChildren()) do
  484. if v:IsA("Part") then
  485. if v.Size.x > 150 then
  486. v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1)))
  487. end
  488. end
  489. end
  490.  
  491.  
  492.  
  493.  
  494. end
  495. if GroundShake2 == true then
  496.  
  497. for i,v in pairs(workspace:GetChildren()) do
  498. if v:IsA("Part") then
  499. if v.Size.x > 150 then
  500. v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2)))
  501. end
  502. end
  503. end
  504.  
  505. end
  506.  
  507.  
  508.  
  509. local num = 0
  510.  
  511.  
  512.  
  513. GroundWave2 = function()
  514. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  515. Colors = {"White", "White"}
  516. local wave3 = Instance.new("Part", char)
  517. wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  518. wave3.Anchored = true
  519. wave3.Name = "Wave"
  520. wave3.CanCollide = false
  521. wave3.Locked = true
  522. wave3.Size = Vector3.new(1, 1, 1)
  523. wave3.TopSurface = "Smooth"
  524. wave3.BottomSurface = "Smooth"
  525. wave3.Transparency = 0.35
  526. wave3.CFrame = HandCF
  527. wm1 = Instance.new("SpecialMesh", wave3)
  528. wm1.MeshId = "rbxassetid://3270017"
  529. coroutine.wrap(function()
  530. for i = 1, 30, 1 do
  531. wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  532. wave3.Size = wm1.Scale
  533. wave3.CFrame = HandCF
  534. wave3.Transparency = i/30
  535. wait()
  536. end
  537. wait()
  538. wave3:Destroy()
  539. end)()
  540. end
  541. GroundWave3 = function()
  542. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  543. Colors = {"White", "White"}
  544. local wave2 = Instance.new("Part", char)
  545. wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  546. wave2.Anchored = true
  547. wave2.Name = "Wave"
  548. wave2.CanCollide = false
  549. wave2.Locked = true
  550. wave2.Size = Vector3.new(1, 1, 1)
  551. wave2.TopSurface = "Smooth"
  552. wave2.BottomSurface = "Smooth"
  553. wave2.Transparency = 0.35
  554. wave2.CFrame = HandCF
  555. wm2 = Instance.new("SpecialMesh", wave2)
  556. wm2.MeshId = "rbxassetid://3270017"
  557. coroutine.wrap(function()
  558. for i = 1, 30, 1 do
  559. wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  560. wave2.Size = wm2.Scale
  561. wave2.CFrame = HandCF
  562. wave2.Transparency = i/30
  563. wait()
  564. end
  565. wait()
  566. wave2:Destroy()
  567. end)()
  568. end
  569. GroundWave4 = function()
  570. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  571. Colors = {"White", "White"}
  572. local wave1 = Instance.new("Part", char)
  573. wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  574. wave1.Anchored = true
  575. wave1.Name = "Wave"
  576. wave1.CanCollide = false
  577. wave1.Locked = true
  578. wave1.Size = Vector3.new(1, 1, 1)
  579. wave1.TopSurface = "Smooth"
  580. wave1.BottomSurface = "Smooth"
  581. wave1.Transparency = 0.35
  582. wave1.CFrame = HandCF
  583. wm3 = Instance.new("SpecialMesh", wave1)
  584. wm3.MeshId = "rbxassetid://3270017"
  585. coroutine.wrap(function()
  586. for i = 1, 30, 1 do
  587. wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  588. wave1.Size = wm3.Scale
  589. wave1.CFrame = HandCF
  590. wave1.Transparency = i/30
  591. wait()
  592. end
  593. wait()
  594. wave1:Destroy()
  595. end)()
  596. end
  597. --------------------------------------------------------------------------
  598. --transform
  599. GroundWave5 = function()
  600. local HandCF = root.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  601.  
  602. Colors = {"Lime green", "Lime green"}
  603.  
  604.  
  605. local wave11 = Instance.new("Part", char)
  606. wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  607. wave11.Anchored = true
  608. wave11.Name = "Wave"
  609. wave11.CanCollide = false
  610. wave11.Locked = true
  611. wave11.Size = Vector3.new(1, 1, 1)
  612. wave11.TopSurface = "Smooth"
  613. wave11.BottomSurface = "Smooth"
  614. wave11.Transparency = 0.35
  615. wave11.CFrame = HandCF
  616. wm31 = Instance.new("SpecialMesh", wave11)
  617. wm31.MeshId = "rbxassetid://3270017"
  618. coroutine.wrap(function()
  619. for i = 1, 30, 1 do
  620. wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  621. wave11.Size = wm31.Scale
  622. wave11.CFrame = HandCF
  623. wave11.Transparency = i/30
  624. wait()
  625. end
  626. wait()
  627. wave11:Destroy()
  628. end)()
  629. end
  630. GroundWave6 = function()
  631. local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  632.  
  633. Colors = {"Lime green", "Lime green"}
  634.  
  635. local wave111 = Instance.new("Part", char)
  636. wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  637. wave111.Anchored = true
  638. wave111.Name = "Wave"
  639. wave111.CanCollide = false
  640. wave111.Locked = true
  641. wave111.Size = Vector3.new(1, 1, 1)
  642. wave111.TopSurface = "Smooth"
  643. wave111.BottomSurface = "Smooth"
  644. wave111.Transparency = 0.35
  645. wave111.CFrame = HandCF
  646. wm311 = Instance.new("SpecialMesh", wave111)
  647. wm311.MeshId = "rbxassetid://3270017"
  648. coroutine.wrap(function()
  649. for i = 1, 30, 1 do
  650. wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  651. wave111.Size = wm311.Scale
  652. wave111.CFrame = HandCF
  653. wave111.Transparency = i/30
  654. wait()
  655. end
  656. wait()
  657. wave111:Destroy()
  658. end)()
  659. end
  660. GroundWave7 = function()
  661. local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  662.  
  663. Colors = {"Lime green", "Lime green"}
  664. local wave1111 = Instance.new("Part", char)
  665. wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  666. wave1111.Anchored = true
  667. wave1111.Name = "Wave"
  668. wave1111.CanCollide = false
  669. wave1111.Locked = true
  670. wave1111.Size = Vector3.new(1, 1, 1)
  671. wave1111.TopSurface = "Smooth"
  672. wave1111.BottomSurface = "Smooth"
  673. wave1111.Transparency = 0.35
  674. wave1111.CFrame = HandCF
  675. wm3111 = Instance.new("SpecialMesh", wave1111)
  676. wm3111.MeshId = "rbxassetid://3270017"
  677. coroutine.wrap(function()
  678. for i = 1, 30, 1 do
  679. wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  680. wave1111.Size = wm3111.Scale
  681. wave1111.CFrame = HandCF
  682. wave1111.Transparency = i/30
  683. wait()
  684. end
  685. wait()
  686. wave1111:Destroy()
  687. end)()
  688. end
  689. GroundWave8 = function()
  690. local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  691.  
  692. Colors = {"Lime green", "Lime green"}
  693. local wave11111 = Instance.new("Part", char)
  694. wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  695. wave11111.Anchored = true
  696. wave11111.Name = "Wave"
  697. wave11111.CanCollide = false
  698. wave11111.Locked = true
  699. wave11111.Size = Vector3.new(1, 1, 1)
  700. wave11111.TopSurface = "Smooth"
  701. wave11111.BottomSurface = "Smooth"
  702. wave11111.Transparency = 0.35
  703. wave11111.CFrame = HandCF
  704. wm31111 = Instance.new("SpecialMesh", wave11111)
  705. wm31111.MeshId = "rbxassetid://3270017"
  706. coroutine.wrap(function()
  707. for i = 1, 30, 1 do
  708. wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  709. wave11111.Size = wm31111.Scale
  710. wave11111.CFrame = HandCF
  711. wave11111.Transparency = i/30
  712. wait()
  713. end
  714. wait()
  715. wave11111:Destroy()
  716. end)()
  717. end
  718. GroundWave9 = function()
  719. local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  720.  
  721. Colors = {"Lime green", "Lime green"}
  722. local wave111111 = Instance.new("Part", char)
  723. wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  724. wave111111.Anchored = true
  725. wave111111.Name = "Wave"
  726. wave111111.CanCollide = false
  727. wave111111.Locked = true
  728. wave111111.Size = Vector3.new(1, 1, 1)
  729. wave111111.TopSurface = "Smooth"
  730. wave111111.BottomSurface = "Smooth"
  731. wave111111.Transparency = 0.35
  732. wave111111.CFrame = HandCF
  733. wm311111 = Instance.new("SpecialMesh", wave111111)
  734. wm311111.MeshId = "rbxassetid://3270017"
  735. coroutine.wrap(function()
  736. for i = 1, 30, 1 do
  737. wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  738. wave111111.Size = wm311111.Scale
  739. wave111111.CFrame = HandCF
  740. wave111111.Transparency = i/30
  741. wait()
  742. end
  743. wait()
  744. wave111111:Destroy()
  745. end)()
  746. end
  747. GroundWave10 = function()
  748. local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  749.  
  750. Colors = {"Lime green", "Lime green"}
  751. local wave1111111 = Instance.new("Part", char)
  752. wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  753. wave1111111.Anchored = true
  754. wave1111111.Name = "Wave"
  755. wave1111111.CanCollide = false
  756. wave1111111.Locked = true
  757. wave1111111.Size = Vector3.new(1, 1, 1)
  758. wave1111111.TopSurface = "Smooth"
  759. wave1111111.BottomSurface = "Smooth"
  760. wave1111111.Transparency = 0.35
  761. wave1111111.CFrame = HandCF
  762. wm3111111 = Instance.new("SpecialMesh", wave1111111)
  763. wm3111111.MeshId = "rbxassetid://3270017"
  764. coroutine.wrap(function()
  765. for i = 1, 30, 1 do
  766. wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  767. wave1111111.Size = wm3111111.Scale
  768. wave1111111.CFrame = HandCF
  769. wave1111111.Transparency = i/30
  770. wait()
  771. end
  772. wait()
  773. wave1111111:Destroy()
  774. end)()
  775. end
  776.  
  777.  
  778. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  779.  
  780. function nooutline(part)
  781. part.TopSurface, part.BottomSurface, part.RightSurface, part.LeftSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  782. end
  783.  
  784. function debris(cfremz, thepart, amt)
  785. for j = 1, amt do
  786. do
  787. local pr = Instance.new("Part")
  788. nooutline(pr)
  789. pr.Name = "debrisobeb"
  790. pr.Anchored = true
  791. pr.BrickColor = thepart.BrickColor
  792. pr.CanCollide = true
  793. pr.Material = thepart.Material
  794. pr.Transparency = thepart.Transparency
  795. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  796. pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  797. pr.Parent = workspace
  798. game.Debris:AddItem(pr, 25)
  799. delay(15, function()
  800. if pr then
  801. pr.CanCollide = false
  802. pr.Anchored = false
  803. end
  804. end)
  805. end
  806. end
  807. for c = 1, amt do
  808. do
  809. local pr2 = Instance.new("Part")
  810. nooutline(pr2)
  811. pr2.Name = "moredebr"
  812. pr2.Anchored = false
  813. pr2.BrickColor = thepart.BrickColor
  814. pr2.CanCollide = false
  815. pr2.Material = thepart.Material
  816. pr2.Transparency = thepart.Transparency
  817. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  818. pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  819. pr2.Parent = workspace
  820. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  821. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  822. game.Debris:AddItem(pr2, 45)
  823. delay(2, function()
  824. pr2.CanCollide = true
  825. wait(10)
  826. if pr2 then
  827. pr2.CanCollide = false
  828. end
  829. end)
  830. end
  831. end
  832. end
  833.  
  834.  
  835. function weld5(part0, part1, c0, c1)
  836. weeld=Instance.new("Weld", part0)
  837. weeld.Part0=part0
  838. weeld.Part1=part1
  839. weeld.C0=c0
  840. weeld.C1=c1
  841. return weeld
  842. end
  843.  
  844.  
  845. par,loc=workspace:FindPartOnRay(Ray.new(root.Position,(root.Position-(root.Position-Vector3.new(0,2,0))).unit*-500),root)
  846.  
  847.  
  848. local acos = math.acos
  849. local sqrt = math.sqrt
  850. local Vec3 = Vector3.new
  851. local fromAxisAngle = CFrame.fromAxisAngle
  852.  
  853. local function toAxisAngle(CFr)
  854. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  855. local Angle = math.acos((R00+R11+R22-1)/2)
  856. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  857. A = A == 0 and 0.00001 or A
  858. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  859. B = B == 0 and 0.00001 or B
  860. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  861. C = C == 0 and 0.00001 or C
  862. local x = (R21-R12)/sqrt(A)
  863. local y = (R02-R20)/sqrt(B)
  864. local z = (R10-R01)/sqrt(C)
  865. return Vec3(x,y,z),Angle
  866. end
  867.  
  868. function ApplyTrig(Num,Func)
  869. local Min,Max = Func(0),Func(1)
  870. local i = Func(Num)
  871. return (i-Min)/(Max-Min)
  872. end
  873.  
  874. function LerpCFrame(CFrame1,CFrame2,Num)
  875. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  876. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  877. end
  878.  
  879. function Crater(Torso,Radius)
  880. Spawn(function()
  881. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  882. local Ignore = {}
  883. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  884. if v.Character ~= nil then
  885. Ignore[#Ignore+1] = v.Character
  886. end
  887. end
  888. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  889. if Hit == nil then return end
  890. local Parts = {}
  891. for i = 1,360,10 do
  892. local P = Instance.new("Part",Torso.Parent)
  893. P.Anchored = true
  894. P.FormFactor = "Custom"
  895. P.BrickColor = Hit.BrickColor
  896. P.Material = Hit.Material
  897. P.TopSurface = "Smooth"
  898. P.BottomSurface = "Smooth"
  899. P.CanCollide = false
  900. P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100)
  901. 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)))
  902. 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}
  903. if math.random(0,5) == 0 then -- rubble
  904. local P = Instance.new("Part",Torso.Parent)
  905. P.Anchored = true
  906. P.FormFactor = "Custom"
  907. P.BrickColor = Hit.BrickColor
  908. P.Material = Hit.Material
  909. P.TopSurface = "Smooth"
  910. P.CanCollide = false
  911. P.BottomSurface = "Smooth"
  912. P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100)
  913. 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)))
  914. 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}
  915. end
  916. end
  917. for i = 0,1,0.05 do
  918. for i2,v in pairs(Parts) do
  919. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  920. end
  921. wait(0.02)
  922. end
  923. for i,v in pairs(Parts) do
  924. if v[1].Size.X > 2.1 then
  925. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  926. end
  927. v[1].Anchored = false
  928. end
  929. for i = 0,1,0.05 do
  930. for i2,v in pairs(Parts) do
  931. v[1].Transparency = i
  932. if i == 1 then
  933. v[1]:Destroy()
  934. elseif i >= 0.25 then
  935. v[1].CanCollide = false
  936. end
  937. end
  938. wait(0.02)
  939. end
  940. Parts = nil
  941. end)
  942. end
  943.  
  944.  
  945.  
  946.  
  947.  
  948. function FindNearestTorso(Position,Distance,SinglePlayer)
  949. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  950. local List = {}
  951. for i,v in pairs(workspace:GetChildren())do
  952. if v:IsA("Model")then
  953. if v:findFirstChild("Torso")then
  954. if v ~= char then
  955. if(v.Torso.Position -Position).magnitude <= Distance then
  956. table.insert(List,v)
  957. end
  958. end
  959. end
  960. end
  961. end
  962. return List
  963. end
  964.  
  965.  
  966.  
  967. function FindNearestHead(Position,Distance,SinglePlayer)
  968. if SinglePlayer then return(SinglePlayer.Head.CFrame.p -Position).magnitude < Distance end
  969. local List = {}
  970. for i,v in pairs(workspace:GetChildren())do
  971. if v:IsA("Model")then
  972. if v:findFirstChild("Head")then
  973. if v ~= char then
  974. if(v.Head.Position -Position).magnitude <= Distance then
  975. table.insert(List,v)
  976. end
  977. end
  978. end
  979. end
  980. end
  981. return List
  982. end
  983.  
  984.  
  985.  
  986. function FindNearestRightArm(Position,Distance,SinglePlayer)
  987. if SinglePlayer then return(SinglePlayer.RightArm.CFrame.p -Position).magnitude < Distance end
  988. local List = {}
  989. for i,v in pairs(workspace:GetChildren())do
  990. if v:IsA("Model")then
  991. if v:findFirstChild("Right Arm")then
  992. if v ~= char then
  993. if(v.RightArm.Position -Position).magnitude <= Distance then
  994. table.insert(List,v)
  995. end
  996. end
  997. end
  998. end
  999. end
  1000. return List
  1001. end
  1002.  
  1003.  
  1004. function FindNearestLeftArm(Position,Distance,SinglePlayer)
  1005. if SinglePlayer then return(SinglePlayer.LeftArm.CFrame.p -Position).magnitude < Distance end
  1006. local List = {}
  1007. for i,v in pairs(workspace:GetChildren())do
  1008. if v:IsA("Model")then
  1009. if v:findFirstChild("Left Arm")then
  1010. if v ~= char then
  1011. if(v.LeftArm.Position -Position).magnitude <= Distance then
  1012. table.insert(List,v)
  1013. end
  1014. end
  1015. end
  1016. end
  1017. end
  1018. return List
  1019. end
  1020.  
  1021.  
  1022.  
  1023. function FindNearestRightLeg(Position,Distance,SinglePlayer)
  1024. if SinglePlayer then return(SinglePlayer.RightLeg.CFrame.p -Position).magnitude < Distance end
  1025. local List = {}
  1026. for i,v in pairs(workspace:GetChildren())do
  1027. if v:IsA("Model")then
  1028. if v:findFirstChild("Right Leg")then
  1029. if v ~= char then
  1030. if(v.RightLeg.Position -Position).magnitude <= Distance then
  1031. table.insert(List,v)
  1032. end
  1033. end
  1034. end
  1035. end
  1036. end
  1037. return List
  1038. end
  1039.  
  1040.  
  1041. function FindNearestLeftLeg(Position,Distance,SinglePlayer)
  1042. if SinglePlayer then return(SinglePlayer.LeftLeg.CFrame.p -Position).magnitude < Distance end
  1043. local List = {}
  1044. for i,v in pairs(workspace:GetChildren())do
  1045. if v:IsA("Model")then
  1046. if v:findFirstChild("Left Leg")then
  1047. if v ~= char then
  1048. if(v.LeftLeg.Position -Position).magnitude <= Distance then
  1049. table.insert(List,v)
  1050. end
  1051. end
  1052. end
  1053. end
  1054. end
  1055. return List
  1056. end
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063. mouse.KeyDown:connect(function(key)--------------------------------------------Roar
  1064. if key == "q" then
  1065. hum.WalkSpeed = 0
  1066. if Debounces.CanAttack == true then
  1067. Debounces.CanAttack = false
  1068. Debounces.NoIdl = true
  1069. Debounces.on = true
  1070. for i = 1, 30 do
  1071. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.2)
  1072. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.2)
  1073. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.2)
  1074. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1075. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1076. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1077. if Debounces.on == false then break end
  1078. rs:wait(6)
  1079. end
  1080. v = Instance.new("Sound")
  1081. v.SoundId = "rbxassetid://609079653"
  1082. v.Parent = char
  1083. v.Looped = false
  1084. v.Pitch = 0.8
  1085. v.Volume = 50
  1086. wait(.01)
  1087. v:Play()
  1088.  
  1089.  
  1090. local Shockwave = function()
  1091. local rng1 = Instance.new("Part", char)
  1092. rng1.Anchored = true
  1093. rng1.BrickColor = BrickColor.new("Black")
  1094. rng1.CanCollide = false
  1095. rng1.FormFactor = 3
  1096. rng1.Name = "Ring"
  1097. rng1.Size = Vector3.new(1, 1, 1)
  1098. rng1.Transparency = 0.35
  1099. rng1.TopSurface = 0
  1100. rng1.BottomSurface = 0
  1101. local rngm1 = Instance.new("SpecialMesh", rng1)
  1102. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1103. rngm1.Scale = Vector3.new(10, 10, 1)
  1104. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  1105. local Wave = Instance.new("Part", game.Workspace--[[?]])
  1106. Wave.Name = "Shockwave"
  1107. Wave.BrickColor = BrickColor.new("Black")
  1108. Wave.Size = Vector3.new(1, 1, 1)
  1109. Wave.Shape = "Ball"
  1110. Wave.CanCollide = false
  1111. Wave.Anchored = true
  1112. Wave.TopSurface = 0
  1113. Wave.BottomSurface = 0
  1114. Wave.Touched:connect(function(hit)
  1115. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  1116. local Occlude = true
  1117. local NotOccludes = {
  1118. char.Name;
  1119. "Wings";
  1120. "Scythe";
  1121. "Thingy";
  1122. "Thingy2"; -- put all of the names in a table pls
  1123. }
  1124. for i,v in pairs(NotOccludes) do
  1125. if hit.Parent.Name == v then
  1126. Occlude = false
  1127. end
  1128. end
  1129. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  1130. if Occlude then
  1131. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  1132. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  1133. end
  1134. end
  1135. end)
  1136.  
  1137. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  1138.  
  1139. coroutine.wrap(function()
  1140. for i = 1, 20, 0.2 do
  1141. rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1142. rng1.Transparency = i/20
  1143. rng1.CFrame = Wave.CFrame
  1144. wait()
  1145. end
  1146. wait()
  1147. rng1:Destroy()
  1148. end)()
  1149.  
  1150. Delay(0, function()
  1151.  
  1152.  
  1153. for i = 1, 50, 1 do
  1154. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  1155. Wave.CFrame = char.Torso.CFrame
  1156. local t = i / 50
  1157. Wave.Transparency = t
  1158. wait()
  1159. end
  1160.  
  1161. Wave:Destroy()
  1162. end)
  1163. Delay(0, function()
  1164. while wait() do
  1165. if Wave ~= nil then
  1166. Wave.CFrame = char.Torso.CFrame
  1167. else
  1168. break
  1169. end
  1170. end
  1171. end)
  1172. end
  1173.  
  1174.  
  1175. new = Instance.new
  1176.  
  1177. v3 = Vector3.new
  1178.  
  1179.  
  1180. a21e = new("Part",char)
  1181. a21e.Name = "Beam"..num
  1182. a21e.Locked = true
  1183. a21e.Size = v3(1,1,1)
  1184. a21e.CanCollide = false
  1185. a21e.Position = v3(999,999,999)
  1186. a21e.BrickColor = BrickColor.new("Really red")
  1187. a21e.Material = "Neon"
  1188. a21e.Transparency = 0
  1189. aa21e = new("SpecialMesh",a21e)
  1190. a21e.Anchored = true
  1191. a21e.Position = root.Position
  1192. aa21e.MeshType = "Sphere"
  1193. aa21e.Scale = v3(1,1,1)
  1194.  
  1195.  
  1196.  
  1197. coroutine.resume(coroutine.create(function()
  1198.  
  1199. for i,v in pairs(workspace:children()) do
  1200. charr = v:FindFirstChild('Character')
  1201. for i = 1, 40 do
  1202. charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  1203. wait()
  1204. end
  1205.  
  1206. charr.Humanoid.CameraOffset = Vector3.new(0,0,0)
  1207. end
  1208. end))
  1209.  
  1210.  
  1211.  
  1212.  
  1213. coroutine.resume(coroutine.create(function()
  1214. for i = 1, 40 do
  1215. char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  1216. wait()
  1217. end
  1218. char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  1219. end))
  1220.  
  1221. coroutine.resume(coroutine.create(function()
  1222. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1223. if par then
  1224. local cfremz = CFrame.new(loc)
  1225. debris(cfremz, par, 50)
  1226. end
  1227. end))
  1228.  
  1229.  
  1230. Crater(root,155)
  1231. GroundWave5()
  1232. GroundWave6()
  1233. GroundWave7()
  1234. GroundWave8()
  1235. GroundWave9()
  1236. GroundWave10()
  1237.  
  1238. coroutine.resume(coroutine.create(function()
  1239. for i = 1,25 do
  1240. wait()
  1241. aa21e.Scale = aa21e.Scale + v3(5,5,5)
  1242. a21e.Transparency = a21e.Transparency + 0.04
  1243. end
  1244. end))
  1245.  
  1246.  
  1247.  
  1248.  
  1249. for i = 1, 30 do
  1250. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.3)
  1251. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1252. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.3)
  1253. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.3)
  1254. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1255. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3.2, .3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1256. if Debounces.on == false then break end
  1257. rs:wait()
  1258. end
  1259. wait(4)
  1260. Debounces.NoIdl = false
  1261. hum.WalkSpeed = 5
  1262. Debounces.on = false
  1263. wait()
  1264. if Debounces.CanAttack == false then
  1265. Debounces.CanAttack = true
  1266. v:Destroy()
  1267. end
  1268. end
  1269. end
  1270. end)
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278. ----------------------------------------------------
  1279. function weld5(part0, part1, c0, c1)
  1280. weeld=Instance.new("Weld", part0)
  1281. weeld.Part0=part0
  1282. weeld.Part1=part1
  1283. weeld.C0=c0
  1284. weeld.C1=c1
  1285. return weeld
  1286. end
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292. Grab = false
  1293. mouse.KeyDown:connect(function(key)-----------------------------------------Grab
  1294. if key == "z" then
  1295. Debounces.on = true
  1296. Debounces.NoIdl = true
  1297. if Grab == false then
  1298. gp = nil
  1299. con1=larm.Touched:connect(function(hit) -- this is grab
  1300. ht = hit.Parent
  1301. hum1=ht:FindFirstChild('Humanoid')
  1302. if hum1 ~= nil then
  1303. hum1.PlatformStand=true
  1304. gp = ht
  1305. Grab = true
  1306. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  1307. asd.Parent = larm
  1308. asd.Name = "asd"
  1309. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  1310. elseif hum1 == nil then
  1311. con1:disconnect()
  1312. wait() return
  1313. end
  1314. end)
  1315.  
  1316.  
  1317. for i = 1, 18 do
  1318. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  1319. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1320. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1321. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  1322. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  1323. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  1324. if Debounces.on == false then break end
  1325. wait()
  1326. end
  1327. con1:disconnect()
  1328. Debounces.on = false
  1329. Debounces.NoIdl = false
  1330. wait(0.1)
  1331. ht:FindFirstChild("Torso").CanCollide = false
  1332. ht:FindFirstChild("RightArm").CanCollide = false
  1333. ht:FindFirstChild("LeftArm").CanCollide = false
  1334. ht:FindFirstChild("RightLeg").CanCollide = false
  1335. ht:FindFirstChild("LeftLeg").CanCollide = false
  1336. ht:FindFirstChild("Head").CanCollide = false
  1337. elseif Grab == true then
  1338. Grab = false
  1339. for i = 1, 20 do
  1340. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  1341. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  1342. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1343. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1344. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1345. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1346. if Debounces.on == false then end
  1347. wait()
  1348. end
  1349. if gp ~= nil then
  1350. for i,v in pairs(larm:GetChildren()) do
  1351. if v.Name == "asd" and v:IsA("Weld") then
  1352. v:Remove()
  1353. end
  1354. end
  1355. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1356. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1357. bv.P = 125000000000000
  1358. bv.velocity = char.Head.CFrame.lookVector * 1000
  1359. for i = 1, 12 do
  1360. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  1361. if Debounces.on == false then end
  1362. wait()
  1363. end
  1364. ht=nil
  1365. Spawn(function()
  1366. wait(0.5)
  1367. bv:Destroy()
  1368. end)
  1369. Debounces.on = false
  1370. Debounces.NoIdl = false
  1371. elseif ht == nil then wait()
  1372. Grab = false
  1373. Debounces.on = false
  1374. Debounces.NoIdl = false
  1375. end
  1376. end
  1377. end
  1378. end)
  1379.  
  1380.  
  1381.  
  1382.  
  1383. mouse.KeyDown:connect(function(key)
  1384. if key == "c" then
  1385. if Debounces.CanAttack == true then
  1386. Debounces.CanAttack = false
  1387. Debounces.NoIdl = true
  1388. Debounces.on = true
  1389.  
  1390.  
  1391.  
  1392.  
  1393. GroundWaves5 = function()
  1394. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1395.  
  1396. Colors = {"Lime green", "Lime green"}
  1397.  
  1398.  
  1399. local wave11 = Instance.new("Part", char)
  1400. wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1401. wave11.Anchored = true
  1402. wave11.Name = "Wave"
  1403. wave11.CanCollide = false
  1404. wave11.Locked = true
  1405. wave11.Size = Vector3.new(1, 1, 1)
  1406. wave11.TopSurface = "Smooth"
  1407. wave11.BottomSurface = "Smooth"
  1408. wave11.Transparency = 0.35
  1409. wave11.CFrame = HandCF
  1410. wm31 = Instance.new("SpecialMesh", wave11)
  1411. wm31.MeshId = "rbxassetid://3270017"
  1412. coroutine.wrap(function()
  1413. for i = 1, 30, 1 do
  1414. wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1415. wave11.Size = wm31.Scale
  1416. wave11.CFrame = HandCF
  1417. wave11.Transparency = i/30
  1418. wait()
  1419. end
  1420. wait()
  1421. wave11:Destroy()
  1422. end)()
  1423. end
  1424. GroundWaves6 = function()
  1425. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1426.  
  1427. Colors = {"Lime green", "Lime green"}
  1428.  
  1429. local wave111 = Instance.new("Part", char)
  1430. wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1431. wave111.Anchored = true
  1432. wave111.Name = "Wave"
  1433. wave111.CanCollide = false
  1434. wave111.Locked = true
  1435. wave111.Size = Vector3.new(1, 1, 1)
  1436. wave111.TopSurface = "Smooth"
  1437. wave111.BottomSurface = "Smooth"
  1438. wave111.Transparency = 0.35
  1439. wave111.CFrame = HandCF
  1440. wm311 = Instance.new("SpecialMesh", wave111)
  1441. wm311.MeshId = "rbxassetid://3270017"
  1442. coroutine.wrap(function()
  1443. for i = 1, 30, 1 do
  1444. wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1445. wave111.Size = wm311.Scale
  1446. wave111.CFrame = HandCF
  1447. wave111.Transparency = i/30
  1448. wait()
  1449. end
  1450. wait()
  1451. wave111:Destroy()
  1452. end)()
  1453. end
  1454. GroundWaves7 = function()
  1455. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1456.  
  1457. Colors = {"Lime green", "Lime green"}
  1458. local wave1111 = Instance.new("Part", char)
  1459. wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1460. wave1111.Anchored = true
  1461. wave1111.Name = "Wave"
  1462. wave1111.CanCollide = false
  1463. wave1111.Locked = true
  1464. wave1111.Size = Vector3.new(1, 1, 1)
  1465. wave1111.TopSurface = "Smooth"
  1466. wave1111.BottomSurface = "Smooth"
  1467. wave1111.Transparency = 0.35
  1468. wave1111.CFrame = HandCF
  1469. wm3111 = Instance.new("SpecialMesh", wave1111)
  1470. wm3111.MeshId = "rbxassetid://3270017"
  1471. coroutine.wrap(function()
  1472. for i = 1, 30, 1 do
  1473. wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1474. wave1111.Size = wm3111.Scale
  1475. wave1111.CFrame = HandCF
  1476. wave1111.Transparency = i/30
  1477. wait()
  1478. end
  1479. wait()
  1480. wave1111:Destroy()
  1481. end)()
  1482. end
  1483. GroundWaves8 = function()
  1484. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1485.  
  1486. Colors = {"Lime green", "Lime green"}
  1487. local wave11111 = Instance.new("Part", char)
  1488. wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1489. wave11111.Anchored = true
  1490. wave11111.Name = "Wave"
  1491. wave11111.CanCollide = false
  1492. wave11111.Locked = true
  1493. wave11111.Size = Vector3.new(1, 1, 1)
  1494. wave11111.TopSurface = "Smooth"
  1495. wave11111.BottomSurface = "Smooth"
  1496. wave11111.Transparency = 0.35
  1497. wave11111.CFrame = HandCF
  1498. wm31111 = Instance.new("SpecialMesh", wave11111)
  1499. wm31111.MeshId = "rbxassetid://3270017"
  1500. coroutine.wrap(function()
  1501. for i = 1, 30, 1 do
  1502. wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1503. wave11111.Size = wm31111.Scale
  1504. wave11111.CFrame = HandCF
  1505. wave11111.Transparency = i/30
  1506. wait()
  1507. end
  1508. wait()
  1509. wave11111:Destroy()
  1510. end)()
  1511. end
  1512. GroundWaves9 = function()
  1513. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1514.  
  1515. Colors = {"Lime green", "Lime green"}
  1516. local wave111111 = Instance.new("Part", char)
  1517. wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1518. wave111111.Anchored = true
  1519. wave111111.Name = "Wave"
  1520. wave111111.CanCollide = false
  1521. wave111111.Locked = true
  1522. wave111111.Size = Vector3.new(1, 1, 1)
  1523. wave111111.TopSurface = "Smooth"
  1524. wave111111.BottomSurface = "Smooth"
  1525. wave111111.Transparency = 0.35
  1526. wave111111.CFrame = HandCF
  1527. wm311111 = Instance.new("SpecialMesh", wave111111)
  1528. wm311111.MeshId = "rbxassetid://3270017"
  1529. coroutine.wrap(function()
  1530. for i = 1, 30, 1 do
  1531. wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1532. wave111111.Size = wm311111.Scale
  1533. wave111111.CFrame = HandCF
  1534. wave111111.Transparency = i/30
  1535. wait()
  1536. end
  1537. wait()
  1538. wave111111:Destroy()
  1539. end)()
  1540. end
  1541. GroundWaves10 = function()
  1542. local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1543.  
  1544. Colors = {"Lime green", "Lime green"}
  1545. local wave1111111 = Instance.new("Part", char)
  1546. wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1547. wave1111111.Anchored = true
  1548. wave1111111.Name = "Wave"
  1549. wave1111111.CanCollide = false
  1550. wave1111111.Locked = true
  1551. wave1111111.Size = Vector3.new(1, 1, 1)
  1552. wave1111111.TopSurface = "Smooth"
  1553. wave1111111.BottomSurface = "Smooth"
  1554. wave1111111.Transparency = 0.35
  1555. wave1111111.CFrame = HandCF
  1556. wm3111111 = Instance.new("SpecialMesh", wave1111111)
  1557. wm3111111.MeshId = "rbxassetid://3270017"
  1558. coroutine.wrap(function()
  1559. for i = 1, 30, 1 do
  1560. wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  1561. wave1111111.Size = wm3111111.Scale
  1562. wave1111111.CFrame = HandCF
  1563. wave1111111.Transparency = i/30
  1564. wait()
  1565. end
  1566. wait()
  1567. wave1111111:Destroy()
  1568. end)()
  1569. end
  1570.  
  1571.  
  1572.  
  1573. for i = 1, 40 do
  1574. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  1575. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  1576. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  1577. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  1578. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  1579. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  1580. if Debounces.on == false then break end
  1581. wait()
  1582. end
  1583. for i = 1, 20 do
  1584. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.6)
  1585. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  1586. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  1587. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  1588. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  1589. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  1590. if Debounces.on == false then break end
  1591. wait()
  1592. end
  1593. for i = 1, 20 do
  1594. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.6)
  1595. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  1596. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  1597. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  1598. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  1599. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  1600. if Debounces.on == false then break end
  1601. wait()
  1602. end
  1603. for i = 1, 20 do
  1604. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.6)
  1605. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  1606. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  1607. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  1608. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  1609. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  1610. if Debounces.on == false then break end
  1611. wait()
  1612. end
  1613.  
  1614.  
  1615.  
  1616.  
  1617. coroutine.resume(coroutine.create(function()
  1618. for i=1, 5 do
  1619. p=Instance.new("Part")
  1620. p.FrontSurface=par.TopSurface
  1621. p.Material=par.Material
  1622. p.BottomSurface=0
  1623. p.Anchored=true p.CanCollide=false
  1624. p.BrickColor=par.BrickColor
  1625. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  1626. p.CFrame=CFrame.new(ht.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  1627. p.Parent=char
  1628. game:GetService("Debris"):AddItem(p,2+i*.1)
  1629. if math.random(1,5)==5 then
  1630. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1631. end
  1632. end
  1633. for i=1, 5 do
  1634. for i=1, 1 do
  1635. p=Instance.new("Part")
  1636. p.TopSurface=par.TopSurface
  1637. p.BottomSurface=par.BottomSurface
  1638. p.Material=par.Material
  1639. p.BottomSurface=0
  1640. p.Anchored=false p.CanCollide=true
  1641. p.BrickColor=par.BrickColor
  1642. p.formFactor="Custom"
  1643. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  1644. p.CFrame=CFrame.new(ht.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
  1645. p.Parent=char
  1646. game:GetService("Debris"):AddItem(p,3+i*.1)
  1647. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  1648. p.RotVelocity=p.Velocity
  1649. if math.random(1,5)==5 then
  1650. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1651. end
  1652. end
  1653. end
  1654. end))
  1655.  
  1656.  
  1657.  
  1658.  
  1659. coroutine.resume(coroutine.create(function()
  1660. wait(0.2)
  1661. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  1662. if v:FindFirstChild('Humanoid') then
  1663. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1664. v.Humanoid.PlatformStand = true
  1665. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1666. end
  1667. end
  1668.  
  1669. GroundWaves5()
  1670. GroundWaves6()
  1671. GroundWaves7()
  1672. GroundWaves8()
  1673. GroundWaves9()
  1674. GroundWaves10()
  1675. end))
  1676. for i = 1, 20 do
  1677. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.6)
  1678. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  1679. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  1680. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  1681. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  1682. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  1683. if Debounces.on == false then break end
  1684. wait()
  1685. end
  1686.  
  1687.  
  1688.  
  1689.  
  1690. if Debounces.CanAttack == false then
  1691. Debounces.CanAttack = true
  1692. Debounces.on = false
  1693. Debounces.NoIdl = false
  1694.  
  1695. end
  1696. end
  1697. end
  1698. end)
  1699.  
  1700.  
  1701. function newRay(start,face,range,wat)
  1702. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1703. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1704. return rey,hit,pos
  1705. end
  1706.  
  1707.  
  1708.  
  1709. fat = Instance.new("BindableEvent",script)
  1710. fat.Name = "Heartbeat"
  1711.  
  1712. script:WaitForChild("Heartbeat")
  1713.  
  1714. frame = 1/30
  1715. tf = 0
  1716. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  1717. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1718. lastframe = tick()
  1719. script.Heartbeat:Fire() --ayy lmao
  1720.  
  1721. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1722. tf = tf + s
  1723. if tf >= frame then
  1724. if allowframeloss then
  1725. script.Heartbeat:Fire()
  1726. lastframe=tick()
  1727. else
  1728. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1729. for i=1, math.floor(tf/frame) do
  1730. script.Heartbeat:Fire()
  1731. end
  1732. lastframe=tick()
  1733. end
  1734. if tossremainder then
  1735. tf = 0
  1736. else
  1737. tf = tf - frame * math.floor(tf/frame)
  1738. end
  1739. end
  1740. end)
  1741.  
  1742. function Swait(NUMBER)
  1743. if NUMBER == 0 or NUMBER == nil then
  1744. fat.Event:wait()
  1745. else
  1746. for i = 1, NUMBER do
  1747. fat.Event:wait()
  1748. end
  1749. end
  1750. end
  1751.  
  1752. function Landing2()
  1753. local rng = Instance.new("Part", char)
  1754. rng.Anchored = true
  1755. rng.BrickColor = BrickColor.new("Lime green")
  1756. rng.CanCollide = false
  1757. rng.FormFactor = 3
  1758. rng.Name = "Ring"
  1759. rng.Size = Vector3.new(1, 1, 1)
  1760. rng.Transparency = 0
  1761. rng.TopSurface = 0
  1762. rng.BottomSurface = 0
  1763. rng.Position = root.Position
  1764. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1765. local rngm = Instance.new("SpecialMesh", rng)
  1766. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1767. local rng2 = rng:Clone()
  1768. rng2.Parent = char
  1769. local rng2m = rng2.Mesh
  1770. local rng3 = rng:Clone()
  1771. rng3.Parent = char
  1772. local rng3m = rng3.Mesh
  1773. local rng4 = rng:Clone()
  1774. rng4.Parent = char
  1775. local rng4m = rng4.Mesh
  1776. local rng5 = rng:Clone()
  1777. rng5.Parent = char
  1778. local rng5m = rng5.Mesh
  1779. for i,v in pairs(FindNearestTorso(torso.CFrame.p,905))do
  1780. if v:FindFirstChild('Humanoid') then
  1781. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1782. v.Humanoid.PlatformStand = true
  1783. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1784. end
  1785. end
  1786. --MagicBlock(BrickColor.new("Lime green"),root.CFrame,15,15,15,5,5,5,0.015)
  1787. -- CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  1788. --CFuncs["Sound"].Create("rbxassetid://597291504", rng, 5, 0.85)
  1789. ---CFuncs["Sound"].Create("rbxassetid://144699494", rng, 10, 1)
  1790. wait()
  1791. local scaler = 10
  1792. local scaler2 = 10
  1793. for i = 0,10,0.1 do
  1794. Swait()
  1795. rng.Transparency = rng.Transparency + 0.01
  1796. rng2.Transparency = rng2.Transparency + 0.01
  1797. rng3.Transparency = rng3.Transparency + 0.01
  1798. rng4.Transparency = rng4.Transparency + 0.01
  1799. rng5.Transparency = rng5.Transparency + 0.01
  1800. scaler = scaler - 0.125
  1801. scaler2 = scaler2 - 0.1
  1802. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4)
  1803. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3)
  1804. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2)
  1805. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1)
  1806. rng5.Size = rng5m.Scale
  1807. rng5.CFrame = rng.CFrame
  1808. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
  1809. end
  1810. end
  1811. function Landing()
  1812. Grabee = torso
  1813. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1814. if par then
  1815. local cfremz = CFrame.new(loc)
  1816. debris(cfremz, par, 50)
  1817. end
  1818. for i=1, 50 do
  1819. p=Instance.new("Part")
  1820. p.FrontSurface=par.TopSurface
  1821. p.Material=par.Material
  1822. p.BottomSurface=0
  1823. p.Anchored=true p.CanCollide=false
  1824. p.BrickColor=par.BrickColor
  1825. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  1826. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  1827. p.Parent=char
  1828. game:GetService("Debris"):AddItem(p,2+i*.1)
  1829. if math.random(1,5)==5 then
  1830. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1831. end
  1832. end
  1833. for i=1, 50 do
  1834. for i=1, 1 do
  1835. p=Instance.new("Part")
  1836. p.TopSurface=par.TopSurface
  1837. p.BottomSurface=par.BottomSurface
  1838. p.Material=par.Material
  1839. p.BottomSurface=0
  1840. p.Anchored=false p.CanCollide=true
  1841. p.BrickColor=par.BrickColor
  1842. p.formFactor="Custom"
  1843. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  1844. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
  1845. p.Parent=char
  1846. game:GetService("Debris"):AddItem(p,3+i*.1)
  1847. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  1848. p.RotVelocity=p.Velocity
  1849. if math.random(1,5)==5 then
  1850. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1851. end
  1852. end
  1853. Swait(.025)
  1854. end
  1855. end
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866. mouse.KeyDown:connect(function(key)
  1867. if key == "m" then
  1868. hum.WalkSpeed = 0
  1869. if Debounces.CanAttack == true then
  1870. Debounces.CanAttack = false
  1871. Debounces.on = true
  1872. Debounces.NoIdl = true
  1873.  
  1874. for i = 1, 20 do
  1875. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  1876. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  1877. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  1878. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  1879. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  1880. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  1881. if Debounces.on == false then break end
  1882. wait()
  1883.  
  1884. end
  1885. wait(1)
  1886. local rng = Instance.new("Part", char)
  1887. rng.Anchored = true
  1888. rng.BrickColor = BrickColor.new("Really black")
  1889. rng.CanCollide = false
  1890. rng.FormFactor = 3
  1891. rng.Name = "Ring"
  1892. rng.Size = Vector3.new(1, 1, 1)
  1893. rng.Transparency = 0.35
  1894. rng.TopSurface = 0
  1895. rng.BottomSurface = 0
  1896. rng.Position = torso.Position - Vector3.new(0,2,0)
  1897. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1898. local rngm = Instance.new("SpecialMesh", rng)
  1899. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1900. rngm.Scale = Vector3.new(1, 1, 2)
  1901. l = Instance.new("Sound",char)
  1902. l.SoundId = "http://www.roblox.com/asset/?id=142926718"
  1903. l.Looped = false
  1904. l.Pitch = .7
  1905. l.Volume = 1
  1906. l:Play()
  1907. coroutine.wrap(function()
  1908. for i = 1, 60, 2 do
  1909. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  1910. rng.Transparency = i/60
  1911. wait()
  1912. end
  1913. wait()
  1914. rng:Destroy()
  1915. end)()
  1916. hum.WalkSpeed = 50
  1917. bv = Instance.new("BodyVelocity",torso)
  1918. bv.maxForce = Vector3.new(0,200000,0)
  1919. bv.P = 100000
  1920. bv.velocity = Vector3.new(0,500,0)
  1921. wait(2)
  1922. bv:Destroy()
  1923. for i = 1, 145 do
  1924. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  1925. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  1926. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  1927. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  1928. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  1929. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  1930. if Debounces.on == false then break end
  1931. wait()
  1932. end
  1933. l:Destroy()
  1934. coroutine.resume(coroutine.create(function()
  1935. wait(0.01)
  1936. l = Instance.new("Sound",char)
  1937. l.SoundId = "http://www.roblox.com/asset/?id=409176756"
  1938. l.Looped = false
  1939. l.Pitch = 1
  1940. l.Volume = 80
  1941. l:Play()
  1942. end))
  1943. for i = 1, 60 do
  1944. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  1945. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  1946. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  1947. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  1948. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1949. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1950. if Debounces.on == false then break end
  1951. wait()
  1952. end
  1953. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  1954. for i = 1, 30 do
  1955. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  1956. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  1957. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  1958. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  1959. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  1960. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  1961. if Debounces.on == false then break end
  1962. wait()
  1963. end
  1964. end
  1965. Debounces.on = false
  1966. Debounces.NoIdl = false
  1967. local ry,ht,ps=nil,nil,nil
  1968. while ht==nil do
  1969. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1970. wait()
  1971. end
  1972.  
  1973.  
  1974. coroutine.resume(coroutine.create(function()
  1975.  
  1976. for i,v in pairs(workspace:children()) do
  1977. charr = v:FindFirstChild('Character')
  1978. for i = 1, 15 do
  1979. charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  1980. wait()
  1981. end
  1982.  
  1983. charr.Humanoid.CameraOffset = Vector3.new(0,0,0)
  1984. end
  1985. end))
  1986.  
  1987.  
  1988.  
  1989.  
  1990. coroutine.resume(coroutine.create(function()
  1991. for i = 1, 15 do
  1992. char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  1993. wait()
  1994. end
  1995. char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  1996. end))
  1997.  
  1998.  
  1999. coroutine.resume(coroutine.create(function()
  2000. Landing2()
  2001. end))
  2002. Landing()
  2003. game:GetService("Debris"):AddItem(rng, 1)
  2004. game:GetService("Debris"):AddItem(rng2, 1)
  2005. game:GetService("Debris"):AddItem(rng3, 1)
  2006. game:GetService("Debris"):AddItem(rng4, 1)
  2007. game:GetService("Debris"):AddItem(rng5, 1)
  2008. hum.WalkSpeed = 5
  2009. if Debounces.CanAttack == false then
  2010. Debounces.CanAttack = true
  2011. end
  2012. end
  2013. end
  2014. end)
  2015.  
  2016.  
  2017.  
  2018. ptez = {0.7, 0.8, 0.9, 1}
  2019.  
  2020. function GroundPound()
  2021. local rng = Instance.new("Part", char)
  2022. rng.Anchored = true
  2023. rng.BrickColor = BrickColor.new("White")
  2024. rng.CanCollide = false
  2025. rng.FormFactor = 3
  2026. rng.Name = "Ring"
  2027. rng.Size = Vector3.new(1, 1, 1)
  2028. rng.Transparency = 0.35
  2029. rng.TopSurface = 0
  2030. rng.BottomSurface = 0
  2031. rng.Position = larm.Position - Vector3.new(0,4,0)
  2032. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2033. local rngm = Instance.new("SpecialMesh", rng)
  2034. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2035. rngm.Scale = Vector3.new(1, 1, 2)
  2036. coroutine.resume(coroutine.create(function()
  2037. t = Instance.new("Sound",char)
  2038. t.SoundId = "http://www.roblox.com/asset/?id=165969964"
  2039. t.Pitch = ptez[math.random(1,#ptez)]
  2040. t.Volume = 1
  2041. wait(.1)
  2042. t:Play()
  2043. end))
  2044. coroutine.wrap(function()
  2045. for i = 1, 60, 2 do
  2046. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2047. rng.Transparency = i/60
  2048. wait()
  2049. end
  2050. wait()
  2051. rng:Destroy()
  2052. end)()
  2053.  
  2054. end
  2055.  
  2056.  
  2057. function GroundPound2()
  2058. local rng = Instance.new("Part", char)
  2059. rng.Anchored = true
  2060. rng.BrickColor = BrickColor.new("Really black")
  2061. rng.CanCollide = false
  2062. rng.FormFactor = 3
  2063. rng.Name = "Ring"
  2064. rng.Size = Vector3.new(1, 1, 1)
  2065. rng.Transparency = 0.35
  2066. rng.TopSurface = 0
  2067. rng.BottomSurface = 0
  2068. rng.Position = rarm.Position - Vector3.new(0,4,0)
  2069. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2070. local rngm = Instance.new("SpecialMesh", rng)
  2071. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2072. rngm.Scale = Vector3.new(1, 1, 2)
  2073. coroutine.resume(coroutine.create(function()
  2074. t = Instance.new("Sound",char)
  2075. t.SoundId = "http://www.roblox.com/asset/?id=142070127"
  2076. t.Pitch = ptez[math.random(1,#ptez)]
  2077. t.Volume = 1
  2078. wait(.1)
  2079. t:Play()
  2080. end))
  2081. coroutine.wrap(function()
  2082. for i = 1, 60, 2 do
  2083. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2084. rng.Transparency = i/60
  2085. wait()
  2086. end
  2087. wait()
  2088. rng:Destroy()
  2089. end)()
  2090. end
  2091.  
  2092.  
  2093.  
  2094.  
  2095. mouse.KeyDown:connect(function(key)
  2096. if key == "h" then
  2097. if Debounces.CanAttack == true then
  2098. Debounces.CanAttack = false
  2099. Debounces.NoIdl = true
  2100. Debounces.on = true
  2101.  
  2102.  
  2103.  
  2104.  
  2105. coroutine.resume(coroutine.create(function()
  2106.  
  2107. for i,v in pairs(workspace:children()) do
  2108. charr = v:FindFirstChild('Character')
  2109. for i = 1, 48 do
  2110. charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  2111. wait()
  2112. end
  2113.  
  2114. charr.Humanoid.CameraOffset = Vector3.new(0,0,0)
  2115. end
  2116. end))
  2117.  
  2118.  
  2119.  
  2120.  
  2121. coroutine.resume(coroutine.create(function()
  2122. for i = 1, 78 do
  2123. char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  2124. wait()
  2125. end
  2126. char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  2127. end))
  2128.  
  2129.  
  2130. coroutine.resume(coroutine.create(function()
  2131. wait(0.1)
  2132. for i = 1,78 do
  2133. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  2134. if v:FindFirstChild('Humanoid') then
  2135. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2136. v.Humanoid.PlatformStand = true
  2137. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2138. end
  2139. end
  2140. end
  2141. end))
  2142.  
  2143. GroundPound()
  2144. for i = 1, 5 do
  2145. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2146. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2147. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2148. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2149. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2150. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2151. if Debounces.on == false then break end
  2152. wait()
  2153. end
  2154. GroundPound2()
  2155. for i = 1, 5 do
  2156. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2157. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2160. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2161. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2162. if Debounces.on == false then break end
  2163. wait()
  2164. end
  2165. GroundPound()
  2166. for i = 1, 5 do
  2167. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2168. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2169. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2170. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2171. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2172. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2173. if Debounces.on == false then break end
  2174. wait()
  2175. end
  2176. GroundPound2()
  2177. for i = 1, 5 do
  2178. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2179. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2180. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2182. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2183. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2184. if Debounces.on == false then break end
  2185. wait()
  2186. end
  2187. GroundPound()
  2188. for i = 1, 5 do
  2189. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2190. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2191. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2192. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2193. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2194. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2195. if Debounces.on == false then break end
  2196. wait()
  2197. end
  2198. GroundPound2()
  2199. for i = 1, 5 do
  2200. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2201. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2202. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2203. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2204. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2205. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2206. if Debounces.on == false then break end
  2207. wait()
  2208. end
  2209. GroundPound()
  2210. for i = 1, 5 do
  2211. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2212. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2213. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2214. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2215. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2216. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2217. if Debounces.on == false then break end
  2218. wait()
  2219. end
  2220. GroundPound2()
  2221. for i = 1, 5 do
  2222. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2223. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2224. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2225. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2226. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2227. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2228. if Debounces.on == false then break end
  2229. wait()
  2230. end
  2231. GroundPound()
  2232. for i = 1, 5 do
  2233. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2234. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2235. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2236. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2237. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2238. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2239. if Debounces.on == false then break end
  2240. wait()
  2241. end
  2242. GroundPound2()
  2243. for i = 1, 5 do
  2244. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2245. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2246. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2247. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2248. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2249. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2250. if Debounces.on == false then break end
  2251. wait()
  2252. end
  2253. GroundPound()
  2254. for i = 1, 5 do
  2255. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2256. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2257. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2258. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2259. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2260. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2261. if Debounces.on == false then break end
  2262. wait()
  2263. end
  2264. GroundPound2()
  2265. for i = 1, 5 do
  2266. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2267. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2268. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2269. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2270. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2271. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2272. if Debounces.on == false then break end
  2273. wait()
  2274. end
  2275. GroundPound()
  2276. for i = 1, 5 do
  2277. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2278. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2279. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2280. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2281. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2282. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2283. if Debounces.on == false then break end
  2284. wait()
  2285. end
  2286. GroundPound2()
  2287. for i = 1, 5 do
  2288. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2289. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2290. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2291. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2292. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2293. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2294. if Debounces.on == false then break end
  2295. wait()
  2296. end
  2297. GroundPound()
  2298. for i = 1, 5 do
  2299. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2300. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2301. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2302. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2303. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2304. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2305. if Debounces.on == false then break end
  2306. wait()
  2307. end
  2308. GroundPound2()
  2309. for i = 1, 5 do
  2310. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2311. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2312. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2313. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2314. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2315. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2316. if Debounces.on == false then break end
  2317. wait()
  2318. end
  2319.  
  2320.  
  2321.  
  2322. if Debounces.CanAttack == false then
  2323. Debounces.CanAttack = true
  2324. Debounces.on = false
  2325. Debounces.NoIdl = false
  2326.  
  2327. end
  2328. end
  2329. end
  2330. end)
  2331.  
  2332.  
  2333.  
  2334.  
  2335. local animpose = "Idle"
  2336. local lastanimpose = "Idle"
  2337. local sine = 0
  2338. local change = 1
  2339. local val = 0
  2340. local ffing = false
  2341. ----------------------------------------------------
  2342. x = Instance.new("Sound", char)
  2343. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  2344. x.Looped = true
  2345. x.Volume = 30
  2346. x.Pitch = 1
  2347. local footsteps = false
  2348. -------------------------------
  2349. game:GetService("RunService").RenderStepped:connect(function()
  2350. if char.Humanoid.Jump == true then
  2351. jump = true
  2352. else
  2353. jump = false
  2354. end
  2355. char.Humanoid.FreeFalling:connect(function(f)
  2356. if f then
  2357. ffing = true
  2358. else
  2359. ffing = false
  2360. end
  2361. end)
  2362. sine = sine + change
  2363. if jumpn == true then
  2364. animpose = "Jumping"
  2365. elseif ffing == true then
  2366. animpose = "Freefalling"
  2367. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2368. animpose = "Idle"
  2369. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2370. animpose = "Walking"
  2371. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2372. animpose = "Running"
  2373. end
  2374. if animpose ~= lastanimpose then
  2375. sine = 0
  2376. if Debounces.NoIdl == false then
  2377. if animpose == "Idle" then
  2378. for i = 1, 2 do
  2379. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  2380. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  2381. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2382. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2383. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2384. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2385. end
  2386. elseif animpose == "Walking" then
  2387. for i = 1, 2 do
  2388. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.2)
  2389. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  2390. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  2391. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  2392. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2393. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2394. end
  2395. elseif animpose == "Running" then
  2396. for i = 1, 2 do
  2397. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-0), math.rad(-40), math.rad(0)), 0.2)
  2398. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  2399. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2400. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2401. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2402. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2403. end
  2404. wait()
  2405. end
  2406. else
  2407. end
  2408. end
  2409. lastanimpose = animpose
  2410. if Debounces.NoIdl == false then
  2411. if animpose == "Idle" then
  2412. if stanceToggle == "Normal" then
  2413. change = 0.5
  2414. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(160),math.rad(0)), 0.2)
  2415. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  2416. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  2417. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  2418. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  2419. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  2420. elseif stanceToggle == "Sitting" then
  2421. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  2422. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  2423. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  2424. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  2425. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  2426. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  2427. end
  2428. elseif animpose == "Walking" then
  2429. if stanceToggle == "Normal" then
  2430. change = 1
  2431. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/-4, math.rad(1) + -math.sin(sine/14)/2, math.rad(30)), 0.1)
  2432. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.1)
  2433. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2)
  2434. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2)
  2435. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .1)
  2436. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .1)
  2437. end
  2438. elseif animpose == "Running" then
  2439. change = 1
  2440. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  2441. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  2442. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2443. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2444. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2445. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2446. end
  2447. end
  2448. if animpose == "Walking" then
  2449. if footsteps == false then
  2450. x:Play()
  2451. footsteps = true
  2452. end
  2453. x.Pitch = 0.9
  2454. elseif animpose == "Idle" then
  2455. x:Stop()
  2456. footsteps = false
  2457. elseif animpose == "Running" then
  2458. x.Pitch = 1.2
  2459. if footsteps == false then
  2460. x:Play()
  2461. footsteps = true
  2462. end
  2463. end
  2464. end)
  2465. local BC = Character["Body Colors"]
  2466. BC.HeadColor = BrickColor.new("Brown")
  2467. BC.LeftArmColor = BrickColor.new("Brown")
  2468. BC.LeftLegColor = BrickColor.new("Brown")
  2469. BC.RightArmColor = BrickColor.new("Brown")
  2470. BC.RightLegColor = BrickColor.new("Brown")
  2471. BC.TorsoColor = BrickColor.new("Brown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement