SHARE
TWEET

Untitled

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