Advertisement
Scorpion2

Boss script3

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