Advertisement
Guest User

Untitled

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