Advertisement
lafur

Untitled

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