Awooslayer699

Untitled

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