Advertisement
Orangeplayer1431

SMOKE DOG

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